-
-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3040 from tranngocson1996/v14_mig_account_edi
[MIG][14.0] account_edi: Migration script
- Loading branch information
Showing
3 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
openupgrade_scripts/scripts/account_edi/14.0.1.0/upgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
---Models in module 'account_edi'--- | ||
new model account.edi.document | ||
new model account.edi.format | ||
# NOTHING TO DO: new models | ||
|
||
---Fields in module 'account_edi'--- | ||
account_edi / account.edi.document / attachment_id (many2one) : NEW relation: ir.attachment | ||
account_edi / account.edi.document / edi_format_id (many2one) : NEW relation: account.edi.format, required | ||
account_edi / account.edi.document / error (html) : NEW | ||
account_edi / account.edi.document / move_id (many2one) : NEW relation: account.move, required | ||
account_edi / account.edi.document / state (selection) : NEW selection_keys: ['cancelled', 'sent', 'to_cancel', 'to_send'] | ||
account_edi / account.edi.format / code (char) : NEW required | ||
account_edi / account.edi.format / name (char) : NEW | ||
account_edi / account.journal / edi_format_ids (many2many) : NEW relation: account.edi.format, isfunction: function, stored | ||
# NOTHING TO DO | ||
|
||
account_edi / account.move / edi_document_ids (one2many) : NEW relation: account.edi.document | ||
account_edi / account.move / edi_state (selection) : NEW selection_keys: ['cancelled', 'sent', 'to_cancel', 'to_send'], isfunction: function, stored | ||
# NOTHING TO DO: created edi_state column and set the default value is false (in pre-migration on account module) | ||
|
||
---XML records in module 'account_edi'--- | ||
NEW ir.actions.act_window: account_edi.action_open_edi_documents | ||
NEW ir.actions.act_window: account_edi.action_open_payment_edi_documents | ||
NEW ir.cron: account_edi.ir_cron_edi_network | ||
NEW ir.model.access: account_edi.access_account_edi_document_group_invoice | ||
NEW ir.model.access: account_edi.access_account_edi_document_readonly | ||
NEW ir.model.access: account_edi.access_account_edi_format_group_invoice | ||
NEW ir.model.access: account_edi.access_account_edi_format_readonly | ||
NEW ir.model.constraint: account_edi.constraint_account_edi_document_unique_edi_document_by_move_by_format | ||
NEW ir.model.constraint: account_edi.constraint_account_edi_format_unique_code | ||
NEW ir.ui.view: account_edi.account_invoice_send_inherit_account_wizard_form | ||
NEW ir.ui.view: account_edi.view_account_journal_form_inherited | ||
NEW ir.ui.view: account_edi.view_move_form_inherit | ||
NEW ir.ui.view: account_edi.view_payment_form_inherit | ||
NEW ir.ui.view: account_edi.view_tree_account_edi_document | ||
# NOTHING TO DO |