-
+
+
+
@@ -304,10 +304,10 @@
string="Ordered Qty"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'uom':product_uom, 'company_id': parent.company_id}"
/>
-
+
+ attrs="{'column_invisible': [('parent.state', 'not in', ['sale', 'done'])]}"/>
tree,kanban,form,calendar,pivot,graph
-
{'hide_sale': True}
Create a Quotation, the first step of a new sale.
@@ -862,7 +861,6 @@
tree,form,calendar,graph,kanban,pivot
{
- 'hide_sale': True,
'search_default_team_id': [active_id],
'default_team_id': active_id,
'show_address': 1,
diff --git a/addons/sale_crm/views/sale_order_views.xml b/addons/sale_crm/views/sale_order_views.xml
index 96e462de805..b6e40ca450f 100644
--- a/addons/sale_crm/views/sale_order_views.xml
+++ b/addons/sale_crm/views/sale_order_views.xml
@@ -6,14 +6,14 @@
sale.order
form,tree,graph
[('opportunity_id', '=', active_id)]
- {'search_default_opportunity_id': active_id, 'hide_sale': True, 'default_opportunity_id': active_id}
+ {'search_default_opportunity_id': active_id, 'default_opportunity_id': active_id}
Quotations
sale.order
[('opportunity_id', '=', active_id)]
- {'search_default_opportunity_id': [active_id], 'hide_sale': True, 'default_opportunity_id': active_id}
+ {'search_default_opportunity_id': [active_id], 'default_opportunity_id': active_id}
diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml
index ac236214960..f38e54ea059 100644
--- a/addons/stock/views/stock_picking_views.xml
+++ b/addons/stock/views/stock_picking_views.xml
@@ -297,7 +297,7 @@
-
+