Commit Graph

261 Commits

Author SHA1 Message Date
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
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
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
f241dacbdc css 2024-01-18 22:11:02 +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
7d109e9419 Fix phpcs 2023-12-13 12:46:23 +01:00
Laurent Destailleur
e040219fdc Fix phpcs 2023-12-13 12:45:07 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
1c9429643a Fix php-cs 2023-12-04 13:46:42 +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
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
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
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
kkhelifa-opendsi
91ff39d2e6 NEW: Add option for cancel consumed and produced lines (delete lines and rollback stocks) when delete or cancel an manufacturing order (#26254) 2023-10-20 03:09:58 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
b8c8e903c2 Fix php8.2 warnings 2023-10-15 18:39:13 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
736cf9bedc Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-26 01:49:39 +02:00
Laurent Destailleur
e9e6a8d0a8 Fix warnings 2023-08-24 14:19:45 +02:00
Laurent Destailleur
430cd6d22a Doc 2023-08-24 13:36:24 +02:00
Laurent Destailleur
8646b826e0 Debug v18 2023-08-05 14:09:11 +02:00
Laurent Destailleur
d4cb845398 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/core/tpl/list_print_total.tpl.php
2023-07-24 23:20:17 +02:00
kkhelifa-opendsi
765dd665f8 FIX: Fix delete consumed line of a Mo with movement stock (#25343)
* FIX: Fix delete consumed line of a Mo with movement stock

* Fix langs
2023-07-12 12:53:27 +02:00
Frédéric FRANCE
e74d8fa54d use isModEnabled 2023-06-29 14:04:39 +02:00
Laurent Destailleur
fdc03dc18a Debug v18 2023-06-28 14:46:45 +02:00
Laurent Destailleur
5dd3f57a1e Debug v18 2023-05-11 13:11:21 +02:00
x
dc1aa68c95 Create Mo From Bom : workstation 2023-05-04 15:58:40 +02:00
Laurent Destailleur
a1ba425765 Fix warnings 2023-05-01 18:12:59 +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
8a92d7f905 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-04-27 14:03:59 +02:00
Laurent Destailleur
302c6a0ab9 Fix serious regression in creating MO. 2023-04-27 14:02:59 +02:00
Laurent Destailleur
9a041774f9 Merge pull request #24553 from atm-lena/NEW_MoBom_AddLine_DefaultWorkstation
New mo bom add line default workstation
2023-04-26 22:11:27 +02:00
stickler-ci
a5c4ec5dcf Fixing style errors. 2023-04-19 16:22:47 +00:00
x
fde16f42c9 Clean fields mo and bom fk_default_workstation 2023-04-19 12:23:48 +02:00