Merge branch 'pawan_branch' into 'development'
hide service field See merge request prakash.jain/cor-odoo!82
This commit is contained in:
commit
f95da5542f
|
@ -56,10 +56,10 @@
|
|||
<field name="expenses_amt"/>
|
||||
<div class="o_td_label"
|
||||
attrs="{'invisible': ['|', '|', ('allow_timesheets', '=', False), ('sale_order_id', '!=', False), '&', ('pricing_type', '!=', 'fixed_rate'), ('bill_type', '!=', 'customer_task')]}">
|
||||
<label for="timesheet_product_id" string="Default Service"
|
||||
<!--<label for="timesheet_product_id" string="Default Service"
|
||||
attrs="{'invisible': [('bill_type', '!=', 'customer_task')]}"/>
|
||||
<label for="timesheet_product_id" string="Service"
|
||||
attrs="{'invisible': [('bill_type', '=', 'customer_task')]}"/>
|
||||
attrs="{'invisible': [('bill_type', '=', 'customer_task')]}"/>-->
|
||||
</div>
|
||||
<!--<field name="timesheet_product_id" nolabel="1"
|
||||
attrs="{'invisible': ['|', '|', ('allow_timesheets', '=', False), ('sale_order_id', '!=', False), '&', ('pricing_type', '!=', 'fixed_rate'), ('bill_type', '!=', 'customer_task')], 'required': ['&', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}"
|
||||
|
|
Loading…
Reference in New Issue