diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 93fb00e8aa7..9ce5f2ac40b 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1047,7 +1047,6 @@ class account_invoice_line(osv.osv): line.quantity, inv.address_invoice_id.id, line.product_id, inv.partner_id): - print tax if inv.type in ('out_invoice', 'in_invoice'): tax_code_id = tax['base_code_id'] tax_amount = line.price_subtotal * tax['base_sign'] diff --git a/addons/report_crm/report_crm.py b/addons/report_crm/report_crm.py index fbe091268f6..467b888bec2 100644 --- a/addons/report_crm/report_crm.py +++ b/addons/report_crm/report_crm.py @@ -66,8 +66,6 @@ class report_crm_case_user(osv.osv): crm_case c group by to_char(c.create_date, 'YYYY-MM-01'), c.state, c.user_id, c.section_id )""") - cr.commit() - cr.execute('select * from report_crm_case_user') report_crm_case_user() class report_crm_case_categ(osv.osv): @@ -106,7 +104,6 @@ class report_crm_case_categ(osv.osv): crm_case c group by to_char(c.create_date, 'YYYY-MM-01'), c.state, c.categ_id, c.section_id )""") - cr.commit() report_crm_case_categ() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: