コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6621 ビュー

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',
    }
アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
4月 19
3028
1
10月 23
8408
2
6月 23
2212
1
6月 20
35245
4
4月 20
9086