Connectors mailing list archives

connectors@odoo-community.org

Avatar

Re: Odoo Mangeto connector / stock synchronization / incorrect quantities

by
Hibou Corp., Jared Kipe
- 02/08/2016 01:43:34
I am under the impression that Odoo will send the available qty to Magento, not the raw qty on hand. 

I would assume that after importing the orders from Magento, the available qty in Odoo would be 3 in your example. If not, inherit from magento.product.product and implement _recompute_magento_qty_backend so that it meets your needs. 

Jared Kipe


On Aug 1, 2016, at 4:23 PM, Eric Caudal <eric.caudal@elico-corp.com> wrote:

This looks to me logical even if I reckon a little bit unsettling...

This is due to the different nature of both tools:

* Stock in Odoo will only adapt when goods are shipped (Odoo scope includes full supply chain management with stock moves and warehouse management)

* Stock is deducted right away in Magento regardless of the SCM (Magento does not manage the delivery: one SO validated = direct deduction of stock regardless physical stock/Internal warehouse workflow)

Not much you can do about it except synchronize regularly your stock data so that the Magento stock is properly updated with most accurate figures

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/01/2016 10:38 PM, Tomasz Wichary wrote:
<blockquote cite="mid:CAJR2yg3YuCGSb6f2-hD5m2o5=0Kr_T6NbcJVQzkwZx2w6b7n4w@mail.gmail.com" type="cite">
Hi,

in principle in description of connection is written that it is bidirectional connector. 

Its true but I found situation that:

I have stock quantities of product = 5 pcs.
-->total stock quantity for this product is 5 (odoo)
-->total stock quantity for this product is 5 (magento)

after placing two order A&B in magento we have:
(with 1 pcs for each order)

order A, with product - 1 pcs.
order B, with product - 1 pcs.

total stock quantity for this product is 3 (magento)

in odoo

orders are imported but products are not reserved yet

-->total stock quantity for this product is 5 (odoo)
-->total stock quantity for this product is 3 (magento)

after pick up product for order A we have:

-->total stock quantity for this product is 4 (odoo)
and after export stock quantity by connector
-->total stock quantity for this product is 4 (magento, correct value is 3) 

after pick up product for order B we have:

-->total stock quantity for this product is 3 (odoo)
and after export stock quantity by connector
-->total stock quantity for this product is 3 (magento)

in meantime between pickup product between order A and order B we have incorrect
quantity in magento.

Please comment if it is correct behaviour or its configuration error or how to fix it.

Best regards,
Tomek

_______________________________________________
Mailing-List: http://odoo-community.org/groups/connectors-30
Post to: mailto:connectors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: http://odoo-community.org/groups/connectors-30
Post to: mailto:connectors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe