Minor fix

This commit is contained in:
Oscar 2021-08-14 11:27:31 -05:00
parent ef8c7b4e89
commit 0c68e148cd
1 changed files with 0 additions and 5 deletions

View File

@ -13,19 +13,15 @@ DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_generat
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_role' AND module = 'user_role';
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_trigger' AND module = 'res';
UPDATE project_work SET status = db_id FROM ir_model_data WHERE module = 'project' AND fs_id = 'work_open_status' AND state = 'opened';
UPDATE project_work SET status = db_id FROM ir_model_data WHERE module = 'project' and fs_id = 'work_done_status' AND state = 'done';
ALTER TABLE sale_amendment_line DROP CONSTRAINT sale_amendment_line_shipment_party_fkey;
ALTER TABLE ir_model_field ADD COLUMN "access" BOOLEAN default false;
ALTER TABLE ir_model_access ADD COLUMN "active" BOOLEAN default true;
ALTER TABLE res_group ADD COLUMN "active" BOOLEAN default true;
UPDATE account_invoice_line SET currency = (SELECT currency FROM account_invoice WHERE id = account_invoice_line.invoice);
UPDATE account_invoice_line SET invoice_type = (SELECT type FROM account_invoice WHERE id = account_invoice_line.invoice) WHERE invoice_type IS NOT NULL;
UPDATE account_invoice_line SET party = (SELECT party FROM account_invoice WHERE id = account_invoice_line.invoice) WHERE party IS NOT NULL;
@ -37,7 +33,6 @@ DELETE FROM "ir_module" WHERE "name"= 'smtp';
DELETE FROM "ir_module" WHERE "name"= 'ims';
DELETE FROM "ir_module" WHERE "name"= 'party_reward_points';
UPDATE res_user SET language=(SELECT id FROM ir_lang WHERE name='Spanish (Spain)');
UPDATE ir_lang set translatable=false where code in ('es_419', 'es_CO');
DELETE FROM ir_translation WHERE lang='es_419';