Skip to content

[16.0][MIG] account_tax_balance: Migration to 16.0 #937

Merged
OCA-git-bot merged 65 commits into
OCA:16.0from
ramiadavid:16.0-mig-account_tax_balance
Nov 11, 2022
Merged

[16.0][MIG] account_tax_balance: Migration to 16.0 #937
OCA-git-bot merged 65 commits into
OCA:16.0from
ramiadavid:16.0-mig-account_tax_balance

Conversation

@ramiadavid

Copy link
Copy Markdown
Contributor

No description provided.

eLBati and others added 5 commits October 20, 2022 22:11
* 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
@ramiadavid ramiadavid mentioned this pull request Oct 27, 2022
7 tasks
@ramiadavid ramiadavid force-pushed the 16.0-mig-account_tax_balance branch from 4328ed2 to 5cd930d Compare October 27, 2022 18:15
@ramiadavid

Copy link
Copy Markdown
Contributor Author

Hi @pedrobaeza
The tests are fine, but I'm not 100% sure if the change from internal_type to account_type is correct, if you can check it.
Thank you

@ramiadavid ramiadavid marked this pull request as ready for review October 27, 2022 18:18

@tafaRU tafaRU left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall LGTM except for ramiadavid#1
--edit--: please also squash administrative commits (if any) with the previous commit for reducing commit noise.

Thanks a lot!

@eLBati eLBati left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested

@tafaRU

tafaRU commented Nov 11, 2022

Copy link
Copy Markdown
Member

@ramiadavid thanks for merging my PR! Please also squash administrative commits, then your PR is ready for the merge 👍

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration account_tax_balance

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Nov 11, 2022
@tafaRU

tafaRU commented Nov 11, 2022

Copy link
Copy Markdown
Member

@ramiadavid let me know if you need help for merging the squash administrative commits.

@pedrobaeza

Copy link
Copy Markdown
Member

I'm improving the guide for this. I'm pasting the link when finish.

@ramiadavid

Copy link
Copy Markdown
Contributor Author

@ramiadavid let me know if you need help for merging the squash administrative commits.

If you can explain me how to do it correctly, I would appreciate it, because I don't want to do it wrong

@pedrobaeza

Copy link
Copy Markdown
Member

Uf, it has taken more time than expected, but I hope they are good enough:

https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests

Please tell any suggestion to it.

eLBati and others added 10 commits November 11, 2022 13:39
* 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.
@ramiadavid ramiadavid force-pushed the 16.0-mig-account_tax_balance branch from 78e6237 to 6ad3e20 Compare November 11, 2022 12:39
@ramiadavid

Copy link
Copy Markdown
Contributor Author

@tafaRU @pedrobaeza I think it is ready

@tafaRU

tafaRU commented Nov 11, 2022

Copy link
Copy Markdown
Member

@ramiadavid you missed one:

image

@pedrobaeza

Copy link
Copy Markdown
Member

I think that one of the cases where a conflict arises.

@ramiadavid

Copy link
Copy Markdown
Contributor Author

@tafaRU I'm not sure how to do this, since it causes a conflict

@pedrobaeza

Copy link
Copy Markdown
Member

@tafaRU can you please update your review?

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@OCA-git-bot

Copy link
Copy Markdown
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). 🤖

@OCA-git-bot OCA-git-bot merged commit 750772d into OCA:16.0 Nov 11, 2022
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@ramiadavid ramiadavid deleted the 16.0-mig-account_tax_balance branch November 11, 2022 13:22
@Gelo-fl

Gelo-fl commented Jun 1, 2023

Copy link
Copy Markdown

Hi @dreispt,

This module is merged, however the translations are locked:
account-financial-reporting-16.0-account_tax_balance
Can I know why?

Thanks in advance,

@pedrobaeza

Copy link
Copy Markdown
Member

Unlocked.

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.