Skip to content

Conversation

@Tatider
Copy link

@Tatider Tatider commented Oct 15, 2025

  • An update of tests was required because in Odoo 19.0, the database by default doesn't have Demo Data.

Depends on:

tafaRU and others added 23 commits October 15, 2025 16:56
* [ADD] sale_delivery_split_date module

* [ADD] sale_delivery_split_date: add computed min_dt to allow deliveries to be searchable by the scheduled date
Note that sale_delivery_split_date is not compatible with sale_procurement_group_by_commitment_date
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

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

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_delivery_split_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_delivery_split_date/it/
@rousseldenis
Copy link
Contributor

/ocabot migration sale_delivery_split_date

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Oct 18, 2025
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Sale Delivery Split Date</title>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change generated by pre-commit? Strange change to <title>README.rst</title>

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it is precommit doing the change...

Copy link
Contributor

@yankinmax yankinmax left a comment

Choose a reason for hiding this comment

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

pre-approve considering a question

@Tatider Tatider force-pushed the 19.0-mig-sale-delivery-split-date branch from dfe8fef to 9bebdaf Compare December 9, 2025 13:56
@Tatider
Copy link
Author

Tatider commented Dec 9, 2025

One of the dependencies to be renamed, waiting for the final name to be defined - "#3947"

@Tatider Tatider force-pushed the 19.0-mig-sale-delivery-split-date branch from 9bebdaf to 99c6967 Compare December 18, 2025 09:31
@Tatider
Copy link
Author

Tatider commented Dec 18, 2025

One of the dependencies to be renamed, waiting for the final name to be defined - "#3947"

Updated

Copy link
Contributor

@ivantodorovich ivantodorovich left a comment

Choose a reason for hiding this comment

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

small comment, non blocking

if self.commitment_date:
comm_date = self._get_security_lead_time_commitment_date()
vals["name"] += "/" + format_date(self.env, comm_date.date())
vals["name"] = (
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it's just me, but I found it was more readable before.
Why this change? it doesn't seem like an useful diff

Copy link
Author

Choose a reason for hiding this comment

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

To my understanding, usage of "+=" for strings is considered a bad practice, bacause it might lead to unxpected errors when one of arguments is not a string, f.e. "False" as it might be with Sale Line Name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.