[14.0][IMP] shopfloor_base: Propagate the shopfloor.app to actions #960
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
At the moment there is no property on the actions which represents the app.
Since i'm extending right now the scan everything screens, i need to know the warehouse.
Because by scanning a product i want to show the quants. But not all quants only the configured ones on the app.
The warehouse would then be reachable by
self.work.app.profile_ids.menu_ids.picking_type_ids.warehouse_id
@simahawk could you maybe give some more information about this?
Why was this f6f54b0 necessary?
Would i be a problem to set the actions_collection like this
actions_collection = collection or component_instance.collection
cc @jbaudoux