Giter VIP home page Giter VIP logo

Comments (17)

guewen avatar guewen commented on July 19, 2024

Hi,

You can see here the criteria filters: {'updated_at': {'to': '2015/08/27 14:15:22', 'from': '2015/08/27 13:47:54'}} and here the result returned by Magento: []. Magento returns nothing.
Are you sure that products have been updated in this timerange?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Hi,
I do not have new products but I created a new order on Magento with a new customer but I do not see anything imported in sales or customers, or purchase order.
Possible permissions files or directory?

from connector-magento.

guewen avatar guewen commented on July 19, 2024

You should not see purchase orders anyway, but sales orders yes.
If you look in the Connector Jobs and remove the filters, what jobs do you have? Do you have "import records" jobs or only "import batch" jobs?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

In a first time i see "Prepare a batch import of records from Magento" and after "Import a record from Magento" with "finished" mention.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Ok, and what is the function of "Import a record from Magento"?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

I do not know if I understand your question but I try to import a Magento sale order record with this customer.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

could you send a screenshot of the form view of this job?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

sans titre 1

from connector-magento.

guewen avatar guewen commented on July 19, 2024

I meant the other one "Import a record"

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

I do not have "Import a record" for sale order or customers just this for "magento.res.partner" :
sans titre2

I want to tell you that I did not have this problem before.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

Ok, so you should have a partner tag which has been imported.
From what I see, it is just that you have no data returned by Magento. Can you check if have ntp on the Magento server? Because it could be that they don't communicate with their clocks synchronized.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Magento and odoo are on the same server

from connector-magento.

guewen avatar guewen commented on July 19, 2024

I fear I can't help you more. You should try do to direct calls directly with https://pypi.python.org/pypi/magento and see if that matches with what you have in Magento.

But the 2 lines here:

2015-08-27 14:16:22,359 4191 INFO Autoslide openerp.addons.magentoerpconnect.sale: search for magento saleorders {'created_at': {'to': '2015/08/27 14:15:23', 'from': '2015/08/27 13:47:55'}, 'store_id': {'in': [u'0']}, 'state': {'neq': 'canceled'}} returned []
2015-08-27 14:16:23,834 4191 INFO Autoslide openerp.addons.magentoerpconnect.product: search for magento products {'updated_at': {'to': '2015/08/27 14:15:22', 'from': '2015/08/27 13:47:54'}} returned []

indicates clearly that Magento returns nothing for between the dates in the filter.

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

Don't you think this could be a problem of files permissions because there's two days i changed the permissions of files and directories as recommended Magento after the update?
I also remove the module 'comunity' I reinstalled afterwards because I have had problems updates.
May be i need to reinstall openerp connector module in magento?
Do you have a point of view on these issues.
Thank you for your time and patience.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

If it was a permission issue or an installation issue of the magento module, I think it would not return an empty list but an error.

Did you try to modify the "Import from date" field on the storeviews on odoo on a past date?

Just thought about something: it seems it only tries to import sales orders from the 'admin' storeviews. Can you check on odoo on the storeview of the Import of sales orders is enabled?

from connector-magento.

autoslide avatar autoslide commented on July 19, 2024

I understood my problem because it happened again. In fact when i delete a saleorder in odoo or a customer which was synchronized, its not possible to be re-synchronized again because Odoo keeps track of the transaction somewhere.
Do you know a way to clear effectively a sale order in odoo after mishandling? That would be helpful.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

It does not keep a trace if you delete them.
However, it keep the "last date of import" in the Magento backend, store and storeviews.
So if you create a sales order on Magento at time T, you import it in odoo at time T+1, odoo keeps T+1 in the "last date of import". Now if you delete the sales order at T+2 and rerun the sync expecting it to get you initial order, it won't get it because it imports orders from T+1.
If you want it to to import again sales orders from T, you just have to modify the dates on Odoo on the magento storeviews.

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.