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

[18.0] [MIG] account_payment_term_extension: Migration to 18.0 #788

Open
wants to merge 57 commits into
base: 18.0
Choose a base branch
from

Conversation

TheMule71
Copy link

Replaces #776

Alexis de Lattre and others added 30 commits February 5, 2025 09:19
…_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
andreampiovesana and others added 25 commits February 5, 2025 09:19
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/
Currently translated at 94.1% (32 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/nl/
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/it/
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/it/
[UPD] Update account_payment_term_extension.pot
Currently translated at 100.0% (34 of 34 strings)

Translation: account-payment-15.0/account-payment-15.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-15-0/account-payment-15-0-account_payment_term_extension/ca/
Currently translated at 100.0% (34 of 34 strings)

Translation: account-payment-15.0/account-payment-15.0-account_payment_term_extension
Translate-URL: https://translation.odoo-community.org/projects/account-payment-15-0/account-payment-15-0-account_payment_term_extension/pt_BR/
Currently translated at 27.2% (9 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/sl/
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/es/
Currently translated at 87.8% (29 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 87.8% (29 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/
- Include context keys for avoiding mail operations overhead.
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/sv/
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/
@TheMule71 TheMule71 mentioned this pull request Feb 5, 2025
7 tasks
@TheMule71
Copy link
Author

TheMule71 commented Feb 5, 2025

I do have a question, according to the migration guidelines, you should

Remove references in CREDITS.rst of past financed migrations by other companies.

which I did, but I'm not totally comfortable with. The previous credits were for the 15.0->16.0 migration, and survived the 16.0 -> 17.0 migration. Should I keep them?

@TheMule71 TheMule71 force-pushed the 18.0-mig-account_payment_term_extension branch from d540f72 to 27aa7e0 Compare February 5, 2025 11:46
@TheMule71 TheMule71 force-pushed the 18.0-mig-account_payment_term_extension branch from 27aa7e0 to a28fe61 Compare February 5, 2025 11:49
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.