Commit Graph

17 Commits

Author SHA1 Message Date
Alexis de Lattre
c8911588f8 [MIG] stock_quant_manual_assign to v16 2023-05-16 13:24:52 +03:00
Yoshi Tashiro
80b596a237 [IMP] stock_quant_manual_assign: make quant search flexible
This is to make it easier to manipulate with the domain conditions
and search results for available quants.
2022-10-29 20:36:25 +02:00
Lois Rilo
cd2942bca6 [FIX] stock_quant_manual_assign: fix access error issues
When not all features are activated in inventory (locations, lots,
packages and owners) selecting a quant would raise an access error.

It is not possible to directly read the related fields, e.g
`self.lot_id`, because they are stored fields and have a group
restriction, so an access error would raise. To work around it,
we should access these fields from the quant:
`self.quant_id.lot_id`.
2022-10-29 20:36:25 +02:00
Miquel Raïch
502a049862 [IMP] stock_quant_manual_assign: make several columns sortable in wizard 2022-10-29 20:36:25 +02:00
Jasmin Solanki
99598c0974 [MIG] stock_quant_manual_assign: Migration to 15.0 2022-10-29 20:36:25 +02:00
Lois Rilo
f564392ddb [IMP] stock_quant_manual_assign: add prepare lines method 2022-10-29 20:36:25 +02:00
Yoshi Tashiro
ae5744c083 [IMP] stock_quant_manual_assign: make qty_done fill optional
There are cases where auto-filling of qty_done of stock move line is not desirable.
e.g. you assign quants manually for some of the moves in a picking and not the others,
in such case you need to go over all the moves in the picking to either remove qty_done
or fill it in to proceed with the validation of the entire moves. Auto-fill behavior is
also troublesome when this function is used in a manufacturing order. i.e. having
qty_done of the component move live messes up the outcome of the production.
2022-10-29 20:36:25 +02:00
Fanha Giang
e62d14706a [MIG] stock_quant_manual_assign: Migration to 14.0 2022-10-29 20:36:25 +02:00
Tony Gu
0d22dd8283 [MIG] stock_quant_manual_assign: Migration to 13.0 2022-10-29 20:36:25 +02:00
Tony Gu
383c8a41a2 [IMP] stock_quant_manual_assign: black, isort, prettier 2022-10-29 20:36:25 +02:00
Lois Rilo
6d6f0ac99b [12.0][MIG] stock_quant_manual_assign 2022-10-29 20:36:25 +02:00
Pedro M. Baeza
7f2a663214 [IMP] stock_quant_manual_assign: Add owner to criteria + reorder fields + add security groups + hook 2022-10-29 20:36:25 +02:00
Pedro M. Baeza
e892563108 [FIX] stock_quant_manual_assign: Related fields are not filled if not default them 2022-10-29 20:36:25 +02:00
Pedro M. Baeza
c559485d23 [IMP] stock_quant_manual_assign:
* Better layout
* Remove active_id dependency in some computed fields
* Clean code
* Refine constraint
* Take into account if the current line is previously reserved before clicking on the button.
2022-10-29 20:36:25 +02:00
cubells
45b7d5b48f [MIG] stock_quant_manual_assign: Migration to 11.0 2022-10-29 20:36:25 +02:00
Fanha Giang
22ede1fba9 11.0-mig-stock_quant_manual_assign 2022-10-29 20:36:25 +02:00
Fanha Giang
85e0c8c695 [MIG] stock_quant_manual_assign: Migration to 10.0 2022-10-29 20:36:25 +02:00