This question has been flagged
3 Replies
4816 Views

I'm trying to run a v9 report in v10.

This report (in module "product_pricelist_direct_print"), depends on calculating product prices according to pricelists.

After a minot tweak, the report is working. However, the prices are not well calculated. It seems that, whatever I do, the computed "price" field is not recalculated.


This is the qweb instruction:

                                    <strong t-field="product.with_context(pricelist=o.pricelist_id.id).price"/>


I've tried to replace t-field by t-esc to no result.

 

Has anyone come across such problem?
Avatar
Discard
Best Answer

Hi,
Go to Settings -> Technical -> Reports -> Reports . Select the corresponding report from there.
In the advance properties uncheck the reload from attachment option.

Avatar
Discard
Author

Reports generated by wizards are not saved.

Author Best Answer

SOLVED


The problem was that the program expects variants to be active. The report works with product.product and not product.template

Avatar
Discard