コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4872 ビュー

Good afternoon,

We are running Odoo 8 on our server.

Our company collects a 50% deposit from all customers with the remainder due once the product is delivered.

On an invoice we would like there to be 2 additional lines.

One showing a total of all payments against that invoice And a final line showing the balance owing.

Any help would be of great assistance.

アバター
破棄
著作者 最善の回答

We added the following to the QWeb invoice report and have it working:

<tr>
                            <td>Payments</td>
                            <td class="text-right">
                                <span t-esc="o.amount_total - o.residual" t-esc-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: &quot;o.currency_id&quot;}"/>
                            </td>
                        </tr>
                        
                        <tr class="border-black">
                            <td><Strong>Balance Owing After Installation</Strong></td>
                            <td class="text-right">
                                <span t-field="o.residual" t-field-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: &quot;o.currency_id&quot;}"/>
                            </td>
                        </tr>
アバター
破棄

On which file? and how we do it on v14?

関連投稿 返信 ビュー 活動
2
6月 25
2171
4
5月 24
6163
1
5月 23
3961
0
7月 17
3126
0
3月 16
3082