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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
2141
Views
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?'
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 25
|
1887 | ||
|
3
Jul 25
|
3489 | ||
|
1
May 25
|
1619 | ||
|
1
May 25
|
1868 | ||
|
4
May 25
|
2984 |