minor fix and traslate
This commit is contained in:
parent
1784b60da1
commit
7c2b711abc
3
crop.py
3
crop.py
|
@ -69,7 +69,8 @@ class VarietyStageActivity(ModelSQL, ModelView):
|
|||
work_time = fields.Numeric('Work Time', required=True)
|
||||
cost_per_hour = fields.Numeric('Cost Per Hour', digits=(16, 2))
|
||||
uom = fields.Many2One('product.uom', 'Unit')
|
||||
uom_time = fields.Many2One('product.uom', 'Unit of Time')
|
||||
uom_time = fields.Many2One('product.uom', 'Unit of Time',
|
||||
states={'required': True})
|
||||
supplies = fields.One2Many('farming.variety.stage.activity.supply',
|
||||
'activity', 'Supply')
|
||||
time_of_realization = fields.Integer('Time of Realization', required=True,
|
||||
|
|
2190
locale/es.po
2190
locale/es.po
File diff suppressed because it is too large
Load Diff
|
@ -49,7 +49,7 @@ class FarmingLocation(ModelSQL, ModelView):
|
|||
"Farming Location"
|
||||
__name__ = "farming.location"
|
||||
name = fields.Char('Name', required=True)
|
||||
code = fields.Char('Code')
|
||||
code = fields.Char('Code', states={'required': True})
|
||||
address = fields.Char('Address')
|
||||
warehouse = fields.Many2One('stock.location', 'Warehouse', required=True,
|
||||
domain=[('type', '=', 'warehouse')])
|
||||
|
|
Loading…
Reference in New Issue