bemade_project_documents: project documents view action working.
This commit is contained in:
parent
a30e89a777
commit
6c88f4a2d0
2 changed files with 5 additions and 3 deletions
|
|
@ -29,8 +29,8 @@
|
||||||
'author': 'Bemade Inc.',
|
'author': 'Bemade Inc.',
|
||||||
'website': 'https://www.bemade.org',
|
'website': 'https://www.bemade.org',
|
||||||
'license': 'OPL-1',
|
'license': 'OPL-1',
|
||||||
'depends': ['documents_project'],
|
'depends': ['bemade_documents_portal', 'documents_project'],
|
||||||
'data': [],
|
'data': ['views/project_views.xml'],
|
||||||
'demo': [],
|
'demo': [],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'auto_install': False,
|
'auto_install': False,
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,9 @@
|
||||||
<field name="model">project.project</field>
|
<field name="model">project.project</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//a[@name='attachment_tree_view']/.." position="replace">
|
<xpath expr="//a[@name='attachment_tree_view']/.." position="replace">
|
||||||
<a name="%(project_action_view_documents)" type="action">Documents</a>
|
<div role="menuitem">
|
||||||
|
<a name="%(project_action_view_documents)d" type="action">Documents</a>
|
||||||
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue