Laurent Destailleur
bd77c11d41
Fix class not loaded on mobile.
2024-01-06 13:31:28 +01:00
Laurent Destailleur
37c9408d58
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-01-06 13:02:37 +01:00
Laurent Destailleur
c6c40e4c4a
Fix css
2024-01-06 13:01:58 +01:00
Frédéric FRANCE
236cd74e0c
Update paymentmodes.php
2024-01-06 13:01:18 +01:00
Frédéric FRANCE
656c8d04de
Update paymentmodes.php
2024-01-06 11:35:55 +01:00
Frédéric FRANCE
b1876a9cab
remove dead code
...
due to test line 1672, other test are always false and code is no more needed
2024-01-06 11:18:21 +01:00
Frédéric FRANCE
4fad299e9f
tooltip recurring invoice
2024-01-06 10:48:43 +01:00
Frédéric FRANCE
6098674956
fix wrong directory
2024-01-06 10:24:11 +01:00
Frédéric FRANCE
c22eb02a92
Merge branch 'develop' into clean_phpstan_action
2024-01-06 09:25:22 +01:00
nat
7a2bf5a20b
Fix Computed Extrafields on Member list
...
FIX empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work member list (in addition to #25631 , #27307 , #27308 ).
2024-01-06 00:08:56 +01:00
nat
4a8a85452f
Fix Computed Extrafields on Contacts list
...
FIX empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work contacts list
(in addition to #25631 and #27307 ).
2024-01-05 23:46:12 +01:00
nat
ab06204902
Fix Computed Extrafields on list
...
Fix empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work thirdparties list.
2024-01-05 23:24:37 +01:00
Laurent Destailleur
2c52622348
Merge pull request #27248 from a-schild/25828-odt-fix-wrong-styles
...
25828 odt fix wrong styles
2024-01-05 20:11:45 +01:00
Laurent Destailleur
3fe97af1ad
Update odf.php
...
No need of a very high entropy as we already have the microsecond in string.
2024-01-05 20:11:07 +01:00
Laurent Destailleur
4ad69cb635
Update odf.php
2024-01-05 20:08:41 +01:00
Lamrani Abdel
5f4e584425
fix problem when create new page
2024-01-05 19:26:27 +01:00
Lamrani Abdel
64a854bb1d
fix problem when create new page
2024-01-05 19:26:22 +01:00
Lamrani Abdel
23bac9d1a9
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into addButtonForOveritedocTemplate
2024-01-05 19:25:17 +01:00
Laurent Destailleur
571c63380f
Merge pull request #27272 from altairisfr/vatupdatehook
...
NEW : add hook AFTER_VAT_UPDATE
2024-01-05 19:02:03 +01:00
Laurent Destailleur
91f1695ba0
Merge pull request #27301 from frederic34/patch-3
...
fix incorrect case of class
2024-01-05 19:00:28 +01:00
Laurent Destailleur
a9a69618d8
Merge pull request #27303 from frederic34/patch-7
...
fix error returning from a trigger
2024-01-05 18:59:39 +01:00
Laurent Destailleur
190d04858e
Merge pull request #27306 from frederic34/patch-8
...
fix create invoice from contract with free service line
2024-01-05 18:57:28 +01:00
Laurent Destailleur
e8fa7aeebb
Merge pull request #27304 from alexandre-janniaux/discount-commonobject/1
...
QUAL: DiscountAbsolute: inherit CommonObject to implement errorsToString
2024-01-05 18:42:32 +01:00
Laurent Destailleur
30f018ccd8
Merge pull request #27305 from alexandre-janniaux/discounttest-soc/1
...
FIX: DiscountTest: fix create when no societe exists
2024-01-05 18:41:04 +01:00
Frédéric FRANCE
045b42d3b8
Update card.php
2024-01-05 16:08:14 +01:00
Frédéric FRANCE
3ed18dc92c
fix create invoice from contract with free service line
2024-01-05 15:47:24 +01:00
Alexandre Janniaux
a0a3339eb9
DiscountTest: fix create when no societe exists
...
Fix the following error when running without the dataset.
✘ Discount create
┐
├ ERROR: 23503: insert or update on table "llx_societe_remise_except" violates foreign key constraint "fk_soc_remise_fk_soc"
├ DETAIL: Key (fk_soc)=(1) is not present in table "llx_societe".
├ SCHEMA NAME: public
├ TABLE NAME: llx_societe_remise_except
├ CONSTRAINT NAME: fk_soc_remise_fk_soc
├ LOCATION: ri_ReportViolation, ri_triggers.c:2596 - sql=INSERT INTO llx_societe_remise_except (entity, datec, fk_soc, discount_type, fk_user, description, amount_ht, amount_tva, amount_ttc, tva_tx, vat_src_code, multicurrency_amount_ht, multicurrency_amount_tva, multicurrency_amount_ttc, fk_facture_source, fk_invoice_supplier_source) VALUES (1, '2024-01-05 14:05:20', 1, 0, 1, 'Specimen discount', 10, 1.96, 11.96, 19.6, '', 0, 0, 0, null, null),
├ Failed asserting that 0 is less than -1.
│
│ dolibarr/test/phpunit/DiscountTest.php:147
┴
2024-01-05 15:05:33 +01:00
Alexandre Janniaux
e3e2dd348d
discount: remove now duplicated fields
...
Now that DiscountAbsolute is a CommonObject, some fields are duplicated
in the definition of the class and already defined in the CommonObject
class.
2024-01-05 14:55:00 +01:00
Alexandre Janniaux
8cfb183152
discount: add errorsToString()
...
$localobject->errorsToString() is available in most objects using $db or
other systems generating errors because they inherit from CommonObject.
However, DiscountAbsolute didn't inherit from it.
Extending CommonObject allows to implement the usual behaviour for core
objects like referencing the user doing the action.
2024-01-05 14:54:55 +01:00
Frédéric FRANCE
b3e7cdbad9
fix error returning from a trigger
2024-01-05 13:52:58 +01:00
Laurent Destailleur
b027ca3837
Fix bad email tested
2024-01-05 12:28:28 +01:00
Laurent Destailleur
c41583a3e0
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-05 12:20:14 +01:00
Laurent Destailleur
242c403f50
Fix missing SPF info of the noreply email
2024-01-05 12:19:52 +01:00
Frédéric FRANCE
c16f3bbbdf
fix incorrect case of class
2024-01-05 09:43:44 +01:00
Christophe Battarel
10a6ad9bcf
Merge branch 'develop' into forcecust
2024-01-05 09:07:13 +01:00
Christophe Battarel
8778a917ff
Merge branch 'develop' into vatupdatehook
2024-01-05 08:54:17 +01:00
Frédéric FRANCE
bd2c65246a
Merge branch 'develop' into clean_phpstan_action
2024-01-05 08:50:23 +01:00
Laurent Destailleur
61c58714a4
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-01-05 04:34:15 +01:00
Laurent Destailleur
4501872f17
Clean code with rector 2
2024-01-05 04:33:58 +01:00
Laurent Destailleur
70aa4a22ca
Clean code with rector
2024-01-05 04:18:53 +01:00
Laurent Destailleur
c3fb26086f
Enhance rector
2024-01-05 03:52:06 +01:00
Laurent Destailleur
ccaae7ab24
Clean code
2024-01-05 03:41:22 +01:00
Laurent Destailleur
bbf687da0c
Fix warning
2024-01-05 03:08:16 +01:00
Laurent Destailleur
30275625ac
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-01-05 02:46:53 +01:00
Laurent Destailleur
7aecc84fdd
css
2024-01-05 02:34:08 +01:00
Laurent Destailleur
4222a3d6da
Last action that close the sell (payments) at end in takepos pad
2024-01-05 02:25:31 +01:00
Laurent Destailleur
4797779a4b
Merge pull request #21202 from altairis-melina/search
...
NEW : TAKEPOS-Clear search results
2024-01-05 02:15:22 +01:00
Laurent Destailleur
97584d11e5
Merge pull request #27100 from altairisfr/shiprank
...
add rank to shipment lines display
2024-01-05 02:13:10 +01:00
Laurent Destailleur
02183b473d
Merge pull request #27294 from alexandre-janniaux/fichintertest-soc/1
...
FIX: FichinterTest: create Societe object in test
2024-01-05 02:05:17 +01:00
Laurent Destailleur
29d5f43ac4
Merge pull request #27292 from frederic34/patch-3
...
Update element.php
2024-01-05 02:03:28 +01:00