Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6673 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 19
3069
1
Okt 23
8443
2
Jun 23
2236
1
Jun 20
35285
4
Apr 20
9125