Commit Graph

16 Commits

Author SHA1 Message Date
mariadforgeflow
339527ab2e [IMP] stock_quant_manual_assign: field reserved as readonly 2022-11-14 16:56:33 +01:00
Yoshi Tashiro
59a1acd0f1 [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-09-08 03:41:21 -04:00
Lois Rilo
38542a78f4 [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-07-12 10:20:22 +02:00
Miquel Raïch
ed9619ba21 [IMP] stock_quant_manual_assign: make several columns sortable in wizard 2022-06-21 11:55:40 +02:00
Lois Rilo
762edd317e [IMP] stock_quant_manual_assign: add prepare lines method 2021-07-27 10:45:30 +02:00
Yoshi Tashiro
fe8b08556d [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.
2021-07-27 10:41:35 +02:00
Fanha Giang
e2fc1e6f7d [MIG] stock_quant_manual_assign: Migration to 14.0 2021-01-23 21:51:34 +07:00
Tony Gu
f45c84a38c [MIG] stock_quant_manual_assign: Migration to 13.0 2020-12-05 01:56:20 +07:00
Tony Gu
454ca05c6c [IMP] stock_quant_manual_assign: black, isort, prettier 2020-12-05 01:56:20 +07:00
Lois Rilo
e33c84a0fe [12.0][MIG] stock_quant_manual_assign 2020-12-05 01:56:20 +07:00
Pedro M. Baeza
d81874dd07 [IMP] stock_quant_manual_assign: Add owner to criteria + reorder fields + add security groups + hook 2020-12-05 01:56:20 +07:00
Pedro M. Baeza
aefe6ad126 [FIX] stock_quant_manual_assign: Related fields are not filled if not default them 2020-12-05 01:56:20 +07:00
Pedro M. Baeza
85c7cb5206 [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.
2020-12-05 01:56:20 +07:00
cubells
34a06881e9 [MIG] stock_quant_manual_assign: Migration to 11.0 2020-12-05 01:56:19 +07:00
Fanha Giang
2c251e13e9 11.0-mig-stock_quant_manual_assign 2020-12-05 01:56:19 +07:00
Fanha Giang
d3c591eda8 [MIG] stock_quant_manual_assign: Migration to 10.0 2020-12-05 01:56:17 +07:00