← Back to team overview

openerp-expert-framework team mailing list archive

Re: fields.selection - inherit problem

 

Am Montag 28 Juni 2010, 18:13:48 schrieb Borja López Soilán (Pexego):
>         ...
> 
> *class* extend_account_invoice_options(osv.osv):
>    _inherit='account.invoice'
>     ...
>    self.add_option('type', 'new_invoice_type', 'New invoice type')

I just wonder if we couldn't do a 
 'type': fields.selection_add('new_invoice_type', 'New invoice type')
?

-- 
Best Regards

ChriCar Beteiligungs- und Beratungs- GmbH
http://www.chricar.at/ChriCar/index.html
Dr. Ferdinand Gassauer
Official Tiny Partner



References