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]: Migration partner_invoicing_mode_monthly to 18.0 #2

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

Conversation

chaule97
Copy link
Owner

@chaule97 chaule97 commented Nov 7, 2024

TDu and others added 19 commits November 5, 2024 15:07
Currently translated at 100.0% (14 of 14 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-partner_invoicing_mode_monthly
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-partner_invoicing_mode_monthly/es/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-partner_invoicing_mode_monthly
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-partner_invoicing_mode_monthly/it/
Allow to have a better extension mechanism when having multiple invoicing
modes.
To improve flexibility, the invoicing grouping option could be different
on the sale order level than on the partner level.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-partner_invoicing_mode_monthly
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-partner_invoicing_mode_monthly/
Currently translated at 100.0% (14 of 14 strings)

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

Translation: account-invoicing-16.0/account-invoicing-16.0-partner_invoicing_mode_monthly
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-partner_invoicing_mode_monthly/es/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-partner_invoicing_mode_monthly
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-partner_invoicing_mode_monthly/hr/
@chaule97 chaule97 force-pushed the 18.0-mig-partner_invoicing_mode_monthly branch 3 times, most recently from 0cc3190 to 5e5ccf3 Compare November 8, 2024 02:57
Copy link

@thienvh332 thienvh332 left a comment

Choose a reason for hiding this comment

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

LG overall,

Add migration line from 17 -> 18 to credits.md too

invoicing_mode_monthly_last_execution = fields.Datetime(
string="Last execution (monthly)",
help="Last execution of monthly invoicing.",
readonly=True,

Choose a reason for hiding this comment

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

If a field is marked as readonly=True on the model, it won't be possible to import it through the Odoo import tool, so avoid it as possible and define the readonly attribute on the views instead.

Suggested change
readonly=True,

related="company_id.invoicing_mode_monthly_day_todo", readonly=False
)
invoicing_mode_monthly_last_execution = fields.Datetime(
related="company_id.invoicing_mode_monthly_last_execution", readonly=True

Choose a reason for hiding this comment

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

Same here

@chaule97 chaule97 force-pushed the 18.0-mig-partner_invoicing_mode_monthly branch from 5e5ccf3 to 7134b5d Compare November 8, 2024 07:33
@chaule97 chaule97 force-pushed the 18.0-mig-partner_invoicing_mode_monthly branch from 7134b5d to 23dd829 Compare November 20, 2024 10:27
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.