Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2140 Visualizzazioni

We have many products that are ordered in on an adhoc basis and would like to see the quantity on hand when we "Add a Product" in a sales order to make sure we are selecting an item that is in stock.

Ideally, if product = storable product and qty on hand > 0 the product will look in the search box like:

[Qty:30], Product Name 1

[Qty:100], Product Name  2

Product Name  3 <-- no stock or consumable

Does any one know if this is possible and how I would go about this?

Avatar
Abbandona
Risposta migliore

Hi Linda:

You can do this by extending and customizing the name_get method of the ProductProduct class. 

Avatar
Abbandona