Update transaction.py
This commit is contained in:
parent
1e8f8f3abe
commit
263d6c2551
|
|
@ -44,7 +44,7 @@ class Transaction(models.Model):
|
|||
procedure_id = fields.Many2one(comodel_name='cm.procedure', string='Procedure')
|
||||
attachment_num = fields.Integer(string='No. of Attachments', compute='compute_attachment_num')
|
||||
body = fields.Html(string='Transaction Details')
|
||||
state = fields.Selection(selection=TRANSACTION_STATE, string='state', default='draft')
|
||||
state = fields.Selection(selection=TRANSACTION_STATE, string='state', default='draft',tracking=True)
|
||||
need_approve = fields.Boolean(related='preparation_id.need_approve', string='NEED approve', )
|
||||
due_date = fields.Date(string='Deadline', compute='compute_due_date')
|
||||
send_date = fields.Date(string='Send Date')
|
||||
|
|
|
|||
Loading…
Reference in New Issue