Update res_config_settings.py
This commit is contained in:
parent
3cfc3b10ce
commit
8f79b55cd2
|
|
@ -61,7 +61,7 @@ class CancellReason(models.Model):
|
|||
name = fields.Char(string='Reasone of Cancellation')
|
||||
reasone_no = fields.Char("Number", default=lambda self: self._get_next_reasone_no(), tracking=True,copy=False)
|
||||
sequence = fields.Integer(string="Sequence", help="Define the display order")
|
||||
|
||||
company_id = fields.Many2one('res.company', string='Company', readonly=True,default=lambda self: self.env.company)
|
||||
|
||||
@api.model
|
||||
def _get_next_reasone_no(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue