Fix orphelins
This commit is contained in:
parent
24cad7cfdf
commit
cb4e0233b9
@ -143,6 +143,10 @@ delete from llx_element_element where sourcetype='facture' and fk_source not in
|
||||
delete from llx_element_element where sourcetype='commande' and fk_source not in (select rowid from llx_commande);
|
||||
|
||||
|
||||
-- Fix: delete orphelin actioncomm_resources
|
||||
delete from llx_actioncomm_resources where fk_actioncomm not in (select id from llx_actioncomm);
|
||||
|
||||
|
||||
UPDATE llx_product SET canvas = NULL where canvas = 'default@product';
|
||||
UPDATE llx_product SET canvas = NULL where canvas = 'service@product';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user