← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 698371] Re: Export Stock "stock_move".id Error does not exist

 

ag2888 found a solution for this problem
(https://bugs.launchpad.net/magentoerpconnect/+bug/667735)

Basically "date_planned" should be changed to "date_expected" in the
module base_sale_multichannels/sale.py (line number: 160)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/698371

Title:
  Export Stock "stock_move".id Error does not exist

Status in Magento Open ERP Connector:
  New

Bug description:
  When exporting the stock, if there is no stock to export, it returns this error, even on a clean database and brand new magento install.

AND (stock_move.state != %s) AND (stock_move.state != %s) ORD

ProgrammingError: column stock_move.date_planned does not exist
LINE 1: SELECT "stock_move".id FROM "stock_move" WHERE (stock_move.d...

To reproduce, install a new openerp with new magento. Create a product with no stock value, try to export.

Or when we do export stock in a large database, after the initial export then it returns that error again, even after doing a periodical inventory on a few products.

Correct me if im wrong, Looking further into it but I do believe it is a bug.





References