Update res_config_settings.py
This commit is contained in:
parent
e18f17088b
commit
270ddb28c5
|
|
@ -60,6 +60,8 @@ 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")
|
||||
|
||||
|
||||
@api.model
|
||||
def _get_next_reasone_no(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue