** Branch linked: lp:~openerp-dev/openobject-addons/trunk- bug-1055669-psa -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1055669
Title: Create tax code from model using chart of accounts wizard Status in OpenERP Addons (modules): Fix Committed Bug description: Hello guys, Using 6.1 and trunk, when I try create a chart of account, there is a problem in tax code because the tax code templates has the following structure: * PIS **** 01 - Operação Tributável com Alíquota Básica * COFINS **** 01 - Operação Tributável com Alíquota Básica In the Brazilian localization (maybe in others localizations) for example, we can have one tax code with the same code and description, but in different levels. To fix it the method generate_tax_code in account.tax.template this line need be change to include parent_id. rec_list = obj_tax_code.search(cr, uid, [('name', '=', vals['name']),('code', '=', vals['code']),('company_id', '=', vals['company_id'])], context=context) I'm attached one path. Best regards, Renato Lima http://www.akretion.com To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1055669/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : openerp-india@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp