Hi, i have a smart button in sale order, i want that when a user click in the smart button and create, in the new module get the active id of the sale order in the field
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
2142
查看
It's hard to figure out what you really need without providing some code or, in this case, a good contextual example, but if this can help you can generally access active_id or active_ids in your view with self.env.context.get('active_ids').
What do you mean by 'the active id of the sale order in the field?'
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
6月 25
|
1887 | ||
|
3
7月 25
|
3489 | ||
|
1
5月 25
|
1619 | ||
|
1
5月 25
|
1868 | ||
|
4
5月 25
|
2984 |