Add request on purchase field of line purchase model

This commit is contained in:
Bertrand Chenal committed 2008-10-06 15:45:44 +02:00
1 parent 3a039cffe6
commit 63adff4368
1 file changed
+1 -1
+1 -1
View File
@@ -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'),