Add request on purchase field of line purchase model
This commit is contained in:
1 parent
3a039cffe6
commit
63adff4368
1 file changed
+1
-1
+1
-1
@@ -716,7 +716,7 @@ class PurchaseLine(OSV):
|
||||
_description = __doc__
|
||||
|
||||
purchase = fields.Many2One('purchase.purchase', 'Purchase', ondelete='CASCADE',
|
||||
select=1)
|
||||
select=1, required=True)
|
||||
sequence = fields.Integer('Sequence')
|
||||
type = fields.Selection([
|
||||
('line', 'Line'),
|
||||
|
||||
Reference in new issue
Block a user