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:
- 客户关系管理
- 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
|
3101 | ||
|
4
9月 25
|
6245 | ||
|
0
8月 25
|
548 | ||
|
4
5月 25
|
3010 | ||
|
2
5月 25
|
6448 |