← Back to team overview

openerp-india team mailing list archive

[Bug 1055669] Re: Create tax code from model using chart of accounts wizard

 

** Patch added: "account.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/1055669/+attachment/3338644/+files/account.patch

-- 
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):
  New

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


References