[IMP] odex_benefit: Add agree_terms field for services
This commit is contained in:
parent
c5d8fc2292
commit
5bd2b229c4
|
|
@ -218,6 +218,7 @@ class ServiceRequest(models.Model):
|
|||
('done', 'Done Payment'), ], copy=False, compute="_compute_payment_order_state", store=True)
|
||||
total_moves = fields.Integer(string="Total Move", compute='_get_total_move_lines')
|
||||
return_reason_id = fields.Many2one("return.reason", string="Return Reason")
|
||||
agree_terms = fields.Boolean(string="I agree to the Terms and Conditions",default=False,)
|
||||
|
||||
@api.depends('payment_order_ids')
|
||||
def _compute_payment_order(self):
|
||||
|
|
|
|||
|
|
@ -291,6 +291,7 @@
|
|||
readonly="1"/>
|
||||
<field name="required_attach" invisible="1"/>
|
||||
<field name="is_seasonal" invisible="1"/>
|
||||
<field name="agree_terms" invisible="1" widget="boolean_toggle"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
|
|
|
|||
Loading…
Reference in New Issue