diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-03-16 16:18:42 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-03-16 16:23:38 +0100 |
| commit | 93ed3e29bf0dfd95ac63f5c32e977bf6b73ae55c (patch) | |
| tree | bf7b3c3e209c38b12678c16508f8429cc3944148 | |
| parent | e8b965f93c3eeb541aba7b6a435193a9008516ac (diff) | |
[FIX] sale_timesheet: remove unused, invisible `timesheet_ids`
The `timesheet_ids` was added in the `sale.order` form.
As it was invisible, and not used by the attrs of another
field, or by an onchange, this is pointless to load
it for no reasons.
Besides, this could lead to issues regarding the form validation,
in case the analytic lines were not valid.
e.g. if an editable list view is used to load
these analytic lines and if a field in this editable list
has been made required,
while analytic lines exist with this field not filled.
In such a case, it was not possible for the user to correct the
analytic lines, as they were invisible, and it was not the place
to correct them anyway.
opw-672184
| -rw-r--r-- | addons/sale_timesheet/views/sale_timesheet_view.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/sale_timesheet/views/sale_timesheet_view.xml b/addons/sale_timesheet/views/sale_timesheet_view.xml index 6aab1f27236..3d469925c9e 100644 --- a/addons/sale_timesheet/views/sale_timesheet_view.xml +++ b/addons/sale_timesheet/views/sale_timesheet_view.xml @@ -33,7 +33,6 @@ <field name="arch" type="xml"> <data> <xpath expr="//button[@name='action_view_invoice']" position="before"> - <field name="timesheet_ids" invisible="1"/> <button type="object" name="action_view_timesheet" class="oe_stat_button" |
