← Back to team overview

openerp-expert-accounting team mailing list archive

Re: Adding another tax group

 

Nhomar Hernández wrote:
Hello.

In Venezuela exists a tax that works in the same way that albert explain, IMHO I think it should be one2many field, but configurable and loaded by default with at least 5 types, "we improve this in Venezuela localization, but is not in prod by now".


I think we should add a new one2many field, something like "type_id", and turn the current "type" field into a function field.

The "type" function would return "/ type_id and type_id.code or 'other' /", so we remain compatible at the code level (the field would preserve is behaviour); we still would need to replace the "type" field with the "type_id" field on the views, but that's easier to do.


--
Borja López Soilán
borjals@xxxxxxxxx

Pexego Sistemas Informáticos S.L.
Avenida de Magoi 66 - 27002 Lugo (España)
Tel./Fax 982801517
http://www.pexego.es

References