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 management
- MRP
This question has been flagged
1
Reply
1695
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 | |
---|---|---|---|---|
|
2
Dec 24
|
3136 | ||
|
1
Dec 24
|
359 | ||
|
4
Nov 24
|
1368 | ||
|
1
Sep 24
|
1138 | ||
|
1
Sep 24
|
1206 |