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

[17.0][MIG] account_netting: Migration to 17.0 #1883

Merged
merged 39 commits into from
Jul 31, 2024

Conversation

MarwanBHL
Copy link

Basic Migration to 17.0

pedrobaeza and others added 30 commits May 15, 2024 12:26
AR/AP netting
=============

This module allows to compensate the balance of a receivable account with the
balance of a payable account for the same partner, creating a journal item
that reflects this operation.

**WARNING**: This operation can be forbidden in your country by the accounting
regulations, so you should check current laws before using it. For example, in
Spain, this is not allowed at first instance, unless you document well the
operation from both parties.

Usage
=====

From any account journal entries view:

* Accounting/Journal Entries/Journal Items
* Accounting/Periodic Processing/Reconciliation/Manual Reconciliation

select all the lines that corresponds to both AR/AP operations from the same
partner. Click on "More > Compensate". If the items don't correspond to the
same partner or they aren't AR/AP accounts, you will get an error.

On contrary, a dialog box will be presented with the result of the operation
and a selection of the journal to register the operation. When you click on the
"Compensate" button, a journal entry is created with the corresponding
counterparts of the AR/AP operations.

OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
Currently translated at 100.0% (25 of 25 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_netting/es/
Currently translated at 100,0% (25 of 25 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_netting/de/
[UPD] README.rst

[UPD] Update account_netting.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/pt_BR/
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/es/
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/pt/
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/fr/
Currently translated at 91.7% (22 of 24 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_netting/hr/
[UPD] Update account_netting.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_netting/
…branch.

OCA#965

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_netting/
Currently translated at 33.3% (8 of 24 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_netting/it/
Currently translated at 91.6% (22 of 24 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_netting/hr/
Currently translated at 100.0% (24 of 24 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_netting/es_AR/
Add prepare method for the account.move created by the wizard
Add multi-company checks
Improve error messages
Improve usability: use monetary instead of float, display partner
Use odoo methods to compare floats
Update tests
Ivorra78 and others added 7 commits May 15, 2024 12:26
Currently translated at 100.0% (28 of 28 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_netting/es/
Currently translated at 28.5% (8 of 28 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_netting/it/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_netting/sv/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_netting/fr/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_netting
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_netting/it/
@MarwanBHL MarwanBHL mentioned this pull request May 16, 2024
33 tasks
@pedrobaeza
Copy link
Member

/ocabot migration account_netting

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone May 16, 2024
Copy link

@xmglord xmglord left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@desdelinux
Copy link

desdelinux commented Jul 16, 2024

Hi @pedrobaeza @AaronHForgeFlow @JordiBForgeFlow this is ready :)

Could your review / merge

@desdelinux
Copy link

Hi @alexis-via Can you help me by merging this please?

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

@pedrobaeza The merge process could not start, because command git push origin 17.0-ocabot-merge-pr-1883-by-pedrobaeza-bump-nobump failed with output:

To https://github.com/OCA/account-financial-tools
 ! [remote rejected]     17.0-ocabot-merge-pr-1883-by-pedrobaeza-bump-nobump -> 17.0-ocabot-merge-pr-1883-by-pedrobaeza-bump-nobump (cannot lock ref 'refs/heads/17.0-ocabot-merge-pr-1883-by-pedrobaeza-bump-nobump': reference already exists)
error: failed to push some refs to 'https://github.com/OCA/account-financial-tools'

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-1883-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 8999d4b into OCA:17.0 Jul 31, 2024
8 of 9 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 606429d. 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.