← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 667711] Re: Product stock management is not set until first stock entry

 

** Changed in: magentoerpconnect
   Importance: Undecided => Medium

-- 
Product stock management is not set until first stock entry
https://bugs.launchpad.net/bugs/667711
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in Magento Open ERP Connector: New

Bug description:
Hi,


In the product form into the Magento Shop, in the "inventory" section, we have a "Manage Stock" value. This value is set by default to "No" when exporting product.

It will be set to Yes with right stock quantity when we'll sync the product stock level with the website. The thing is, we must first make an stock entry for that.

This is problematic when you create new product. You must make an stock entry in openerp, sync the stock level, make an outgoing stock move (to cancel the first one) and re-sync the stock level in order to have your product set to "Manage stock = Yes".

I would suggest to set this by default to true when a product is of type "stockable" in OpenERP. So when I create a product into OpenERP and it is stockable product, then the "manage stock" is set to True, otherwise, let it as "false".

I think we should may be map the magento field called "use_config_manage_stock" to 1 when product_type is stockable and let the standard export/creation process go.


Regards,

Joël





References