From ea41e50e630cada08050fff3c87106571c26a9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 2 Jun 2008 15:22:48 +0200 Subject: [PATCH] Remove required on sequence and days in payment line --- invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoice.py b/invoice.py index 42fe6566ff..4c1c2639d6 100644 --- a/invoice.py +++ b/invoice.py @@ -131,7 +131,7 @@ class PaymentTermLine(OSV): 'Payment Term Line' _name = 'account.invoice.payment_term.line' _description = __doc__ - sequence = fields.Integer('Sequence', required=True, + sequence = fields.Integer('Sequence', help='Use to order lines in ascending order') payment = fields.Many2One('account.invoice.payment_term', 'Payment Term', required=True) @@ -153,7 +153,7 @@ class PaymentTermLine(OSV): 'invisible': "type != 'fixed'", 'required': "type == 'fixed'", }) - days = fields.Integer('Number of Days', required=True) + days = fields.Integer('Number of Days') delay = fields.Selection('get_delay', 'Condition', required=True) def __init__(self):