Commit Graph

8838 Commits

Author SHA1 Message Date
Laurent Destailleur
88ee5ec89a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-07-13 17:41:37 +02:00
lvessiller-opendsi
09fdb887bb FIX expedition PDF models using units labels (#30358) 2024-07-13 17:18:05 +02:00
Laurent Destailleur
ba08148ffa Clean code 2024-07-13 01:38:02 +02:00
Frédéric FRANCE
2707475a12 fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Frédéric FRANCE
ea416aac93 replace old syntax, rename pdf models with same class name (#30271)
* replace old syntax

* replace old syntax

* replace old syntax

* replace old syntax

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* rename files with same class name

* fix class with same name

* fix class with same name

* clean code
2024-07-06 02:59:40 +02:00
Laurent Destailleur
1c52869e3b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-05 16:59:07 +02:00
Frédéric FRANCE
29f223fd3c fix checkFunctionArgumentTypes (#30249)
* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes
2024-07-04 17:47:31 +02:00
Laurent Destailleur
9af159cdd8 Replace "! empty($conf->global->$" with "getDolGlobalString($" 2024-07-03 20:05:29 +02:00
Laurent Destailleur
8b6ef4dfe0 Fix PDF_LOCALTAXx_LABEL_IS_CODE_OR_RATE 2024-07-03 15:25:19 +02:00
Laurent Destailleur
89d102c2b1 Quick hack to allow to hide vat rate 2024-07-03 14:27:57 +02:00
Vincent de Grandpré
b0cd32bf68 NEW Implementing Billable tasks on projects using new attribute "billable" (#30092)
* Implementing Billable task function on projects using new attribute in #30014

* added billable to Task->initAsSpecimen()

* default billable to 1 in initAsSpecimen

* set billable to 1 in ProjectTest::testTaskCreate

* Moving attribut usage in usage_bill_time condition of project

* PPDoc

* fusion

* pre-commit + typo

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-03 03:29:05 +02:00
Frédéric FRANCE
2f5647e4e3 fix checkFunctionArgumentTypes (#30234)
* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* add ignore

* add ignore

add ignore

add ignore

add ignore

add ignore

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes

* fix checkFunctionArgumentTypes
2024-07-03 02:30:53 +02:00
Alexandre SPANGARO
f105f9339b Small review of asset module (#30213) 2024-07-01 13:02:08 +02:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
4ba6b0d2f0 Clean language 2024-06-30 15:26:31 +02:00
Laurent Destailleur
1104b95137 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-27 13:47:27 +02:00
Laurent Destailleur
34aea4b5bc Debug v20 2024-06-27 00:49:50 +02:00
Laurent Destailleur
cfaadbaa7c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-26 21:50:14 +02:00
Laurent Destailleur
d2a2e1a7e7 Fix octopus template must be visible if INVOICE_USE_SITUATIONis 2 only. 2024-06-26 17:39:01 +02:00
Alexandre SPANGARO
0cb82b4035 Situation invoice #29897 - Add specific model Octopus (#30116)
* Situation invoice #29897 - Add specific model Octopus

* Fix phan

* Comment translation

* Fix phan

* add fix to octopus

* add fix to octopus

* Add fix octopus

* fix phan

fix phan

fix phan

fix phan

* fix phan

fix phan

fix phan

fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* Cancel fix (compatibility php 8.x only)

* Add fix octopus

* Fix phan

* Fix phan

---------

Co-authored-by: Frédéric France <frederic.france@free.fr>
2024-06-26 17:25:15 +02:00
Laurent Destailleur
2e938fe9ef Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-24 12:44:28 +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
Frédéric FRANCE
4eec08ac84 remove deprecated and copy phan ignore for octopus (#30136) 2024-06-23 19:35:16 +02:00
Sylvain Legrand
7c9107acc0 New TCPDF v6.7.5 (#29903)
* New TCPDF v6.7.5

Update TCPDF to the last one

* Fix PHAN

* Fix PHAN
2024-06-22 16:16:11 +02:00
Laurent Destailleur
8b518d081a Add dependency on module agenda 2024-06-20 17:16:38 +02:00
Frédéric FRANCE
6cfd7d16e6 fix phpstan check class case (#30058) 2024-06-18 15:48:18 +02:00
Frédéric FRANCE
77986d3d10 fix dead catch in odt stock (#30059) 2024-06-18 15:47:46 +02:00
Frédéric FRANCE
efdc7f92b9 fix phpstan empty oldcopy is not falsy (#30049)
* fix phpstan empty olcopy is not falsy

* fix phpstan empty olcopy is not falsy

* remove code not used

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-17 13:22:20 +02:00
Frédéric FRANCE
a21af12652 fix phpstan (#30043)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpdoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-16 11:09:43 +02:00
Frédéric FRANCE
80b41e0398 fix phpstan (#30042)
* fix phpstan

* Update modules_import.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-15 19:43:56 +02:00
Laurent Destailleur
12f7ba82c1 Doxygen 2024-06-15 19:42:52 +02:00
Laurent Destailleur
82614d7fca Debug v20 2024-06-15 18:55:17 +02:00
Frédéric FRANCE
567e6e7c9c fix phpstan dead catch in generic odt societe (#30017)
* fix phpstan dead catch

* fix phpstan dead catch
2024-06-15 16:03:10 +02:00
Laurent Destailleur
e4db878042 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 14:53:53 +02:00
Laurent Destailleur
89b56120eb Fix error when import module not compatible with PHP 2024-06-15 14:53:36 +02:00
Frédéric FRANCE
17401c2bff fix phpstan ref_customer is not nullable (#30002) 2024-06-13 08:12:24 +02:00
Frédéric FRANCE
a6ec8a0f22 fix phpstan dead catch (#30007) 2024-06-13 08:07:16 +02:00
Frédéric FRANCE
f4d278b3db fix odt shipping (#29991)
* fix odt shipping

* fix odt shipping

* fix odt shipping
2024-06-12 16:44:15 +02:00
Laurent Destailleur
6717ce209d Fix menu link 2024-06-12 15:44:54 +02:00
atm-corentin
1766311338 FIX : move porpale ref pdf cornas (#29989)
Co-authored-by: x <x@x.x>
2024-06-11 20:03:10 +02:00
Frédéric FRANCE
c9233d417b fix phpstan dead catch (#29986) 2024-06-11 20:02:06 +02:00
Frédéric FRANCE
499f012081 fix phpstan dead catch (#29976) 2024-06-10 20:47:47 +02:00
Frédéric FRANCE
7ea296ff75 Fix Dead catch Exception phpstan (#29959)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

* fix phpstan
2024-06-10 14:26:41 +02:00
Laurent Destailleur
7a2b4938c9 FIX #29963 2024-06-10 14:23:07 +02:00
Frédéric FRANCE
b76f2acedd fix phpstan (#29948) 2024-06-09 14:58:07 +02:00
Frédéric FRANCE
acd8fdc24e fix phpstan level 4 (#29954)
* fix phpstan level 4

* fix phpstan level 4
2024-06-09 13:26:45 +02:00
Frédéric FRANCE
1ff0e8a821 fix an old error (#29850)
* fix an old error

* fix OdfException is never thrown in the try block

* fix OdfException is never thrown in the try block

* fix Undefined array key "name"

* fix missing translation

* fix missing translation

* fix Undefined variable $lineid

* fix warnings

* fix upload dir

* fix phpcs
2024-06-08 16:59:40 +02:00
Frédéric FRANCE
00161fba9a fix phpstan Expression "'@phan-var string[] $prim%.... (#29928) 2024-06-08 14:53:46 +02:00
Charlène Benke
c8c220a394 FIX : create mrp table if enabled (#29921)
* create mrp table if enabled

* Update modMrp.class.php
2024-06-08 12:00:58 +02:00
Laurent Destailleur
6de472e242 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-05 16:32:48 +02:00