Skip to Content
Menu
This question has been flagged
1 Reply
4366 Views

https://ibb.co/nDpsYRW


Please help me choose the right field for the Subtotal & Total Function in Odoo Studio

I am using 

Odoo 15.0+e (Enterprise Edition)


How to properly add it to my report?


Thank you,

Yousif

Avatar
Discard
Best Answer

Hi 

Please follow this steps 

open the module -Studio -  the reports tap-select the needed Report - 

in the menu bar section 2 tables you can find the subtotal & Total 

drag it to the report and select the Required Sum


Avatar
Discard
Author

Hello thank you for your reply.
I tried the following answer and I did the same thing before I did post the request for help.

This error came:

Error when compiling AST
<pre>&#039;precision&#039; Traceback (most recent call last): File &quot;/home/odoo/src/odoo/15.0/odoo/addons/base/models/qweb.py&quot;, line 219, in render_template yield from compiled_fn(self, values, log) File &quot;&lt;template_1253&gt;&quot;, line 1342, in template_1253 File &quot;/home/odoo/src/odoo/15.0/odoo/addons/base/models/ir_qweb.py&quot;, line 354, in _get_widget content = converter.value_to_html(value, field_options) File &quot;/home/odoo/src/odoo/15.0/odoo/addons/base/models/ir_qweb_fields.py&quot;, line 162, in value_to_html precision = options[&#039;precision&#039;] KeyError: &#039;precision&#039; Error when render the template KeyError: &#039;precision&#039; Template: studio_customization.studio_report_docume_7a34dd63-716f-453c-994a-a4d6c5b053a5_document Path: /t/div/div[11]/div[2]/table/tr[1]/td[2]/span Node: &lt;span t-esc=&quot;total_amount_untaxed&quot; t-options=&quot;{&#039;widget&#039;: &#039;monetary&#039;, &#039;display_currency&#039;: total_currency_id}&quot; t-options-widget=&quot;&amp;quot;float&amp;quot;&quot; data-oe-id=&quot;1253&quot; data-oe-xpath=&quot;/t/div/div[11]/div[2]/table/tr[1]/td[2]/span&quot;/&gt; </pre>

I think there is something need to be selected ..

Author

Here is What I mean... What should I Choose here?
https://ibb.co/2hwfNdT

hi
i think you added the field Correctly , it seems something wrong I suggest to send this error to odoo technical team

Author
Hello thanks a lot for reply.

I already did report this to technical team before 3 days not yet answered.. will wait.

Thank you.


On Mon, Feb 7, 2022 at 11:06 AM Samir George <samir.sanada@gmail.com> wrote:

hi
i think you added the field Correctly , it seems something wrong I suggest to send this error to odoo technical team

Sent by Odoo S.A. using Odoo.

Related Posts Replies Views Activity
1
Mar 24
1382
0
Nov 19
8
1
Apr 24
512
2
Mar 24
2943
1
May 23
1077