Commit Graph

822 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00
Laurent Destailleur (aka Eldy)
1b42078d1e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-01-20 10:24:30 +01:00
atm-florian
ba4e97f07b FIX 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
+ security for Tickets API: disable updating rowid
2025-01-16 10:37:29 +01:00
Florian HENRY
1895fb3394 fix: missing token on delete line on MO 2024-12-17 17:27:27 +01:00
Can Arslan
77fa5d9e8f FIX: removed unreachable code (#31141) 2024-09-26 17:40:37 +02:00
HENRY Florian
33e6beebe4 FIX: error return missing in mo creation when qty to consume is <= 0 (#31134)
* fix: error return in mo creation when qty to consume is 0

* fix: error return in mo creation when qty to consume is 0

* fix: error return in mo creation when qty to consume is 0

* fix: error return in mo creation when qty to consume is 0
2024-09-26 15:59:36 +02:00
HENRY Florian
686f48c615 fix: display batch ref in OF during production (#30886)
* fix: display batch ref in OF on prod

* fix: display batch ref in OF on prod

* Update global.inc.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-09 03:12:50 +02:00
Frédéric FRANCE
b2626efd4d fix phan (#30218) 2024-07-01 12:52:05 +02:00
Christian Humpel
e025c543f7 Fix: Api MRP ProduceAndConsume if MoLine option "disable_stock_change" is true (#30181)
* Fix: Api MRP ProduceAndConsume if MoLine option "disable_stock_change" is true.

* fix typo
2024-06-30 15:11:57 +02:00
Laurent Destailleur
3d2343374d Fix qty_frozen must be O or 1 2024-06-03 11:31:49 +02:00
Laurent Destailleur
f36095ae02 Try to fix value of null instead of 0 int disable_stock_change into
llx_mrp_production.
2024-06-02 18:28:51 +02:00
Laurent Destailleur
66fdf21939 Doc 2024-05-29 14:12:19 +02:00
Laurent Destailleur
45e8ed9b36 Doc 2024-05-29 14:12:09 +02:00
Laurent Destailleur
86ac5328cf Doc 2024-05-29 14:07:11 +02:00
Laurent Destailleur
73e0dcabd3 Fix error code 2024-05-29 13:58:51 +02:00
Laurent Destailleur
ccb0ae04e4 API is not working, so we rename it to allow use of another one that can
work correcly.
2024-05-29 13:51:00 +02:00
Laurent Destailleur
a357ed308a Fix for #29777. Explain how to use produceAndConsume MO API. 2024-05-29 13:43:16 +02:00
Laurent Destailleur
a854e58905 FIX Missing $param in hook call for list 2024-05-23 14:41:56 +02:00
Laurent Destailleur
481fec5291 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-21 20:12:45 +02:00
atm-adrien
133bf3ffb8 FIX : mo cloning (#29686) 2024-05-15 15:06:14 +02:00
ksar
911eb9fc9e FIX : MRP devide product not working
https://www.dolibarr.fr/forum/t/probleme-division-ligne-consommation-produit-dans-module-mrp/45898
2024-03-26 21:31:54 +01:00
Frédéric FRANCE
16319e5103 fix codespell (#28594) 2024-03-03 15:48:36 +01:00
Laurent Destailleur
b870a84d8a FIX #28564 2024-03-01 20:19:37 +01:00
Laurent Destailleur
6e7263a047 Revert "FIX #28533 Mo::deleteLine removes the "main" MoLine if consumed line …" (#28564)
This reverts commit c069f3f161.
2024-03-01 19:25:06 +01:00
Christian Humpel
c069f3f161 FIX #28533 Mo::deleteLine removes the "main" MoLine if consumed line is delete (#28535)
* fix #28533

* qual for github actions

* fix use $this->db in classes

---------

Co-authored-by: christian.humpel <christian.humpel@gmail.com>
2024-03-01 12:47:37 +01:00
Bahfir Abbes
ef05096297 Fix:False constant name (#28532)
Conflicts:
	htdocs/mrp/class/mo.class.php

Fix:False constant name
2024-02-29 20:19:46 +01:00
Laurent Destailleur
da9b9370bf Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 15:41:18 +01:00
atm-sami
549f10c150 18.0 FIX remove consumed and produced lines for mo clone (#28140)
* add new hook context for mo production card

* remove consumed and produced line when we clone mo
2024-02-12 18:10:48 +01:00
Laurent Destailleur
ff2d609814 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/commonobject.class.php
	htdocs/mrp/mo_production.php
2024-02-12 03:35:39 +01:00
atm-sami
b2fad54f1f FIX : add new hook context for mo production card (#28037)
* add new hook context for mo production card

* Update mo_production.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-07 18:51:06 +01:00
Laurent Destailleur
4cba87129c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-01 12:22:54 +01:00
Alban Durrheimer
afbb6b6659 Fix blank page with sub MO 2024-01-31 16:32:43 +01:00
Laurent Destailleur
f241dacbdc css 2024-01-18 22:11:02 +01:00
Laurent Destailleur
feff28a171 Merge pull request #27245 from routmoute/18.0-fix-pdf-merge-list
FIX #24185: v18: display of the merged pdf lists
2024-01-02 13:51:22 +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
a008f04cf7 Fix phpcs 2023-12-30 15:48:13 +01:00
routmoute
1d38a3b7b8 fix conflict with develop branch 2023-12-29 20:19:17 +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
routmoute
48f4e52a22 fix: Display of the list of merged pdf 2023-12-29 02:30:32 +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