Commit Graph

382 Commits

Author SHA1 Message Date
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
MDW
85ad4ecdf8 Qual: Spelling for htdocs/[a-b]* (#27422)
Mostly comments, one variable changed from misspelling to .
Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 20:58:09 +01:00
Laurent Destailleur
d9c72fa9a4 Fix phpcs 2024-01-12 20:46:16 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
Frédéric FRANCE
746c2366a1 fix #27256 (#27318)
* fix #27256

* Update functions.lib.php
2024-01-11 10:17:50 +01:00
Laurent Destailleur
b418bc9e1e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-10 15:14:11 +01:00
Laurent Destailleur
e770259b3f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 15:12:50 +01:00
christian.humpel
2f46ffec3a clean and include fk_unit in api for BomLine. 2024-01-10 14:05:46 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
98009ea6be Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/class/account.class.php
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/langs/en_US/recruitment.lang
	htdocs/master.inc.php
	htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
MDW
bcdb567dd7 Fix PHP7.0 incompatibility (void is introduced in 7.1) 2023-12-06 16:47:44 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Maxime Kohlhaas
a8c0c63565 Fix : cost calculation on a bom using workstation (#26738) 2023-11-19 00:46:09 +01:00
atm-lena
85beb3ea5d Unit Management for MO lines (#26120)
* Unit Management for products in bom and mo

* WIP

* Unit in to produce tab

* FIX wip

* float val

* Fix Travis

* fk_unit type int

* Clean code

* Clean code

* FIX code sniffer

* Update llx_mrp_production.sql

* Update 18.0.0-19.0.0.sql

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 11:15:43 +01:00
Laurent Destailleur
127de7e7d8 FIX On object validation, ecm index are not updated for uploaded files 2023-11-01 16:17:54 +01:00
Laurent Destailleur
74e1ec4099 FIX On object validation, ecm index are not updated for uploaded files 2023-10-31 19:28:11 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Laurent Destailleur
73bdb71507 Fix bom 2023-10-03 19:54:06 +02:00
pascal
80f060c771 fix tab indentation 2023-09-26 18:43:25 +02:00
pascal
871f896962 implementation of properties filter 2023-09-26 18:04:48 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Frédéric FRANCE
5871e8d457 can edit bomline workstation 2023-09-04 14:01:14 +02:00
Frédéric FRANCE
f413a7b6d8 can edit bomline workstation 2023-09-04 13:59:28 +02:00
Laurent Destailleur
de6cb5f4ee Fix warnings 2023-08-29 21:58:28 +02:00
UT from dolibit
4e9da73eab Update bom.class.php (#25457) 2023-07-24 18:45:39 +02:00
Laurent Destailleur
86864b4d53 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-07-06 22:22:26 +02:00
Florian HENRY
be4d1de436 fix: in BOM we don't have standard PDF model, if not set in config should not generate 2023-07-04 14:57:01 +02:00
Florian HENRY
8783feee18 fix missing property 2023-06-30 10:14:04 +02:00
Laurent Destailleur
fdc03dc18a Debug v18 2023-06-28 14:46:45 +02:00
Laurent Destailleur
31474d80f1 Doxygen 2023-06-19 00:52:43 +02:00
Charlène Benke
0ea42ac682 error on install
librairy left on bom class
2023-05-22 15:52:25 +02:00
Laurent Destailleur
5dd3f57a1e Debug v18 2023-05-11 13:11:21 +02:00
VMR Global Solutions
926aa6fec7 API add / fix filter on extrafields in index()
Add / change in api_xxx.class.php files the ability to filter on extrafields when missing in the public functions index()
by changing the SQL query with the pattern 
" FROM ".MAIN_DB_PREFIX"xxxx AS t LEFT JOIN ".MAIN_DB_PREFIX."xxxx_extrafields AS ef ON (ef.fk_object = t.rowid)
2023-04-28 09:31:33 +02:00
Frédéric FRANCE
d64da50a9e Merge remote-tracking branch 'upstream/develop' into patch-2 2023-04-27 14:42:56 +02:00
Laurent Destailleur
80b6e78679 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-04-27 14:19:09 +02:00
Laurent Destailleur
302c6a0ab9 Fix serious regression in creating MO. 2023-04-27 14:02:59 +02:00
Frédéric FRANCE
1d8c7f934f clean code 2023-04-27 09:47:00 +02:00
Frédéric FRANCE
0d3fdbe408 clean code 2023-04-27 09:42:54 +02:00
Laurent Destailleur
eb0e56d9dd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-26 22:54:55 +02:00