From ac0e22bd6c60a262dfacf565af67c8dedf581898 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 6 Dec 2013 12:13:36 +0100 Subject: [PATCH] [FIX] sale_stock,stock: change model to stock.picking.out of deliveries to invoice view in sales Deliveries to invoice in sales menu should display delivery order only (no incoming shipment). This was already the case thanks to the domain [('type','=','out')], but since the refactor of the module stock, and the division of stock.picking to stock.picking.in and stock.picking.out, the model of this view should be stock.picking.out instead of stock.picking (for instance, to get the actions binding (ir.values) of stock.picking.out model). + typo fix in action binding bzr revid: dle@openerp.com-20131206111336-dg01y92jvjnxy5oi --- addons/sale_stock/stock_view.xml | 2 +- addons/stock/wizard/stock_invoice_onshipping_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sale_stock/stock_view.xml b/addons/sale_stock/stock_view.xml index d06526902fd..d4bf4fc4629 100644 --- a/addons/sale_stock/stock_view.xml +++ b/addons/sale_stock/stock_view.xml @@ -63,7 +63,7 @@ Deliveries to Invoice - stock.picking + stock.picking.out ir.actions.act_window form tree,form,calendar diff --git a/addons/stock/wizard/stock_invoice_onshipping_view.xml b/addons/stock/wizard/stock_invoice_onshipping_view.xml index a65afb377b3..975c5aa2848 100644 --- a/addons/stock/wizard/stock_invoice_onshipping_view.xml +++ b/addons/stock/wizard/stock_invoice_onshipping_view.xml @@ -21,7 +21,7 @@ -