← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 618631] Re: [5.0][report_intrastat] confused product_template ref instead of product_product ref

 

I had a issue with November's DEB of Anevia (we use the report_intrastat
from akretion's branch https://code.launchpad.net/~akretion-team
/openobject-addons/openobject-addons_5.0_report_intrastat)... I found
out the cause and fixed the bug. Then I had a look at the source code of
report_intrastat in the official addons to see if the bug was there too.
I saw that the bug was already fixed there. In the commit details, I
found this bug report... and here I am ! :-)

So the bug is now also fixed in akretion's report_intrastat branch.

-- 
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/618631

Title:
  [5.0][report_intrastat] confused product_template ref instead of product_product ref

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  Hi,

I'm working with product variants, then I saw that in report.instrastat list my invoice lines not had intrastat_id, it occurs because in the database view query it has a join between invoice.line and product.template and object that reference to product in invoice.line is product.product instead of product.template then it didn't find the right product intrastat_id.

I include the small fix.