Review: Needs Fixing

The line with self._rec_name_get(cr,uid,context) should read:
  name=self._rec_name_fallback(cr,uid,context)

The self.rec_name in the assert shouold read:
  self._rec_name

I think the initial value should be None instead of False (and the check should 
be 'is None').
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-rec_name_assertion_and_fallback/+merge/117412
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-rec_name_assertion_and_fallback.

_______________________________________________
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