Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6616 Widoki

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',
    }
Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 19
3028
1
paź 23
8406
2
cze 23
2210
1
cze 20
35242
4
kwi 20
9086