Skip to content

[16.0] [REF] shopfloor_reception: use shopfloor.search.move.line component in scan_document#1176

Open
nicolas-delbovier-acsone wants to merge 2 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-move_line_search_additional_domain-can-be-skipped
Open

[16.0] [REF] shopfloor_reception: use shopfloor.search.move.line component in scan_document#1176
nicolas-delbovier-acsone wants to merge 2 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-move_line_search_additional_domain-can-be-skipped

Conversation

@nicolas-delbovier-acsone

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Jun 4, 2026

Copy link
Copy Markdown

Rationale

The "additional_domain" on the menu was respected when displaying the list of pickings but when scanning a picking by name, you could bypass the filter


  • Reduces code duplication
  • Fix scan_document bypassing the "additional_domain" set on the shopfloor menu

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @JuMiSanAr, @mmequignon,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:16.0 mod:shopfloor_reception Module shopfloor_reception labels Jun 4, 2026
@nicolas-delbovier-acsone

Copy link
Copy Markdown
Author

@jbaudoux

@jbaudoux jbaudoux left a comment

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 need to do this for all the scan document handlers.
I would rely on search_move_lines action and adapt it to support recordset instead of record as arguments

…n scan_document

- Reduces code duplication
- Fix scan_document bypassing the "additional_domain" set on the shopfloor menu
@nicolas-delbovier-acsone nicolas-delbovier-acsone force-pushed the 16.0-fix-shopfloor_reception-move_line_search_additional_domain-can-be-skipped branch from 28a94a0 to e1769d4 Compare June 5, 2026 12:18
@OCA-git-bot OCA-git-bot added the mod:shopfloor Module shopfloor label Jun 5, 2026
@nicolas-delbovier-acsone nicolas-delbovier-acsone changed the title [16.0][FIX] shopfloor_reception: ensure 'additional_domain' is respected during scan [16.0] [REF] shopfloor_reception: use shopfloor.search.move.line component in scan_document Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:shopfloor_reception Module shopfloor_reception mod:shopfloor Module shopfloor series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants