mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user