Update product_template.py
This commit is contained in:
parent
f227262f13
commit
a864b2dced
|
|
@ -15,6 +15,7 @@ class ProductTemplate(models.Model):
|
|||
_inherit = "product.template"
|
||||
|
||||
type_no = fields.Char("Number", default=lambda self: self._get_next_projectno(), tracking=True,copy=False)
|
||||
sequence_no = fields.Integer(string="Sequence", help="Define the display order")
|
||||
|
||||
@api.model
|
||||
def _get_next_projectno(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue