[MIG] account_template_active from 14.0 to 16.0

- use new web_ribbon widget to display archived items on form views
- change inheritance from account to account_usability regarding views that disappeared in V16
This commit is contained in:
Sylvain LE GAL
2022-11-03 23:25:22 +01:00
parent 004fb41965
commit da416248ac
12 changed files with 69 additions and 51 deletions

View File

@@ -15,8 +15,6 @@ class TestModule(TransactionCase):
self.AFPATemplate = self.env["account.fiscal.position.account.template"]
self.AFPTTemplate = self.env["account.fiscal.position.tax.template"]
self.receivable_type = self.env.ref("account.data_account_type_receivable")
self.template = self.ACTemplate.create(
{
"name": "Chart of Account",
@@ -31,7 +29,7 @@ class TestModule(TransactionCase):
{
"name": "Account Template",
"code": "CODE",
"user_type_id": self.receivable_type.id,
"account_type": "asset_receivable",
"chart_template_id": self.template.id,
}
)