Skip to Content
Menu
This question has been flagged

###################

Method

###################


def _call_wizard (self):
view = self.env.ref ('purchase_update_price.purchase_update_price_wizard_form')
new_id = self.env ['purchase.update.price.wizard']

vals = {
'name': 'this is for set name' ,
}

view_id = new_id.create (vals)
return {
'name': _ ("Asset Data Confirmation"),
'view_mode': 'form',
'view_id': view.id,
'res_id': view_id.id,
' view_type ':' form ',
' res_model ':' purchase.update.price.wizard ',
' type ':' ir.actions.act_window ',
' target ':' new ',
' context ': {},
'domain': []
}



# I have created view but i don't know why i am getting missing view pop up error

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 22
1646
0
Jun 21
2680
3
Jul 23
15010
0
Jun 21
1902
2
Aug 16
3889