From 098b40c759c18d57152a81e578a5df7d8843ab0e Mon Sep 17 00:00:00 2001 From: ThinkOpen Solutions Date: Tue, 24 Jul 2012 16:15:21 +0100 Subject: [PATCH 01/12] added l10n_pt bzr revid: trunk@thinkopensolutions.com-20120724151521-4grkrzkmogrqejk7 --- addons/l10n_pt/__init__.py | 22 + addons/l10n_pt/__openerp__.py | 48 + addons/l10n_pt/account_chart.xml | 3957 ++++++++++++++++++ addons/l10n_pt/account_chart_template.xml | 22 + addons/l10n_pt/account_tax_code_template.xml | 23 + addons/l10n_pt/account_taxes.xml | 38 + addons/l10n_pt/account_types.xml | 75 + addons/l10n_pt/fiscal_position_templates.xml | 23 + addons/l10n_pt/i18n/pt.po | 27 + addons/l10n_pt/l10n_chart_pt_wizard.xml | 16 + 10 files changed, 4251 insertions(+) create mode 100644 addons/l10n_pt/__init__.py create mode 100644 addons/l10n_pt/__openerp__.py create mode 100644 addons/l10n_pt/account_chart.xml create mode 100644 addons/l10n_pt/account_chart_template.xml create mode 100644 addons/l10n_pt/account_tax_code_template.xml create mode 100644 addons/l10n_pt/account_taxes.xml create mode 100644 addons/l10n_pt/account_types.xml create mode 100644 addons/l10n_pt/fiscal_position_templates.xml create mode 100644 addons/l10n_pt/i18n/pt.po create mode 100644 addons/l10n_pt/l10n_chart_pt_wizard.xml diff --git a/addons/l10n_pt/__init__.py b/addons/l10n_pt/__init__.py new file mode 100644 index 00000000000..673024708f5 --- /dev/null +++ b/addons/l10n_pt/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2012 Thinkopen Solutions, Lda. All Rights Reserved +# http://www.thinkopensolutions.com. +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## diff --git a/addons/l10n_pt/__openerp__.py b/addons/l10n_pt/__openerp__.py new file mode 100644 index 00000000000..03e3b0e9baa --- /dev/null +++ b/addons/l10n_pt/__openerp__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2012 Thinkopen Solutions, Lda. All Rights Reserved +# http://www.thinkopensolutions.com. +# $Id$ +# +# 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 . +# +############################################################################## + +{ + 'name': 'Portugal - Chart of Accounts', + 'version': '0.011', + 'author': 'ThinkOpen Solutions', + 'website': 'http://www.thinkopensolutions.com/', + 'category': 'Localization/Account Charts', + 'description': 'Plano de contas SNC para Portugal', + 'depends': ['base', + 'base_vat', + 'account', + 'account_chart', + ], + 'init_xml': [], + 'update_xml': ['account_types.xml', + 'account_chart.xml', + 'account_tax_code_template.xml', + 'account_chart_template.xml', + 'fiscal_position_templates.xml', + 'account_taxes.xml', + 'l10n_chart_pt_wizard.xml', + ], + 'demo_xml': [], + 'installable': True, +} + diff --git a/addons/l10n_pt/account_chart.xml b/addons/l10n_pt/account_chart.xml new file mode 100644 index 00000000000..eaf322ab1b8 --- /dev/null +++ b/addons/l10n_pt/account_chart.xml @@ -0,0 +1,3957 @@ + + + + + + SNC Portugal + 0 + view + + + + + 1 + Meios financeiros líquidos + + view + + + + + 11 + Caixa + + other + + + + + 12 + Depósitos à ordem + + other + + + + + 13 + Outros depósitos bancários + + other + + + + + 14 + Outros instrumentos financeiros + + view + + + + + 141 + Derivados + + view + + + + + 1411 + Potencialmente favoráveis + + other + + + + + 1412 + Potencialmente desfavoráveis + + other + + + + + 142 + Instrumentos financeiros detidos para negociação + + view + + + + + 1421 + Activos financeiros + + other + + + + + 1422 + Passivos financeiros + + other + + + + + 143 + Outros activos e passivos financeiros + + view + + + + + 1431 + Outros activos financeiros + + other + + + + + 1432 + Outros passivos financeiros + + other + + + + + 2 + Contas a receber e a pagar + + view + + + + + 21 + Clientes + + view + + + + + 211 + Clientes c/c + + view + + + + + 2111 + Clientes gerais + + receivable + + + + + 2112 + Clientes empresa mãe + + receivable + + + + + 2113 + Clientes empresas subsidiárias + + receivable + + + + + 2114 + Clientes empresas associadas + + receivable + + + + + 2115 + Clientes empreendimentos conjuntos + + receivable + + + + + 2116 + Clientes outras partes relacionadas + + receivable + + + + + 212 + Clientes títulos a receber + + view + + + + + 2121 + Clientes gerais + + receivable + + + + + 2122 + Clientes empresa mãe + + receivable + + + + + 2123 + Clientes empresas subsidiárias + + receivable + + + + + 2124 + Clientes empresas associadas + + receivable + + + + + 2125 + Clientes empreendimentos conjuntos + + receivable + + + + + 2126 + Clientes outras partes relacionadas + + receivable + + + + + 218 + Adiantamentos de clientes + + receivable + + + + + 219 + Perdas por imparidade acumuladas + + receivable + + + + + 22 + Fornecedores + + view + + + + + 221 + Fornecedores c/c + + view + + + + + 2211 + Fornecedores gerais + + payable + + + + + 2212 + Fornecedores empresa mãe + + payable + + + + + 2213 + Fornecedores empresas subsidiárias + + payable + + + + + 2214 + Fornecedores empresas associadas + + payable + + + + + 2215 + Fornecedores empreendimentos conjuntos + + payable + + + + + 2216 + Fornecedores outras partes relacionadas + + payable + + + + + 222 + Fornecedores títulos a pagar + + view + + + + + 2221 + Fornecedores gerais + + payable + + + + + 2222 + Fornecedores empresa mãe + + payable + + + + + 2223 + Fornecedores empresas subsidiárias + + payable + + + + + 2224 + Fornecedores empresas associadas + + payable + + + + + 2225 + Fornecedores empreendimentos conjuntos + + payable + + + + + 2226 + Fornecedores outras partes relacionadas + + payable + + + + + 225 + Facturas em recepção e conferência + + other + + + + + 228 + Adiantamentos a fornecedores + + view + + + + + 229 + Perdas por imparidade acumuladas + + other + + + + + 23 + Pessoal + + view + + + + + 231 + Remunerações a pagar + + view + + + + + 2311 + Aos órgãos sociais + + other + + + + + 2312 + Ao pessoal + + other + + + + + 232 + Adiantamentos + + view + + + + + 2321 + Aos órgãos sociais + + other + + + + + 2322 + Ao pessoal + + other + + + + + 237 + Cauções + + view + + + + + 2371 + Dos órgãos sociais + + other + + + + + 2372 + Do pessoal + + other + + + + + 238 + Outras operações + + view + + + + + 2381 + Com os órgãos sociais + + other + + + + + 2382 + Com o pessoal + + view + + + + + 239 + Perdas por imparidade acumuladas + + other + + + + + 24 + Estado e outros entes públicos + + view + + + + + 241 + Imposto sobre o rendimento + + view + + + + + 242 + Retenção de impostos sobre rendimentos + + view + + + + + 243 + Imposto sobre o valor acrescentado + + view + + + + + 2431 + Iva suportado + + other + + + + + 2432 + Iva dedutível + + other + + + + + 2433 + Iva liquidado + + other + + + + + 2434 + Iva regularizações + + other + + + + + 2435 + Iva apuramento + + other + + + + + 2436 + Iva a pagar + + other + + + + + 2437 + Iva a recuperar + + other + + + + + 2438 + Iva reembolsos pedidos + + other + + + + + 2439 + Iva liquidações oficiosas + + other + + + + + 244 + Outros impostos + + other + + + + + 245 + Contribuições para a segurança social + + other + + + + + 246 + Tributos das autarquias locais + + other + + + + + 248 + Outras tributações + + other + + + + + 25 + Financiamentos obtidos + + view + + + + + 251 + Instituições de crédito e sociedades financeiras + + view + + + + + 2511 + Empréstimos bancários + + other + + + + + 2512 + Descobertos bancários + + other + + + + + 2513 + Locações financeiras + + other + + + + + 252 + Mercado de valores mobiliários + + view + + + + + 2521 + Empréstimos por obrigações + + other + + + + + 253 + Participantes de capital + + view + + + + + 2531 + Empresa mãe suprimentos e outros mútuos + + other + + + + + 2532 + Outros participantes suprimentos e outros mútuos + + other + + + + + 254 + Subsidiárias, associadas e empreendimentos conjuntos + + other + + + + + 258 + Outros financiadores + + other + + + + + 26 + Accionistas/sócios + + view + + + + + 261 + Accionistas c. subscrição + + other + + + + + 262 + Quotas não liberadas + + other + + + + + 263 + Adiantamentos por conta de lucros + + other + + + + + 264 + Resultados atribuídos + + other + + + + + 265 + Lucros disponíveis + + other + + + + + 266 + Empréstimos concedidos empresa mãe + + other + + + + + 268 + Outras operações + + other + + + + + 269 + Perdas por imparidade acumuladas + + other + + + + + 27 + Outras contas a receber e a pagar + + view + + + + + 271 + Fornecedores de investimentos + + view + + + + + 2711 + Fornecedores de investimentos contas gerais + + other + + + + + 2712 + Facturas em recepção e conferência + + other + + + + + 2713 + Adiantamentos a fornecedores de investimentos + + other + + + + + 272 + Devedores e credores por acréscimos + + view + + + + + 2721 + Devedores por acréscimo de rendimentos + + other + + + + + 2722 + Credores por acréscimos de gastos + + other + + + + + 273 + Benefícios pós emprego + + other + + + + + 274 + Impostos diferidos + + view + + + + + 2741 + Activos por impostos diferidos + + other + + + + + 2742 + Passivos por impostos diferidos + + other + + + + + 275 + Credores por subscrições não liberadas + + other + + + + + 276 + Adiantamentos por conta de vendas + + other + + + + + 278 + Outros devedores e credores + + other + + + + + 279 + Perdas por imparidade acumuladas + + other + + + + + 28 + Diferimentos + + view + + + + + 281 + Gastos a reconhecer + + other + + + + + 282 + Rendimentos a reconhecer + + other + + + + + 29 + Provisões + + view + + + + + 291 + Impostos + + other + + + + + 292 + Garantias a clientes + + other + + + + + 293 + Processos judiciais em curso + + other + + + + + 294 + Acidentes de trabalho e doenças profissionais + + other + + + + + 295 + Matérias ambientais + + other + + + + + 296 + Contratos onerosos + + other + + + + + 297 + Reestruturação + + other + + + + + 298 + Outras provisões + + other + + + + + 3 + Inventários e activos biológicos + + view + + + + + 31 + Compras + + view + + + + + 311 + Mercadorias + + other + + + + + 312 + Matérias primas, subsidiárias e de consumo + + other + + + + + 313 + Activos biológicos + + other + + + + + 317 + Devoluções de compras + + other + + + + + 318 + Descontos e abatimentos em compras + + other + + + + + 32 + Mercadorias + + view + + + + + 325 + Mercadorias em trânsito + + other + + + + + 326 + Mercadorias em poder de terceiros + + other + + + + + 329 + Perdas por imparidade acumuladas + + other + + + + + 33 + Matérias primas, subsidiárias e de consumo + + view + + + + + 331 + Matérias primas + + other + + + + + 332 + Matérias subsidiárias + + other + + + + + 333 + Embalagens + + other + + + + + 334 + Materiais diversos + + other + + + + + 335 + Matérias em trânsito + + other + + + + + 339 + Perdas por imparidade acumuladas + + other + + + + + 34 + Produtos acabados e intermédios + + view + + + + + 346 + Produtos em poder de terceiros + + other + + + + + 349 + Perdas por imparidade acumuladas + + other + + + + + 35 + Subprodutos, desperdícios, resíduos e refugos + + view + + + + + 351 + Subprodutos + + other + + + + + 352 + Desperdícios, resíduos e refugos + + other + + + + + 359 + Perdas por imparidade acumuladas + + other + + + + + 36 + Produtos e trabalhos em curso + + other + + + + + 37 + Activos biológicos + + view + + + + + 371 + Consumíveis + + view + + + + + 3711 + Animais + + other + + + + + 3712 + Plantas + + other + + + + + 372 + De produção + + view + + + + + 3721 + Animais + + other + + + + + 3722 + Plantas + + other + + + + + 38 + Reclassificação e regular. de invent. e activos biológ. + + view + + + + + 382 + Mercadorias + + other + + + + + 383 + Matérias primas, subsidiárias e de consumo + + other + + + + + 384 + Produtos acabados e intermédios + + other + + + + + 385 + Subprodutos, desperdícios, resíduos e refugos + + other + + + + + 386 + Produtos e trabalhos em curso + + other + + + + + 387 + Activos biológicos + + other + + + + + 39 + Adiantamentos por conta de compras + + other + + + + + 4 + Investimentos + + view + + + + + 41 + Investimentos financeiros + + view + + + + + 411 + Investimentos em subsidiárias + + view + + + + + 4111 + Participações de capital método da equiv. patrimonial + + other + + + + + 4112 + Participações de capital outros métodos + + other + + + + + 4113 + Empréstimos concedidos + + other + + + + + 412 + Investimentos em associadas + + view + + + + + 4121 + Participações de capital método da equiv. patrimonial + + other + + + + + 4122 + Participações de capital outros métodos + + other + + + + + 4123 + Empréstimos concedidos + + other + + + + + 413 + Investimentos em entidades conjuntamente controladas + + view + + + + + 4131 + Participações de capital método da equiv. patrimonial + + other + + + + + 4132 + Participações de capital outros métodos + + other + + + + + 4133 + Empréstimos concedidos + + other + + + + + 414 + Investimentos noutras empresas + + view + + + + + 4141 + Participações de capital + + other + + + + + 4142 + Empréstimos concedidos + + other + + + + + 415 + Outros investimentos financeiros + + view + + + + + 4151 + Detidos até à maturidade + + other + + + + + 4158 + Acções da sgm (6500x1,00) + + other + + + + + 419 + Perdas por imparidade acumuladas + + other + + + + + 42 + Propriedades de investimento + + view + + + + + 421 + Terrenos e recursos naturais + + other + + + + + 422 + Edifícios e outras construções + + other + + + + + 426 + Outras propriedades de investimento + + other + + + + + 428 + Depreciações acumuladas + + other + + + + + 429 + Perdas por imparidade acumuladas + + other + + + + + 43 + Activo fixos tangíveis + + view + + + + + 431 + Terrenos e recursos naturais + + other + + + + + 432 + Edifícios e outras construções + + other + + + + + 433 + Equipamento básico + + other + + + + + 434 + Equipamento de transporte + + other + + + + + 435 + Equipamento administrativo + + other + + + + + 436 + Equipamentos biológicos + + other + + + + + 437 + Outros activos fixos tangíveis + + other + + + + + 438 + Depreciações acumuladas + + other + + + + + 439 + Perdas por imparidade acumuladas + + other + + + + + 44 + Activos intangíveis + + view + + + + + 441 + Goodwill + + other + + + + + 442 + Projectos de desenvolvimento + + other + + + + + 443 + Programas de computador + + other + + + + + 444 + Propriedade industrial + + other + + + + + 446 + Outros activos intangíveis + + other + + + + + 448 + Depreciações acumuladas + + other + + + + + 449 + Perdas por imparidade acumuladas + + other + + + + + 45 + Investimentos em curso + + view + + + + + 451 + Investimentos financeiros em curso + + other + + + + + 452 + Propriedades de investimento em curso + + other + + + + + 453 + Activos fixos tangíveis em curso + + other + + + + + 454 + Activos intangíveis em curso + + other + + + + + 455 + Adiantamentos por conta de investimentos + + other + + + + + 459 + Perdas por imparidade acumuladas + + other + + + + + 46 + Activos não correntes detidos para venda + + view + + + + + 469 + Perdas por imparidade acumuladas + + other + + + + + 5 + Capital, reservas e resultados transitados + + view + + + + + 51 + Capital + + other + + + + + 52 + Acções (quotas) próprias + + view + + + + + 521 + Valor nominal + + other + + + + + 522 + Descontos e prémios + + other + + + + + 53 + Outros instrumentos de capital próprio + + other + + + + + 54 + Prémios de emissão + + other + + + + + 55 + Reservas + + view + + + + + 551 + Reservas legais + + other + + + + + 552 + Outras reservas + + other + + + + + 56 + Resultados transitados + + other + + + + + 57 + Ajustamentos em activos financeiros + + view + + + + + 571 + Relacionados com o método da equivalência patrimonial + + view + + + + + 5711 + Ajustamentos de transição + + other + + + + + 5712 + Lucros não atribuídos + + other + + + + + 5713 + Decorrentes de outras variações nos capitais próprios d + + other + + + + + 579 + Outros + + other + + + + + 58 + Excedentes de revalor. de activos fixos tangíveis e int + + view + + + + + 581 + Reavaliações decorrentes de diplomas legais + + view + + + + + 5811 + Antes de imposto sobre o rendimento + + other + + + + + 5812 + Impostos diferidos + + other + + + + + 589 + Outros excedentes + + view + + + + + 5891 + Antes de imposto sobre o rendimento + + other + + + + + 5892 + Impostos diferidos + + other + + + + + 59 + Outras variações no capital próprio + + view + + + + + 591 + Diferenças de conversão de demonstrações financeiras + + other + + + + + 592 + Ajustamentos por impostos diferidos + + other + + + + + 593 + Subsídios + + other + + + + + 594 + Doações + + other + + + + + 599 + Outras + + other + + + + + 6 + Gastos + + view + + + + + 61 + Custo das mercadorias vendidas e matérias consumidas + + view + + + + + 611 + Mercadorias + + other + + + + + 612 + Matérias primas, subsidiárias e de consumo + + other + + + + + 613 + Activos biológicos (compras) + + other + + + + + 62 + Fornecimentos e serviços externos + + view + + + + + 621 + Subcontratos + + other + + + + + 622 + Trabalhos especializados + + view + + + + + 6221 + Trabalhos especializados + + other + + + + + 6222 + Publicidade e propaganda + + other + + + + + 6223 + Vigilância e segurança + + other + + + + + 6224 + Honorários + + other + + + + + 6225 + Comissões + + other + + + + + 6226 + Conservação e reparação + + other + + + + + 6228 + Outros + + other + + + + + 623 + Materiais + + view + + + + + 6231 + Ferramentas e utensílios de desgaste rápido + + other + + + + + 6232 + Livros de documentação técnica + + other + + + + + 6233 + Material de escritório + + other + + + + + 6234 + Artigos de oferta + + other + + + + + 6238 + Outros + + other + + + + + 624 + Energia e fluídos + + view + + + + + 6241 + Electricidade + + other + + + + + 6242 + Combustíveis + + other + + + + + 6243 + Água + + other + + + + + 6248 + Outros + + other + + + + + 625 + Deslocações, estadas e transportes + + view + + + + + 6251 + Deslocações e estadas + + other + + + + + 6252 + Transporte de pessoal + + other + + + + + 6253 + Transportes de mercadorias + + other + + + + + 6258 + Outros + + other + + + + + 626 + Serviços diversos + + view + + + + + 6261 + Rendas e alugueres + + other + + + + + 6262 + Comunicação + + other + + + + + 6263 + Seguros + + other + + + + + 6264 + Royalties + + other + + + + + 6265 + Contencioso e notariado + + other + + + + + 6266 + Despesas de representação + + other + + + + + 6267 + Limpeza, higiene e conforto + + other + + + + + 6268 + Outros serviços + + other + + + + + 63 + Gastos com o pessoal + + view + + + + + 631 + Remunerações dos órgãos sociais + + other + + + + + 632 + Remunerações do pessoal + + other + + + + + 633 + Benefícios pós emprego + + view + + + + + 6331 + Prémios para pensões + + other + + + + + 6332 + Outros benefícios + + other + + + + + 634 + Indemnizações + + other + + + + + 635 + Encargos sobre remunerações + + other + + + + + 636 + Seguros de acidentes no trabalho e doenças profissionais + + other + + + + + 637 + Gastos de acção social + + other + + + + + 638 + Outros gastos com o pessoal + + other + + + + + 64 + Gastos de depreciação e de amortização + + view + + + + + 641 + Propriedades de investimento + + other + + + + + 642 + Activos fixos tangíveis + + other + + + + + 643 + Activos intangíveis + + other + + + + + 65 + Perdas por imparidade + + view + + + + + 651 + Em dívidas a receber + + view + + + + + 6511 + Clientes + + other + + + + + 6512 + Outros devedores + + other + + + + + 652 + Em inventários + + other + + + + + 653 + Em investimentos financeiros + + other + + + + + 654 + Em propriedades de investimento + + other + + + + + 655 + Em activos fixos tangíveis + + other + + + + + 656 + Em activos intangíveis + + other + + + + + 657 + Em investimentos em curso + + other + + + + + 658 + Em activos não correntes detidos para venda + + other + + + + + 66 + Perdas por reduções de justo valor + + view + + + + + 661 + Em instrumentos financeiros + + other + + + + + 662 + Em investimentos financeiros + + other + + + + + 663 + Em propriedades de investimento + + other + + + + + 664 + Em activos biológicos + + other + + + + + 67 + Provisões do período + + view + + + + + 671 + Impostos + + other + + + + + 672 + Garantias a clientes + + other + + + + + 673 + Processos judiciais em curso + + other + + + + + 674 + Acidentes de trabalho e doenças profissionais + + other + + + + + 675 + Matérias ambientais + + other + + + + + 676 + Contratos onerosos + + other + + + + + 677 + Reestruturação + + other + + + + + 678 + Outras provisões + + other + + + + + 68 + Outros gastos e perdas + + view + + + + + 681 + Impostos + + view + + + + + 6811 + Impostos directos + + other + + + + + 6812 + Impostos indirectos + + other + + + + + 6813 + Taxas + + other + + + + + 682 + Descontos de pronto pagamento concedidos + + other + + + + + 683 + Dívidas incobráveis + + other + + + + + 684 + Perdas em inventários + + view + + + + + 6841 + Sinistros + + other + + + + + 6842 + Quebras + + other + + + + + 6848 + Outras perdas + + other + + + + + 685 + Gastos e perdas em subsid. , assoc. e empreend. conjuntos + + view + + + + + 6851 + Cobertura de prejuízos + + other + + + + + 6852 + Aplicação do método da equivalência patrimonial + + other + + + + + 6853 + Alienações + + other + + + + + 6858 + Outros gastos e perdas + + other + + + + + 686 + Gastos e perdas nos restantes investimentos financeiros + + view + + + + + 6861 + Cobertura de prejuízos + + other + + + + + 6862 + Alienações + + other + + + + + 6868 + Outros gastos e perdas + + other + + + + + 687 + Gastos e perdas em investimentos não financeiros + + view + + + + + 6871 + Alienações + + other + + + + + 6872 + Sinistros + + other + + + + + 6873 + Abates + + other + + + + + 6874 + Gastos em propriedades de investimento + + other + + + + + 6878 + Outros gastos e perdas + + other + + + + + 688 + Outros + + view + + + + + 6881 + Correcções relativas a períodos anteriores + + other + + + + + 6882 + Donativos + + other + + + + + 6883 + Quotizações + + other + + + + + 6884 + Ofertas e amostras de inventários + + other + + + + + 6885 + Insuficiência da estimativa para impostos + + other + + + + + 6886 + Perdas em instrumentos financeiros + + other + + + + + 6888 + Outros não especificados + + other + + + + + 69 + Gastos e perdas de financiamento + + view + + + + + 691 + Juros suportados + + view + + + + + 6911 + Juros de financiamento obtidos + + other + + + + + 6918 + Outros juros + + other + + + + + 692 + Diferenças de câmbio desfavoráveis + + view + + + + + 6921 + Relativos a financiamentos obtidos + + other + + + + + 6928 + Outras + + other + + + + + 698 + Outros gastos e perdas de financiamento + + view + + + + + 6981 + Relativos a financiamentos obtidos + + other + + + + + 6988 + Outros + + other + + + + + 7 + Rendimentos + + view + + + + + 71 + Vendas + + view + + + + + 711 + Mercadoria + + other + + + + + 712 + Produtos acabados e intermédios + + other + + + + + 713 + Subprodutos, desperdícios, resíduos e refugos + + other + + + + + 714 + Activos biológicos + + other + + + + + 716 + Iva das vendas com imposto incluído + + other + + + + + 717 + Devoluções de vendas + + other + + + + + 718 + Descontos e abatimentos em vendas + + other + + + + + 72 + Prestações de serviços + + view + + + + + 721 + Serviço a + + other + + + + + 722 + Serviço b + + other + + + + + 725 + Serviços secundários + + other + + + + + 726 + Iva dos serviços com imposto incluído + + other + + + + + 728 + Descontos e abatimentos + + other + + + + + 73 + Variações nos inventários da produção + + view + + + + + 731 + Produtos acabados e intermédios + + other + + + + + 732 + Subprodutos, desperdícios, resíduos e refugos + + other + + + + + 733 + Produtos e trabalhos em curso + + other + + + + + 734 + Activos biológicos + + other + + + + + 74 + Trabalhos para a própria entidade + + view + + + + + 741 + Activos fixos tangíveis + + other + + + + + 742 + Activos intangíveis + + other + + + + + 743 + Propriedades de investimento + + other + + + + + 744 + Activos por gastos diferidos + + other + + + + + 75 + Subsídios à exploração + + view + + + + + 751 + Subsídios do estado e outros entes públicos + + other + + + + + 752 + Subsídios de outras entidades + + other + + + + + 76 + Reversões + + view + + + + + 761 + De depreciações e de amortizações + + view + + + + + 7611 + Propriedades de investimento + + other + + + + + 7612 + Activos fixos tangíveis + + other + + + + + 7613 + Activos intangíveis + + other + + + + + 762 + De perdas por imparidade + + view + + + + + 7621 + Em dívidas a receber + + view + + + + + 76211 + Clientes + + other + + + + + 76212 + Outros devedores + + other + + + + + 7622 + Em inventários + + other + + + + + 7623 + Em investimentos financeiros + + other + + + + + 7624 + Em propriedades de investimento + + other + + + + + 7625 + Em activos fixos tangíveis + + other + + + + + 7626 + Em activos intangíveis + + other + + + + + 7627 + Em investimentos em curso + + other + + + + + 7628 + Em activos não correntes detidos para venda + + other + + + + + 763 + De provisões + + view + + + + + 7631 + Impostos + + other + + + + + 7632 + Garantias a clientes + + other + + + + + 7633 + Processos judiciais em curso + + other + + + + + 7634 + Acidentes no trabalho e doenças profissionais + + other + + + + + 7635 + Matérias ambientais + + other + + + + + 7636 + Contratos onerosos + + other + + + + + 7637 + Reestruturação + + other + + + + + 7638 + Outras provisões + + other + + + + + 77 + Ganhos por aumentos de justo valor + + view + + + + + 771 + Em instrumentos financeiros + + other + + + + + 772 + Em investimentos financeiros + + other + + + + + 773 + Em propriedades de investimento + + other + + + + + 774 + Em activos biológicos + + other + + + + + 78 + Outros rendimentos e ganhos + + view + + + + + 781 + Rendimentos suplementares + + view + + + + + 7811 + Serviços sociais + + other + + + + + 7812 + Aluguer de equipamento + + other + + + + + 7813 + Estudos, projectos e assistência tecnológica + + other + + + + + 7814 + Royalties + + other + + + + + 7815 + Desempenho de cargos sociais noutras empresas + + other + + + + + 7816 + Outros rendimentos suplementares + + other + + + + + 782 + Descontos de pronto pagamento obtidos + + view + + + + + 783 + Recuperação de dívidas a receber + + other + + + + + 784 + Ganhos em inventários + + view + + + + + 7841 + Sinistros + + other + + + + + 7842 + Sobras + + other + + + + + 7848 + Outros ganhos + + other + + + + + 785 + Rendimentos e ganhos em subsidiárias, associadas e empr + + view + + + + + 7851 + Aplicação do método da equivalência patrimonial + + other + + + + + 7852 + Alienações + + other + + + + + 7858 + Outros rendimentos e ganhos + + other + + + + + 786 + Rendimentos e ganhos nos restantes activos financeiros + + view + + + + + 7861 + Diferenças de câmbio favoráveis + + other + + + + + 7862 + Alienações + + other + + + + + 7868 + Outros rendimentos e ganhos + + other + + + + + 787 + Rendimentos e ganhos em investimentos não financeiros + + view + + + + + 7871 + Alienações + + other + + + + + 7872 + Sinistros + + other + + + + + 7873 + Rendas e outros rendimentos em propriedades de investimento + + other + + + + + 7878 + Outros rendimentos e ganhos + + other + + + + + 788 + Outros + + view + + + + + 7881 + Correcções relativas a períodos anteriores + + other + + + + + 7882 + Excesso da estimativa para impostos + + other + + + + + 7883 + Imputação de subsídios para investimentos + + other + + + + + 7884 + Ganhos em outros instrumentos financeiros + + other + + + + + 7885 + Restituição de impostos + + other + + + + + 7888 + Outros não especificados + + other + + + + + 79 + Juros, dividendos e outros rendimentos similares + + view + + + + + 791 + Juros obtidos + + view + + + + + 7911 + De depósitos + + other + + + + + 7912 + De outras aplicações de meios financeiros líquidos + + other + + + + + 7913 + De financiamentos concedidos a associadas e emp. conjun + + other + + + + + 7914 + De financiamentos concedidos a subsidiárias + + other + + + + + 7915 + De financiamentos obtidos + + other + + + + + 7918 + De outros financiamentos obtidos + + other + + + + + 792 + Dividendos obtidos + + view + + + + + 7921 + De aplicações de meios financeiros líquidos + + other + + + + + 7922 + De associadas e empreendimentos conjuntos + + other + + + + + 7923 + De subsidiárias + + other + + + + + 7928 + Outras + + other + + + + + 798 + Outros rendimentos similares + + other + + + + + 8 + Resultados + + view + + + + + 81 + Resultado líquido do período + + view + + + + + 811 + Resultado antes de impostos + + other + + + + + 812 + Impostos sobre o rendimento do período + + view + + + + + 8121 + Imposto estimado para o período + + other + + + + + 8122 + Imposto diferido + + other + + + + + 818 + Resultado líquido + + other + + + + + 89 + Dividendos antecipados + + other + + + + + diff --git a/addons/l10n_pt/account_chart_template.xml b/addons/l10n_pt/account_chart_template.xml new file mode 100644 index 00000000000..25ddc500def --- /dev/null +++ b/addons/l10n_pt/account_chart_template.xml @@ -0,0 +1,22 @@ + + + + + + + + Portugal - Template do Plano de Contas SNC + + + + + + + + + + + + + + \ No newline at end of file diff --git a/addons/l10n_pt/account_tax_code_template.xml b/addons/l10n_pt/account_tax_code_template.xml new file mode 100644 index 00000000000..5172dc6d0a8 --- /dev/null +++ b/addons/l10n_pt/account_tax_code_template.xml @@ -0,0 +1,23 @@ + + + + + + TP + Tax Paid + Tax Paid + + + + + + TP21 + TP21 + TP21 + + + + + + + diff --git a/addons/l10n_pt/account_taxes.xml b/addons/l10n_pt/account_taxes.xml new file mode 100644 index 00000000000..0f26057cc65 --- /dev/null +++ b/addons/l10n_pt/account_taxes.xml @@ -0,0 +1,38 @@ + + + + + + + IVA23 + IVA23 + 0.230000 + percent + + + + + IVA13 + IVA13 + 0.130000 + percent + + + + + IVA6 + IVA6 + 0.060000 + percent + + + + + IVA0 + IVA0 + 0.000000 + percent + + + + diff --git a/addons/l10n_pt/account_types.xml b/addons/l10n_pt/account_types.xml new file mode 100644 index 00000000000..4b8fbbb4514 --- /dev/null +++ b/addons/l10n_pt/account_types.xml @@ -0,0 +1,75 @@ + + + + + + Vista + view + none + + + + A Receber + receivable + income + unreconciled + + + + A Pagar + payable + expense + unreconciled + + + + Receitas + income + income + none + + + + Despesa + expense + expense + none + + + + Impostos + tax + expense + unreconciled + + + + Caixa + cash + asset + balance + + + + Activo + asset + asset + balance + + + + Passivo + equity + liability + balance + + + + Capital e Resultados + liability + liability + balance + + + + diff --git a/addons/l10n_pt/fiscal_position_templates.xml b/addons/l10n_pt/fiscal_position_templates.xml new file mode 100644 index 00000000000..176811d4ae5 --- /dev/null +++ b/addons/l10n_pt/fiscal_position_templates.xml @@ -0,0 +1,23 @@ + + + + + + + + Portugal + + + + + Europa + + + + + Extra-comunitário + + + + + diff --git a/addons/l10n_pt/i18n/pt.po b/addons/l10n_pt/i18n/pt.po new file mode 100644 index 00000000000..0aecddba0ab --- /dev/null +++ b/addons/l10n_pt/i18n/pt.po @@ -0,0 +1,27 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * l10n_pt +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.2\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-10-17 11:13+0000\n" +"PO-Revision-Date: 2011-10-17 11:13+0000\n" +"Last-Translator: Thinkopen Solutions.>\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: l10n_pt +#: model:ir.module.module,description:l10n_pt.module_meta_information +msgid "TODO: Descrever função" +msgstr "TODO: Descrever função" + +#. module: l10n_pt +#: model:ir.module.module,shortdesc:l10n_pt.module_meta_information +msgid "Portuguese Localization" +msgstr "Portugal - SNC Chart of Account" + diff --git a/addons/l10n_pt/l10n_chart_pt_wizard.xml b/addons/l10n_pt/l10n_chart_pt_wizard.xml new file mode 100644 index 00000000000..3f3cfd33a4c --- /dev/null +++ b/addons/l10n_pt/l10n_chart_pt_wizard.xml @@ -0,0 +1,16 @@ + + + + + + Generate Chart of Accounts for l10n_pt + Generate Chart of Accounts from a Chart Template. Please let the nuber to 0 for Portuguese charts. + This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial + Accounts/Generate Chart of Accounts from a Chart Template. + + automatic + + open + + + \ No newline at end of file From 2f774e42b55504d6f15ed91efa777c75c975e11a Mon Sep 17 00:00:00 2001 From: Cubic ERP Date: Wed, 14 Nov 2012 11:49:46 -0500 Subject: [PATCH 02/12] [ADD] l10n_bo bzr revid: info@cubicerp.com-20121114164946-zry0w8fyn4vhjvqf --- addons/l10n_bo/__init__.py | 32 +++ addons/l10n_bo/__openerp__.py | 52 +++++ addons/l10n_bo/account_tax.xml | 50 +++++ addons/l10n_bo/account_tax_code.xml | 94 +++++++++ addons/l10n_bo/i18n/es.po | 72 +++++++ addons/l10n_bo/i18n/es_BO.po | 53 +++++ addons/l10n_bo/i18n/l10n_bo.pot | 35 ++++ addons/l10n_bo/l10n_bo_chart.xml | 257 +++++++++++++++++++++++++ addons/l10n_bo/l10n_bo_wizard.xml | 10 + addons/l10n_bo/static/src/img/icon.png | Bin 0 -> 1846 bytes 10 files changed, 655 insertions(+) create mode 100644 addons/l10n_bo/__init__.py create mode 100644 addons/l10n_bo/__openerp__.py create mode 100644 addons/l10n_bo/account_tax.xml create mode 100644 addons/l10n_bo/account_tax_code.xml create mode 100644 addons/l10n_bo/i18n/es.po create mode 100644 addons/l10n_bo/i18n/es_BO.po create mode 100644 addons/l10n_bo/i18n/l10n_bo.pot create mode 100644 addons/l10n_bo/l10n_bo_chart.xml create mode 100644 addons/l10n_bo/l10n_bo_wizard.xml create mode 100644 addons/l10n_bo/static/src/img/icon.png diff --git a/addons/l10n_bo/__init__.py b/addons/l10n_bo/__init__.py new file mode 100644 index 00000000000..92da5dbf966 --- /dev/null +++ b/addons/l10n_bo/__init__.py @@ -0,0 +1,32 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (c) 2011 Cubic ERP - Teradata SAC. (http://cubicerp.com). +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_bo/__openerp__.py b/addons/l10n_bo/__openerp__.py new file mode 100644 index 00000000000..d55777d198f --- /dev/null +++ b/addons/l10n_bo/__openerp__.py @@ -0,0 +1,52 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2012 Cubic ERP - Teradata SAC (). +# +# 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 . +# +############################################################################## +{ + "name": "Bolivia Localization Chart Account", + "version": "1.0", + "description": """ +Bolivian accounting chart and tax localization. + +Plan contable boliviano e impuestos de acuerdo a disposiciones vigentes + + """, + "author": "Cubic ERP", + "website": "http://cubicERP.com", + "category": "Localization/Account Charts", + "depends": [ + "account_chart", + ], + "data":[ + "account_tax_code.xml", + "l10n_bo_chart.xml", + "account_tax.xml", + "l10n_bo_wizard.xml", + ], + "demo_xml": [ + ], + "update_xml": [ + ], + "active": False, + "installable": True, + "certificate" : "", + 'images': ['images/config_chart_l10n_bo.jpeg','images/l10n_bo_chart.jpeg'], + +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_bo/account_tax.xml b/addons/l10n_bo/account_tax.xml new file mode 100644 index 00000000000..6c0ca68c4ba --- /dev/null +++ b/addons/l10n_bo/account_tax.xml @@ -0,0 +1,50 @@ + + + + + + + IVA 13% Venta + 0.130000 + percent + sale + 1 + + + + + + + + + + IVA 13% Compra + 0.130000 + percent + purchase + 1 + + + + + + + + + + + IT 3% + 0.30000 + percent + sale + 0 + + + + + + + + + + diff --git a/addons/l10n_bo/account_tax_code.xml b/addons/l10n_bo/account_tax_code.xml new file mode 100644 index 00000000000..9b3fa8cf6e3 --- /dev/null +++ b/addons/l10n_bo/account_tax_code.xml @@ -0,0 +1,94 @@ + + + + + + Bolivia Impuestos + + + Base Imponible + + + + Base Imponible - Ventas + + + + Impuesto al Valor Agregado con IVA + + + + Ventas NO Gravadas (Exoneradas) + + + + Ventas Gravadas Fuera de Ámbito + + + + Base Imponible - Compras + + + + Compras Gravadas con IVA + + + + Compras NO Gravadas (Exoneradas) + + + + Compras Gravadas Fuera de Ámbito + + + + + Impuesto al Valor Agregado (IVA) Total a Pagar + + + + Impuesto Pagado + + + + Impuesto Pagado IVA + + -1 + + + Impuesto Pagado de Exonerados al IVA + + -1 + + + Impuesto Pagado Fuera de Ámbito + + -1 + + + Impuesto Cobrado + + + + Impuesto Cobrado IVA + + + + Impuesto Cobrado de Exonerados al IVA + + + + Impuesto Cobrado Fuera de Ámbito + + + + + Impuesto a las Transacciones IT (3%) + + + + Impuesto a las Utilidades de la Empresa IUE (25%) + + + + diff --git a/addons/l10n_bo/i18n/es.po b/addons/l10n_bo/i18n/es.po new file mode 100644 index 00000000000..9d12c53b71c --- /dev/null +++ b/addons/l10n_bo/i18n/es.po @@ -0,0 +1,72 @@ +# Spanish translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-10 13:46+0000\n" +"Last-Translator: Yury Tello \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" + +#. module: l10n_ar +#: model:ir.module.module,description:l10n_ar.module_meta_information +msgid "" +"\n" +" Bolivian Accounting : chart of Account\n" +" " +msgstr "" +"\n" +" Contabilidad Peruana : Plan de cuentas\n" +" " + +#. module: l10n_bo +#: model:ir.module.module,shortdesc:l10n_bo.module_meta_information +msgid "Bolivian Chart of Account" +msgstr "Plan de cuentas de Boliviana" + +#. module: l10n_bo +#: model:ir.actions.todo,note:l10n_bo.config_call_account_template_in_minimal +msgid "" +"Generate Chart of Accounts from a Chart Template. You will be asked to pass " +"the name of the company, the chart template to follow, the no. of digits to " +"generate the code for your accounts and Bank account, currency to create " +"Journals. Thus,the pure copy of chart Template is generated.\n" +"\tThis is the same wizard that runs from Financial " +"Management/Configuration/Financial Accounting/Financial Accounts/Generate " +"Chart of Accounts from a Chart Template." +msgstr "" +"Generar el plan contable a partir de una plantilla de plan contable. Se le " +"pedirá el nombre de la compañia, la plantilla de plan contable a utilizar, " +"el número de dígitos para generar el código de las cuentas y de la cuenta " +"bancaria, la moneda para crear los diarios. Así pues, se genere una copia " +"exacta de la plantilla de plan contable.\n" +"\tEste es el mismo asistente que se ejecuta desde Contabilidad y finanzas / " +"Configuración / Contabilidad financiera / Cuentas financieras / Generar el " +"plan contable a partir de una plantilla de plan contable." + +#~ msgid "Liability" +#~ msgstr "Pasivo" + +#~ msgid "Asset" +#~ msgstr "Activo" + +#~ msgid "Closed" +#~ msgstr "Cerrado" + +#~ msgid "Income" +#~ msgstr "Ingreso" + +#~ msgid "Expense" +#~ msgstr "Gasto" + +#~ msgid "View" +#~ msgstr "Vista" diff --git a/addons/l10n_bo/i18n/es_BO.po b/addons/l10n_bo/i18n/es_BO.po new file mode 100644 index 00000000000..5dc0ecb42be --- /dev/null +++ b/addons/l10n_bo/i18n/es_BO.po @@ -0,0 +1,53 @@ +# Spanish (Paraguay) translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-03-21 16:23+0000\n" +"Last-Translator: FULL NAME \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2011-03-22 04:36+0000\n" +"X-Generator: Launchpad (build 12559)\n" + +#. module: l10n_bo +#: model:ir.module.module,description:l10n_bo.module_meta_information +msgid "" +"\n" +" Bolivian Accounting : chart of Account\n" +" " +msgstr "" +"\n" +" Contabilidad boliviana : Plan de cuentas\n" +" " + +#. module: l10n_ar +#: model:ir.module.module,shortdesc:l10n_ar.module_meta_information +msgid "Bolivian Chart of Account" +msgstr "Plan de cuentas de Bolivia" + +#. module: l10n_ar +#: model:ir.actions.todo,note:l10n_ar.config_call_account_template_in_minimal +msgid "" +"Generate Chart of Accounts from a Chart Template. You will be asked to pass " +"the name of the company, the chart template to follow, the no. of digits to " +"generate the code for your accounts and Bank account, currency to create " +"Journals. Thus,the pure copy of chart Template is generated.\n" +"\tThis is the same wizard that runs from Financial " +"Management/Configuration/Financial Accounting/Financial Accounts/Generate " +"Chart of Accounts from a Chart Template." +msgstr "" +"Generar el plan contable a partir de una plantilla de plan contable. Se le " +"pedirá el nombre de la compañía, la plantilla de plan contable a utilizar, " +"el número de dígitos para generar el código de las cuentas y de la cuenta " +"bancaria, la moneda para crear los diarios. Así pues, se genere una copia " +"exacta de la plantilla de plan contable.\n" +"\tEste es el mismo asistente que se ejecuta desde Contabilidad y finanzas / " +"Configuración / Contabilidad financiera / Cuentas financieras / Generar el " +"plan contable a partir de una plantilla de plan contable." diff --git a/addons/l10n_bo/i18n/l10n_bo.pot b/addons/l10n_bo/i18n/l10n_bo.pot new file mode 100644 index 00000000000..8d117342eea --- /dev/null +++ b/addons/l10n_bo/i18n/l10n_bo.pot @@ -0,0 +1,35 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * l10n_ar +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1.0-rc1\n" +"Report-Msgid-Bugs-To: soporte@cubicerp.com\n" +"POT-Creation-Date: 2011-01-11 11:15:31+0000\n" +"PO-Revision-Date: 2011-01-11 11:15:31+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: l10n_ar +#: model:ir.module.module,description:l10n_ar.module_meta_information +msgid "\n" +" Argentinian Accounting : chart of Account\n" +" " +msgstr "" + +#. module: l10n_ar +#: model:ir.module.module,shortdesc:l10n_ar.module_meta_information +msgid "Argentinian Chart of Account" +msgstr "" + +#. module: l10n_ar +#: model:ir.actions.todo,note:l10n_ar.config_call_account_template_in_minimal +msgid "Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.\n" +" This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template." +msgstr "" + diff --git a/addons/l10n_bo/l10n_bo_chart.xml b/addons/l10n_bo/l10n_bo_chart.xml new file mode 100644 index 00000000000..dc9e9598909 --- /dev/null +++ b/addons/l10n_bo/l10n_bo_chart.xml @@ -0,0 +1,257 @@ + + + + + + + noneviewVistanone + + balanceBG_ACC_10Caja y Bancosasset + detailBG_ACC_20Inversiones al Valor Razonable y Disponibleasset + unreconciledBG_ACC_30Créditos o Exigiblesasset + unreconciledBG_ACC_50Otros Créditosasset + balanceBG_ACC_60Bienes de Cambio o Realizablezasset + + detailBG_ACN_10Otros Creditos no Corrientesasset + detailBG_ACN_40Inversiones Permanentesasset + balanceBG_ACN_50Bienes de Usoasset + + unreconciledBG_PAC_10Deudas Bancarias y Financierasliability + unreconciledBG_PAC_20Cuentas por Pagarliability + unreconciledBG_PAC_35Deudas del Personal e Instituciones de Seguridad Socialliability + unreconciledBG_PAC_40Deudas Fiscalesliability + unreconciledBG_PAC_45Otros Pasivosliability + + unreconciledBG_PAN_10Deudas Bancarias y Financieras a Largo Plazoliability + unreconciledBG_PAN_20Otros Pasivos a Largo Plazoliability + unreconciledBG_PAN_40Previsiones y Provisionesliability + + balanceBG_PTN_10Patrimonio o Capital Contableliability + + noneEGP_FU_010Ventas de Mercaderia en Generalincome + noneEGP_FU_030Costo de Ventas de Mercaderíasexpense + noneEGP_FU_040Gastos de Administraciónexpense + noneEGP_FU_050Gastos de Distribución o Ventasexpense + unreconciledEGP_FU_060Ingresos Financierosincome + noneEGP_FU_070Gastos Financierosexpense + noneEGP_FU_080Otros Ingresosincome + noneEGP_FU_090Otros Gastosexpense + noneEGP_FU_120Tributosexpense + noneEGP_FU_160Ganancia (Pérdida) Neta del Ejercicioincome + + noneEGP_NA_010Compras de Bienes de Usonone + + noneORDCuentas de Ordennone + + noneNCLASIFICADOCuentas No Clasificadasnone + + + + + Bolivia + pcge + + view + + + Cuentas Patrimoniales + .1.BG + + + view + + + ACTIVO1view + Caja y Bancos11view + Caja y Bancos - Caja111view + Caja y bancos - Caja / efectivo en BOB111.001liquidity + Caja y Bancos - Moneda Extranjera112view + Caja y bancos - Caja / efectivo USD112.001liquidity + Caja y Bancos - Fondos fijos113view + Caja y ...- Fondos fijos / caja chica 01 BOB113.001liquidity + Caja y Bancos - Cuentas Corrientes114view + Caja y Bancos.../ BCO. CTA CTE BOB114.001liquidity + Caja y bancos - Valores a Depositar 115other + Caja y bancos - Recaudaciones a Depositar 116other + Créditos fiscal IVA12view + Créditos fiscal IVA / Deudores por Ventas121receivable1 + Créditos fiscal IVA / Deudores Morosos122receivable1 + Créditos fiscal IVA / Deudores en Gestión Judicial123receivable + Créditos fiscal IVA / Deudores Varios124receivable + Créditos fiscal IVA / (-) Previsión para Ds. Incobrables125receivable1 + Otros Créditos13view + Otros Créditos / Préstamos otorgados131receivable + Otros Créditos / Anticipos a Proveedores132receivable + Otros Créditos / Anticipo de Impuestos133receivable + Otros Créditos / Anticipo al Personal134receivable + Otros Créditos / Alquileres Pagados por Adelantado135receivable + Otros Créditos / Intereses Pagados por Adelantado136receivable + Otros Créditos / Accionistas137receivable + Otros Créditos / (-) Previsión para Descuentos138receivable + Otros Créditos / (-) Intereses (+) a Devengar139receivable + Inversiones14view + Inversiones / Acciones Transitorias141other + Inversiones / Acciones Permanentes142other + Inversiones / Títulos Públicos143other + Inversiones / (-) Previsión para Devalorización de Acciones144other + Bienes de Cambio o Realizables15view + Bienes de Cambio - Mercaderías151view + Bienes de Cambio - Existencia de Mercaderías / Categoria de productos 01151.01other + Bienes de Cambio - Mercaderías en Tránsito152other + Materias primas153other + Productos en Curso de Elaboración154other + Productos Elaborados155other + Materiales Varios 156other + (-) Desvalorización de Existencias157other + Bienes de Uso16view + Bienes de Uso / Inmuebles161other + Bienes de Uso / Maquinaria162other + Bienes de Uso / Equipos163other + Bienes de Uso / Vehículos164other + Bienes de Uso / (-) Depreciación Acumulada Bienes de Uso165other + Bienes Intangibles17view + Bienes Intangibles / Marcas de Fábrica171other + Bienes Intangibles / Concesiones y Franquicias172other + Bienes Intangibles / Patentes de Invención173other + Bienes Intangibles / (-) Amortización Acumulada174other + PASIVO2view + Deudas Comerciales21view + Deudas Comerciales / Proveedores211payable1 + Deudas Comerciales / Anticipos de Clientes212payable1 + Deudas Comerciales / (-) Intereses a Devengar por Compras al Crédito213payable1 + Deudas Bancarias y Financieras22view + Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente221payable + Deudas Bancarias y Financieras / Prestamos222payable + Deudas Bancarias y Financieras / Obligaciones a Pagar223payable + Deudas Bancarias y Financieras / Intereses a Pagar224payable + Deudas Bancarias y Financieras / Letras de Cambio Emitidos225payable + Deudas Fiscales23view + Deudas Fiscales / IVA a Pagar231other + Deudas Fiscales / Impuesto a las Transacciones IT a Pagar232other + Deudas Fiscales / Impuesto a las Utilidades de Empresas IUE a Pagar233other + Deudas Sociales24view + Deudas Sociales / Sueldos a Pagar241payable + Deudas Sociales / Cargas Sociales a Pagar242payable + Deudas Sociales / Provisión para Sueldo Anual Complementario243payable + Deudas Sociales / Retenciones a Depositar244payable + Otras Deudas25view + Otras Deudas / Acreedores Varios251payable + Otras Deudas / Dividendos a Pagar252payable + Otras Deudas / Cobros por Adelantado253payable + Otras Deudas / Honorarios Directores y Síndicos a Pagar254payable + Previsiones26view + Previsiones / Previsión Indemnización por Despidos261payable + Previsiones / Previsión para juicios Pendientes262payable + Previsiones / Previsión para Garantías por Service263payable + PATRIMONIO NETO3view + Capital Social31view + Capital social / Capital Suscripto311other + Capital social / Acciones en Circulación312other + Capital social / Dividendos a Distribuir en Acciones313other + Capital social / (-) Descuento de Emisión de Acciones314other + Aportes No Capitalizados32view + Aportes No Capitalizados / Primas de Emsión321other + Aportes No Capitalizados / Aportes Irrevocables Futura Suscripción de Acciones322other + Ajustes al Patrimonio33view + Ajustes al Patrimonio / Revaluo Técnico de Bienes de Uso331other + Ganancias Reservadas34view + Reserva Legal341other + Reserva Estatutaria342other + Reserva Facultativa343other + Reserva para Renovación de Bienes de Uso344other + Resultados No Asignados35view + Resultados Acumulados351other + Resultados Acumulados del Ejercicio Anterior352other + Ganancias y Pérdidas del Ejercicio353other + Resultado del Ejercicio354other + + + Cuentas de Resultado + .2.GP + + + view + + + RESULTADOS POSITIVOS4view + Resultados Positivos Ordinarios41view + Ventas411view + Ventas - Categoria de productos 01411.01other + Intereses gananados, obtenidos, percibidos412other + Alquileres gananados, obtenidos, percibidos413other + Comisiones gananados, obtenidos, percibidos414other + Descuentos gananados, obtenidos, percibidos415other + Renta de Títulos Públicos416other + Honorarios gananados, obtenidos, percibidos417other + Ganancia Venta de Acciones418other + Resultados Positivos Extraordinarios42view + Recupero de Rezagos421other + Recupero de Deudores Incobrables422other + Ganancia Venta de Bienes de Uso423other + Donaciones obtenidas, ganandas, percibidas424other + Ganancia Venta Inversiones Permanentes425other + RESULTADOS NEGATIVOS5view + Resultados Negativos Ordinarios51view + Costo de Mercaderías Vendidas511view + Costo de Mercaderías Vendidas - Categoria de productos 01511.01other + Gastos en Depreciación de Bienes de Uso512other + Gastos en Amortización513other + Gastos en Sueldos y Jormales514other + Gastos en Cargas Sociales515other + Gastos en Impuestos516other + Gastos Bancarios517other + Gastos en Servicios Públicos518other + Gastos de Publicidad y Propaganda519other + Resultados Negativos Extraordinarios52view + Gastos en Siniestros521other + Donaciones Cedidas, Otorgadas522other + Pérdida Venta Bienes de Uso523other + + + Cuentas de Movimiento + .3.CC + + + view + + + Compras61view + Compras - Categoria de productos 0161.01other + Costos de Producción62other + Gastos de Administración63other + Gastos de Comercialización64other + + + Cuentas de Orden + .4.CO + + + view + + + CUENTAS DE ORDEN DEUDORAS71view + Mercaderias Recibidas en Consignación711other + Depósito de Valores Recibos en Garantía712other + Garantias Otorgadas713other + Documentos Descontados714other + Documentos Endosados715other + CUENTAS DE ORDEN ACREEDORAS72view + Comitente por Mercaderias Recibidas en Consignación721other + Acreedor por Garantías Otorgadas722other + Acreedor por Documentos Descontados723other + + + Bolivia - Plan de Cuentas + + + + + + + + + + + + + diff --git a/addons/l10n_bo/l10n_bo_wizard.xml b/addons/l10n_bo/l10n_bo_wizard.xml new file mode 100644 index 00000000000..4de61247b90 --- /dev/null +++ b/addons/l10n_bo/l10n_bo_wizard.xml @@ -0,0 +1,10 @@ + + + + + + open + + + + diff --git a/addons/l10n_bo/static/src/img/icon.png b/addons/l10n_bo/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..aaf8ad438b211291933b328ebeb5c6b6799d8a34 GIT binary patch literal 1846 zcmbtUX*8P&7k(4XtG1?^iY1hat&F8~q>@PVtCld0U8|Oq`ASiW2}4OITAhlR8bjOB zYMg4-HiWU0NGv5IRZDdQwUxG%ptUruU^p{B=bW$Sd_SIh&;4=ld7gWpa~ZB=2PJt8 zc>n;ENRIaI+nK(D-Qad?BLoToV3%I#@#C(fYQ=7k@ke`<>A|a(kSZyNm&JACuG5_$XIV0i(wR_WJhLeOI#9@F`yJ;HzWgh z#2-`wgA#|<_|+tj8^$Fh$HbX-_(20P%xkhKF38ZM-EZ}?&}Q7`E$(f=h`lW(wC1k5 zSL*H3^7}n{x3UV6*{oA({Z#|bG6SWvWYbJx_dc^0m57dDU6+K`fiIUem!4bif|f$>&~o?1_jMZDk`EH)ZuT0_ zsg&*JfOw85*t{-~BBLhAn)Hf9HR=XuR+aq{7}GOpo)KMlcnfZJFLq_#|Js@L+=7O0 z>*0(slQqv~263=vMRUoyg2HYf1^xh&WPI*Vg2rpRtrY)4qmI3Gpis*8kAY*b#J;FP zg;VQcv4;~i)hhc|_2+&SppOp5hU}|)q)K1(mQ;(royjZ`c!W*_PP91DN^&T7qrKmx zj0&sH<~)U>Gycmf?4G8}(uvh&oFZ6vKNe$^kNn_#Iy|zx_}FmyT^~1v4a*!{K!)H@ zMANO-Y;ED5#<&OSLZnki->kt8Wx(amP;%I_R##CoY`tPb- z(|orATqiq<_ebR!qQ?+KsvT4{Z-ELyJgUHm?#=IZZo#(ffyu{2U{#Et(~MS^IWDoD zNG#d)gVc^@lD?%KaDaYI;|@rJ8D}cB6g*zG{PNTc-y-)hb@gV{7Ka`W^>iEK(BVl>VF!i(^{uMIuOU5V4Gud}5b>F;<{#r_7$ zfvm!5?$W&6TDRhc7FUfbUln$$Ceif$F0~_Yeegaw*x~skrId>F8Oh6f>~1aS5UrpK zxVkaWL`bJ-1_3A!0+WW+c zJoR30xBnGzd`~{9H11F9E|t?m>=O1NxumXoOaB)RH&nWhsPw!xvi`oF+sb^X*L+R) z=FG9N_2v_Cqlys=zVC;qp?+v(ZEr3w~&43mx(?=bo@n>31a(g$VEB&dk~ya4!29D0!{q9({QO(za@>Cta~UDa$lJ9ne(TuD zy;bjSBJ@>z4VD7Jm>i5bPpbTQ;B1@hAU~aH_UTVLgpacTWaudRR1*LK7@+feh$0XP z+@vf_y`)^_D@%|7L2B9vQ3GBAn&U7FpdNCxS>YTIB@>mT$_FOE35nVE5GDS5|9=~^ z2>suURZQq{h0Gnd6o(vKjp@It zBx|re6D5#1SrS>cm<`Z8`70ebAxXhb*5V_}@xvzvLSAk@taoyGZQ=Tk5V%Xoj*|2^ z|7v)7a;{Tn!5#cC+YYo_;BUcxcHvc`{?8SD5%GVH1{|=<(GD0q>zqA=f7f$fc|-wS z>pwp%5!zmj-Kw_kFcK%kik)(cN7Jo>e;e$KPN+$Ze6Q|do9=UeZ82eMO1jdvoFU7XK!q=7^(HEVDwLeX0h`3K1z=>(_-z>s|JXo=rslXpH+cq{pIzhHC J|IfLre*wi6NK60# literal 0 HcmV?d00001 From be4047ff1b26331d4f9a49bfee2d29c011e4407b Mon Sep 17 00:00:00 2001 From: "Hiral Patel (OpenERP)" Date: Fri, 23 Nov 2012 17:47:45 +0530 Subject: [PATCH 03/12] [IMP] The bounce effect is too fast everywhere, slow it down a little bit bzr revid: hip@tinyerp.com-20121123121745-rmi0wnmzmfq6nx9z --- addons/web/static/src/js/view_form.js | 4 ++-- addons/web/static/src/js/view_list.js | 2 +- addons/web_kanban/static/src/js/kanban.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 7170bdcec72..c2b47d01a34 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -204,7 +204,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.$el.find(".oe_form_group_row,.oe_form_field,label").on('click', function (e) { if(self.get("actual_mode") == "view") { var $button = self.options.$buttons.find(".oe_form_button_edit"); - $button.css('box-sizing', 'content-box').effect('bounce', {distance: 18, times: 5}, 150); + $button.css('box-sizing', 'content-box').effect('bounce', {distance: 18, times: 5}, 250); e.stopPropagation(); instance.web.bus.trigger('click', e); } @@ -213,7 +213,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.$el.find(".oe_form_field_status:not(.oe_form_status_clickable)").on('click', function (e) { if((self.get("actual_mode") == "view")) { var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','clear':'none'}); - $button.effect('bounce', {distance:18, times: 5}, 150); + $button.effect('bounce', {distance:18, times: 5}, 250); e.stopPropagation(); } }); diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 55e3c17b494..fc5df164102 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -829,7 +829,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi ); var create_nocontent = this.$buttons; this.$el.find('.oe_view_nocontent').click(function() { - create_nocontent.effect('bounce', {distance: 18, times: 5}, 150); + create_nocontent.effect('bounce', {distance: 18, times: 5}, 250); }); } }); diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index cd1ea74983f..ce581f526e4 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -50,7 +50,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ this._super.apply(this, arguments); this.$el.on('click', '.oe_kanban_dummy_cell', function() { if (self.$buttons) { - self.$buttons.find('.oe_kanban_add_column').effect('bounce', {distance: 18, times: 5}, 150); + self.$buttons.find('.oe_kanban_add_column').effect('bounce', {distance: 18, times: 5}, 250); } }); }, @@ -468,7 +468,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ ); var create_nocontent = this.$buttons; this.$el.find('.oe_view_nocontent').click(function() { - create_nocontent.effect('bounce', {distance: 18, times: 5}, 150); + create_nocontent.effect('bounce', {distance: 18, times: 5}, 250); }); }, @@ -612,7 +612,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({ this.$records.click(function (ev) { if (ev.target == ev.currentTarget) { if (!self.state.folded) { - add_btn.effect('bounce', {distance: 18, times: 5}, 150); + add_btn.effect('bounce', {distance: 18, times: 5}, 250); } } }); From f09b67d560393165f12ebbf68eb21a8fd955db20 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Wed, 28 Nov 2012 19:02:22 +0500 Subject: [PATCH 04/12] [IMP] Fixed tag issue rendering. bzr revid: tta@openerp.com-20121128140222-y8pijs2rtx3htgv4 --- addons/web_kanban/static/src/css/kanban.css | 3 +++ addons/web_kanban/static/src/js/kanban.js | 11 ++++++----- addons/web_kanban/static/src/xml/web_kanban.xml | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/addons/web_kanban/static/src/css/kanban.css b/addons/web_kanban/static/src/css/kanban.css index 9b74462ee13..6e5edf61bc5 100644 --- a/addons/web_kanban/static/src/css/kanban.css +++ b/addons/web_kanban/static/src/css/kanban.css @@ -109,6 +109,9 @@ .openerp .oe_kanban_view .oe_kanban_column { height: 100%; } +.openerp .oe_kanban_view .oe_kanban_column .oe_kanban_column_cards{ + height: 100%; +} .openerp .oe_kanban_view .oe_kanban_aggregates { padding: 0; margin: 0px; diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 9484c6ed38b..eaded30efaa 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -319,7 +319,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ this.compute_groups_width(); if (this.group_by) { // Kanban cards drag'n'drop - var $columns = this.$el.find('.oe_kanban_column'); + var $columns = this.$el.find('.oe_kanban_column .oe_kanban_column_cards'); $columns.sortable({ handle : '.oe_kanban_draghandle', start: function(event, ui) { @@ -368,8 +368,8 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ stop: function(event, ui) { var stop_index = ui.item.index(); if (start_index !== stop_index) { - var $start_column = $('.oe_kanban_groups_records .oe_kanban_column').eq(start_index); - var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column').eq(stop_index); + var $start_column = $('.oe_kanban_groups_records .oe_kanban_column .oe_kanban_column_cards').eq(start_index); + var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column .oe_kanban_column_cards').eq(stop_index); var method = (start_index > stop_index) ? 'insertBefore' : 'insertAfter'; $start_column[method]($stop_column); var tmp_group = self.groups.splice(start_index, 1)[0]; @@ -657,14 +657,15 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({ var self = this; var $list_header = this.$records.find('.oe_kanban_group_list_header'); var $show_more = this.$records.find('.oe_kanban_show_more'); + var $cards = this.$records.find('.oe_kanban_column_cards'); _.each(records, function(record) { var rec = new instance.web_kanban.KanbanRecord(self, record); if (!prepend) { - rec.insertBefore($show_more); + rec.appendTo($cards); self.records.push(rec); } else { - rec.insertAfter($list_header); + rec.prependTo($cards); self.records.unshift(rec); } }); diff --git a/addons/web_kanban/static/src/xml/web_kanban.xml b/addons/web_kanban/static/src/xml/web_kanban.xml index 2bef63a5730..115e6d4466b 100644 --- a/addons/web_kanban/static/src/xml/web_kanban.xml +++ b/addons/web_kanban/static/src/xml/web_kanban.xml @@ -68,6 +68,7 @@
+
From 4fcb917d394ec28577ae742a9a78d199528e2c11 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Thu, 6 Dec 2012 16:15:43 +0500 Subject: [PATCH 05/12] [FIX] Corrected bounce effect. bzr revid: tta@openerp.com-20121206111543-rm3irpfsx8fp58x4 --- addons/web_kanban/static/src/js/kanban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 6073fd55819..ca57c97ef34 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -610,7 +610,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({ this.$has_been_started.resolve(); var add_btn = this.$el.find('.oe_kanban_add'); add_btn.tipsy({delayIn: 500, delayOut: 1000}); - this.$records.click(function (ev) { + this.$records.find(".oe_kanban_column_cards").click(function (ev) { if (ev.target == ev.currentTarget) { if (!self.state.folded) { add_btn.effect('bounce', {distance: 18, times: 5}, 250); From addd89fb4f1b8aefeb81a6e0381d0921ac3af807 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Thu, 6 Dec 2012 18:30:35 +0500 Subject: [PATCH 06/12] [FIX] Kanban column dragging issue. bzr revid: tta@openerp.com-20121206133035-tigtaa18gpwj0le1 --- addons/web_kanban/static/src/js/kanban.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index ca57c97ef34..5fabe2519d7 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -369,8 +369,8 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ stop: function(event, ui) { var stop_index = ui.item.index(); if (start_index !== stop_index) { - var $start_column = $('.oe_kanban_groups_records .oe_kanban_column .oe_kanban_column_cards').eq(start_index); - var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column .oe_kanban_column_cards').eq(stop_index); + var $start_column = $('.oe_kanban_groups_records .oe_kanban_column ').eq(start_index); + var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column ').eq(stop_index); var method = (start_index > stop_index) ? 'insertBefore' : 'insertAfter'; $start_column[method]($stop_column); var tmp_group = self.groups.splice(start_index, 1)[0]; From b6cb0014b7b219ac30549640b836d45c84815595 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Mon, 10 Dec 2012 11:24:44 +0500 Subject: [PATCH 07/12] [FIX] Hide quick create box when drag and drop. bzr revid: tta@openerp.com-20121210062444-n4ll8y9yoy5sabia --- addons/web_kanban/static/src/js/kanban.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 5fabe2519d7..a25e13820d5 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -364,6 +364,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ scroll: false, start: function(event, ui) { start_index = ui.item.index(); + self.$('.oe_kanban_quick_create').css({ visibility: 'hidden' }); self.$('.oe_kanban_record').css({ visibility: 'hidden' }); }, stop: function(event, ui) { @@ -382,6 +383,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ } }); } + self.$('.oe_kanban_quick_create').css({ visibility: 'visible' }); self.$('.oe_kanban_record').css({ visibility: 'visible' }); } }); From 15e8533aa42cc11967d6e537c1a6f9a484e7a7d8 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Mon, 10 Dec 2012 15:22:59 +0500 Subject: [PATCH 08/12] [FIX] Merged jquery selector and removed space from selector. bzr revid: tta@openerp.com-20121210102259-y6bz503v9ucvgpcr --- addons/web_kanban/static/src/js/kanban.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index a25e13820d5..b58f5024620 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -364,14 +364,13 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ scroll: false, start: function(event, ui) { start_index = ui.item.index(); - self.$('.oe_kanban_quick_create').css({ visibility: 'hidden' }); - self.$('.oe_kanban_record').css({ visibility: 'hidden' }); + self.$('.oe_kanban_record, .oe_kanban_quick_create').css({ visibility: 'hidden' }); }, stop: function(event, ui) { var stop_index = ui.item.index(); if (start_index !== stop_index) { - var $start_column = $('.oe_kanban_groups_records .oe_kanban_column ').eq(start_index); - var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column ').eq(stop_index); + var $start_column = $('.oe_kanban_groups_records .oe_kanban_column').eq(start_index); + var $stop_column = $('.oe_kanban_groups_records .oe_kanban_column').eq(stop_index); var method = (start_index > stop_index) ? 'insertBefore' : 'insertAfter'; $start_column[method]($stop_column); var tmp_group = self.groups.splice(start_index, 1)[0]; @@ -383,8 +382,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ } }); } - self.$('.oe_kanban_quick_create').css({ visibility: 'visible' }); - self.$('.oe_kanban_record').css({ visibility: 'visible' }); + self.$('.oe_kanban_record, .oe_kanban_quick_create').css({ visibility: 'visible' }); } }); } From 31592e96aa99c029c6256b644269038e221aeafc Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 19 Dec 2012 16:12:17 +0100 Subject: [PATCH 09/12] [ADD] Added an openerpBounce jquery plugin bzr revid: fme@openerp.com-20121219151217-bxp1p04gmbccckys --- addons/web/static/src/js/coresetup.js | 5 +++++ addons/web/static/src/js/view_form.js | 4 ++-- addons/web/static/src/js/view_list.js | 2 +- addons/web_kanban/static/src/js/kanban.js | 6 +++--- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index eac26520301..a8b0510389b 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -477,6 +477,11 @@ $.fn.openerpClass = function(additionalClass) { $(this).addClass('openerp ' + additionalClass); }); }; +$.fn.openerpBounce = function() { + return this.each(function() { + $(this).css('box-sizing', 'content-box').effect('bounce', {distance: 18, times: 5}, 250); + }); +}; /** Jquery extentions */ $.Mutex = (function() { diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 328919144e6..5c76a13ef0d 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -206,7 +206,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.$el.find(".oe_form_group_row,.oe_form_field,label").on('click', function (e) { if(self.get("actual_mode") == "view") { var $button = self.options.$buttons.find(".oe_form_button_edit"); - $button.css('box-sizing', 'content-box').effect('bounce', {distance: 18, times: 5}, 250); + $button.openerpBounce(); e.stopPropagation(); instance.web.bus.trigger('click', e); } @@ -215,7 +215,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.$el.find(".oe_form_field_status:not(.oe_form_status_clickable)").on('click', function (e) { if((self.get("actual_mode") == "view")) { var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','clear':'none'}); - $button.effect('bounce', {distance:18, times: 5}, 250); + $button.openerpBounce(); e.stopPropagation(); } }); diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 8420a870eec..4687b3cb2ba 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -833,7 +833,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi ); var create_nocontent = this.$buttons; this.$el.find('.oe_view_nocontent').click(function() { - create_nocontent.effect('bounce', {distance: 18, times: 5}, 250); + create_nocontent.openerpBounce(); }); } }); diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 915fff2f567..71e8336d0eb 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -52,7 +52,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ this._super.apply(this, arguments); this.$el.on('click', '.oe_kanban_dummy_cell', function() { if (self.$buttons) { - self.$buttons.find('.oe_kanban_add_column').effect('bounce', {distance: 18, times: 5}, 250); + self.$buttons.find('.oe_kanban_add_column').openerpBounce(); } }); }, @@ -471,7 +471,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ ); var create_nocontent = this.$buttons; this.$el.find('.oe_view_nocontent').click(function() { - create_nocontent.effect('bounce', {distance: 18, times: 5}, 250); + create_nocontent.openerpBounce(); }); }, @@ -615,7 +615,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({ this.$records.find(".oe_kanban_column_cards").click(function (ev) { if (ev.target == ev.currentTarget) { if (!self.state.folded) { - add_btn.effect('bounce', {distance: 18, times: 5}, 250); + add_btn.openerpBounce(); } } }); From bcd4686ad8c86d4bcafe555ef342fb0bc70e87a6 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 19 Dec 2012 16:15:50 +0100 Subject: [PATCH 10/12] [FIX] osv exception message not displayed anymore Reverted part of revid:chs@openerp.com-20121108145001-pswe7r5ss4nzgu00 bzr revid: fme@openerp.com-20121219151550-6lkn996jxdv2r7x2 --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a3fd74bfb00..885c5f84572 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -40,7 +40,7 @@

- var message = d.error.message ? d.error.message : d.error.data.fault_code; + var message = d.message ? d.message : d.error.data.fault_code; d.html_error = context.engine.tools.html_escape(message) .replace(/\n/g, '
');
From f14a8b9aac07a0cf8c346adf53b856a4c01ec07c Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Wed, 19 Dec 2012 16:45:05 +0100 Subject: [PATCH 11/12] [IMP] version_info more info bzr revid: al@openerp.com-20121219154505-lcartslny586t07n --- addons/web/controllers/main.py | 4 +--- addons/web/static/src/xml/base.xml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 0d5194829ad..6d12f8a49fe 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -679,9 +679,7 @@ class WebClient(openerpweb.Controller): @openerpweb.jsonrequest def version_info(self, req): - return { - "version": openerp.release.version - } + return openerp.service.web_services.RPC_VERSION_1 class Proxy(openerpweb.Controller): _cp_path = '/web/proxy' diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 885c5f84572..877a2c183ee 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -412,7 +412,7 @@

Activate the developer mode -

Version

+

Version

Copyright © 2004-TODAY OpenERP SA. All Rights Reserved.
From b33e5309c39df29f3035d6dd7246aca7412dbcf8 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 19 Dec 2012 16:47:17 +0100 Subject: [PATCH 12/12] [IMP] Improved kanban style bzr revid: fme@openerp.com-20121219154717-61fe54e66q6f2rs5 --- addons/web_kanban/static/src/css/kanban.css | 6 ++---- addons/web_kanban/static/src/css/kanban.sass | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/addons/web_kanban/static/src/css/kanban.css b/addons/web_kanban/static/src/css/kanban.css index 4d50f73d2cf..325f92b621d 100644 --- a/addons/web_kanban/static/src/css/kanban.css +++ b/addons/web_kanban/static/src/css/kanban.css @@ -1,3 +1,4 @@ +@charset "utf-8"; .openerp .oe_kanban_view { background: white; height: inherit; @@ -108,10 +109,7 @@ padding: 0px; background: white; } -.openerp .oe_kanban_view .oe_kanban_column { - height: 100%; -} -.openerp .oe_kanban_view .oe_kanban_column .oe_kanban_column_cards{ +.openerp .oe_kanban_view .oe_kanban_column, .openerp .oe_kanban_view .oe_kanban_column_cards { height: 100%; } .openerp .oe_kanban_view .oe_kanban_aggregates { diff --git a/addons/web_kanban/static/src/css/kanban.sass b/addons/web_kanban/static/src/css/kanban.sass index 84de3e32842..c115862ef0a 100644 --- a/addons/web_kanban/static/src/css/kanban.sass +++ b/addons/web_kanban/static/src/css/kanban.sass @@ -135,7 +135,7 @@ padding: 0px background: #ffffff - .oe_kanban_column + .oe_kanban_column, .oe_kanban_column_cards height: 100% .oe_kanban_aggregates padding: 0