Skip to content

[19.0][MIG] account_loan#2222

Closed
petrus-v wants to merge 81 commits intoOCA:19.0from
acsone:19.0-mig-account_loan
Closed

[19.0][MIG] account_loan#2222
petrus-v wants to merge 81 commits intoOCA:19.0from
acsone:19.0-mig-account_loan

Conversation

@petrus-v
Copy link
Copy Markdown
Contributor

@petrus-v petrus-v commented Feb 6, 2026

Normal migration

#2229 add some commits on top of this one

etobella and others added 30 commits February 6, 2026 15:15
OCA Transbot updated translations from Transifex

[UPD] Update account_loan.pot
Currently translated at 99.2% (130 of 131 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_loan/de/

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.
[UPD] Update account_loan.pot

[UPD] README.rst
Currently translated at 100.0% (133 of 133 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_loan/de/
Currently translated at 86.1% (142 of 165 strings)

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

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

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

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_loan/de/
Currently translated at 24.8% (41 of 165 strings)

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

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_loan/sl/
Currently translated at 83.6% (138 of 165 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_loan/pt_BR/
Co-authored-by: Enric Tobella <etobella@creublanca.es>

[UPD] Update account_loan.pot

[UPD] README.rst
[UPD] Update account_loan.pot

[UPD] README.rst
account_loan 14.0.1.0.1

account_loan 14.0.1.0.2
Currently translated at 9.0% (15 of 165 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_loan/it/
Currently translated at 45.4% (75 of 165 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_loan/it/
Currently translated at 83.6% (138 of 165 strings)

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

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

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_loan/it/
victoralmau and others added 14 commits February 6, 2026 15:15
Currently translated at 100.0% (173 of 173 strings)

Translation: account-financial-tools-17.0/account-financial-tools-17.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_loan/it/
Currently translated at 100.0% (176 of 176 strings)

Translation: account-financial-tools-17.0/account-financial-tools-17.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_loan/it/
Currently translated at 100.0% (178 of 178 strings)

Translation: account-financial-tools-17.0/account-financial-tools-17.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_loan/it/
The usual case is to receive a loan from a bank institution, but when
you have a multi-company environment, one of the company may give a loan
to another, and for registering the loans on the donor part, you may
be able to enter negative amounts and configure the corresponding
accounts to receive money instead.

This commit allows to post the proper entries, checking the sign of the
amounts and acting in consequence.
Currently translated at 100.0% (178 of 178 strings)

Translation: account-financial-tools-18.0/account-financial-tools-18.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-18-0/account-financial-tools-18-0-account_loan/it/
@petrus-v petrus-v changed the title [MIG][19.0] account_loan [19.0][MIG] account_loan Feb 6, 2026
* replace _sql_constraints with models.Constraint
* fix tests and group attributes view
* replace list domains with fields.Domain objects
* mark some public method as private
* improve coverage
@petrus-v petrus-v force-pushed the 19.0-mig-account_loan branch from ab62469 to 1650698 Compare February 13, 2026 10:39
@petrus-v petrus-v marked this pull request as ready for review February 13, 2026 10:39
Copy link
Copy Markdown
Contributor

@AnizR AnizR left a comment

Choose a reason for hiding this comment

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

Code looks good to me 👍

@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). 🤖

@petrus-v
Copy link
Copy Markdown
Contributor Author

I move back to draft to let me time to experiment #2233

@petrus-v
Copy link
Copy Markdown
Contributor Author

I'm closing this PR in favor of #2235 that suggest a refactor on top of this PR

@petrus-v petrus-v closed this Feb 20, 2026
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.