diff --git a/addons/purchase/stock_view.xml b/addons/purchase/stock_view.xml index 95aa5b3cd6b..c25addd1513 100644 --- a/addons/purchase/stock_view.xml +++ b/addons/purchase/stock_view.xml @@ -31,7 +31,7 @@ res_model="stock.picking" groups="base.group_extended" src_model="purchase.order" - context="{'default_purchase_id': active_id, 'contact_display': 'partner'}" /> + context="{'default_purchase_id': active_id, 'contact_display': 'partner', 'default_type': 'in'}" /> @@ -115,6 +115,19 @@ If you set the Invoicing Control on a purchase order as "Based on receptions", you can track here all the product receptions and create invoices for those receptions. + + + tree + + + + + + form + + + + diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 1e9bc2165fa..5315357aa22 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -247,7 +247,20 @@ - + + + + + + + + + + + +