Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5713 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Tác giả

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 ..

Tác giả

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

Tác giả
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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
2657
0
thg 11 19
8
Custom Report V17 Đã xử lý
1
thg 4 24
1668
2
thg 3 24
4472
1
thg 5 23
2223