-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[18.0] [MIG] account_tax_balance: Migration to 18.0 #1263
Open
Borruso
wants to merge
54
commits into
OCA:18.0
Choose a base branch
from
Borruso:18.0-mig-account_tax_balance
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
* 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.
Take into account previously created taxes TT28423
In previous versions, string was converted to button title and wasn't displayed Now it was being shown, so this converts it back to the button title TT29027
OpenUpgrade renames the column to its legacy name. Enterprise renames to move_type_custom.
The rename_fields method is cleaner, because it handles ir_model_fields and translations.
Due to the change at odoo/odoo@15a1b3a it is now required to run tests that require CoA after install.
We have improved this module by hiding the financial type field only in the sales invoices and the purchase invoice and in the refunds
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 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/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migration from 17.0 to 18.0
Issue: #1230