summaryrefslogtreecommitdiff
path: root/addons/repair/views
diff options
context:
space:
mode:
authorJinal Patel <jip@odoo.com>2019-07-19 13:31:24 +0000
committerJinal Patel <jip@odoo.com>2019-07-30 09:30:10 +0000
commitc8a30c2d810a2bc9172aef5c0d67a43841ae12ae (patch)
treed8f7a2680e514ec599a3c91e2746d85b30329c05 /addons/repair/views
parentd9ac2e3485f6442958bcc48f5a3d7bd3123202e0 (diff)
[ADD] repair: add Responsible field on Repair Order
task- 1945878 closes odoo/odoo#35056 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/repair/views')
-rw-r--r--addons/repair/views/repair_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml
index 716a8ecc270..97fa1e1befd 100644
--- a/addons/repair/views/repair_views.xml
+++ b/addons/repair/views/repair_views.xml
@@ -70,6 +70,7 @@
<field name="lot_id" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}" groups="stock.group_production_lot" attrs="{'required':[('tracking', 'in', ['serial', 'lot'])], 'invisible': [('tracking', 'not in', ['serial', 'lot'])], 'readonly': [('state', '=', 'done')]}"/>
<field name="partner_id" widget="res_partner_many2one" attrs="{'required':[('invoice_method','!=','none')]}" context="{'show_vat': True}"/>
<field name="address_id" groups="sale.group_delivery_invoice_address"/>
+ <field name="user_id"/>
</group>
<group>
<field name="location_id" options="{'no_create': True}"/>