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

we want total of all quantity in invoice report 

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

Hi, You can check the below free app:

Total number of Products and Quantity on Invoices | Odoo Apps Store

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

thanks its working

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
Hello Tahera
add below tempalate in your module



if you can't add this template in your module let me know will
make a module and push to odoo apps then you can use it easily


Ảnh đại diện
Huỷ bỏ

<template id="report_total_quantity_document" inherit_id="account.report_invoice_document">
<xpath expr="//p[@name='payment_term']" position="after">
<p>
<strong >Total Quantity </strong>
<span t-esc="sum([x.quantity for x in o.invoice_line_ids])"/>
</p>
</xpath>
</template>