Skip to content

Commit d00f611

Browse files
committed
Make brand name required.
1 parent 761a439 commit d00f611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product_brand/product_brand.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
class ProductBrand(models.Model):
3737
_name = 'product.brand'
3838

39-
name = fields.Char('Brand Name')
39+
name = fields.Char('Brand Name', required=True)
4040
description = fields.Text('Description', translate=True)
4141
partner_id = fields.Many2one(
4242
'res.partner',

0 commit comments

Comments
 (0)