openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #02503
lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
Pedro Manuel Baeza has proposed merging lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools.
Requested reviews:
Account Core Editors (account-core-editors)
For more details, see:
https://code.launchpad.net/~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search/+merge/200092
New module account_account_extended_search that allows to search any account with the character '.' inside as a wildcard.
--
https://code.launchpad.net/~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search/+merge/200092
Your team OpenERP Community Reviewer/Maintainer is subscribed to branch lp:account-financial-tools.
=== added directory 'account_account_extended_search'
=== added file 'account_account_extended_search/__init__.py'
--- account_account_extended_search/__init__.py 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/__init__.py 2013-12-27 09:29:33 +0000
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+#
+# Copyright (c) All rights reserved:
+# (c) 2008-2010 Zikzakmedia S.L. (http://zikzakmedia.com)
+# Jordi Esteve <jesteve@xxxxxxxxxxxxxxx>
+# (c) 2013 Joan M. Grande <totaler@xxxxxxxxx>
+# (c) 2013 Anubía, soluciones en la nube,SL (http://www.anubia.es)
+# Alejandro Santana <alejandrosantana@xxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from . import account
=== added file 'account_account_extended_search/__openerp__.py'
--- account_account_extended_search/__openerp__.py 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/__openerp__.py 2013-12-27 09:29:33 +0000
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+#
+# Copyright (c) All rights reserved:
+# (c) 2008-2010 Zikzakmedia S.L. (http://zikzakmedia.com)
+# Jordi Esteve <jesteve@xxxxxxxxxxxxxxx>
+# (c) 2013 Joan M. Grande <totaler@xxxxxxxxx>
+# (c) 2013 Anubía, soluciones en la nube,SL (http://www.anubia.es)
+# Alejandro Santana <alejandrosantana@xxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+{
+ "name": "Spanish account tools",
+ "version": "3.2",
+ "category": "Localization/Accounting",
+ "description": """
+Adds several tools to help Spanish accountants:
+===============================================
+
+ * Searching of accounts using a dot to fill the zeroes (e.g. 43.27 to search
+ account 43000027).
+ * The account chart template field is added to account templates, tax
+ templates, tax codes templates and fiscal positions templates in list and
+ search views. It helps to filter the template items by the account chart
+ template that they belong.
+
+""",
+ # "complexity": "normal",
+ "license": "AGPL-3",
+ "author": "Spanish Localization Team",
+ "website": "https://launchpad.net/openerp-spain",
+ "contributors": [
+ "Jordi Esteve <jesteve@xxxxxxxxxxxxxxx>",
+ "Joan M. Grande <totaler@xxxxxxxxx>",
+ "Alejandro Santana <alejandrosantana@xxxxxxxxx>",
+ ],
+ "depends": [
+ "l10n_es",
+ ],
+ "data": [
+ "account_view.xml",
+ ],
+ "demo": [],
+ "test": [],
+ "images": [],
+ "active": False,
+ "installable": True,
+ "application": False,
+ "auto_install": False,
+ "certificate": "",
+}
=== added file 'account_account_extended_search/account.py'
--- account_account_extended_search/account.py 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/account.py 2013-12-27 09:29:33 +0000
@@ -0,0 +1,209 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+#
+# Copyright (c) All rights reserved:
+# (c) 2008-2010 Zikzakmedia S.L. (http://zikzakmedia.com)
+# Jordi Esteve <jesteve@xxxxxxxxxxxxxxx>
+# (c) 2010-2010 NaN-Tic (http://www.nan-tic.com)
+# Albert Cervera
+# (c) 2013 Joan M. Grande <totaler@xxxxxxxxx>
+# (c) 2013 Anubía, soluciones en la nube,SL (http://www.anubia.es)
+# Alejandro Santana <alejandrosantana@xxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+"""
+Extends account chart template objects (accounts, tax codes and others)
+in order to add a field with the name of the template itself.
+This way you can distinguish among different possible account chart templates
+options.
+E.g., in Spain you can diferenciate between 'PGCE 2008' and 'PGCE PYMES'.
+"""
+
+from openerp.osv import fields, orm
+
+
+class account_account(orm.Model):
+ _inherit = "account.account"
+
+ def search(self, cr, uid, args, offset=0, limit=None, order=None,
+ context=None, count=False):
+ """Improves the search of accounts using a dot to fill the zeroes
+ (like 43.27 to search account 43000027)."""
+ args = args[:]
+ pos = 0
+ while pos < len(args):
+ if (args[pos][0] == 'code' and
+ args[pos][1] in ('like', 'ilike', '=like') and
+ args[pos][2]):
+ query = args[pos][2].replace('%', '')
+ if '.' in query:
+ query = query.partition('.')
+ cr.execute("""SELECT id FROM account_account
+ WHERE type <> 'view'
+ AND code ~ ('^' || %s || '0+' || %s || '$')""",
+ (query[0], query[2]))
+ ids = [x[0] for x in cr.fetchall()]
+ if ids:
+ args[pos] = ('id', 'in', ids)
+ pos += 1
+ return super(account_account, self).search(cr, uid, args,
+ offset, limit, order,
+ context, count)
+
+
+class account_account_template(orm.Model):
+ """Extends the account template to add the chart
+ template that the account belongs to."""
+
+ def _get_chart_template(self, cr, uid, ids, field_name, arg, context=None):
+ """To get the chart template from an account template,
+ we have to search recursively across its parent_id field
+ until parent_id is null (this is the root account) then
+ select the chart template which have 'account_root_id'
+ pointing to the root account."""
+
+ chart_obj = self.pool.get('account.chart.template')
+ if context is None:
+ context = {}
+ res = {}
+ accounts = self.browse(cr, uid, ids)
+ for account in accounts:
+ id = account.id
+ while account.parent_id:
+ account = self.browse(cr, uid, account.parent_id.id)
+ search_params = [('account_root_id', '=', account.id)]
+ template_ids = chart_obj.search(cr, uid, search_params,
+ context=context)
+ res[id] = template_ids and template_ids[0] or False
+
+ return res
+
+ def _get_account_from_chart(self, cr, uid, ids, context=None):
+ """If 'account_root_id' is changed from a chart template, we must
+ recompute all accounts that are children."""
+
+ chart_obj = self.pool.get('account.chart.template')
+ acc_tmpl_obj = self.pool.get('account.account.template')
+ if context is None:
+ context = {}
+ templates = chart_obj.browse(cr, uid, ids, context=context)
+ account_root_ids = [t.account_root_id.id for t in templates]
+ search_params = [('parent_id', 'child_of', account_root_ids)]
+ res = acc_tmpl_obj.search(cr, uid, search_params, context=context)
+ return res
+
+ def _get_account_from_account(self, cr, uid, ids, context=None):
+ """If 'parent_id' is changed from an account template, we must
+ recompute all accounts that are children."""
+
+ if context is None:
+ context = {}
+
+ search_params = [('parent_id', 'child_of', ids)]
+ return self.search(cr, uid, search_params, context=context)
+
+ _inherit = "account.account.template"
+ _columns = {
+ 'chart_template_id': fields.function(
+ _get_chart_template,
+ method=True,
+ string='Chart Template',
+ type='many2one',
+ obj='account.chart.template',
+ store={
+ 'account.chart.template': (_get_account_from_chart,
+ ['account_root_id'], 10),
+ 'account.account.template': (_get_account_from_account,
+ ['parent_id'], 10),
+ },
+ ),
+ }
+
+
+class account_tax_code_template(orm.Model):
+ """Extends the tax code template to add the chart
+ template that the tax code belongs to."""
+
+ def _get_chart_template(self, cr, uid, ids, field_name, arg, context=None):
+ """To get the chart template from a tax code template,
+ we have to search recursively across its parent_id field
+ until parent_id is null (this is the root tax code) then
+ select the chart template which have 'tax_code_root_id'
+ pointing to the root tax code."""
+
+ chart_obj = self.pool.get('account.chart.template')
+ if context is None:
+ context = {}
+ res = {}
+ taxcodes = self.browse(cr, uid, ids)
+ for taxcode in taxcodes:
+ id = taxcode.id
+ while taxcode.parent_id:
+ taxcode = self.browse(cr, uid, taxcode.parent_id.id)
+ search_params = [('tax_code_root_id', '=', taxcode.id)]
+ template_ids = chart_obj.search(cr, uid, search_params,
+ context=context)
+ res[id] = template_ids and template_ids[0] or False
+ return res
+
+ def _get_taxcode_from_chart(self, cr, uid, ids, context=None):
+ """If 'tax_code_root_id' is changed from a chart template, we must
+ recompute all tax codes that are children."""
+
+ chart_obj = self.pool.get('account.chart.template')
+ tcode_tmpl_obj = self.pool.get('account.tax.code.template')
+
+ if context is None:
+ context = {}
+ templates = chart_obj.browse(cr, uid, ids, context=context)
+ tax_code_root_ids = [t.tax_code_root_id.id for t in templates]
+ search_params = [('parent_id', 'child_of', tax_code_root_ids)]
+ res = tcode_tmpl_obj.search(cr, uid, search_params, context=context)
+ return res
+
+ def _get_taxcode_from_taxcode(self, cr, uid, ids, context=None):
+ """If 'parent_id' is changed from a tax code template, we must
+ recompute all tax codes that are children."""
+
+ if context is None:
+ context = {}
+ search_params = [('parent_id', 'child_of', ids)]
+ return self.search(cr, uid, search_params, context=context)
+
+ _inherit = 'account.tax.code.template'
+ _columns = {
+ 'chart_template_id': fields.function(
+ _get_chart_template,
+ method=True,
+ string='Chart Template',
+ type='many2one',
+ obj='account.chart.template',
+ store={
+ 'account.chart.template': (_get_taxcode_from_chart,
+ ['tax_code_root_id'],
+ 10),
+ 'account.tax.code.template': (_get_taxcode_from_taxcode,
+ ['parent_id'],
+ 10),
+ },
+ ),
+ }
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'account_account_extended_search/account_view.xml'
--- account_account_extended_search/account_view.xml 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/account_view.xml 2013-12-27 09:29:33 +0000
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+
+ <!--
+ Extends the list, form and search views of account templates,
+ tax templates, tax codes templates and fiscal positions templates
+ to show the account chart template that they belong
+ -->
+
+ <!-- Account Templates -->
+ <record id="view_account_template_search" model="ir.ui.view">
+ <field name="name">account.account.template.search</field>
+ <field name="model">account.account.template</field>
+ <field name="type">search</field>
+ <field name="inherit_id" ref="account.view_account_template_search"/>
+ <field name="arch" type="xml">
+ <field name="user_type" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="view_account_template_tree" model="ir.ui.view">
+ <field name="name">account.account.template.tree</field>
+ <field name="model">account.account.template</field>
+ <field name="type">tree</field>
+ <field name="inherit_id" ref="account.view_account_template_tree"/>
+ <field name="arch" type="xml">
+ <field name="name" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+
+ <!-- Account Tax Templates -->
+ <record id="view_account_tax_template_tree" model="ir.ui.view">
+ <field name="name">account.tax.template.tree</field>
+ <field name="model">account.tax.template</field>
+ <field name="type">tree</field>
+ <field name="inherit_id" ref="account.view_account_tax_template_tree"/>
+ <field name="arch" type="xml">
+ <field name="description" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+
+ <!-- Account Tax Code Templates -->
+ <record id="view_tax_code_template_search" model="ir.ui.view">
+ <field name="name">account.tax.code.template.search</field>
+ <field name="model">account.tax.code.template</field>
+ <field name="type">search</field>
+ <field name="inherit_id" ref="account.view_tax_code_template_search"/>
+ <field name="arch" type="xml">
+ <field name="parent_id" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="view_tax_code_template_tree" model="ir.ui.view">
+ <field name="name">account.tax.code.template.tree</field>
+ <field name="model">account.tax.code.template</field>
+ <field name="type">tree</field>
+ <field name="inherit_id" ref="account.view_tax_code_template_tree"/>
+ <field name="arch" type="xml">
+ <field name="code" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="view_tax_code_template_form" model="ir.ui.view">
+ <field name="name">account.tax.code.template.form</field>
+ <field name="model">account.tax.code.template</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="account.view_tax_code_template_form"/>
+ <field name="arch" type="xml">
+ <field name="name" position="before">
+ <field name="chart_template_id"/>
+ <newline/>
+ </field>
+ </field>
+ </record>
+
+
+ <!-- Fiscal Position Templates -->
+ <record id="view_account_position_template_search" model="ir.ui.view">
+ <field name="name">account.fiscal.position.template.search</field>
+ <field name="model">account.fiscal.position.template</field>
+ <field name="type">search</field>
+ <field name="inherit_id" ref="account.view_account_position_template_search"/>
+ <field name="arch" type="xml">
+ <field name="name" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="view_account_position_template_tree" model="ir.ui.view">
+ <field name="name">account.fiscal.position.template.tree</field>
+ <field name="model">account.fiscal.position.template</field>
+ <field name="type">tree</field>
+ <field name="inherit_id" ref="account.view_account_position_template_tree"/>
+ <field name="arch" type="xml">
+ <field name="name" position="after">
+ <field name="chart_template_id"/>
+ </field>
+ </field>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'account_account_extended_search/i18n'
=== added file 'account_account_extended_search/i18n/account_account_extended_search.pot'
--- account_account_extended_search/i18n/account_account_extended_search.pot 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/i18n/account_account_extended_search.pot 2013-12-27 09:29:33 +0000
@@ -0,0 +1,63 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_account_extended_search
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-11-12 11:42:38+0000\n"
+"PO-Revision-Date: 2010-11-12 11:42:38+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account
+msgid "Account"
+msgstr ""
+
+#. module: account_account_extended_search
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: account_account_extended_search
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account_template
+msgid "Templates for Accounts"
+msgstr ""
+
+#. module: account_account_extended_search
+#: field:account.account.template,chart_template_id:0
+#: field:account.tax.code.template,chart_template_id:0
+msgid "Chart Template"
+msgstr ""
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_tax_code_template
+msgid "Tax Code Template"
+msgstr ""
+
+#. module: account_account_extended_search
+#: model:ir.module.module,description:account_account_extended_search.module_meta_information
+msgid "\n"
+"Adds several tools to help Spanish accountants:\n"
+"===============================================\n"
+"\n"
+" * Searching of accounts using a dot to fill the zeroes (like 43.27 to search\n"
+" account 43000027).\n"
+" * The account chart template field is added to account templates, tax\n"
+" templates, tax codes templates and fiscal positions templates in list and\n"
+" search views. It helps to filter the template items by the account chart\n"
+" template that they belong.\n"
+"\n"
+""
+msgstr ""
=== added file 'account_account_extended_search/i18n/ca.po'
--- account_account_extended_search/i18n/ca.po 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/i18n/ca.po 2013-12-27 09:29:33 +0000
@@ -0,0 +1,68 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * l10n_es
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-11-12 11:42+0000\n"
+"PO-Revision-Date: 2013-10-11 22:42+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"<jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2013-12-11 06:28+0000\n"
+"X-Generator: Launchpad (build 16869)\n"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account
+msgid "Account"
+msgstr "Compte"
+
+#. module: account_account_extended_search
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"El nom de l'objecte ha de començar amb x_ i no contenir cap caràcter "
+"especial!"
+
+#. module: account_account_extended_search
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML no vàlid per a la definició de la vista!"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account_template
+msgid "Templates for Accounts"
+msgstr "Plantilles de comptes"
+
+#. module: account_account_extended_search
+#: field:account.account.template,chart_template_id:0
+#: field:account.tax.code.template,chart_template_id:0
+msgid "Chart Template"
+msgstr "Plantilla pla comptable"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_tax_code_template
+msgid "Tax Code Template"
+msgstr "Plantilla de codis d'impostos"
+
+#. module: account_account_extended_search
+#: model:ir.module.module,description:account_account_extended_search.module_meta_information
+msgid "\n"
+"Adds several tools to help Spanish accountants:\n"
+"===============================================\n"
+"\n"
+" * Searching of accounts using a dot to fill the zeroes (like 43.27 to search\n"
+" account 43000027).\n"
+" * The account chart template field is added to account templates, tax\n"
+" templates, tax codes templates and fiscal positions templates in list and\n"
+" search views. It helps to filter the template items by the account chart\n"
+" template that they belong.\n"
+"\n"
+""
+msgstr ""
=== added file 'account_account_extended_search/i18n/es.po'
--- account_account_extended_search/i18n/es.po 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/i18n/es.po 2013-12-27 09:29:33 +0000
@@ -0,0 +1,79 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * l10n_es
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-11-12 11:42+0000\n"
+"PO-Revision-Date: 2013-10-11 22:42+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"<jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2013-12-11 06:28+0000\n"
+"X-Generator: Launchpad (build 16869)\n"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account
+msgid "Account"
+msgstr "Cuenta"
+
+#. module: account_account_extended_search
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"¡El nombre del objeto debe empezar con x_ y no contener ningún carácter "
+"especial!"
+
+#. module: account_account_extended_search
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML no válido para la definición de la vista!"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account_template
+msgid "Templates for Accounts"
+msgstr "Plantillas de cuentas"
+
+#. module: account_account_extended_search
+#: field:account.account.template,chart_template_id:0
+#: field:account.tax.code.template,chart_template_id:0
+msgid "Chart Template"
+msgstr "Plantilla plan contable"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_tax_code_template
+msgid "Tax Code Template"
+msgstr "Plantilla de códigos de impuestos"
+
+#. module: account_account_extended_search
+#: model:ir.module.module,description:account_account_extended_search.module_meta_information
+msgid "\n"
+"Adds several tools to help Spanish accountants:\n"
+"===============================================\n"
+"\n"
+" * Searching of accounts using a dot to fill the zeroes (like 43.27 to search\n"
+" account 43000027).\n"
+" * The account chart template field is added to account templates, tax\n"
+" templates, tax codes templates and fiscal positions templates in list and\n"
+" search views. It helps to filter the template items by the account chart\n"
+" template that they belong.\n"
+"\n"
+""
+msgstr "\n"
+"Añade varias herramientas para los contables españoles:\n"
+"=======================================================\n"
+"\n"
+" * Búsqueda de cuentas usando un punto para rellenar con ceros (p.ej. 43.27 para buscar\n"
+" la cuenta 43000027).\n"
+" * Añade el campo de plan contable a las plantillas de cuentas, plantillas de impuestos,\n"
+" plantillas de códigos de impuestos y plantillas de posiciones fiscales en las vistas de lista y\n"
+" formulario. Ayuda a filtrar los elementos de plantillas por la platilla de plan contable\n"
+" al que pertenecen.\n"
+"\n"
+""
=== added file 'account_account_extended_search/i18n/gl.po'
--- account_account_extended_search/i18n/gl.po 1970-01-01 00:00:00 +0000
+++ account_account_extended_search/i18n/gl.po 2013-12-27 09:29:33 +0000
@@ -0,0 +1,79 @@
+# Galician translation for openerp-spain
+# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
+# This file is distributed under the same license as the openerp-spain package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-spain\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2010-11-12 11:42+0000\n"
+"PO-Revision-Date: 2013-10-25 02:33+0000\n"
+"Last-Translator: Alejandro Santana <alejandrosantana@xxxxxxxxx>\n"
+"Language-Team: Galician <gl@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2013-12-11 06:28+0000\n"
+"X-Generator: Launchpad (build 16869)\n"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account
+msgid "Account"
+msgstr "Conta"
+
+#. module: account_account_extended_search
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"¡O nome do obxecto debe comezar con x_ e non conter ningún carácter "
+"especial!"
+
+#. module: account_account_extended_search
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML non válido para a estructura da vista!"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_account_template
+msgid "Templates for Accounts"
+msgstr "Padróns de contas"
+
+#. module: account_account_extended_search
+#: field:account.account.template,chart_template_id:0
+#: field:account.tax.code.template,chart_template_id:0
+msgid "Chart Template"
+msgstr "Padrón de plan contable"
+
+#. module: account_account_extended_search
+#: model:ir.model,name:account_account_extended_search.model_account_tax_code_template
+msgid "Tax Code Template"
+msgstr "Padrón de código de imposto"
+
+#. module: account_account_extended_search
+#: model:ir.module.module,description:account_account_extended_search.module_meta_information
+msgid "\n"
+"Adds several tools to help Spanish accountants:\n"
+"===============================================\n"
+"\n"
+" * Searching of accounts using a dot to fill the zeroes (like 43.27 to search\n"
+" account 43000027).\n"
+" * The account chart template field is added to account templates, tax\n"
+" templates, tax codes templates and fiscal positions templates in list and\n"
+" search views. It helps to filter the template items by the account chart\n"
+" template that they belong.\n"
+"\n"
+""
+msgstr "\n"
+"Engade varias ferramentas para os contables españois:\n"
+"=====================================================\n"
+"\n"
+" * Procura de contas usando un punto para encher de ceros (p.ex. 43.27 para procurar\n"
+" a conta 43000027).\n"
+" * Engade o campo de plan contable ós padróns de contas, padróns de impostos,\n"
+" padróns de códigos de impostos e padróns de posicións fiscais nas vistas de lista e\n"
+" formulario. Axuda a filtrar os elementos de padróns polo padrón de plan contable\n"
+" ó que pertencen.\n"
+"\n"
+""
=== added directory 'account_account_extended_search/static'
=== added directory 'account_account_extended_search/static/src'
=== added directory 'account_account_extended_search/static/src/img'
=== added file 'account_account_extended_search/static/src/img/icon.png'
Binary files account_account_extended_search/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and account_account_extended_search/static/src/img/icon.png 2013-12-27 09:29:33 +0000 differ
Follow ups
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alexandre Fayolle - camptocamp, 2014-06-23
-
[Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alexandre Fayolle - camptocamp, 2014-06-23
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Yannick Vaucher @ Camptocamp, 2014-05-23
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alejandro Santana, 2014-05-05
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Stefan Rijnhart (Therp), 2014-04-19
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Stefan Rijnhart (Therp), 2014-02-23
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alejandro Santana, 2014-02-13
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alejandro Santana, 2014-02-13
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Frederic Clementi - Camptocamp, 2014-02-12
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Pedro Manuel Baeza, 2014-01-31
-
Re: [Merge] lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Guewen Baconnier @ Camptocamp, 2014-01-31
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Graeme Gellatly, 2014-01-03
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Pedro Manuel Baeza, 2013-12-30
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Alejandro Santana, 2013-12-30
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Pedro Manuel Baeza, 2013-12-30
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Pedro Manuel Baeza, 2013-12-28
-
Re: lp:~alejandrosantana/account-financial-tools/7.0-account-financial_tools--add--account_account_extended_search into lp:account-financial-tools
From: Pedro Manuel Baeza, 2013-12-27