Skip to content
Snippets Groups Projects

Draft: Port to Odoo 16.

Closed Etienne Ferriere requested to merge topic/13.0/MO16-236 into branch/13.0
Compare and Show latest version
3 files
+ 9
25
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -28,8 +28,7 @@
AMOUNT = 42.0
@odoo.tests.common.at_install(False)
@odoo.tests.common.post_install(True)
@odoo.tests.tagged("-at_install", "post_install")
class Test(odoo.tests.TransactionCase):
"""Test this ``account_report`` module."""
@@ -48,8 +47,8 @@
)
self.assertTrue(self.pay_journal)
self.debit_account = self._createAccount("receivable")
self.credit_account = self._createAccount("other")
self.debit_account = self._createAccount("asset_receivable")
self.credit_account = self._createAccount("income_other")
self.product = self.env.ref("product.product_product_1")
@@ -160,11 +159,7 @@
"internal_type": account_type,
"name": uuid.uuid4().hex,
"reconcile": True,
"user_type_id": (
self.env["account.account.type"]
.search([("type", "=", account_type)], limit=1)
.id
),
"account_type": account_type,
}
)
Loading