+ name="name"
+ readonly="1"
+ invisible="context.get('hide_title',False)"
+ />
+ name="partner_id"
+ context="{'res_partner_search_mode': 'customer'}"
+ string="Customer"
+ />
+ context="{'show_address': 1}"
+ options="{'always_reload': 1}"
+ groups='rma.group_rma_delivery_invoice_address'
+ />
@@ -180,10 +173,10 @@
+ name="lot_id"
+ groups="stock.group_production_lot"
+ attrs="{'required': [('product_tracking', 'in', ('serial', 'lot'))]}"
+ />
@@ -194,19 +187,19 @@
+ />
+ name="operation_id"
+ domain="[('type','=','customer')]"
+ />
@@ -228,9 +221,9 @@
+ name="supplier_rma"
+ attrs="{'invisible':['|', ('type', '!=', 'customer'), ('customer_to_supplier','=',False)]}"
+ >
@@ -240,42 +233,42 @@
+ name="location_id"
+ domain="[('usage', '=', 'internal')]"
+ />
+ name="in_route_id"
+ groups="stock.group_adv_location"
+ />
+ name="customer_to_supplier"
+ attrs="{'invisible':[('type', '!=', 'customer')]}"
+ />
+ />
+ name="out_route_id"
+ groups="stock.group_adv_location"
+ />
+ name="supplier_to_customer"
+ attrs="{'invisible':[('type', '!=', 'supplier')]}"
+ />
+ />
@@ -285,16 +278,16 @@
+ name="rma_id"
+ groups="rma.group_rma_groups"
+ />
+ name="company"
+ string="Company"
+ groups="base.group_multi_company"
+ >
@@ -302,10 +295,10 @@