[FIX] account,analytic: move test from account to analytic
This commit is contained in:
@@ -58,9 +58,6 @@ You could use this simplified accounting in case you work with an (external) acc
|
||||
"static/src/xml/account_payment.xml",
|
||||
"static/src/xml/account_report_backend.xml",
|
||||
],
|
||||
'test': [
|
||||
'test/analytic_hierarchy.yml',
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': False,
|
||||
|
||||
@@ -38,6 +38,9 @@ that have no counterpart in the general financial accounts.
|
||||
'data/analytic_demo.xml',
|
||||
'data/analytic_account_demo.xml',
|
||||
],
|
||||
'test': [
|
||||
'test/analytic_hierarchy.yml',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_account_analytic_account,access_account_analytic_account,model_account_analytic_account,group_analytic_accounting,1,0,0,0
|
||||
access_account_analytic_line,access_account_analytic_line,model_account_analytic_line,group_analytic_accounting,1,0,0,0
|
||||
access_account_analytic_journal,access_account_analytic_journal,model_account_analytic_journal,group_analytic_accounting,1,0,0,0
|
||||
|
||||
|
-2
@@ -27,13 +27,11 @@
|
||||
name: 'Analytic line 1'
|
||||
account_id: analytic_account1
|
||||
journal_id: analytic_journal1
|
||||
general_account_id: account.a_expense
|
||||
-
|
||||
!record {model: account.analytic.line, id: analytic_line2}:
|
||||
name: 'Analytic line 2'
|
||||
account_id: analytic_account2
|
||||
journal_id: analytic_journal1
|
||||
general_account_id: account.a_expense
|
||||
-
|
||||
Now we copy the toplevel account
|
||||
-
|
||||
Reference in New Issue
Block a user