I cant understand that concept. please give me simple clear example from anyone.
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
2
Replies
12115
Views
let's take an example
def redirect_partner_form(self, cr, uid, partner_id, context=None):
value = {
'domain': "[]",
'view_type': 'form',
'view_mode': 'form,tree',
'res_model': 'res.partner',
'res_id': int(partner_id),
'view_id': False,
'context': context,
'type': 'ir.actions.act_window',
}
return value
Here in odoo while opening a specific record of model we can pass the model name and it's res_id for open the record.
I hope this may help in your case.
<field name="res_id" ref="Passenger_list"/>
I got it answer in this above code passenger_id is a another table tree view id .. Thanks prakash shrama
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up