[IMP] stock: explain removal strategies in help-text
Ref: https://drive.google.com/file/d/1ObNPHzl8fIeNtmRIMLT60KtHJqOhrd0r/view Note: also added contextual help to the second occurrence of the "Removal Strategy" combo in `Configuration>Product categories>...>Force Removal Strategy`. closes odoo/odoo#83829 Task: 2654703-1 X-original-commit: 4bae10e0d960e5b80055e0e44056493238e552d3 Signed-off-by: Arnold Moyaux <arm@odoo.com>
This commit is contained in:
@@ -1940,10 +1940,12 @@ msgstr ""
|
||||
#. module: stock
|
||||
#: model:ir.model.fields,help:stock.field_stock_location__removal_strategy_id
|
||||
msgid ""
|
||||
"Defines the default method used for suggesting the exact location (shelf) "
|
||||
"where to take the products from, which lot etc. for this location. This "
|
||||
"method can be enforced at the product category level, and a fallback is made"
|
||||
" on the parent locations if none is set here."
|
||||
"Defines the default method used for suggesting the exact location (shelf) where to take the products from, which lot etc. for this location. This method can be enforced at the product category level, and a fallback is made on the parent locations if none is set here.\n"
|
||||
"\n"
|
||||
"FIFO: products/lots that were stocked first will be moved out first.\n"
|
||||
"LIFO: products/lots that were stocked last will be moved out first.\n"
|
||||
"Closet location: products/lots closest to the target location will be moved out first.\n"
|
||||
"FEFO: products/lots with the closest removal date will be moved out first (the availability of this method depends on the \"Expiration Dates\" setting)."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock
|
||||
@@ -6496,8 +6498,12 @@ msgstr ""
|
||||
#. module: stock
|
||||
#: model:ir.model.fields,help:stock.field_product_category__removal_strategy_id
|
||||
msgid ""
|
||||
"Set a specific removal strategy that will be used regardless of the source "
|
||||
"location for this product category"
|
||||
"Set a specific removal strategy that will be used regardless of the source location for this product category.\n"
|
||||
"\n"
|
||||
"FIFO: products/lots that were stocked first will be moved out first.\n"
|
||||
"LIFO: products/lots that were stocked last will be moved out first.\n"
|
||||
"Closet location: products/lots closest to the target location will be moved out first.\n"
|
||||
"FEFO: products/lots with the closest removal date will be moved out first (the availability of this method depends on the \"Expiration Dates\" setting)."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock
|
||||
|
||||
@@ -965,7 +965,13 @@ class ProductCategory(models.Model):
|
||||
domain=[('product_categ_selectable', '=', True)])
|
||||
removal_strategy_id = fields.Many2one(
|
||||
'product.removal', 'Force Removal Strategy',
|
||||
help="Set a specific removal strategy that will be used regardless of the source location for this product category")
|
||||
help="Set a specific removal strategy that will be used regardless of the source location for this product category.\n\n"
|
||||
"FIFO: products/lots that were stocked first will be moved out first.\n"
|
||||
"LIFO: products/lots that were stocked last will be moved out first.\n"
|
||||
"Closet location: products/lots closest to the target location will be moved out first.\n"
|
||||
"FEFO: products/lots with the closest removal date will be moved out first "
|
||||
"(the availability of this method depends on the \"Expiration Dates\" setting)."
|
||||
)
|
||||
total_route_ids = fields.Many2many(
|
||||
'stock.route', string='Total routes', compute='_compute_total_route_ids',
|
||||
readonly=True)
|
||||
|
||||
@@ -69,7 +69,17 @@ class Location(models.Model):
|
||||
help='Let this field empty if this location is shared between companies')
|
||||
scrap_location = fields.Boolean('Is a Scrap Location?', default=False, help='Check this box to allow using this location to put scrapped/damaged goods.')
|
||||
return_location = fields.Boolean('Is a Return Location?', help='Check this box to allow using this location as a return location.')
|
||||
removal_strategy_id = fields.Many2one('product.removal', 'Removal Strategy', help="Defines the default method used for suggesting the exact location (shelf) where to take the products from, which lot etc. for this location. This method can be enforced at the product category level, and a fallback is made on the parent locations if none is set here.")
|
||||
removal_strategy_id = fields.Many2one(
|
||||
'product.removal', 'Removal Strategy',
|
||||
help="Defines the default method used for suggesting the exact location (shelf) "
|
||||
"where to take the products from, which lot etc. for this location. "
|
||||
"This method can be enforced at the product category level, "
|
||||
"and a fallback is made on the parent locations if none is set here.\n\n"
|
||||
"FIFO: products/lots that were stocked first will be moved out first.\n"
|
||||
"LIFO: products/lots that were stocked last will be moved out first.\n"
|
||||
"Closet location: products/lots closest to the target location will be moved out first.\n"
|
||||
"FEFO: products/lots with the closest removal date will be moved out first "
|
||||
"(the availability of this method depends on the \"Expiration Dates\" setting).")
|
||||
putaway_rule_ids = fields.One2many('stock.putaway.rule', 'location_in_id', 'Putaway Rules')
|
||||
barcode = fields.Char('Barcode', copy=False)
|
||||
quant_ids = fields.One2many('stock.quant', 'location_id')
|
||||
|
||||
Reference in New Issue
Block a user