bemade_project_documents: project documents view action working.

This commit is contained in:
Marc Durepos 2023-09-26 12:25:17 -04:00
parent a30e89a777
commit 6c88f4a2d0
2 changed files with 5 additions and 3 deletions

View file

@ -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,

View file

@ -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>