diff options
| author | Kevin Baptiste <kba@odoo.com> | 2020-11-10 09:36:01 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-11-18 09:52:02 +0000 |
| commit | 64ec312778a2552ebb3db75394c558e51a0c3f63 (patch) | |
| tree | f4c82da78f7d12d860f86751b6b0293a3deffdb2 /addons | |
| parent | 05c373a99a6064f08fc9eb0662ab2ccdb1978cd7 (diff) | |
[IMP] project: simplify project quick creation
Removed all the settings related to billable projects in the quick
create dialog. There were too many settings which slowed down the quick
creation of a project.
closes odoo/odoo#61568
Taskid: 2376401
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale_timesheet/views/project_task_views.xml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/sale_timesheet/views/project_task_views.xml b/addons/sale_timesheet/views/project_task_views.xml index d59c3fb37b1..df07c452f88 100644 --- a/addons/sale_timesheet/views/project_task_views.xml +++ b/addons/sale_timesheet/views/project_task_views.xml @@ -70,10 +70,6 @@ <field name="allow_timesheets" position="after"> <field name="company_id" invisible="1"/> <field name="allow_billable"/> - <field name="bill_type" attrs="{'invisible': ['|', ('allow_billable', '=', False), ('allow_timesheets', '=', False)], 'required': ['&', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" widget="radio"/> - <field name="partner_id" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), ('bill_type', '!=', 'customer_project')], 'required': [('bill_type', '=', 'customer_project')]}"/> - <field name="pricing_type" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), ('bill_type', '!=', 'customer_project')], 'required': ['&', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" widget="radio"/> - <field name="timesheet_product_id" string="Service" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), '&', ('bill_type', '=', 'customer_project'), ('pricing_type', '=', 'employee_rate')], 'required': ['&', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" context="{'default_type': 'service', 'default_service_policy': 'delivered_timesheet', 'default_service_type': 'timesheet'}"/> </field> </field> </record> |
