添加功能
This commit is contained in:
@@ -33,14 +33,17 @@ class YuthonDishesSetting(models.Model):
|
||||
ingredient_id1 = fields.Many2one('yuthon.ingredient.setting', string='食材1')
|
||||
ingredient_id2 = fields.Many2one('yuthon.ingredient.setting', string='食材2')
|
||||
ingredient_id3 = fields.Many2one('yuthon.ingredient.setting', string='食材3')
|
||||
ingredient_id4 = fields.Many2one('yuthon.ingredient.setting', string='食材4')
|
||||
|
||||
single_quantity1 = fields.Float(string='单量1')
|
||||
single_quantity2 = fields.Float(string='单量2')
|
||||
single_quantity3 = fields.Float(string='单量3')
|
||||
single_quantity4 = fields.Float(string='单量4')
|
||||
|
||||
unit1_id = fields.Many2one('yuthon.unit.setting', string='单位1')
|
||||
unit2_id = fields.Many2one('yuthon.unit.setting', string='单位2')
|
||||
unit3_id = fields.Many2one('yuthon.unit.setting', string='单位3')
|
||||
unit4_id = fields.Many2one('yuthon.unit.setting', string='单位4')
|
||||
|
||||
|
||||
class YuthonIngredientSetting(models.Model):
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
<field name="ingredient_id3"/>
|
||||
<field name="single_quantity3"/>
|
||||
<field name="unit3_id"/>
|
||||
<field name="ingredient_id4"/>
|
||||
<field name="single_quantity4"/>
|
||||
<field name="unit4_id"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<tree string="电表任务" create="1" editable="bottom" limit="15"
|
||||
js_class="custom_meter_button" decoration-success="not is_push" default_order="meter_date_month desc">
|
||||
<header>
|
||||
<button name="delete_dec_2025_meter_data" type="object" string="删除" class="oe_highlight"/>
|
||||
<!-- <button name="delete_dec_2025_meter_data" type="object" string="删除" class="oe_highlight"/>-->
|
||||
<button name="push_task_push_wizard" type="object" string="推送" class="oe_highlight"/>
|
||||
</header>
|
||||
<field name="is_acc" string="新租" column_invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user