changes
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
from odoo.addons.fusion_plating.models._fp_uom_selection import FP_UOM_SELECTION
|
||||
|
||||
|
||||
class FpChemical(models.Model):
|
||||
"""Physical chemical container in the shop's chemical inventory.
|
||||
@@ -52,11 +54,14 @@ class FpChemical(models.Model):
|
||||
)
|
||||
container_size = fields.Float(
|
||||
string='Container Size',
|
||||
help='Numerical size of one container, expressed in the unit '
|
||||
'selected below (e.g. 200 with unit "L" for a 200 L drum).',
|
||||
)
|
||||
container_uom = fields.Char(
|
||||
container_uom = fields.Selection(
|
||||
FP_UOM_SELECTION,
|
||||
string='Container UoM',
|
||||
help='Free-text unit of measure for the container size, '
|
||||
'e.g. L, kg, lb, gal.',
|
||||
help='Unit of measure for the container size — pick from the '
|
||||
'curated list to keep inventory consistent (L, kg, lb, gal).',
|
||||
)
|
||||
quantity_on_hand = fields.Float(
|
||||
string='Quantity On Hand',
|
||||
|
||||
Reference in New Issue
Block a user