Skip to Content
मेन्यू
This question has been flagged
1 Reply
6610 Views

Hi, guys.

I have a case that confusing me.

I want to show a view when i click the save button.

I already tried these code. The Console / Terminal successfull print the message.

@api.multi
def write(self, vals):
    super(Project_Requisition_Inherit_Mpd, self).write(vals)
    print "Tipe Jasa Project Requisition Berhasl Diganti"
    return {
        'type': 'ir.actions.act_window',
        'res_model': 'wizard.confirm.delete.project.req',
        'view_type': 'form',
        'view_mode': 'form',
        'target': 'new',
    }
Avatar
Discard
Best Answer

write functions returns a Bool and create function returns a browsable record.

Avatar
Discard
Related Posts Replies Views Activity
1
अप्रैल 19
3024
1
अक्तू॰ 23
8398
2
जून 23
2207
1
जून 20
35233
4
अप्रैल 20
9081