2
0
forked from Wavyzz/dolibarr
Commit Graph

2847 Commits

Author SHA1 Message Date
Laurent Destailleur
d6480594af Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-07-02 02:09:25 +02:00
Laurent Destailleur
6259d02042 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-07-02 02:08:10 +02:00
noec764
96a5479e9e FIX: Error mesg show untranslated extrafield name (#30227)
Co-authored-by: Noé <noe@scopen.fr>
2024-07-02 01:56:45 +02:00
Laurent Destailleur
2f4c84f4b5 Debug v20 2024-06-29 13:23:05 +02:00
Laurent Destailleur
bd2a0b9e55 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-25 15:13:51 +02:00
John BOTELLA
322bbd934b fix : 19.0 fix inconsistent link validation (#30141)
* Dirty fix for inconcistant link psedo langage

* add todo

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-24 22:53:43 +02:00
Frédéric FRANCE
702cca1502 fix $action is unknown (#30148)
dafbefdc74
2024-06-24 22:15:56 +02:00
Laurent Destailleur
c54a97e923 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-24 01:47:18 +02:00
Laurent Destailleur
86341f110c Debug v20 2024-06-23 21:31:44 +02:00
Christian Humpel
dafbefdc74 NEW: Hook do actions or check input after changing a extrafield in commonobject.class.php (#30128)
* Integration Textbausteine weiter...

* fix typo.
2024-06-23 18:00:44 +02:00
Alexandre SPANGARO
82d144c057 Situation invoice #29897 - CommonObject (#30118) 2024-06-22 15:57:38 +02:00
Laurent Destailleur
e60982b5ce Code comment 2024-06-21 13:18:50 +02:00
Laurent Destailleur
99f0888ed0 Fix #30021 2024-06-15 15:52:21 +02:00
Frédéric FRANCE
facb1930a7 fix phpstan Property Product::$oldcopy in empty() is not falsy (#30003)
* fix phpstan Property Product::$oldcopy in empty() is not falsy

* add token

* doc

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan
2024-06-13 08:11:11 +02:00
boudet jean pascal
0fa6cd7042 fix extrafield input with the type int mus show 0 value if exist (#29967)
* fix extrafield input with the type int mus show 0 value if exist

* pre-commit

* pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2024-06-10 14:30:36 +02:00
Florian Mortgat
7163299f04 NEW convenience methods for getting / setting the value of an extrafield (#29856)
* NEW convenience methods for getting / setting the value of an extrafield on an object

* Update htdocs/core/class/commonobject.class.php

[code formatting] removing extra space
2024-06-09 15:34:04 +02:00
Eric
3421352e7c prefix and suffix core cleanup (#29938) 2024-06-09 00:50:40 +02:00
Laurent Destailleur
cbb458486b Debug v20 2024-06-06 09:27:25 +02:00
Laurent Destailleur
6e6271c47e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-06-03 17:37:42 +02:00
Lucas Marcouiller
c5df307d03 Fix multi input workflow for text type (#29820)
* Fix multi input workflow for text type

* fix phan

* fix phan

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-03 16:47:48 +02:00
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