Skip to content

Commit

Permalink
[FIX] account_cash_invoice: Do not create account for test
Browse files Browse the repository at this point in the history
- This account code conflicts with other chart accounts(other modules), so we are removing it.
  • Loading branch information
carlos-lopez-tecnativa committed Jul 16, 2024
1 parent 572d9ef commit 8dd61ab
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions account_cash_invoice/tests/test_pay_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ def setUpClass(cls):
cls.company = cls.env.ref("base.main_company")
partner = cls.env.ref("base.partner_demo")
cls.product = cls.env.ref("product.product_delivery_02")
account = cls.env["account.account"].create(
{
"code": "449000",
"company_id": cls.company.id,
"name": "Test",
"account_type": "income",
"reconcile": True,
}
)
cls.invoice_out = cls.AccountMove.create(
{
"company_id": cls.company.id,
Expand All @@ -38,7 +29,6 @@ def setUpClass(cls):
False,
{
"product_id": cls.product.id,
"account_id": account.id,
"name": "Producto de prueba",
"quantity": 1.0,
"price_unit": 100.0,
Expand All @@ -64,7 +54,6 @@ def setUpClass(cls):
{
"product_id": cls.product.id,
"name": "Producto de prueba",
"account_id": account.id,
"quantity": 1.0,
"price_unit": 100.0,
"tax_ids": [],
Expand Down

0 comments on commit 8dd61ab

Please sign in to comment.