Update rent_payment.py
This commit is contained in:
parent
b7daa7386e
commit
105b071e87
|
|
@ -48,7 +48,7 @@ class RentPayment(models.Model):
|
|||
('invoice', 'Invoice'),
|
||||
('paid', 'Paid'),
|
||||
('cancel', 'Canceled')], string="Status", default='draft')
|
||||
invoice_id = fields.Many2one('account.move', string="Invoice")
|
||||
invoice_id = fields.Many2one('account.move', string="Invoice",readonly=1)
|
||||
note = fields.Text(string="Note")
|
||||
|
||||
@api.depends('invoice_id', 'invoice_id.state', 'invoice_id.amount_residual')
|
||||
|
|
|
|||
Loading…
Reference in New Issue