[FIX] account,analytic: move test from account to analytic

This commit is contained in:
Christophe Simonis
2015-07-22 19:11:44 +02:00
parent e182f19694
commit 3ea8d14d2b
4 changed files with 7 additions and 6 deletions
-3
View File
@@ -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,
+3
View File
@@ -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,
}
+4 -1
View File
@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_analytic_account access_account_analytic_account model_account_analytic_account group_analytic_accounting 1 0 0 0
3 access_account_analytic_line access_account_analytic_line model_account_analytic_line group_analytic_accounting 1 0 0 0
4 access_account_analytic_journal access_account_analytic_journal model_account_analytic_journal group_analytic_accounting 1 0 0 0
@@ -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
-