Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2527 Näkymät

Hello,

I create two wizards.

One for launching a report, the second to display a warning modal dialog.

You can find my code in the folowing link.

https://etherpad.fr/p/odoohelp

 

When Odoo executes line 76 it tries to open the report but not the wizard then crashed?

Any help?

Regards.


Avatar
Hylkää
Paras vastaus

Hello,

from get_report_values() method you can not return any view like tree,form
for showing warning(for warning wizard) you need do your code into    your  get_report(self): method.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
lokak. 24
7765
2
heinäk. 24
2671
1
kesäk. 24
5139
1
lokak. 23
10848
1
lokak. 23
98