From c3972902b2477732c2ebef8bd15b1dfa145d5f04 Mon Sep 17 00:00:00 2001 From: oihane Date: Wed, 21 Oct 2015 18:06:59 +0200 Subject: [PATCH] [IMP] stock_quant_manual_assign: * Extended usage in README --- stock_quant_manual_assign/README.rst | 5 +++++ stock_quant_manual_assign/models/stock_picking.py | 1 + 2 files changed, 6 insertions(+) diff --git a/stock_quant_manual_assign/README.rst b/stock_quant_manual_assign/README.rst index f9c0d3b5d..0407eca63 100644 --- a/stock_quant_manual_assign/README.rst +++ b/stock_quant_manual_assign/README.rst @@ -12,6 +12,11 @@ With this module, user can change manually the automatic selection of quants Usage ===== +To use this module, you need to: + +* You will able to select the quants from each stock.move. There will be a + button that opens a wizard directly from the move or from the picking. + .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/153/8.0 diff --git a/stock_quant_manual_assign/models/stock_picking.py b/stock_quant_manual_assign/models/stock_picking.py index 0a38c6a24..da3f07761 100644 --- a/stock_quant_manual_assign/models/stock_picking.py +++ b/stock_quant_manual_assign/models/stock_picking.py @@ -10,6 +10,7 @@ class StockPicking(models.Model): @api.multi def action_assign(self): + # This is to assure that stock.pack.operation are reprocessed self.mapped('pack_operation_ids').unlink() return super(StockPicking, self).action_assign()