콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2383 화면
odoo method
classReportSaleDetails(models.AbstractModel):
_name = 'report.point_of_sale.report_saledetails'_description = 'Point of Sale Details'

@api.model
defget_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False):

my method
classReportSaleDetails(models.AbstractModel):
_inherit = 'report.point_of_sale.report_saledetails'
@api.model
defget_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False):

in my case i copied the whole method and changed one line of code but its only the original method that is called.. What am i doing wrong

아바타
취소
작성자 베스트 답변

turns out there was an error in the new method so instead of giving me an error message, it reverted back to the original method.

아바타
취소
관련 게시물 답글 화면 활동
4
2월 25
2887
1
11월 24
1770
0
8월 24
1706
1
8월 24
2290
2
11월 24
3482