[FIX] canal is not a correct english word in this context, replaced by channel

(lp:c2c-addons/6.1  rev 89.2.2)
This commit is contained in:
Guewen Baconnier @ Camptocamp
2012-11-07 10:17:02 +01:00
parent 3cb9453748
commit 07854356b8
7 changed files with 24 additions and 24 deletions

View File

@@ -61,11 +61,11 @@ class CreditControlPrinter(TransientModel):
line_obj = self.pool.get('credit.control.line')
if print_all:
domain = [('state', '=', 'to_be_sent'),
('canal', '=', 'manual')]
('channel', '=', 'manual')]
else:
domain = [('state', '=', 'to_be_sent'),
('id', 'in', active_ids),
('canal', '=', 'manual')]
('channel', '=', 'manual')]
return line_obj.search(cr, uid, domain, context=context)
def print_lines(self, cr, uid, wiz_id, context=None):