Skip to content

[IMP] sale_stock, web: update return order dialog design#4951

Merged
kcv-odoo merged 1 commit intomaster-website_sale-add-return-flow-kcvfrom
master-website_sale-add-return-flow-design-ldau
Feb 4, 2026
Merged

[IMP] sale_stock, web: update return order dialog design#4951
kcv-odoo merged 1 commit intomaster-website_sale-add-return-flow-kcvfrom
master-website_sale-add-return-flow-design-ldau

Conversation

@ldau-odoo
Copy link

@ldau-odoo ldau-odoo commented Jan 13, 2026

This PR improves the design of the return order dialog by making
it more consistent with the product configuration dialog.

It also introduces a new prop for the confirmation dialog to change
its size, as the "sm" size may be too small for some use cases.

task-5477354

@robodoo
Copy link

robodoo commented Jan 13, 2026

This PR targets the un-managed branch odoo-dev/odoo:master-website_sale-add-return-flow-kcv, it needs to be retargeted before it can be merged.

@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch 5 times, most recently from c61634f to 84690e7 Compare January 20, 2026 15:13
@kcv-odoo kcv-odoo force-pushed the master-website_sale-add-return-flow-kcv branch from 9e5789a to b0f315e Compare January 21, 2026 05:13
@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch 4 times, most recently from 8842a04 to 42a2c93 Compare January 22, 2026 13:45
@ldau-odoo ldau-odoo changed the title [IMP] sale_stock: update return order dialog design [IMP] sale_stock, web: update return order dialog design Jan 22, 2026
@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch from 42a2c93 to 2ba3206 Compare January 22, 2026 14:55
@kcv-odoo kcv-odoo force-pushed the master-website_sale-add-return-flow-kcv branch 9 times, most recently from 110b340 to fcdd85e Compare January 27, 2026 13:08
@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch from 2ba3206 to 662380e Compare January 27, 2026 15:02
Copy link

@anso-odoo anso-odoo left a comment

Choose a reason for hiding this comment

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

Hello @ldau-odoo, a small first review

Thanks!

t-out="formatCurrency(
line.price, line.currency
)"
class="return_order_dialog_price h6 d-block mb-0 mb-sm-2 text-nowrap fw-bold text-end"

Choose a reason for hiding this comment

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

Why not use straight <h6> tag instead of a <span> ?

Copy link
Author

Choose a reason for hiding this comment

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

I kept the span because it’s not semantically a title—we just wanted the h6 style.

@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch 3 times, most recently from f460a4b to f2489d3 Compare January 29, 2026 14:03
@ldau-odoo ldau-odoo requested a review from anso-odoo January 29, 2026 14:20
Copy link

@anso-odoo anso-odoo left a comment

Choose a reason for hiding this comment

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

Nice @ldau-odoo !

I still have some guidelines and wording suggestions, can you check ?

@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch from f2489d3 to 3573986 Compare February 3, 2026 13:01
@ldau-odoo ldau-odoo requested a review from anso-odoo February 3, 2026 13:55
Copy link

@anso-odoo anso-odoo left a comment

Choose a reason for hiding this comment

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

LGTM just some two small suggestions

<div t-if="line.delivery_name">
Delivery: <t t-out="line.delivery_name"/>
<div t-if="line.delivery_name" class="small">
Delivery: <strong class="text-muted"><t t-out="line.delivery_name" /></strong>

Choose a reason for hiding this comment

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

Not sure text-muted is necessary since it's the important information

>
Continue
</button>
<span t-if="noProductAndNoReason" class="ms-2 text-muted small">Select at least one product and a return reason.</span>

Choose a reason for hiding this comment

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

Suggested change
<span t-if="noProductAndNoReason" class="ms-2 text-muted small">Select at least one product and a return reason.</span>
<small t-if="noProductAndNoReason" class="ms-2 text-muted">Select at least one product and a return reason.</span>

This commit improves the design of the return order dialog by making
it more consistent with the product configuration dialog.

It also introduces a new prop for the confirmation dialog to change
its size, as the "sm" size may be too small for some use cases.

task-5477354
@ldau-odoo ldau-odoo force-pushed the master-website_sale-add-return-flow-design-ldau branch from 3573986 to bc9b9f8 Compare February 3, 2026 15:02
@kcv-odoo kcv-odoo marked this pull request as ready for review February 4, 2026 05:48
@robodoo
Copy link

robodoo commented Feb 4, 2026

This PR targets the un-managed branch odoo-dev/odoo:master-website_sale-add-return-flow-kcv, it needs to be retargeted before it can be merged.

@kcv-odoo kcv-odoo merged commit 5e24c33 into master-website_sale-add-return-flow-kcv Feb 4, 2026
@kcv-odoo kcv-odoo deleted the master-website_sale-add-return-flow-design-ldau branch February 4, 2026 05:51
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.

4 participants