Gerry,
I have created several wizards without finding that problem.
To create and operate a wizar you need:
- To register it in the xml (you did it because you wouldn't be able to
trigger that error if you hadn't)
- Create a .py file with a class derived from the wizard interface.
- Of course, add "import wizard" in your module __init__.py file and
'import wizard_file" in your wizard/__init__.py file
- Make sure that in your wizard .py file you call your class appropiately.
Example:
In XML file:
<wizard
string="Etiqueta de
envĂo"
model="sale.order"
name="mymodule.etiqueta.pedido.report"
id="wizard_etiqueta_pedido"
/>
In .py file:
class wizard_etiquetas(wizard.interface):
.... (code here) ....
wizard_etiquetas('mymodule.etiqueta.pedido.report')
Look at the last line carefully: you instantiate your wizard and give it a
proper key which must mach with the key in your xml.
Regards,
Pedro
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users