Ok but the preprocessing code is cryptic what about:

for i in o2m_commands:
   if kind of command is records
      implement command 
   if kind of command 1
      implement command 
   if kind of command 4
      implement command
   else
      raise 

like to last "for" but handling all the cases (no preprocessing)
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-fix-o2m-in-contexts-xmo/+merge/78845
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-fix-o2m-in-contexts-xmo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to