mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] space after commas
This commit is contained in:
@@ -187,8 +187,8 @@ class AccountHoursBlock(orm.Model):
|
|||||||
ondelete='cascade',
|
ondelete='cascade',
|
||||||
required=True),
|
required=True),
|
||||||
'type': fields.selection(
|
'type': fields.selection(
|
||||||
[('hours','Hours'),
|
[('hours', 'Hours'),
|
||||||
('amount','Amount')],
|
('amount', 'Amount')],
|
||||||
string='Type of Block',
|
string='Type of Block',
|
||||||
required=True,
|
required=True,
|
||||||
help="The block is based on the quantity of hours "
|
help="The block is based on the quantity of hours "
|
||||||
@@ -270,15 +270,15 @@ class AccountHoursBlock(orm.Model):
|
|||||||
store=True,
|
store=True,
|
||||||
readonly=True),
|
readonly=True),
|
||||||
'state': fields.related(
|
'state': fields.related(
|
||||||
'invoice_id','state',
|
'invoice_id', 'state',
|
||||||
type='selection',
|
type='selection',
|
||||||
selection=[
|
selection=[
|
||||||
('draft','Draft'),
|
('draft', 'Draft'),
|
||||||
('proforma','Pro-forma'),
|
('proforma', 'Pro-forma'),
|
||||||
('proforma2','Pro-forma'),
|
('proforma2', 'Pro-forma'),
|
||||||
('open','Open'),
|
('open', 'Open'),
|
||||||
('paid','Paid'),
|
('paid', 'Paid'),
|
||||||
('cancel','Cancelled'),
|
('cancel', 'Cancelled'),
|
||||||
],
|
],
|
||||||
string='State',
|
string='State',
|
||||||
readonly=True,
|
readonly=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user