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.',
|
||||
'website': 'https://www.bemade.org',
|
||||
'license': 'OPL-1',
|
||||
'depends': ['documents_project'],
|
||||
'data': [],
|
||||
'depends': ['bemade_documents_portal', 'documents_project'],
|
||||
'data': ['views/project_views.xml'],
|
||||
'demo': [],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,9 @@
|
|||
<field name="model">project.project</field>
|
||||
<field name="arch" type="xml">
|
||||
<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>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Reference in a new issue