In your same code one line is correct and another is incorrect.
ad a developer you should check your code twice.
class apple_redapple(osv.osv):
_name = 'apple.redapple'
_columns = {
'name': fields.char('Apple shape'), #here you didn;t pass size.
}
apple_redapple()
class apple_offer(osv.osv):
_name = 'apple.offer'
_columns = {
'name': fields.char('Apple Odor', char=32), # here you passed sixe.
'apple_red': fields.many2one('apple.redapple','Apple Color'),
}
apple_offer()
check my comments in above code.
4 posts back you have done same mistake too.
why don't you join user technical training if you are interested in development.
------------------------
OpenERP=Easier, Adaptable, Affordable, Modular
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=41402#41402
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users