← Back to team overview

credativ team mailing list archive

[Bug 912198] [NEW] [V6] Sale Order Lineproduct_id_change Multiple Error Warning

 

Public bug reported:

Hello,

We have problem with the product_id_change in the module sale.

In the class sale.order.line , the function product_id change return
warning message if they are some error , like quantity is not compatible
with the quantity selected, not enough stock, etc ...

The problem is that you will only have the last warning message, so you
can have a real problem if you have this scenario :

- You create a product with a package quantity of 5 , and a stock of 22 
- You create a sale order, you select a quantity of 23 , you will received the warning :

 You plan to sell 23.00 PCE but you only have 22.00 PCE available !
The real stock is 22.00 PCE. (without reservations)

BUT you don't receive this message

Picking Information !

You selected a quantity of 23 Units.
But it's not compatible with the selected packaging.
Here is a proposition of quantities according to the packaging:

EAN: (n/a) Quantity: 5.0 Type of ul: Box 20x20x40

It's dangerous , could you please display all error message not only the
last one

Thanks for your help,

Vincent

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Summary changed:

- Sale Order  Lineproduct_id_change Multiple Error Warning
+ [V6] Sale Order  Lineproduct_id_change Multiple Error Warning

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

Title:
  [V6] Sale Order  Lineproduct_id_change Multiple Error Warning

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  We have problem with the product_id_change in the module sale.

  In the class sale.order.line , the function product_id change return
  warning message if they are some error , like quantity is not
  compatible with the quantity selected, not enough stock, etc ...

  The problem is that you will only have the last warning message, so
  you can have a real problem if you have this scenario :

  - You create a product with a package quantity of 5 , and a stock of 22 
  - You create a sale order, you select a quantity of 23 , you will received the warning :

   You plan to sell 23.00 PCE but you only have 22.00 PCE available !
  The real stock is 22.00 PCE. (without reservations)

  BUT you don't receive this message

  Picking Information !

  You selected a quantity of 23 Units.
  But it's not compatible with the selected packaging.
  Here is a proposition of quantities according to the packaging:

  EAN: (n/a) Quantity: 5.0 Type of ul: Box 20x20x40

  It's dangerous , could you please display all error message not only
  the last one

  Thanks for your help,

  Vincent

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


Follow ups

References