Commit Graph

8838 Commits

Author SHA1 Message Date
Laurent Destailleur
b7317e3e7c Fix warning 2024-05-05 00:02:25 +02:00
Laurent Destailleur
f8bf23da3a Fix phpunit 2024-05-04 18:56:26 +02:00
Laurent Destailleur
efd7702bc4 Fix travis 2024-05-04 18:28:34 +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
94c69c08ba NEW Add option PDF_ADD_POSITION 2024-05-02 16:41:48 +02:00
Frédéric FRANCE
aac412592b fix tests (#29573) 2024-05-02 13:02:20 +02:00
Christophe Battarel
c9c2446e1f FIX : Avoid duplicates in insertions (#29553)
* avoid duplicates in insertions

* avoid duplicates in insertions from xslx

* Update import_xlsx.modules.php

* Update import_csv.modules.php

* Update import_csv.modules.php

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-01 17:41:11 +02:00
lvessiller-opendsi
1f399d9a1e NEW input reason label in customer proposal and order export (#29540) 2024-05-01 17:35:35 +02:00
Frédéric FRANCE
e90840ca65 fix odt generation fails if missing segment (#29543)
fix odt generation fails if missing segment
2024-05-01 17:33:16 +02:00
Laurent Destailleur
bb2721754a NEW On OAuth Google login, no prompt at all if already logged in Google 2024-05-01 16:53:13 +02:00
Laurent Destailleur
c0784ac9d6 Debug v20 2024-04-30 00:28:47 +02:00
Laurent Destailleur
b648fbeee3 Fix warning 2024-04-29 20:15:38 +02:00
Laurent Destailleur
12c686a767 FIX #29531 2024-04-29 20:00:18 +02:00
Laurent Destailleur
39c4f3faca FIX #29531 2024-04-29 19:57:05 +02:00
Laurent Destailleur
5c018013ed Debug v20 2024-04-29 19:38:02 +02:00
Laurent Destailleur
c02194a3c5 Doc 2024-04-29 16:32:28 +02:00
Laurent Destailleur
f5adfeca59 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-29 13:39:20 +02:00
Philippe Grand
661582875a Fix : Warning: Undefined property: stdClass::$PRODUIT_DEFAULT_BARCODE_TYPE in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187 (#29479)
* 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

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php on line 188

* fix :  Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 83

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 84

* fix :Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 460

* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 471

* Update mod_barcode_product_standard.php

* Update mod_barcode_thirdparty_standard.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 18:14:20 +02:00
Frédéric FRANCE
26da44e254 fix phpstan (#29431)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* remove params not used

* add WARNING
2024-04-27 12:45:50 +02:00
Laurent Destailleur
f156610572 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 05:03:15 +02:00
HENRY Florian
1c76738797 fix: php warning on migration (#29466) 2024-04-27 04:21:42 +02:00
Laurent Destailleur
ca57bac266 Removed a deprecated page 2024-04-26 23:45:39 +02:00
Laurent Destailleur
0ceacfdc6a Clean code 2024-04-25 11:13:34 +02:00
Laurent Destailleur
4fa1de5951 Debug v20 2024-04-24 22:37:16 +02:00
Quentin Lombat
e512f6f18d NEW: Implement EPC QR Code on Invoices (#29445)
* Add EPC QR code to sponge invoices based on config

* fix code style issue (replace spaces by tab)

* fix code style issue (Opening brace should be on a new line)

* Fix translation issue

---------

Co-authored-by: Quentin Lombat <Quentin.Lombat@itzy.be>
2024-04-24 21:57:55 +02:00
Laurent Destailleur
7712a80c55 Fix phpstan 2024-04-24 16:48:05 +02:00
Laurent Destailleur
f1bc41d100 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-23 22:36:13 +02:00
Laurent Destailleur
dfa1d0b9b1 FIX The localtax must be exported only if activated 2024-04-23 03:19:46 +02:00
Laurent Destailleur
c5318e51f2 MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING is not used and not visible
feature so option set on by default and hidden.
2024-04-22 19:43:51 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Laurent Destailleur
50ec5754dd Fix phpunit 2024-04-22 16:31:34 +02:00
Laurent Destailleur
623841f124 Clean code 2024-04-22 15:25:26 +02:00
Frédéric FRANCE
6de3359219 fix aurore currency (#29390)
fix aurore currency

fix aurore currency

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-20 23:29:17 +01:00
Frédéric FRANCE
5b349cc318 clean code pdf (#29399) 2024-04-20 22:36:54 +01:00
Frédéric FRANCE
dbd8657de1 Cleanaccount (#29271)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* wip

* wip

* wip
2024-04-20 21:53:40 +01:00
Laurent Destailleur
2114803276 Debug v20 2024-04-20 20:54:31 +02:00
Laurent Destailleur
2e533f692f Debug v20 2024-04-20 13:17:53 +02:00
Laurent Destailleur
4dc8eb3a44 NEW Can export security events. 2024-04-19 17:37:44 +02:00
Laurent Destailleur
e133092cb0 NEW Can export security events. 2024-04-19 17:36:57 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
fdebfdb8c6 Fix warning 2024-04-17 23:30:07 +02:00
MDW
da9fd874bc Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code

* Fix: functions.lib phan notices

* Fix phan notifications

* Match expected DebugBar signature - rename getRenderer

* Call the correct renderer method for the DebugBar

* Use correct key type to access array

* Ignore notices

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 04:46:33 +02:00
Laurent Destailleur
64ecea7c83 FIX #26959 2024-04-14 02:53:20 +02:00
atm-sami
2670e74403 NEW : Added a configuration in workflows (#26959)
* Added a configuration that allows an customer order to be placed in invoiced status if its total excluding tax is equal to the sum of the totals excluding tax of the linked invoices

* update for travis CI

* update

* update

* update

* update

* update for travis CI

* update travis ci

* update

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 01:52:20 +02:00
Laurent Destailleur
93507620ca Fix regression fatal error 2024-04-12 01:35:32 +02:00
thomas-Ngr
0f70306c87 New : Printipp ssl (#29320)
* BasicIPP : set SSL to TRUE

* add SSL support to printing module

* trad

* Revert "BasicIPP : set SSL to TRUE"

This reverts commit 19c7c05a26.

* fix SSL
2024-04-12 01:25:30 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
Laurent Destailleur
500381ab1a FIX Oauth login 2024-04-11 14:47:09 +02:00
MDW
bec5ff4749 Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings (#29298)
* Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num

* Fix typing in hookmanager class

* Improve DolHooksCollector phpdoc

* Fix PhanTypePossiblyInvalidDimOffset by testing index's existence

* Ignore PhanTypePossiblyInvalidDimOffset that phan can not detect

* Allow  to be null, initialise instead of unset
2024-04-09 23:21:28 +02:00