summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2008-10-30 10:02:43 +0100
committerFabien Pinckaers <fp@tinyerp.com>2008-10-30 10:02:43 +0100
commitcd6cb3606fbf910e80c8ea54aced1bfd6793a814 (patch)
treea83e0d0f6a67fcb400356cfe980ba516cfe436e5
parent3011b604090e6d0e215bb45a44454deb1bb9b30b (diff)
improvement
bzr revid: fp@tinyerp.com-20081030090243-33fb3xpu6f1lzmo0
-rw-r--r--addons/account/account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/account.py b/addons/account/account.py
index a7898ed25cc..048ecedbca1 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -42,7 +42,7 @@ class account_payment_term(osv.osv):
_name = "account.payment.term"
_description = "Payment Term"
_columns = {
- 'name': fields.char('Payment Term', size=32, translate=True),
+ 'name': fields.char('Payment Term', size=32, translate=True, required=True),
'active': fields.boolean('Active'),
'note': fields.text('Description', translate=True),
'line_ids': fields.one2many('account.payment.term.line', 'payment_id', 'Terms'),
@@ -86,7 +86,7 @@ class account_payment_term_line(osv.osv):
'value': fields.selection([('procent','Percent'),('balance','Balance'),('fixed','Fixed Amount')], 'Value',required=True),
'value_amount': fields.float('Value Amount'),
'days': fields.integer('Number of Days',required=True, help="Number of days to add before computation of the day of month."),
- 'days2': fields.integer('Day of the Month',required=True, help="Day of the month, set -1 for the last day of the current month. If it's positive, it gives the day of the next month."),
+ 'days2': fields.integer('Day of the Month',required=True, help="Day of the month, set -1 for the last day of the current month. If it's positive, it gives the day of the next month. Set 0 for net days (otherwise it's based on the end of the month)."),
'payment_id': fields.many2one('account.payment.term','Payment Term', required=True, select=True),
}
_defaults = {