Browse Source

Update test account_analytic_id -> group_id

replaced contract's account_analytic_id by group_id
pull/400/head
Martronic SA 5 years ago
committed by GitHub
parent
commit
a7da17b219
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      contract_sale_invoicing/tests/test_contract_sale_invoicing.py

4
contract_sale_invoicing/tests/test_contract_sale_invoicing.py

@ -8,7 +8,7 @@ class TestContractSaleInvoicing(TestContractBase):
@classmethod
def setUpClass(cls):
super(TestContractSaleInvoicing, cls).setUpClass()
cls.contract.analytic_account_id = \
cls.contract.group_id = \
cls.env['account.analytic.account'].search([], limit=1)
cls.product_so = cls.env.ref(
'product.product_product_1')
@ -23,7 +23,7 @@ class TestContractSaleInvoicing(TestContractBase):
'product_uom': cls.product_so.uom_id.id,
'price_unit': cls.product_so.list_price})],
'pricelist_id': cls.partner.property_product_pricelist.id,
'analytic_account_id': cls.contract.analytic_account_id.id,
'analytic_account_id': cls.contract.group_id.id,
'date_order': '2016-02-15',
})

Loading…
Cancel
Save