콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

I am trying to modify the sales details pdf in point of sale version 12.
I have found the relevant file to change, however; I am having difficulty fetching the value I want to display.
I want to include the actual amount paid under payments in that I someone uses Euros (In the case of multi-currency) to pay for a product. The actual cash amount paid(tendered) is captured in the sales details ( before the currency is converted.)

Here is my xml;

<odoo> 

 <data>

 <template id="report_saledetail_ext" inherit_id="point_of_sale.report_saledetails"> 

 <xpath expr="//table[2]//thead//th[2]" position="after"> 

 <th>Actual Currency</th> 

 </xpath> <xpath expr="//table[2]//tbody//td[2]" position="after"> 

 <td><t t-esc="payment['tendered']" /></td> </xpath>
</template>

 </data>

</odoo>


아바타
취소
관련 게시물 답글 화면 활동
4
11월 19
4945
2
5월 25
8134
2
12월 19
5281
3
11월 19
10182
1
11월 19
3718