[IMP] improve module

bzr revid: pna@tinyerp.com-20121109063912-7g5jy22j3fx2vxu8
This commit is contained in:
Pinakin Nayi (OpenERP) 2012-11-09 12:09:12 +05:30
parent d73ccce5ba
commit f3377ee338
5 changed files with 11 additions and 3 deletions

View File

@ -34,7 +34,7 @@
'account_test_report.xml',
'account_test_data.xml',
],
'demo_xml': [
'demo': [
'account_test_demo.xml',
],
'active': False,

View File

@ -29,7 +29,7 @@
<field name="active"/>
</group>
</group>
<notebook colspan="4">
<notebook>
<page string="Description">
<field name="desc" nolabel="1"/>
</page>
@ -57,6 +57,11 @@ result = cr.dictfetchall()
<field name="name">Accounting Tests</field>
<field name="res_model">accounting.assert.test</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create Accounting Test.
</p>
</field>
</record>
<menuitem name="Accounting Tests" parent="account.menu_finance_reporting" id="menu_action_license" action="action_accounting_assert"/>

View File

@ -1 +1,3 @@
import account_test_report
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -103,3 +103,4 @@ class report_assert_account(report_sxw.rml_parse):
report_sxw.report_sxw('report.account.test.assert.print', 'accounting.assert.test', 'addons/account_test/report/account_test.rml', parser=report_assert_account, header=False)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,3 +1,3 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_accounting_assert_test","accounting.assert.test","model_accounting_assert_test",base.group_system,1,1,1,1
"access_accounting_assert_test","accounting.assert.test","model_accounting_assert_test",account.group_account_manager,1,0,0,0
"access_accounting_assert_test_manager","accounting.assert.test","model_accounting_assert_test",account.group_account_manager,1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_accounting_assert_test accounting.assert.test model_accounting_assert_test base.group_system 1 1 1 1
3 access_accounting_assert_test access_accounting_assert_test_manager accounting.assert.test model_accounting_assert_test account.group_account_manager 1 0 0 0