[REF] account: fix buildbot warning
bzr revid: ara@tinyerp.com-20110127063226-2bvb74jfkjql3d29
This commit is contained in:
parent
2add57ba57
commit
8bb8e9f2c3
|
@ -207,7 +207,6 @@ class account_balance_landscape(report_sxw.rml_parse):
|
|||
return cmp(x.code, y.code)
|
||||
for n in range(0,len(accounts)):
|
||||
accounts[n].sort(cmp_code)
|
||||
common={}
|
||||
merged_accounts=zip(*accounts)
|
||||
|
||||
for entry in merged_accounts:
|
||||
|
|
|
@ -296,7 +296,6 @@ class partner_balance(report_sxw.rml_parse, common_report_header):
|
|||
|
||||
def _get_partners(self):
|
||||
cr, uid = self.cr, self.uid
|
||||
context = self.localcontext # all of it?
|
||||
|
||||
if self.result_selection == 'customer':
|
||||
return _('Receivable Accounts')
|
||||
|
|
|
@ -36,7 +36,7 @@ class account_state_open(osv.osv_memory):
|
|||
if data_inv.reconciled:
|
||||
raise osv.except_osv(_('Warning'), _('Invoice is already reconciled'))
|
||||
wf_service = netsvc.LocalService("workflow")
|
||||
res = wf_service.trg_validate(uid, 'account.invoice', context['active_ids'][0], 'open_test', cr)
|
||||
wf_service.trg_validate(uid, 'account.invoice', context['active_ids'][0], 'open_test', cr)
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
account_state_open()
|
||||
|
|
|
@ -107,7 +107,7 @@ class account_use_model(osv.osv_memory):
|
|||
})
|
||||
c = context.copy()
|
||||
c.update({'journal_id': model.journal_id.id,'period_id': period_id})
|
||||
id_line = account_move_line_obj.create(cr, uid, val, context=c)
|
||||
account_move_line_obj.create(cr, uid, val, context=c)
|
||||
|
||||
context.update({'move_ids':move_ids})
|
||||
model_data_ids = mod_obj.search(cr, uid,[('model','=','ir.ui.view'),('name','=','view_move_form')], context=context)
|
||||
|
|
Loading…
Reference in New Issue