Giter VIP home page Giter VIP logo

Comments (5)

guewen avatar guewen commented on July 19, 2024

On Tue, Jul 14, 2015 at 8:31 PM, Martin PANEL [email protected]
wrote:

I configured well the Magento backend on a fresh Odoo 8 install, and my
products are sync, however the product_qty field in magento_product_product
are still at zero. When I run "Update all the products stock quantities" it
does nothing, the quantities still remain at 0.

I try to debug but I'm not a python dev, however I trace that new_qty in
_recompute_magento_qty_backend method is always 0 for all the products.

In magento_model.update_product_stock_qty , the magento_products resultset
contain well a good number of products.

Also I don't see any Magento API call when I press update qty button (and
the API call work when I update categories button for example).

Do I forgot something ?

Hi,

If the quantity remains at 0, if seems like it doesn't find any quantity
for your products in Odoo.
Do you actually have stock quantities different than 0 on your products on
Odoo?
What is the warehouse configured on the Magento Backend and is it in the
same warehouse that you made inventory/receptions of your products?
What is the "stock field" configured on the Magento Backend?

from connector-magento.

xxorax avatar xxorax commented on July 19, 2024

If the quantity remains at 0, if seems like it doesn't find any quantity for your products in Odoo.
Do you actually have stock quantities different than 0 on your products on Odoo?

Yes all the quantity fields in the Odoo products are at 0, even the products have been well imported from Magento, but maybe the Magento quantity in not imported well ?

What is the warehouse configured on the Magento Backend and is it in the
same warehouse that you made inventory/receptions of your products?

I have only the default warehouse and I did not touch anything here. However I didn't understand the step 7 in the backend part of the installation guide "Create an inventory for your products"

What is the "stock field" configured on the Magento Backend?

The stock field was "Forecast Quantity" when I imported the products. Now it is "Quantity Available" because I cannot see the field "Forecast Quantity" when I edit an Odoo product.

I just created a new product in Magento with a quantity, and I run the import product in Odoo again to see if the problem come from the quantity field, but it still remains the same with the quantity field "Quantity Available" : all the quantity fields in Odoo product is still 0.

Thanks for your help

from connector-magento.

xxorax avatar xxorax commented on July 19, 2024

Also, I have an other question: How Odoo get the stock changes from Magento ? Update quantity button in the backend does not make any Magento API call so is it done only by a Scheduled Action ?
Thanks

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Not sure I understood, do you expect to see the Magento quantity imported
into Odoo?
It is the other way around: the master of the stock is Odoo. Once you have
some quantities in Odoo you will be able to export them to Magento.

from connector-magento.

xxorax avatar xxorax commented on July 19, 2024

Ok, I see. Maybe it needs to be clearly write in the doc, I did not see that.

And so, how Odoo get the stock changes from Magento ? When there is a Magento order and when we don't import the orders/invoices ?

from connector-magento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.