Laurent Destailleur
efd7702bc4
Fix travis
2024-05-04 18:28:34 +02:00
Laurent Destailleur
4f99eff91b
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-03 19:30:09 +02:00
Laurent Destailleur
b4804be56e
Fix phan
2024-05-03 19:29:54 +02:00
hansemschnokeloch
e5bbd30195
Fix #29338 ( #29586 )
...
Fix #29338
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-03 19:23:17 +02:00
Florian Mortgat
702709f890
New declare dictionaries more easily ( #29600 )
...
* NEW: method to help declare dictionaries more easily
* Example use of `declareNewDictionary()` method (redeclaring dictionaries of module Ticket with the new method)
* minor fixes: $this->db->prefix() in modTicket.class.php
2024-05-03 19:03:00 +02:00
Laurent Destailleur
e0d815f540
Fix case
2024-05-03 18:49:27 +02:00
Laurent Destailleur
d1146e9bea
Fix case
2024-05-03 18:49:24 +02:00
Laurent Destailleur
93eded598e
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-03 18:24:03 +02:00
Laurent Destailleur
e9f7a1996f
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-03 18:18:39 +02:00
Laurent Destailleur
4fef808efa
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-05-03 18:16:58 +02:00
Laurent Destailleur
1c81155a9a
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-05-03 18:13:21 +02:00
Marc de Lima Lucio
3258b00e16
FIX: notification: error 500 in fixed emails due to a bad copy/paste ( #29580 )
2024-05-03 18:12:55 +02:00
Eric
5c45bc53a3
new status shipment in progress + comments ( #29584 )
2024-05-03 18:06:30 +02:00
Florian Mortgat
cf6cbafa8c
FIX: PUT /thirdparties/{id} and PUT /contacts/{id} should throw exception if update returns < 0 ( #29596 )
...
+ FIX some PHPDoc (types and throws)
+ FIX issue #29594 : trigger should be called on contact update by API
2024-05-03 18:03:14 +02:00
Philippe Grand
4cdf87977d
Fix : Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/tpl/commonfields_add.tpl.php on line 39 ( #29595 )
...
* fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370
* backward
* update
* Fatal error: Uncaught TypeError: abs(): Argument #1 () must be of type int|float, string given in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/tpl/commonfields_add.tpl.php on line 39
* Update commonfields_add.tpl.php
fix tab/space
* Update commonfields_add.tpl.php
fix space after cast
2024-05-03 18:01:38 +02:00
Frédéric FRANCE
b0695abca9
fix phan ( #29591 )
...
* fix phan
* fix typos and translations
* fix phan remove code doing nothing
* fix phan remove code doing nothing
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-03 18:01:17 +02:00
Laurent Destailleur
390ea76702
Debug v20
2024-05-03 18:00:17 +02:00
Laurent Destailleur
b1703cdeeb
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-03 15:34:44 +02:00
Laurent Destailleur
d53279eb64
Fix warning
2024-05-03 15:34:18 +02:00
lamrani abdelwadoud
62f513ea3e
add column to expedition table ( #29561 )
...
* add column to expedition table
* add to table also and change default value
2024-05-03 13:16:53 +02:00
Vincent de Grandpré
6af28aafa0
Repair function to calculate invoice total from line items ( #29568 )
...
* CLI script to calculate invoice total from line items
* php CLI est exécutable
* Replaced sum() with price2num() and added support for localtax2.
* Added function recalculateinvoicetotals to install/repair.php with more precise invoice qualification for regenerate.
* phpcs correction
* remove script file and added to authors of repair.php
2024-05-03 13:13:21 +02:00
Florian Mortgat
8474360271
FIX: contact/address title is always "New Contact/Address" even if the contact/address already exists ( #29581 )
2024-05-03 13:10:36 +02:00
PsyCrow
1e7184c11f
FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.php on line 1695 ( #29593 )
...
#FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.php on line 1695
2024-05-03 13:09:52 +02:00
Laurent Destailleur
dcc06d3e0f
Debug v20
2024-05-03 11:27:07 +02:00
Laurent Destailleur
580fe5a043
Debug v20
2024-05-03 11:10:22 +02:00
Laurent Destailleur
9289d356d7
Fix escaping
2024-05-03 03:30:57 +02:00
Laurent Destailleur
584e54c130
Fix the http header must reuse the secured one into top_htmlhead()
2024-05-03 03:26:04 +02:00
Laurent Destailleur
3edcaf97fc
Debug v20
2024-05-03 03:02:04 +02:00
Laurent Destailleur
0b9bd5408b
Debug v20: Encapsulate the feature using leaflet/geophp into a constant
...
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Laurent Destailleur
8578137703
Debug v20
2024-05-03 01:35:41 +02:00
Laurent Destailleur
642a3d5984
Fix regression
2024-05-03 01:28:19 +02:00
Laurent Destailleur
283f16234f
Debug v20
2024-05-03 01:02:40 +02:00
Laurent Destailleur
ea9619b942
Debug v20
2024-05-03 00:52:15 +02:00
Laurent Destailleur
5a6ac426f0
Look and feel
2024-05-03 00:30:20 +02:00
Laurent Destailleur
30de8684fd
More complete fix for #29587 for suplier with no vat. Fix also
...
ref_supplier not propagated.
2024-05-03 00:30:01 +02:00
Laurent Destailleur
5e50b4aa2e
Fix restore line lost
2024-05-02 23:21:06 +02:00
Laurent Destailleur
577491b799
Fix permissions on external users
2024-05-02 21:48:50 +02:00
Laurent Destailleur
50aa16c270
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-05-02 21:03:26 +02:00
Laurent Destailleur
bdf811f0ef
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-02 20:55:24 +02:00
Laurent Destailleur
1b0f4b542f
Fix file not found
2024-05-02 20:55:08 +02:00
Laurent Destailleur
41a9fc5530
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 20:22:21 +02:00
Laurent Destailleur
f416094a17
Fix phan
2024-05-02 20:22:00 +02:00
Frédéric FRANCE
184ade42a7
fix phpstan ( #29582 )
...
* fix phpstan
* fix phpstan
2024-05-02 20:11:41 +02:00
MaximilienR-easya
6b812ccad3
Backport en provenance de develop pour afficher les messages d'erreurs ( #29583 )
2024-05-02 20:10:19 +02:00
Laurent Destailleur
67076eb751
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-02 20:07:30 +02:00
Laurent Destailleur
362c3d1869
Fix warning
2024-05-02 20:07:10 +02:00
lelex86
671ae12bee
Fix: content-type haeder missing for webhook ( #29588 )
...
Data sent by webhooks is encoded in JSON and sent using the CURLOPT_POSTFIELDS function in cURL. However, the Content-Type header is not explicitly specified. By default, cURL automatically sets the Content-Type header to application/x-www-form-urlencoded, which can cause issues with certain applications.
To avoid this, I explicitly set the Content-Type header to application/json. This ensures that the data is sent in the correct format and that applications receiving the data can process it correctly.
2024-05-02 19:40:30 +02:00
Esteban L. Castro
6e605df1c1
Updated Stripe code for inline items ( #29577 ) ( #29589 )
...
Changes made according to:
https://docs.stripe.com/payments/checkout/migrating-prices?integration=server#server-side-code-for-inline-items
2024-05-02 19:37:52 +02:00
MDW
2115980560
Qual: Fix Phan notices in CommonObject ( #29354 )
...
* Fix PhanPluginSimplifyExpressionBool in commonobject
* Fix commonobject for phan notices
* Allow null for $usedolidb argument
* Allow null for $outputlangs argument of \dol_format_address()
* Fix multiple phan notices
* Ignore PhanTypeArraySuspiciousNullable
* Fix PhanTypeMismatchArgumentProbablyReal
* Update baseline
* Improve typings
* Update type specification getCountry/withCode
* Fix CommonObject Phan notices & update baseline
* Fix phan notices
* Correct typing for showInputField to be the same as parent class
* Fix PhanPluginSimplifyExpressionBool in commonobject
* Fix commonobject for phan notices
* Allow null for $usedolidb argument
* Allow null for $outputlangs argument of \dol_format_address()
* Fix multiple phan notices
* Ignore PhanTypeArraySuspiciousNullable
* Fix PhanTypeMismatchArgumentProbablyReal
* Update baseline
* Improve typings
* Update type specification getCountry/withCode
* Fix CommonObject Phan notices & update baseline
* Fix phan notices
* fixup! Correct typing for showInputField to be the same as parent class
2024-05-02 19:33:51 +02:00
Laurent Destailleur
94c69c08ba
NEW Add option PDF_ADD_POSITION
2024-05-02 16:41:48 +02:00