Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3363 Widoki

I want to print product prices incl or excl taxes. I have set my taxes as included in price

I tried this:

<t t-set="taxes" t-value="product.taxes_id.sudo().filtered(lambda x: x.company_id == res_company.currency_id)"/>
<span t-esc="taxes.compute_all(product.list_price, o.pricelist_id.currency_id, quantity=1, product=product, partner=o.partner_id)['total_excluded']"/>


but the prices are printed tax incl.

Any suggestions?

Awatar
Odrzuć

in which report you need this, and which odoo version you are using?

Autor

V12 CE. Custom report for printing pricelist based on product_pricelist_direct_print. Iterates over the products and prints prices based on chosen pricelist.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1205
2
lut 24
2470
1
maj 23
2645
2
cze 21
3299
1
sty 20
3363