Skip to content

Conversation

@pablo-cort-s73
Copy link

  • The module version was updated to 19.0.1.0.0 in the manifest.
  • In the account_payment_term_holiday model, the check_holiday constraint was refactored to use the new odoo.fields.Domain API and marked as @api.private.
  • Tests were modified to create the necessary data programmatically instead of relying on external data records, following new best practices.

Alexis de Lattre and others added 30 commits November 11, 2025 15:27
…_term_extension

Add support for months and weeks in account.payment.term.line
Add unittest
PEP8 validation
Fix and add a feature for apply a chronological order on lines
Merge of the 'account_payment_term_multi_day' module
Add icon to module
[UPD] Update account_payment_term_extension.pot
Currently translated at 100.0% (28 of 28 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_payment_term_extension/es/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_payment_term_extension/pt_BR/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_payment_term_extension/fr/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_payment_term_extension/fr_CH/
Currently translated at 85.7% (24 of 28 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_payment_term_extension/hr/
Currently translated at 100.0% (28 of 28 strings)

Translation: account-payment-13.0/account-payment-13.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-13-0/account-payment-13-0-account_payment_term_extension/es_AR/
…re resilient

* A `account.journal` record was being searched and used to create invoices, even though it was not necessary.
 This introduced the problem of finding more than one record that satisfied the search query, breaking the test for a singleton error.
 This removes the need for that.
* Extract a method for creating the invoice.
* Don't depend on variable year for tests.

TT27288

Co-Authored-By: Pedro M. Baeza <[email protected]>
* Standard procedure
* Adapt code
* Adapt tests
* Convert tests to SavepointCase

[UPD] Update account_payment_term_extension.pot
reformat
add test months
black
Currently translated at 100.0% (34 of 34 strings)

Translation: account-payment-14.0/account-payment-14.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_payment_term_extension/es_AR/
mymage and others added 11 commits November 11, 2025 15:27
Currently translated at 100.0% (33 of 33 strings)

Translation: account-payment-16.0/account-payment-16.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_term_extension/it/
Currently translated at 100.0% (44 of 44 strings)

Translation: account-payment-17.0/account-payment-17.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_term_extension/it/
Currently translated at 100.0% (44 of 44 strings)

Translation: account-payment-18.0/account-payment-18.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_term_extension/tr/
@pablo-cort-s73 pablo-cort-s73 mentioned this pull request Nov 11, 2025
14 tasks
Copy link

@Reyes4711-S73 Reyes4711-S73 left a comment

Choose a reason for hiding this comment

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

LGTM
Funcional review ok

Copy link

@arantxa-s73 arantxa-s73 left a comment

Choose a reason for hiding this comment

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

LGTM

@Reyes4711-S73
Copy link

@OCA/banking-maintainers Please, can you merge this PR?

@StefanRijnhart
Copy link
Member

@Reyes4711-S73 Please read up on the section 'Get your code merged' of https://odoo-community.org/resources/code. On top of that, the various S73 reviews can be considered team service and do not automatically qualify a PR for merging. Also, please make a little less noise.

@Reyes4711-S73
Copy link

@StefanRijnhart Sorry if I'm making "noise" in newer PR like this. In other PR that I have been reviewing, I requested a maintainer review/merge are PR that we have it opened more time, some even more than 2 years

@pablo-cort-s73 pablo-cort-s73 force-pushed the 19.0-mig-account_payment_term_extension branch from 5c163af to 8bdf37f Compare November 13, 2025 14:40
@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). 🤖

@@ -1,2 +1,2 @@
The migration of this module from 17.0 to 18.0 was financially supported
by THERA S.R.L.
The migration of this module from 18.0 to 19.0 was financially supported
Copy link
Member

Choose a reason for hiding this comment

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

You shouldn't remove previous comments, the credits of THERA should remain

Copy link
Member

Choose a reason for hiding this comment

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

Not really, Enric. Past comments of credits should be removed.

imagen

And this is logical, as funding one version migration doesn't grant you infinite advertising for life.

Copy link
Author

Choose a reason for hiding this comment

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

@pedrobaeza
Copy link
Member

/ocabot migration account_payment_term_extension

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Nov 27, 2025
@pablo-cort-s73 pablo-cort-s73 force-pushed the 19.0-mig-account_payment_term_extension branch from 08c7679 to 17e6b27 Compare November 28, 2025 06:55
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.