Add migration guide
This commit is contained in:
parent
51762f89df
commit
2204dabd42
|
@ -0,0 +1,50 @@
|
|||
|
||||
DELETE FROM "ir_translation" WHERE "type" = 'error';
|
||||
ALTER TABLE "ir_translation" DROP CONSTRAINT "ir_translation_translation_md5_uniq";
|
||||
ALTER TABLE "ir_translation" DROP COLUMN "src_md5";
|
||||
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_chorus' AND module = 'account_fr_chorus';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_post_clearing_moves' AND module = 'account_payment_clearing';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_stripe' AND module = 'account_payment_stripe';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_marketing_automation' AND module = 'marketing_automation';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_generate_line_consumption' AND module = 'sale_subscription';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_generate_line_consumption' AND module = 'sale_subscription';
|
||||
DELETE FROM "ir_model_data" WHERE model = 'res.user' AND "fs_id" = 'user_generate_invoice' AND module = 'sale_subscription';
|
||||
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;
|
||||
|
||||
DELETE FROM "ir_module" WHERE "name"= 'staff_payroll_access';
|
||||
DELETE FROM "ir_module" WHERE "name"= 'electronic_mail_template';
|
||||
DELETE FROM "ir_module" WHERE "name"= 'electronic_mail';
|
||||
DELETE FROM "ir_module" WHERE "name"= 'smtp';
|
||||
|
||||
|
||||
DESPUES
|
||||
|
||||
ALTER table ir_sequence_type DROP COLUMN code;
|
||||
|
||||
|
||||
|
||||
Hola esta es la nueva version de Tryton ERP 6.0 a partir de hoy, deben descaragarla e instalarla
|
||||
|
||||
https://downloads.tryton.org/lts/tryton-64bit-last.exe
|
||||
|
||||
pip3 install tryton==6.0.3
|
||||
|
Loading…
Reference in New Issue