diff --git a/addons/purchase/static/src/scss/purchase.scss b/addons/purchase/static/src/scss/purchase.scss index dadb3972fc0..003bb0a488e 100644 --- a/addons/purchase/static/src/scss/purchase.scss +++ b/addons/purchase/static/src/scss/purchase.scss @@ -6,6 +6,11 @@ position: relative; max-width:100%; + .row { + margin-right: 0; + margin-left: 0; + } + .o_dashboard_action { cursor: pointer; } @@ -47,3 +52,9 @@ } } } + +.o_purchase_dashboard ~ .o_view_nocontent { + // To prevent overlapping from inherited values + position: relative; + width: 100%; +} diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index d3522119724..9f61fd92fd0 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -485,6 +485,37 @@ purchase.order.tree purchase.order + + + + + + + + + + + + + + + + + + + + + + + + + + purchase.order.inherit.purchase.order.tree + purchase.order + @@ -555,7 +586,7 @@ ir.actions.act_window purchase.order tree,kanban,form,pivot,graph,calendar,activity - + [] {'quotation_only': True} @@ -686,7 +717,7 @@ Requests for Quotation purchase.order form,tree,kanban,pivot,graph,calendar,activity - + main