Fix fix
This commit is contained in:
parent
e2696d7718
commit
cfca26a727
@ -554,7 +554,3 @@ INSERT INTO llx_c_socialnetworks (entity, code, label, url, icon, active) VALUES
|
|||||||
ALTER TABLE llx_product_fournisseur_price ADD COLUMN packaging varchar(64);
|
ALTER TABLE llx_product_fournisseur_price ADD COLUMN packaging varchar(64);
|
||||||
|
|
||||||
ALTER TABLE llx_projet ADD COLUMN fk_opp_status_end integer DEFAULT NULL;
|
ALTER TABLE llx_projet ADD COLUMN fk_opp_status_end integer DEFAULT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_mrp_production ADD COLUMN fk_soc integer NOT NULL;
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,6 @@
|
|||||||
CREATE TABLE llx_mrp_production(
|
CREATE TABLE llx_mrp_production(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||||
fk_mo integer NOT NULL,
|
fk_mo integer NOT NULL,
|
||||||
fk_soc integer NOT NULL,
|
|
||||||
position integer NOT NULL DEFAULT 0,
|
position integer NOT NULL DEFAULT 0,
|
||||||
fk_product integer NOT NULL,
|
fk_product integer NOT NULL,
|
||||||
fk_warehouse integer,
|
fk_warehouse integer,
|
||||||
|
|||||||
@ -1352,7 +1352,7 @@ class Mo extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public static function replaceThirdparty($db, $origin_id, $dest_id)
|
public static function replaceThirdparty($db, $origin_id, $dest_id)
|
||||||
{
|
{
|
||||||
$tables = array('mrp_production');
|
$tables = array('mrp_mo');
|
||||||
|
|
||||||
return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables);
|
return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user