mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_cycle_count: related field can't redefine selection list
This commit is contained in:
@@ -16,10 +16,6 @@ class ResConfigSettings(models.TransientModel):
|
|||||||
|
|
||||||
inventory_adjustment_counted_quantities = fields.Selection(
|
inventory_adjustment_counted_quantities = fields.Selection(
|
||||||
related="company_id.inventory_adjustment_counted_quantities",
|
related="company_id.inventory_adjustment_counted_quantities",
|
||||||
selection=[
|
|
||||||
("counted", "Default to stock on hand"),
|
|
||||||
("zero", "Default to zero"),
|
|
||||||
],
|
|
||||||
string="Inventory Adjustment Counted quantities from Cycle Count",
|
string="Inventory Adjustment Counted quantities from Cycle Count",
|
||||||
help="If enabled, confirming a Cycle Count will start the related "
|
help="If enabled, confirming a Cycle Count will start the related "
|
||||||
"Inventory Adjustment.",
|
"Inventory Adjustment.",
|
||||||
|
|||||||
Reference in New Issue
Block a user