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

Hi,

I'd like to know how i can automatically add a VAT exemption note, depending on the customer's fiscal position.

I've tried using the comment field and fill it in the product_id_change method (as my prices depends also of the fiscal position) but the value i put in the res dictionary is lost when leaving the event.

Is there any other way to achieve this ?

Thank you for your help.


Mikael

아바타
취소

Model fiscal position has field "note". Where problem?

작성자

Hello. I'd like to have the note displayed on the invoice (that's why i try to use the note field in the invoice model). If i put something in the fiscal position's note will it be copied in the invoice ? Thanks

베스트 답변

Try this in template report_invoice:

            <p t-if="o.fiscal_position.note">
<strong>Fiscal Position Remark:</strong>
<span t-field="o.fiscal_position.note"/>
</p>

PS. In default report template the 'Fiscal Position Remark:' is defined.

아바타
취소
작성자

Thanks! That did the trick.

베스트 답변

This is now standard in newer versions. However the legal notes field where to set such text is not easy to spot in the form of fiscal positions. It is just under the mapping table.


아바타
취소
관련 게시물 답글 화면 활동
0
4월 22
3299
1
5월 19
4297
0
3월 15
4244
3
3월 22
3289
2
1월 17
8755