make customer and client required in project screen

This commit is contained in:
Pawan Kumar 2020-12-16 22:44:39 +05:30
parent ff212294e9
commit e9986cee78
1 changed files with 4 additions and 1 deletions

View File

@ -11,8 +11,11 @@
attrs="{'invisible': [('allow_billable','=',False)]}" string="Cost/Revenue" widget="statinfo">
</button>
</div>
<xpath expr="//field[@name='user_id']" position="replace">
<field name="user_id" string="Project Manager" widget="many2one_avatar_user" required="1" attrs="{'readonly':[('active','=',False)]}" domain="[('share', '=', False)]"/>
</xpath>
<xpath expr="//field[@name='partner_id']" position="replace">
<field name="partner_id" string="Client"/>
<field name="partner_id" string="Client" required="1"/>
</xpath>
</field>
</record>