2
0
forked from Wavyzz/dolibarr
Commit Graph

8326 Commits

Author SHA1 Message Date
Laurent Destailleur
c0784ac9d6 Debug v20 2024-04-30 00:28:47 +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
Zephyriony
6f524405af QUAL Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989)
* Update expedition.class.php 

Adapting the query and code to the new table format

* Update llx_expeditiondet.sql

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update llx_expeditiondet.sql

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update expedition.class.php

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
2024-04-08 12:44:49 +02:00
Laurent Destailleur
7f780fcb57 It seems constant are for storing data only and used for
DolibarrModules.class.php file only (main code shoud only use
->hasRight), so i try to move them.
2024-04-08 11:53:49 +02:00
Regis Houssin
68eb5e409a NEW module user rights enhancement (#29150)
* NEW module user rights enhancement

* FIX syntax error

* FIX fuck

* FIX syntax error

* FIX Add label with the current language (key or with PermissionXXX)

* FIX wrong test

* FIX optimize

* FIX doc

* FIX add class "Rights" for constant

* FIX replace with constants

* FIX missing constant

* FIX wrong check

* TODO sql error : data too long for column 'libelle'

* FIX syntax error

* FIX synax error "the return"... i'll be back

* FIX use operator with double question mark

* FIX add comment

* FIX just remplace integer with constant

* FIX remove unused code

* FIX add an example

* FIX remove the possibility to have entity = 0 (too complicated)

* FIX perms must not be empty

* FIX sql syntax error

* FIX phpstan undefined property DolibarrModules::$modules

* FIX same fix of frederic34

* Update llx_rights_def.sql

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 11:40:02 +02:00
Laurent Destailleur
0e5440f256 Fix bad var 2024-04-06 13:33:42 +02:00
Laurent Destailleur
2ca5518625 Fix use of dynamic property conf->xxx->enabled must be abandonned. 2024-04-05 16:51:27 +02:00
Florian Mortgat
8b00b89f9d FIX: $conf must reflect enabled/disabled state of modules (#29126) 2024-04-05 16:36:02 +02:00
Laurent Destailleur
389857fdf1 FIX missing trans on VolumeUnitcm3 2024-04-04 13:16:32 +02:00
Laurent Destailleur
0284ee2ee1 Fix position of description of product on left on espadon template 2024-04-04 13:05:58 +02:00
Laurent Destailleur
0fe0cd7c01 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:39:02 +02:00
Laurent Destailleur
56f9ec41c0 FIX regression. A lot of broken feature and corruption of data du to
deprecation management.
2024-04-03 22:34:59 +02:00
Laurent Destailleur
f03eb260de Nicer combo of companies for external modules 2024-04-03 13:20:26 +02:00
Laurent Destailleur
e671860ffa Merge pull request #29158 from mdeweerd/typing/printipp
Fix printipp phpdoc typing
2024-04-02 11:54:49 +02:00