-
-
Notifications
You must be signed in to change notification settings - Fork 247
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 invoice start end dates #307
base: 18.0
Are you sure you want to change the base?
18.0 mig account invoice start end dates #307
Conversation
Extract a new module account_invoice_start_end_dates from account_cutoff_prepaid
…art_end_dates: fixing tests fixing product not found convert mline dates to string fixing flake8 account_invoice_start_end_dates: fixing tests fixing product not found convert mline dates to string fixing flake8 putting removed licences back fix tests fix flake8 fix pylint issues [12.0-mig-account] fix unit tests fixup! [12.0-mig-account] fix unit tests fixup! fixup! [12.0-mig-account] fix unit tests
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-12.0/account-closing-12.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_invoice_start_end_dates/
Default value for cutoff date is end date of previous fiscal year
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-13.0/account-closing-13.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-13-0/account-closing-13-0-account_invoice_start_end_dates/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-13.0/account-closing-13.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-13-0/account-closing-13-0-account_invoice_start_end_dates/
Currently translated at 88.2% (15 of 17 strings) Translation: account-closing-14.0/account-closing-14.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_invoice_start_end_dates/fr_FR/
Currently translated at 100.0% (14 of 14 strings) Translation: account-closing-14.0/account-closing-14.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_invoice_start_end_dates/pt/
Currently translated at 100.0% (14 of 14 strings) Translation: account-closing-14.0/account-closing-14.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-14-0/account-closing-14-0-account_invoice_start_end_dates/it/
Currently translated at 15.3% (2 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fa/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr_FR/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/it/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/it/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Remove deprecated POT files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/es/
Currently translated at 92.3% (12 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/hr/
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/
Co-authored-by: Alexis de Lattre <alexis@via.ecp.fr>
Currently translated at 100.0% (13 of 13 strings) Translation: account-closing-17.0/account-closing-17.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-17-0/account-closing-17-0-account_invoice_start_end_dates/it/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For being easily searchable and avoiding to duplicate efforts, please name the pull request following this pattern:
[18.0][MIG]<module>
: Migration to 18.0.
and (not line.start_date or not line.end_date) | ||
): | ||
raise UserError( | ||
_( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you apply this change to _ and % similar to this PR?
odoo/odoo#52155
position="before" | ||
> | ||
<field name="must_have_dates" invisible="1" /> | ||
<field name="start_date" required="must_have_dates == True" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<field name="start_date" required="must_have_dates == True" /> | |
<field name="start_date" required="must_have_dates" /> |
why not take this opportunity to simplify the boolean expression above?
- Jeroen Evens \<<jeroen.evens@dynapps.be>\> | ||
- [Trobz](https://trobz.com): | ||
- Thao Le <thaolt@trobz.com> | ||
- Frederic Grall \<<fgr@apik.cloud>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a new line
could you squash 2 commit MIG to 18.0 in a single one and btw squash administrative commits? |
expr="//field[@name='invoice_line_ids']/list/field[@name='quantity']" | ||
position="before" | ||
> | ||
<field name="must_have_dates" invisible="1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.