Skip to content
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
wants to merge 54 commits into
base: 18.0
Choose a base branch
from

Conversation

Borruso
Copy link

@Borruso Borruso commented Dec 6, 2024

Migration from 17.0 to 18.0

Issue: #1230

eLBati and others added 30 commits December 6, 2024 14:42
* 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.
ozono and others added 24 commits December 6, 2024 14:42
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.