[IMP] improve module
bzr revid: pna@tinyerp.com-20121109063912-7g5jy22j3fx2vxu8
This commit is contained in:
parent
d73ccce5ba
commit
f3377ee338
|
@ -34,7 +34,7 @@
|
||||||
'account_test_report.xml',
|
'account_test_report.xml',
|
||||||
'account_test_data.xml',
|
'account_test_data.xml',
|
||||||
],
|
],
|
||||||
'demo_xml': [
|
'demo': [
|
||||||
'account_test_demo.xml',
|
'account_test_demo.xml',
|
||||||
],
|
],
|
||||||
'active': False,
|
'active': False,
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<field name="active"/>
|
<field name="active"/>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<notebook colspan="4">
|
<notebook>
|
||||||
<page string="Description">
|
<page string="Description">
|
||||||
<field name="desc" nolabel="1"/>
|
<field name="desc" nolabel="1"/>
|
||||||
</page>
|
</page>
|
||||||
|
@ -57,6 +57,11 @@ result = cr.dictfetchall()
|
||||||
<field name="name">Accounting Tests</field>
|
<field name="name">Accounting Tests</field>
|
||||||
<field name="res_model">accounting.assert.test</field>
|
<field name="res_model">accounting.assert.test</field>
|
||||||
<field name="view_mode">tree,form</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>
|
</record>
|
||||||
|
|
||||||
<menuitem name="Accounting Tests" parent="account.menu_finance_reporting" id="menu_action_license" action="action_accounting_assert"/>
|
<menuitem name="Accounting Tests" parent="account.menu_finance_reporting" id="menu_action_license" action="action_accounting_assert"/>
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
import account_test_report
|
import account_test_report
|
||||||
|
|
||||||
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||||
|
|
|
@ -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)
|
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:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
"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_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",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
|
||||||
|
|
|
Loading…
Reference in New Issue