2
0
forked from Wavyzz/dolibarr
Commit Graph

801 Commits

Author SHA1 Message Date
Laurent Destailleur
e950bdde26 Merge pull request #27687 from frederic34/dol_print_error_db
fix param
2024-01-22 00:03:06 +01:00
Laurent Destailleur
f83ff02fa9 Fix warning 2024-01-21 17:37:08 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Laurent Destailleur
4795c40601 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-19 15:36:53 +01:00
Laurent Destailleur
f241dacbdc css 2024-01-18 22:11:02 +01:00
Frédéric France
a1e117283d fix warnings 2024-01-15 21:28:19 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
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
Frédéric FRANCE
5b56caa13e fix phpstan (#27481) 2024-01-13 15:34:02 +01:00
Laurent Destailleur
cb2ebb1d56 Fix phpcs 2024-01-12 20:51:10 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
ad6c4c2deb Fix phpcs 2024-01-12 18:18:20 +01:00
MDW
591306d7b1 Qual: Spelling htdocs/[l-o]* & htdocs/pa* (#27435)
# Qual: Fix spelling htdocs/[l-o]* & htdocs/pa*

Mostly comments, some local variables changed and translations to avoid
automatic fixes.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 18:06:50 +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
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
Laurent Destailleur
27ca9e6d98 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-29 03:09:00 +01:00
Hystepik
72ac76d4cf fix field 2023-12-28 16:29:07 +01:00
Hystepik
46511ae315 Fix #18713 sort on p.label 2023-12-28 16:27:26 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
5870e62fce Debug v19 2023-12-23 12:33:19 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
7d109e9419 Fix phpcs 2023-12-13 12:46:23 +01:00
Laurent Destailleur
e040219fdc Fix phpcs 2023-12-13 12:45:07 +01:00
Laurent Destailleur
60af6843fd Clean code 2023-12-08 02:05:51 +01:00
Laurent Destailleur
89e1e1b859 Merge pull request #26980 from atm-jonathan/FIX_in_array()_list.php
FIX in_array() on key
2023-12-08 01:59:32 +01:00
Laurent Destailleur
432a847ad9 Merge pull request #27004 from frederic34/fix-20231206
avoid phpstan error with phpdoc
2023-12-06 18:27:48 +01:00
Laurent Destailleur
eeaf0b8f57 Merge pull request #26954 from hansemschnokeloch/fix-26953
Fix #26953
2023-12-06 16:19:32 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Jonathan Lescaut
771b735384 FIX in_array() on key 2023-12-05 16:12:18 +01:00
Laurent Destailleur
1c9429643a Fix php-cs 2023-12-04 13:46:42 +01:00
pascal
71c6bd9715 Fix 26953 2023-12-04 12:03:01 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
MDW
ff44558e36 FIX Get array value for arrayname in loop. (#26805)
Reported by phan: htdocs/mrp/class/api_mos.class.php:369 PhanTypeMismatchForeach 'arraytoconsume'|'arraytoproduce' passed to foreach instead of array
2023-11-23 17:30:43 +01:00
Laurent Destailleur
f5240781a1 Fix phpcs 2023-11-20 21:25:52 +01:00
atm-lucas
73087bee2f FIX - change error message on quantity (#26606)
* Added a new error message on quantity split

* fault correction

* Add loading translation files

* Fault

* Translation key

* Code correction

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-20 20:42:27 +01:00
Eric
c3939fc4d0 fix undef line and action (#26646)
* fix undef line and action

* fix update quantity

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-19 00:54:39 +01:00
Maxime Kohlhaas
a8c0c63565 Fix : cost calculation on a bom using workstation (#26738) 2023-11-19 00:46:09 +01:00
moreauftheobald
1e36013e34 fix phpstan reception class (#26729)
* fix PHP STAN error on MO class

* fix PHP STAN error on MO class

* Update mo.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-18 23:25:16 +01:00
atm-sami
5a5483a610 New add extrafields for mo line (#26395)
* added recursive deletion option for child MOs + added recursive recovery method for child MOs

* add number of MOs in form_confirm

* update to delete number of mo childs if is null

* added checking of an infinity loop

* review PR

* add extrafields for mo lines

* update

* update for travis

* Update 18.0.0-19.0.0.sql

* Update functions.sql

* Delete htdocs/install/mysql/tables/llx_mrp_production_extrafields.key.sql

* Delete htdocs/install/mysql/tables/llx_mrp_production_extrafields.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-18 23:17:57 +01:00
Laurent Destailleur
8909223452 Fix CSS 2023-11-17 01:13:00 +01:00
Frédéric FRANCE
310e67aa48 add extrafields count (#26578) 2023-11-14 01:50:45 +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
atm-sami
cfdc3d1af3 NEW add recursive deletion option for child m os (#26102)
* added recursive deletion option for child MOs + added recursive recovery method for child MOs

* add number of MOs in form_confirm

* update to delete number of mo childs if is null

* added checking of an infinity loop

* review PR
2023-10-31 12:25:59 +01:00
Laurent Destailleur
9fc5accd81 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-26 15:58:41 +02:00