-
-
Notifications
You must be signed in to change notification settings - Fork 641
[18.0] [MIG] account_tax_balance: Migration to 18.0 #1263
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
Conversation
* Tests * PEP8 * Use invoice._convert_to_write(invoice._cache). This way, the onchange will be inheritable and will add here also the added values * better get_context_values * unify method compute_balance * open move lines linked to balance
Allow to explore all move lines Spanish translation Bugfixes Show negative lines too Show move type in account.move views Tests include new fields
* Test * README * add extra parent menu. If not, with the web_responsive module is mixed between other menus
Let the database do some computations (sum) and do not put large lists of ids in action domain.
This indexes improve the display time of account_tax_balance by a factor of 10 on a database with 1M move lines.
On certain environments, expense account might not exist, so we create it directly for avoiding problems.
Tests failed if you don't have an account called 'Tax Paid' in your test DB, which can happen when you are integrating tests in other environments, for example with other starting language.
Precreate move_type and fill with appropriate values to prevent a MemoryError when the ORM attempts to call its compute method on a large amount of preexisting moves.
Currently translated at 100.0% (51 of 51 strings) Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_tax_balance Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_tax_balance/it/
Currently translated at 56.8% (29 of 51 strings) Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_tax_balance Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_tax_balance/ca/
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.
LGTM
/ocabot migration account_tax_balance |
/ocabot rebase |
Congratulations, PR rebased to 18.0. |
c46fab2
to
e65233f
Compare
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.
LGTM
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.
Functional review: OK
This PR has the |
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.
Functional test: OK
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.
Tested on runboat and working. Just a few code comments.
e65233f
to
f7ec59a
Compare
f7ec59a
to
431f564
Compare
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.
/ocabot merge nobump
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 1ac2f42. Thanks a lot for contributing to OCA. ❤️ |
Migration from 17.0 to 18.0
Issue: #1230