← Back to team overview

openerp-india team mailing list archive

Re: [Bug 1233254] Re: serial number : creation does not always get the product

 

On jeu. 03 oct. 2013 09:21:27 CEST, Rifakat Husen (OpenERP) wrote:
> But we already have a pythonic constraint `_check_product_lot` which
> does not allow to process any stock movement which is having SN product
> different than move product. In fact that was an error to provide wrong
> product. Alexandre, could you check it please?
>

I checked and there  is indeed such a constraint, but it fires way too 
late : it should not be possible to create the move in the first place.

--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 94

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1233254

Title:
  serial number : creation does not always get the product

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  In some cases, when a SN is required in a form and I input the value
  of the SN, and click the Create "xxxxxx" option in the drop down list,
  I get a SN creation form with the Product field filled in using the
  product value from the original object I am creating. In some case I
  don't. This is a major usability issue as the user interface is
  inconsistent and errors can be introduced by the information
  duplication because checking that the product of the SN is the same as
  the one for which we are asked for a SN is not always done (it is
  possible to specify such a wrong SN at least for inventory lines and
  stock moves, I have not checked the mrp and mrp_repair)

  Cases where the product_id is filled:

  * stock.picking.in / stock.picking.out creation
  * stock.move creation
  * splitting products to consume in mrp make order
  * using the split button in "Produced Product" in mrp make order

  Cases where the product_id is not filled:

  * inventory line creation
  * using the split button in "Product to Produce" in mrp make order
  * mrp_repair creation form, for the product to repair SN
  * mrp_repair creation for in the operation lines

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1233254/+subscriptions


References