[16.0][IMP] stock_picking_auto_create_lot: lot on print
There could be several ways to print a detailed operation report label. For example #1922 or even custom report triggered from a report action or a server action.
To support these different scenarios, a context can be injected to the report_action method in order to allow forcing the creation of the detailed operations lots prior to the label printing.
MT-9803
cc @moduon @sergio-teruel @Shide
Hi @sergio-teruel, some modules you are maintaining are being modified, check this out!
Maybe we can add someting to Doc to know how to use the
force_auto_lotcontext
done!
@chienandalu Could you add test of report action ?
@chienandalu Could you add test of report action ?
Test case added :smile: :+1:
@chienandalu Could you add test of report action ?
@rousseldenis Test case added 😄 👍
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
This is ready to merge
What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-1923-by-rafaelbn-bump-minor, awaiting test results.
Congratulations, your PR was merged at 87d207bebb56f61e819df1d574a0f4b464edff47. Thanks a lot for contributing to OCA. ❤️