The following code is part of my customized addons that inherits ir.attachment and add few more fields that I needed. The object, when viewed from web client, looks fine but the postgres database does not show x_ fields. The labourcard table is in the postgres database with all ir.attachment fields but no x_ fields. Anyone experienced this problem before? I really need help on this.
class labourcard(osv.osv): _name = 'labourcard' _inherit = 'ir.attachment' _columns = { 'x_labourcard_dateissued':fields.date('Labour Card Date of Issue'), 'x_labourcard_dateexpire':fields.date('Labour Card Date of Expiration'), 'x_labourcard_pin':fields.char('Personal No.',size=20), } labourcard() using: ubuntu 9.10 postgresql 8.4 openerp-server 5.0.14 openerp-web 5.0.14 -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=61112#61112 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users