From 449cbaafcff6ac61258ee9b639b1fdec3a432bdf Mon Sep 17 00:00:00 2001 From: "Guewen Baconnier @ Camptocamp" Date: Tue, 18 Dec 2012 09:58:22 +0100 Subject: [PATCH] [FIX] space after commas --- analytic_hours_block/hours_block.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/analytic_hours_block/hours_block.py b/analytic_hours_block/hours_block.py index df3c2476..d280a289 100644 --- a/analytic_hours_block/hours_block.py +++ b/analytic_hours_block/hours_block.py @@ -187,8 +187,8 @@ class AccountHoursBlock(orm.Model): ondelete='cascade', required=True), 'type': fields.selection( - [('hours','Hours'), - ('amount','Amount')], + [('hours', 'Hours'), + ('amount', 'Amount')], string='Type of Block', required=True, help="The block is based on the quantity of hours " @@ -270,15 +270,15 @@ class AccountHoursBlock(orm.Model): store=True, readonly=True), 'state': fields.related( - 'invoice_id','state', + 'invoice_id', 'state', type='selection', selection=[ - ('draft','Draft'), - ('proforma','Pro-forma'), - ('proforma2','Pro-forma'), - ('open','Open'), - ('paid','Paid'), - ('cancel','Cancelled'), + ('draft', 'Draft'), + ('proforma', 'Pro-forma'), + ('proforma2', 'Pro-forma'), + ('open', 'Open'), + ('paid', 'Paid'), + ('cancel', 'Cancelled'), ], string='State', readonly=True,