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

This is the page I mean:


아바타
취소
베스트 답변

The View the defines this page is named “Sales Order Portal Content”.  You need to inherit and override this View, adding your own code that modifies the base code.

For more information about QWeb, see https://www.odoo.com/documentation/14.0/developer/reference/qweb.html

The QWeb code defining the Unit Price, Taxes and Amount for each line is defined in two parts.  It defines the columns, then the data for the rows.

XPATH syntax is used to identify nodes in the code you want to modify.  For more information on using xpath syntax, see https://www.w3schools.com/xml/xpath_intro.asp

 

A new View that inherits the “Sales Order Portal Content” view:


Changes the columns and rows from this:


To this:


... and will result in a page that looks like this:



아바타
취소
베스트 답변

Hi guys,


I am new to Odoo. Is there any way to change the report template type when the download button is clicked, instead of using the default template?"


a class="btn btn-secondary btn-block o_download_btn"  t-att-href="sale_order.get_portal_url(report_type='pdf', download=True)" title="Download"> Download

thanks in advance.

아바타
취소
베스트 답변

use like this for 16 and 17










아바타
취소
베스트 답변

The procedure mentioned above should work in Odoo 16 SaaS. You can modify the "Sales Order Portal Content" view in V16 as well.

아바타
취소
베스트 답변

Is there anybody who can explain how to make adjustments to the customer portal view in the Odoo saas 16 Enterprise Edition?

아바타
취소
베스트 답변

What updates do I need to make to make this work for Odoo 16? I created a new view with the same information, however it is not making the replacements shown in your screnshots. 

아바타
취소
관련 게시물 답글 화면 활동
1
12월 20
3710
0
5월 24
1877
1
1월 22
2657
0
8월 21
4
2
7월 19
4698