Maybe if you have a minute you can duplicate what I did using 4.2.0-stable with 
the copied wizard.

1. I copied addons/hr/wizard/sign_in_out.py to my modules wizard directory.
2. I copied the import statement for this wizard from 
addons/hr/wizard/__init__.py and put it in my module/wizard/__init__.py
3. I copied the wizard stanza for this wizard from addons/hr/hr_wizard.xml and 
put it in my module_wizard.xml file.
4. I add a menuitem in mymodule xml where the copied wizard lives.
5. I then went and changed all references to 'hr.si_so' to 'hr.si_so2' so that 
all names/keys would be unique.

I repackaged my module and performed a --update=mymodulename

I brought up the Gtk client and double-clicked on this copied wizard and I get 
the keyerror.

Now if I go back and change just the class key in the py and the reference to 
it in the xml 'name' back to 'hr.si_so' so that the wizard refers to the 
existing hr class then the wizard works.

Gerry





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to