Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
feb. 22
2428
0
jun. 21
3691
3
jan. 25
19392
0
jun. 21
2570
2
avg. 16
5367