Commit Graph

3027 Commits

Author SHA1 Message Date
Laurent Destailleur
9c9773b74f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-31 16:17:53 +02:00
Laurent Destailleur
65cfd9fa13 Doc 2024-05-31 16:11:05 +02:00
Sébastien NASSIET
a8781e0133 FIX Extrafields always been delete and re insert for categories (#29781)
* Check extrafields on the right table for categories

As it done in line 6737, it's necessary to add a compatibility renaming of table_element for categories.

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-31 16:09:33 +02:00
Laurent Destailleur
31a626b34d Fix phan 2024-05-31 14:59:16 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
48c5d9b0bc Debug v20 2024-05-29 12:26:04 +02:00
Laurent Destailleur
d723abc487 Debug v20 2024-05-28 23:52:33 +02:00
Laurent Destailleur
0bb68d11d0 Debug v20 2024-05-24 00:53:58 +02:00
Laurent Destailleur
46b0bcefb7 Doc 2024-05-23 22:28:37 +02:00
Laurent Destailleur
59ae417912 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
lamrani abdelwadoud
5945fd8c7f Fix display Qrcode on reception pdf (#29742)
* Fix display Qrcode on reception pdf

* Fix run phan
2024-05-22 20:31:11 +02:00
Laurent Destailleur
d7b9e7b4ef Fix warnings 2024-05-22 17:25:31 +02:00
Laurent Destailleur
481fec5291 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-21 20:12:45 +02:00
Laurent Destailleur
3575bb171d Debug v20 2024-05-17 13:28:50 +02:00
Frédéric FRANCE
f080077c2a add picto on create (#29704) 2024-05-16 17:33:30 +02:00
boudet jean pascal
bdfe5d0afd init array_options in current object if we don't have record for it (#29689)
* init array_options in current object   if we don't have record for it

* pre-commit

* change '' to null

* change comment

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2024-05-15 19:10:14 +02:00
Laurent Destailleur
84fb498ee4 Fix phan 2024-05-11 21:13:10 +02:00
Francis Appels
ba4f7323fe FIX PHP exception on getSpecialCode (#29646) 2024-05-10 12:34:38 +02:00
lvessiller-opendsi
c44f63a8c2 FIX update price HT on expense report card (#29631) 2024-05-07 22:38:14 +02:00
Laurent Destailleur
157ca199c1 Fix regression when using DOLDeprecatedHandler. You fetch an object with
status = null in database, the we set ->status=0 and ->statut=0, then we
call update(), calling the updateCommon(). Inside the updateCommon that
is into commObject.class.php, the ->status is 0 but ->statut is null
making the update saving null instead of 0.
2024-05-06 20:35:26 +02:00
Lucas Marcouiller
85a635d17a New add multiinput for text type fields (#29555)
* New add multiinput for text type

* fix CI

* fix some code + add $value persistance

* fix some things to be more global

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:52:14 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

fix phpstan

fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
642a3d5984 Fix regression 2024-05-03 01:28:19 +02:00
Laurent Destailleur
5e50b4aa2e Fix restore line lost 2024-05-02 23:21:06 +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
cc90397eb7 Try suggestion of mdeweerd 2024-05-02 13:14:30 +02:00
Laurent Destailleur
4dbed777eb More info in tooltip 2024-05-01 19:33:14 +02:00
Laurent Destailleur
9e654e65dd Debug v20 2024-04-29 11:04:19 +02:00
Laurent Destailleur
6994a787bd Doc 2024-04-27 13:35:35 +02:00
Laurent Destailleur
145b555960 Fix warning 2024-04-25 10:28:29 +02:00
Laurent Destailleur
0c54fe40a6 Doc 2024-04-25 10:23:28 +02:00
Frédéric FRANCE
7ea6a406bd NEW add geometrics extrafield (#28239)
* add extrafield point

* wip

* wip

* wip

* input

* input

* output values

* update values

* update values

* update values

* update values

* update values

* wip

* add geomapeditor

* add geomapeditor

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* wip

* wip

* can store and retrieve linestring

* can store and retrieve linestring

* coordinates are inverted

* coordinates are inverted

* add multipoints

* use text instead binary

* auto center map

* wip

wip

* doc

* fix

* wip

* wip

* translation dynamic

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-24 15:27:38 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Laurent Destailleur
f94d0cd907 Debug v20 2024-04-20 14:28:59 +02:00
Laurent Destailleur
1946b92da8 Debug v20 2024-04-19 16:32:56 +02:00
Laurent Destailleur
c5751a970a Fix CSS 2024-04-19 01:39:48 +02:00
Laurent Destailleur
0ee92c5a4b Doc 2024-04-17 12:42:33 +02:00
lvessiller-opendsi
b64df30cc6 NEW update price with auto to use const for rounding prices (#29350)
* NEW update price with auto to use MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND const for rounding prices

* Update price forced rounding mode redundant
2024-04-16 10:24:55 +02:00
Laurent Destailleur
c13cafab68 Doc 2024-04-14 04:45:29 +02:00
Laurent Destailleur
1a07a7f6c9 Doc 2024-04-14 03:21:17 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Frédéric FRANCE
00b2185813 fix phpstan (#29258)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-04-07 11:50:26 +02:00
Frédéric FRANCE
87b76db460 fix phpdoc (#29246) 2024-04-06 13:35:04 +02:00
thibdrev
2302708c98 typo 2024-04-04 20:51:46 +02:00
thibdrev
0dc1527064 Update commonobject.class.php 2024-04-04 20:49:16 +02:00
Laurent Destailleur
6004d3ae14 Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
8b916b6269 Restore deprecation 2024-04-03 01:56:17 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
MDW
44f4261cf9 Fix phan notice by verifying value is array 2024-04-02 23:30:54 +02:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00