← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~acsone-openerp/ocb-addons/fix_test_multi_company into lp:ocb-addons

 

Laurent Mignon (Acsone) has proposed merging lp:~acsone-openerp/ocb-addons/fix_test_multi_company into lp:ocb-addons.

Requested reviews:
  OpenERP Community Backports Team (ocb)

For more details, see:
https://code.launchpad.net/~acsone-openerp/ocb-addons/fix_test_multi_company/+merge/192897

[FIX] fixes remaining bug in hr_timesheet_invoice.test_multi_company when the tests are run at the same time as the others tests
-- 
https://code.launchpad.net/~acsone-openerp/ocb-addons/fix_test_multi_company/+merge/192897
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~acsone-openerp/ocb-addons/fix_test_multi_company into lp:ocb-addons.
=== modified file 'hr_timesheet_invoice/tests/test_multi_company.py'
--- hr_timesheet_invoice/tests/test_multi_company.py	2013-08-01 08:35:34 +0000
+++ hr_timesheet_invoice/tests/test_multi_company.py	2013-10-28 16:40:43 +0000
@@ -94,10 +94,8 @@
                 'company_id': self.company_b_id,
                 'chart_template_id': self.ref('account.conf_chart0'),
                 'code_digits': 2,
-                # 'sale_tax': config.sale_tax.id,
-                # 'purchase_tax': config.purchase_tax.id,
-                'sale_tax_rate': 0.10,
-                'purchase_tax_rate': 0.10,
+                'sale_tax': self.ref('account.itaxs'),
+                'purchase_tax': self.ref('account.otaxs'),
                 # 'complete_tax_set': config.complete_tax_set,
                 'currency_id': self.company_b.currency_id.id,
             })


Follow ups