Hi hda,

thank you for response,

Actually, i designed a custom screen via UML Dia tool,
On the same screen i established three different one2many relations fields,
while importing, im getting the following error:

Traceback (most recent call last):
  File "netsvc.pyo", line 235, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 582, in execute
  File "service\web_services.pyo", line 562, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 74, in execute_cr
  File "C:\Program Files\OpenERP 
AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, 
in _upgrade_module
  File "pooler.pyo", line 62, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 718, in load_modules
  File "addons\__init__.pyo", line 578, in load_module_graph
  File "addons\__init__.pyo", line 406, in register_class
  File "C:\Program Files\OpenERP 
AllInOne\Server\addons\allchanges.zip\allchanges\__init__.py", line 5, in 
<module>
  File "C:\Program Files\OpenERP 
AllInOne\Server\addons\allchanges.zip\allchanges\allchanges.py", line 63, in 
<module>
  File "C:\Program Files\OpenERP 
AllInOne\Server\addons\allchanges.zip\allchanges\allchanges.py", line 69, in 
plancrop_farmerequipment
TypeError: __init__() takes exactly 3 arguments (2 given)
-----------

'plancrop_farmerequipment' is one field with one2many relation among the three 
different one2many relation fields on same screen.

Note: If i remove 'plancrop_farmerequipment' one2many relation field and import 
with rest two one2many relation fields, it is successfully imported.

can u expand, why this is issues occurring, 

Thank you,

------------------------
Regards,
  Sudhakar Arige




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=41181#41181

-------------------- m2f --------------------


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

Reply via email to