Skip to content

[18.0][MIG] sale_start_end_dates: Migration to 18.0#4248

Closed
IJOL wants to merge 48 commits intoOCA:18.0from
BITVAX:18.0-mig-sale_start_end_dates
Closed

[18.0][MIG] sale_start_end_dates: Migration to 18.0#4248
IJOL wants to merge 48 commits intoOCA:18.0from
BITVAX:18.0-mig-sale_start_end_dates

Conversation

@IJOL
Copy link
Copy Markdown

@IJOL IJOL commented Apr 1, 2026

Summary

  • Port sale_start_end_dates from 16.0 to 18.0
  • Replace states= field attribute with readonly=False (computed stored fields)
  • Replace attrs= with direct invisible=/required= expressions
  • Replace tree with list in XML views
  • Replace invisible=1 with column_invisible=True for hidden fields
  • Remove pricelist_id from test (product.list0 xmlid removed in v18)
  • Version bump to 18.0.1.0.0
  • Pre-commit auto fixes applied

Tests

  • 6 tests pass locally (0 failures, 0 errors)

Alexis de Lattre and others added 30 commits April 1, 2026 18:48
Replace openerp by odoo in import declarations
Currently translated at 100,0% (16 of 16 strings)

Translation: sale-workflow-10.0/sale-workflow-10.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-10-0/sale-workflow-10-0-sale_start_end_dates/nl_NL/
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Convert readme to new subdir format
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_start_end_dates/
Currently translated at 26.7% (4 of 15 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_start_end_dates/pt/
vancouver29 and others added 17 commits April 1, 2026 18:48
Improve and update some strings
Update FR translation
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/es/
Currently translated at 71.4% (10 of 14 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/
Currently translated at 53.3% (8 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/es/
Currently translated at 66.6% (10 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/pt_BR/
Currently translated at 100.0% (15 of 15 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_start_end_dates/it/
@IJOL IJOL force-pushed the 18.0-mig-sale_start_end_dates branch from d88f55a to 9c7e542 Compare April 1, 2026 16:50
@IJOL IJOL force-pushed the 18.0-mig-sale_start_end_dates branch from 9c7e542 to 56913e6 Compare April 1, 2026 19:28
@rousseldenis
Copy link
Copy Markdown
Contributor

/ocabot migration sale_start_end_dates

@OCA-git-bot
Copy link
Copy Markdown
Contributor

The migration issue (#3344) has not been updated to reference the current pull request because a previous pull request (#3505) is not closed.
Perhaps you should check that there is no duplicate work.
CC @alexis-via

"or be the same as Default End Date (%(end_date)s) "
"for sale order '%(name)s'."
)
% {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You should use translation function arguments instead.

"for sale order line "
"with Product '%(product_name)s'."
)
% {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above

@IJOL
Copy link
Copy Markdown
Author

IJOL commented Apr 9, 2026

Closing in favor of #3505 by @alexis-via (original author), which is more complete and includes sale.report improvements.

@IJOL IJOL closed this Apr 9, 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.