document_change: add the security and set the role in workflow
bzr revid: sbh@tinyerp.com-20100125091603-4z1ywdjkiaf7f69j
This commit is contained in:
@@ -32,11 +32,14 @@
|
||||
'website': 'http://www.openerp.com',
|
||||
'depends': ['base', 'document_ftp','mail_gateway'],
|
||||
'init_xml': ['document_change_data.xml'],
|
||||
'update_xml': ['document_change_view.xml',
|
||||
'update_xml': [
|
||||
'security/crm_project_security.xml',
|
||||
'document_change_view.xml',
|
||||
'document_change_sequence.xml',
|
||||
'document_change_workflow.xml',
|
||||
'document_phase_workflow.xml',
|
||||
'document_process_workflow.xml',
|
||||
|
||||
],
|
||||
'demo_xml': [ ],
|
||||
'installable': True,
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
<record id="tran_phase_confirm_to_end" model="workflow.transition">
|
||||
<field name="act_from" ref="act_phase_confirm"/>
|
||||
<field name="act_to" ref="act_phase_end"/>
|
||||
<field name="role_id" ref="role_NPPI" />
|
||||
<field name="signal">button_end</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
<record model="res.roles" id="role_NPPI">
|
||||
<field name="name">Document Change/ Phase Manager</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user