Commit Graph

37442 Commits

Author SHA1 Message Date
Frédéric FRANCE
ead048e1fd fix calculate costs bom (#31755)
* fix calculate costs bom

* fix calculate costs bom

* Update bom.class.php

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-15 15:05:51 +01:00
Lucas Marcouiller
d9ee8a3838 Fix dol_dir_list_in_database to use filters for db (#31835)
* Fix dol_dir_list_in_database to use filters as an Universal Search String

* fix CI

* fix Ci

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 14:36:48 +01:00
Frédéric FRANCE
ec91ed2af9 test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
Delthair
e2b6762b3c ISSUE #31816 (#31820)
Bug correction to finalise step 5 of installation
2024-11-14 23:31:25 +01:00
Lucas Marcouiller
6b27108775 Fix bad values for dropdown css (#31824)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-14 23:26:18 +01:00
Frédéric FRANCE
54b10d48aa clean module name (#31823) 2024-11-14 23:24:58 +01:00
Alexandre SPANGARO
70a96461af NEW: Module Asset experimental (#31821) 2024-11-14 23:24:20 +01:00
MDW
a0f515ef12 Qual: Improve write_file typing (part 2) (#30527)
* Qual: Add abstract write_file to ModeleDon

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModeleChequeReceipts

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFRecruitmentCandidature

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFStock & ModelePDFStockTransfer

And update phpdoc for derived classes

* Qual: Update phpdoc write_file for CommonStickerGenerator classes

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:32 +01:00
Alexis Thietard
8c9a1c2bfc fix #24780 change default isolation method in dol_clone (#29391)
This fixes serialization error when attempting to update a custom field value.
This change is made globally because the previous native = 0 default isolation
method is labeled as `deprecated` in the code and therefore shouldn't be used
anymore.

Signed-off-by: Alexis Thietard <alexis.thietard@rtone.fr>
2024-11-13 23:42:07 +01:00
sonikf
1f2bb2969a NEW: PDF Invoice show vat analysis per rate (#31381)
* Show vat analysis

* Show vat analysis

* Show vat analysis

* fix white space

* Update main.lang

* Show vat analysis

* Show vat analysis

* add copyright

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix php-stan (8.2)

* fix php-stan (8.2)

* fix php-stan (8.2)

* fix pre-commit tab

* Update pdf_other.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 22:41:00 +01:00
Frédéric FRANCE
2c4d1038d0 fix phpstan (#31805)
* fix

* fix

* fix

* fix

* fix
2024-11-13 22:37:17 +01:00
atm-jonathan
e20d1f0896 NEW multiselect search_sale in list societe (#29110)
* multiselect commerciaux

* retour Wysy

* retour pr

* retour PR

* retour PR

* retour PR

* retour PR

* retour PR

* retour PR

* count > 0

* GETPOSTISARRAY() $search_sale

* pre-commit

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 22:36:26 +01:00
Laurent Destailleur
210a2bdcf6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-13 21:29:38 +01:00
Laurent Destailleur
8443ec649d Fix phan 2024-11-13 21:28:25 +01:00
Frédéric FRANCE
e5320c2302 fix phpstan (#31801)
* fix phpstan

* fix phpstan

* fix phpstan

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-13 21:21:15 +01:00
Laurent Destailleur
aacecf4569 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 16:41:41 +01:00
Laurent Destailleur
a64f4327c7 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-13 16:40:21 +01:00
Ferran Marcet
e30692cb55 Fix: Closed invoices are not considered as issued (#31789)
* Fix: Grand total correction

* Fix: Does not filter correctly by project contacts

* Fix: Closed invoices are not considered as issued

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 16:17:08 +01:00
Laurent Destailleur
1f00485763 Doc 2024-11-13 16:14:26 +01:00
Frédéric FRANCE
8c0c033e49 add phpdoc in mailing modules (#31786)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* test

* test

* test

* test
2024-11-13 15:27:26 +01:00
Laurent Destailleur
ad2e2fe63d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-13 12:41:15 +01:00
Eric - CAP-REL
67c2a48fc9 Add missing extrafields on strato pdf model (#31790)
* undef var

* add main extrafields on object

* remove dev debug sorry !

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 12:39:10 +01:00
Laurent Destailleur
8496e8a8ed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 10:08:21 +01:00
Laurent Destailleur
062c769cc3 Rename MAIN_USE_FULL_TEXT_INDEXATION into MAIN_SAVE_FILE_CONTENT_AS_TEXT 2024-11-13 00:01:18 +01:00
Frédéric FRANCE
2f207dd347 switching on phpstan v2 level 10 (#31764)
* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* version

* fix phpstan

* fix phpstan

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* update baseline
2024-11-12 23:18:02 +01:00
Laurent Destailleur
221f8e947a Debug v21 2024-11-12 19:41:21 +01:00
atm-corentin
3bd2aa1921 FIX tpl object line because the was twice marginclass2 on col margin rates but also on mark rates (#31774)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 13:48:12 +01:00
Laurent Destailleur
542b4bd099 Fix phan 2024-11-12 13:45:15 +01:00
Laurent Destailleur
14d548143b Try to fix phpstan 2024-11-12 13:08:03 +01:00
Laurent Destailleur
a64de4d24d Clean code 2024-11-12 12:57:08 +01:00
Laurent Destailleur
bd170e0474 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-12 11:33:31 +01:00
Laurent Destailleur
5312bd80b9 Doc 2024-11-12 04:04:31 +01:00
Frédéric FRANCE
836bb71303 fix customreports.lib.php (#31771)
* fix customreports.lib.php

* Update commondict.class.php

* Update ctyperesource.class.php

* fix

* CommonDict is not a business class

* Update ctyperesource.class.php

* Update ctyperesource.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 03:38:38 +01:00
Laurent Destailleur
c9972f1dd9 Fix phan 2024-11-12 03:32:57 +01:00
Laurent Destailleur
f35fd7c1f0 Clean code 2024-11-12 03:17:55 +01:00
Laurent Destailleur
22eec4ba8a Doc 2024-11-12 02:38:34 +01:00
Laurent Destailleur
07c3690bb7 FIX the style not visible in combo using autocomplete 2024-11-12 01:26:08 +01:00
Florian Hödl
75ce3e8513 [FIX] Update ticket create form to hide contracts from other thirdparties for external users (#31762)
Co-authored-by: fhoedl <florian@hoedl.co>
2024-11-12 00:36:34 +01:00
MDW
56dc321665 Qual: Fix phan notices (in order of appearance) (#31768)
* Qual: Fix phan notices (in order of appearance)

* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
Laurent Destailleur
40aca2803f Add std deviation in custom report 2024-11-11 21:51:51 +01:00
Laurent Destailleur
9b68d78fe5 Debug v21 2024-11-11 18:53:16 +01:00
Laurent Destailleur
0d905fc7a7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-11 18:39:39 +01:00
Laurent Destailleur
e127d3c044 Debug v21 2024-11-11 18:39:15 +01:00
lvessiller-opendsi
6c9c177763 NEW VAT by state (#31628)
* NEW VAT by state

* Fix global conf in looad tva function

* Fix load vat rates in memory

* Revert fk_tva column in state dict and load_tva function

* NEW vat rate with department in dict

* Fix isset not nullable

* Fix order VAT rate desc to set as default
2024-11-11 17:57:32 +01:00
atm-lena
10e18da5d7 Develop new facture rec field societe rib management (#31698)
* Add field "fk_societe_rib" in llx_facture_rec

* Add field fk_societe_rib FactureRec

* Management of new field "Bank Account Customer" in facture rec

* Empty Value Management

* Change method of hide/show field

* Preselect RIB

* Rename function

* Edit structure formiban

* fix merge conflict

* Clean code

* clean code

* change translations

* default rib preselected in invoice rec create

* fix "=="

* Update card-rec.php

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:53:35 +01:00
Alexandre SPANGARO
2fc0579def NEW EPC QR CODE - Use bank owner account name instaed of company (#31735)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:38:41 +01:00
Laurent Destailleur
18b334bdf1 Clean code 2024-11-11 15:39:58 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Laurent Destailleur
3448985640 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-11 14:45:43 +01:00
Laurent Destailleur
8ccab8a5fa Doc 2024-11-11 14:45:30 +01:00