I inherit the pos.order and added new field on that model but now i need to call that field to pos receipt how to do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
Hi,
To load a custom field into the POS, you need to define a new function called _loader_params_custom_model(). This function should return a dictionary with a key called search_params. The value of search_params should be a dictionary with two keys. They are domains and fields. The domain should be a list with a tuple specifying filters, and fields should be a list of field names that you want to load into the POS.
For more information refer the blog:
Hope it helps
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
0
4월 25
|
3378 | ||
|
4
10월 25
|
2755 | ||
|
2
9월 25
|
1746 | ||
|
4
9월 25
|
6821 | ||
|
0
8월 25
|
835 |