Skip to content

[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

Merged
merged 54 commits into from
Feb 11, 2025

Conversation

Borruso
Copy link
Contributor

@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.
mymage and others added 3 commits December 6, 2024 14:43
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/
Copy link
Member

@eLBati eLBati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pedrobaeza
Copy link
Member

/ocabot migration account_tax_balance

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 17, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 17, 2025
4 tasks
@tafaRU
Copy link
Member

tafaRU commented Jan 31, 2025

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 18.0.

@OCA-git-bot OCA-git-bot force-pushed the 18.0-mig-account_tax_balance branch from c46fab2 to e65233f Compare January 31, 2025 14:09
Copy link
Contributor

@MarcoCalcagni MarcoCalcagni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@gdemarco2esseti gdemarco2esseti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional review: OK

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional test: OK

Copy link
Member

@pedrobaeza pedrobaeza left a 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.

@Borruso Borruso force-pushed the 18.0-mig-account_tax_balance branch from f7ec59a to 431f564 Compare February 11, 2025 08:14
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-1263-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ac9ba63 into OCA:18.0 Feb 11, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 1ac2f42. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.