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
[email protected]

Pexego Sistemas Informáticos S.L.
Avenida de Magoi 66 - 27002 Lugo (España)
Tel./Fax 982801517
http://www.pexego.es
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-accounting
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-accounting
More help   : https://help.launchpad.net/ListHelp

Reply via email to