Files
odoo_source/addons/website_rating_project/views/project_project_view.xml
T
Jérome Maes f9d09411ab [IMP] website_rating_project: website published mixin usage
'project.project' should not use 'website.published.mixin',
since we don't want to publish a project on the website.
All we want is to display the rating of a project, nothing
more. So, a flag on project is enought to allow the publication.
2017-08-16 14:56:42 +02:00

16 lines
601 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_project_view_form" model="ir.ui.view">
<field name="name">project.project.inherit.form</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="rating_project.view_project_project_rating_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='rating_status_period']" position="after">
<field name="portal_show_rating" attrs="{'invisible': [('rating_status','==','no')]}"/>
</xpath>
</field>
</record>
</odoo>