parent
3011b60409
commit
cd6cb3606f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue