Odoo Help


i'm new to the odoo developement, i'm trying to change the sales management report invoice like account invoice format i changed the UI but it getting the values from the database how can do that.

on 8/30/16, 7:54 AM 763 views

it's my xml file.

<div class="col-xs-6 pull-left">

<table class="table">






<tr class="tax-col">

<t t-foreach="doc.order_line" t-as="i">

<tr t-if="i.product_uom_qty">

<td class="text-left">

<!-- <span t-esc="', '.join(map(lambda h: (h.description or h.name), i.tax_id))"/> -->

<!-- <span t-field="i.tax_id"/> -->

<span t-field="doc.account_tax.name"/>


<td class="text-left">

<span t-field="doc.amount_untaxed"

t-field-options='{"widget": "monetary", "display_currency": "doc.pricelist_id.currency_id"}'/>



<span t-field="i.price_tax"/>







here i have to get tax from product wise, and i have 2 different taxes VAT and CST and appling the tax on 2 different products.

On 9/2/16, 3:23 AM

i found out my own solution, i tracked out the all the taxes added to particular product and if same type of tax is added to other product then it will be sum. it's done in sale.py(_amount_all()) and created other method. captured all the values from python and showed in xml view.

Thanks all for other suggestions.

Divyang Jariwala
On 9/1/16, 7:40 AM

Hello shiva_guntuku,

It may happening  because of following things.

1) may be you are not updating your module. 

2) "Reload from Attachment" field may be True in report. if it is True then unchecked it.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/30/16, 7:54 AM
Seen: 763 times
Last updated: 1/5/17, 7:49 AM