Update end_rental_contract
This commit is contained in:
parent
f2f756c46a
commit
01f4841da3
|
|
@ -216,6 +216,10 @@ class PropertyManagementMaintenance(models.Model):
|
|||
invoice_id = fields.Many2one('account.move', string="Invoice")
|
||||
request_id = fields.Many2one('sale.order', string="Request Item")
|
||||
|
||||
def action_rest_draft(self):
|
||||
rec.write({'state': 'draft'})
|
||||
|
||||
|
||||
@api.onchange('renter_invoice')
|
||||
def rest_values(self):
|
||||
if self.partner_id:
|
||||
|
|
|
|||
Loading…
Reference in New Issue