Skip to content

[19.0][IMP] sale_order_mass_action: adds missing target states#4371

Open
glitchov wants to merge 23 commits into
OCA:19.0from
acsone:19.0-imp-sale_order_mass_action-hda
Open

[19.0][IMP] sale_order_mass_action: adds missing target states#4371
glitchov wants to merge 23 commits into
OCA:19.0from
acsone:19.0-imp-sale_order_mass_action-hda

Conversation

@glitchov
Copy link
Copy Markdown
Contributor

@glitchov glitchov commented May 27, 2026

The original module only permits to confirm in mass so this enhancement targets other states plus the locked flag.
The original idea comes from @rousseldenis in v14.0

@OCA-git-bot OCA-git-bot added series:19.0 mod:sale_order_mass_action Module sale_order_mass_action labels May 27, 2026
Copy link
Copy Markdown
Member

@FrancoMaxime FrancoMaxime left a comment

Choose a reason for hiding this comment

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

LGTM: code review (a minor comment in unit test)

# Check if the sale order is locked
self.assertFalse(self.sale.locked)
self.wizard = self.wizard_obj.with_context(
active_model="sale.order", active_ids=[self.sale.id]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
active_model="sale.order", active_ids=[self.sale.id]
active_model="sale.order", active_ids=self.sale.ids

Is it not better to do that?

legalsylvain and others added 23 commits June 4, 2026 11:14
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_mass_action
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_mass_action/
[MIG] sale_order_mass_action: Migration to 18.0

[MIG] sale_order_mass_action: Migration to 18.0
@glitchov glitchov force-pushed the 19.0-imp-sale_order_mass_action-hda branch from e8745a8 to d89ca58 Compare June 4, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:sale_order_mass_action Module sale_order_mass_action series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants