-
-
Notifications
You must be signed in to change notification settings - Fork 262
[18.0] [MIG] account_fiscal_year_closing: Migration to 18.0 #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
Conversation
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Hi @Borruso Could you please rebase so I can try this pr? Thanks |
* Included template mechanism * Remove unused files * Fix behaviors * Some refactoring * Complete features
Currently translated at 66.6% (76 of 114 strings) Translation: account-closing-12.0/account-closing-12.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_fiscal_year_closing/it/
….fiscalyear.closing.template
Fixed warnings: Field account.fiscalyear.closing.closing_template_id: unknown parameter 'oldname', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it Field account.move.fyc_id: unknown parameter 'delete', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it The model account.fiscalyear.closing.config has no _description The model account.fiscalyear.closing.mapping has no _description The model account.fiscalyear.closing.type has no _description The model account.fiscalyear.closing.template has no _description The model account.fiscalyear.closing.config.template has no _description The model account.fiscalyear.closing.mapping.template has no _description The model account.fiscalyear.closing.type.template has no _description The model account.fiscalyear.closing.unbalanced.move has no access rules The model account.fiscalyear.closing.unbalanced.move.line has no access rules odoo.addons.base.models.ir_ui_view: Search tag requires at least one field element The method '_company_default_get' on res.company is deprecated and shouldn't be used anymore DeprecationWarning: RedirectWarning method 'post()' is a deprecated alias to 'action_post()' or _post()
…line. Otherwise the following might happen: File "/path/to/odoo/addons/account_fiscal_year_closing/models/account_fiscalyear_closing.py", line 328, in button_calculate res = self.calculate() File "/path/to/odoo/addons/account_fiscal_year_closing/models/account_fiscalyear_closing.py", line 315, in calculate return self._show_unbalanced_move_wizard(data) File "/path/to/odoo/addons/account_fiscal_year_closing/models/account_fiscalyear_closing.py", line 295, in _show_unbalanced_move_wizard wizard = self.env["account.fiscalyear.closing.unbalanced.move"].create(data) [...] ValueError: Invalid field 'date' on model 'account.fiscalyear.closing.unbalanced.move.line'
Currently translated at 92.1% (105 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 92.1% (105 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 92.9% (106 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 100.0% (114 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 100.0% (114 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 100.0% (114 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
Currently translated at 95.6% (109 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/pt_BR/
…s canceled entries in closing
Currently translated at 100.0% (114 of 114 strings) Translation: account-closing-14.0/account-closing-14.0-account_fiscal_year_closing Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_fiscal_year_closing/it/
When creating from scratch, Mapping is used as an Array instead of simple id (due to many in another many). When coming from a template, id is used To take into account this particularity, check the type before taking the id of the array.
Although we originally developped the module, we figured out soon that this approach is not correct, so we prefer to not appearing in the credits.
96d0326
to
1e448cd
Compare
/ocabot migration account_fiscal_year_closing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test su versione 18.0 effettuati con successo.
e0c0435
to
97d57ba
Compare
issue: #306