From bf7d435d36d15034bfd894f95fe2aa6ae9476943 Mon Sep 17 00:00:00 2001 From: eLBati Date: Sat, 18 Feb 2012 14:53:55 +0100 Subject: [PATCH 01/17] Adding witholding tax. Setting 'debiti per ritenute da versare' as payable in order to handle it along with the due payments. See http://wiki.openerp-italia.org/doku.php/area_utente/requisiti/ritenuta_d_acconto#openerp bzr revid: lorenzo.battistini@agilebg.com-20120218135355-428k5v2dn8zv2ksw --- .../l10n_it/data/account.account.template.csv | 2 +- .../data/account.tax.code.template.csv | 127 +++++++++--------- addons/l10n_it/data/account.tax.template.csv | 1 + 3 files changed, 67 insertions(+), 63 deletions(-) diff --git a/addons/l10n_it/data/account.account.template.csv b/addons/l10n_it/data/account.account.template.csv index ffa09039c56..47ae1388233 100644 --- a/addons/l10n_it/data/account.account.template.csv +++ b/addons/l10n_it/data/account.account.template.csv @@ -93,7 +93,7 @@ id,code,name,parent_id:id,user_type:id,type,reconcile 2530,2530,clienti c/acconti ,25,account_type_payable,payable,TRUE 26,26,DEBITI DIVERSI ,2,account_type_view,view,TRUE 2601,2601,IVA n/debito ,26,account_type_tax,other,TRUE -2602,2602,debiti per ritenute da versare ,26,account_type_tax,other,TRUE +2602,2602,debiti per ritenute da versare ,26,account_type_payable,payable,TRUE 2605,2605,erario c/IVA ,26,account_type_payable,payable,TRUE 2606,2606,debiti per imposte ,26,account_type_tax,other,TRUE 2619,2619,debiti per cauzioni ,26,account_type_asset,other,TRUE diff --git a/addons/l10n_it/data/account.tax.code.template.csv b/addons/l10n_it/data/account.tax.code.template.csv index 40f0545aff9..290396052f4 100644 --- a/addons/l10n_it/data/account.tax.code.template.csv +++ b/addons/l10n_it/data/account.tax.code.template.csv @@ -1,62 +1,65 @@ -"code","id","name","parent_id:id" -,"vat_code_chart_root","Tassazione", -"IVC","template_ivacode_pagata","IVA a credito","vat_code_chart_root" -"IVC0","template_ivacode_pagata_0","Esente IVA (credito)","template_ivacode_pagata" -"IVCI","template_impcode_pagata","IVA a credito (imponibile)","vat_code_chart_root" -"IVC0I","template_impcode_pagata_0","Esente IVA a credito (imponibile)","template_impcode_pagata" -"IVC10","template_ivacode_pagata_10","IVA a credito 10%","template_ivacode_pagata" -"IVC10I","template_impcode_pagata_10","IVA a credito 10% (imponibile)","template_impcode_pagata" -"IVC10ind","template_ivacode_pagata_10ind","IVA a credito 10% indetraibile","template_ivacode_pagata" -"IVC10Iind","template_impcode_pagata_10ind","IVA a credito 10% indetraibile (imponibile)","template_impcode_pagata" -"IVC20ind","template_ivacode_pagata_20ind","IVA a credito 20% indetraibile","template_ivacode_pagata" -"IVC20Iind","template_impcode_pagata_20ind","IVA a credito 20% indetraibile (imponibile)","template_impcode_pagata" -"IVC4ind","template_ivacode_pagata_4ind","IVA a credito 4% indetraibile","template_ivacode_pagata" -"IVC4Iind","template_impcode_pagata_4ind","IVA a credito 4% indetraibile (imponibile)","template_impcode_pagata" -"IVC20det10","template_ivacode_pagata_20det10","IVA a credito 20% detraibile 10%","template_ivacode_pagata" -"IVC20Idet10","template_impcode_pagata_20det10","IVA a credito 20% detraibile 10% (imponibile)","template_impcode_pagata" -"IVC20det15","template_ivacode_pagata_20det15","IVA a credito 20% detraibile 15%","template_ivacode_pagata" -"IVC20Idet15","template_impcode_pagata_20det15","IVA a credito 20% detraibile 15% (imponibile)","template_impcode_pagata" -"IVC20det40","template_ivacode_pagata_20det40","IVA a credito 20% detraibile 40%","template_ivacode_pagata" -"IVC20Idet40","template_impcode_pagata_20det40","IVA a credito 20% detraibile 40% (imponibile)","template_impcode_pagata" -"IVC20det50","template_ivacode_pagata_20det50","IVA a credito 20% detraibile 50%","template_ivacode_pagata" -"IVC20Idet50","template_impcode_pagata_20det50","IVA a credito 20% detraibile 50% (imponibile)","template_impcode_pagata" -"IVC10det50","template_ivacode_pagata_10det50","IVA a credito 10% detraibile 50%","template_ivacode_pagata" -"IVC10Idet50","template_impcode_pagata_10det50","IVA a credito 10% detraibile 50% (imponibile)","template_impcode_pagata" -"IVC4det50","template_ivacode_pagata_4det50","IVA a credito 4% detraibile 50%","template_ivacode_pagata" -"IVC4Idet50","template_impcode_pagata_4det50","IVA a credito 4% detraibile 50% (imponibile)","template_impcode_pagata" -"IVC20","template_ivacode_pagata_20","IVA a credito 20%","template_ivacode_pagata" -"IVC20I","template_impcode_pagata_20","IVA a credito 20% (imponibile)","template_impcode_pagata" -"IVC21","template_ivacode_pagata_21","IVA a credito 21%","template_ivacode_pagata" -"IVC21I","template_impcode_pagata_21","IVA a credito 21% (imponibile)","template_impcode_pagata" -"IVC4","template_ivacode_pagata_4","IVA a credito 4%","template_ivacode_pagata" -"IVC4I","template_impcode_pagata_4","IVA a credito 4% (imponibile)","template_impcode_pagata" -"IVC12","template_ivacode_pagata_12","IVA a credito 12%","template_ivacode_pagata" -"IVC12I","template_impcode_pagata_12","IVA a credito 12% (imponibile)","template_impcode_pagata" -"IVC2","template_ivacode_pagata_2","IVA a credito 2%","template_ivacode_pagata" -"IVC2I","template_impcode_pagata_2","IVA a credito 2% (imponibile)","template_impcode_pagata" -"IVD","template_ivacode_riscossa","IVA a debito","vat_code_chart_root" -"IVD0","template_ivacode_riscossa_0","Esente IVA (debito)","template_ivacode_riscossa" -"IVDI","template_impcode_riscossa","IVA a debito (imponibile)","vat_code_chart_root" -"IVD0I","template_impcode_riscossa_0","Esente IVA a debito (imponibile)","template_impcode_riscossa" -"IVD10","template_ivacode_riscossa_10","IVA a debito 10%","template_ivacode_riscossa" -"IVD10I","template_impcode_riscossa_10","IVA a debito 10% (imponibile)","template_impcode_riscossa" -"IVD20","template_ivacode_riscossa_20","IVA a debito 20%","template_ivacode_riscossa" -"IVD20I","template_impcode_riscossa_20","IVA a debito 20% (imponibile)","template_impcode_riscossa" -"IVD21","template_ivacode_riscossa_21","IVA a debito 21%","template_ivacode_riscossa" -"IVD21I","template_impcode_riscossa_21","IVA a debito 21% (imponibile)","template_impcode_riscossa" -"IVD4","template_ivacode_riscossa_4","IVA a debito 4%","template_ivacode_riscossa" -"IVD4I","template_impcode_riscossa_4","IVA a debito 4% (imponibile)","template_impcode_riscossa" -"IVD12","template_ivacode_riscossa_12","IVA a debito 12%","template_ivacode_riscossa" -"IVD12I","template_impcode_riscossa_12","IVA a debito 12% (imponibile)","template_impcode_riscossa" -"IVD2","template_ivacode_riscossa_2","IVA a debito 2%","template_ivacode_riscossa" -"IVD2I","template_impcode_riscossa_2","IVA a debito 2% (imponibile)","template_impcode_riscossa" -"IVC21ind","template_ivacode_pagata_21ind","IVA a credito 21% indetraibile","template_ivacode_pagata" -"IVC21Iind","template_impcode_pagata_21ind","IVA a credito 21% indetraibile (imponibile)","template_impcode_pagata" -"IVC21det10","template_ivacode_pagata_21det10","IVA a credito 21% detraibile 10%","template_ivacode_pagata" -"IVC21Idet10","template_impcode_pagata_21det10","IVA a credito 21% detraibile 10% (imponibile)","template_impcode_pagata" -"IVC21det15","template_ivacode_pagata_21det15","IVA a credito 21% detraibile 15%","template_ivacode_pagata" -"IVC21Idet15","template_impcode_pagata_21det15","IVA a credito 21% detraibile 15% (imponibile)","template_impcode_pagata" -"IVC21det40","template_ivacode_pagata_21det40","IVA a credito 21% detraibile 40%","template_ivacode_pagata" -"IVC21Idet40","template_impcode_pagata_21det40","IVA a credito 21% detraibile 40% (imponibile)","template_impcode_pagata" -"IVC21det50","template_ivacode_pagata_21det50","IVA a credito 21% detraibile 50%","template_ivacode_pagata" -"IVC21Idet50","template_impcode_pagata_21det50","IVA a credito 21% detraibile 50% (imponibile)","template_impcode_pagata" +code,id,name,parent_id:id +,vat_code_chart_root,Tassazione, +IVC,template_ivacode_pagata,IVA a credito,vat_code_chart_root +IVC0,template_ivacode_pagata_0,Esente IVA (credito),template_ivacode_pagata +IVCI,template_impcode_pagata,IVA a credito (imponibile),vat_code_chart_root +IVC0I,template_impcode_pagata_0,Esente IVA a credito (imponibile),template_impcode_pagata +IVC10,template_ivacode_pagata_10,IVA a credito 10%,template_ivacode_pagata +IVC10I,template_impcode_pagata_10,IVA a credito 10% (imponibile),template_impcode_pagata +IVC10ind,template_ivacode_pagata_10ind,IVA a credito 10% indetraibile,template_ivacode_pagata +IVC10Iind,template_impcode_pagata_10ind,IVA a credito 10% indetraibile (imponibile),template_impcode_pagata +IVC20ind,template_ivacode_pagata_20ind,IVA a credito 20% indetraibile,template_ivacode_pagata +IVC20Iind,template_impcode_pagata_20ind,IVA a credito 20% indetraibile (imponibile),template_impcode_pagata +IVC4ind,template_ivacode_pagata_4ind,IVA a credito 4% indetraibile,template_ivacode_pagata +IVC4Iind,template_impcode_pagata_4ind,IVA a credito 4% indetraibile (imponibile),template_impcode_pagata +IVC20det10,template_ivacode_pagata_20det10,IVA a credito 20% detraibile 10%,template_ivacode_pagata +IVC20Idet10,template_impcode_pagata_20det10,IVA a credito 20% detraibile 10% (imponibile),template_impcode_pagata +IVC20det15,template_ivacode_pagata_20det15,IVA a credito 20% detraibile 15%,template_ivacode_pagata +IVC20Idet15,template_impcode_pagata_20det15,IVA a credito 20% detraibile 15% (imponibile),template_impcode_pagata +IVC20det40,template_ivacode_pagata_20det40,IVA a credito 20% detraibile 40%,template_ivacode_pagata +IVC20Idet40,template_impcode_pagata_20det40,IVA a credito 20% detraibile 40% (imponibile),template_impcode_pagata +IVC20det50,template_ivacode_pagata_20det50,IVA a credito 20% detraibile 50%,template_ivacode_pagata +IVC20Idet50,template_impcode_pagata_20det50,IVA a credito 20% detraibile 50% (imponibile),template_impcode_pagata +IVC10det50,template_ivacode_pagata_10det50,IVA a credito 10% detraibile 50%,template_ivacode_pagata +IVC10Idet50,template_impcode_pagata_10det50,IVA a credito 10% detraibile 50% (imponibile),template_impcode_pagata +IVC4det50,template_ivacode_pagata_4det50,IVA a credito 4% detraibile 50%,template_ivacode_pagata +IVC4Idet50,template_impcode_pagata_4det50,IVA a credito 4% detraibile 50% (imponibile),template_impcode_pagata +IVC20,template_ivacode_pagata_20,IVA a credito 20%,template_ivacode_pagata +IVC20I,template_impcode_pagata_20,IVA a credito 20% (imponibile),template_impcode_pagata +IVC21,template_ivacode_pagata_21,IVA a credito 21%,template_ivacode_pagata +IVC21I,template_impcode_pagata_21,IVA a credito 21% (imponibile),template_impcode_pagata +IVC4,template_ivacode_pagata_4,IVA a credito 4%,template_ivacode_pagata +IVC4I,template_impcode_pagata_4,IVA a credito 4% (imponibile),template_impcode_pagata +IVC12,template_ivacode_pagata_12,IVA a credito 12%,template_ivacode_pagata +IVC12I,template_impcode_pagata_12,IVA a credito 12% (imponibile),template_impcode_pagata +IVC2,template_ivacode_pagata_2,IVA a credito 2%,template_ivacode_pagata +IVC2I,template_impcode_pagata_2,IVA a credito 2% (imponibile),template_impcode_pagata +IVD,template_ivacode_riscossa,IVA a debito,vat_code_chart_root +IVD0,template_ivacode_riscossa_0,Esente IVA (debito),template_ivacode_riscossa +IVDI,template_impcode_riscossa,IVA a debito (imponibile),vat_code_chart_root +IVD0I,template_impcode_riscossa_0,Esente IVA a debito (imponibile),template_impcode_riscossa +IVD10,template_ivacode_riscossa_10,IVA a debito 10%,template_ivacode_riscossa +IVD10I,template_impcode_riscossa_10,IVA a debito 10% (imponibile),template_impcode_riscossa +IVD20,template_ivacode_riscossa_20,IVA a debito 20%,template_ivacode_riscossa +IVD20I,template_impcode_riscossa_20,IVA a debito 20% (imponibile),template_impcode_riscossa +IVD21,template_ivacode_riscossa_21,IVA a debito 21%,template_ivacode_riscossa +IVD21I,template_impcode_riscossa_21,IVA a debito 21% (imponibile),template_impcode_riscossa +IVD4,template_ivacode_riscossa_4,IVA a debito 4%,template_ivacode_riscossa +IVD4I,template_impcode_riscossa_4,IVA a debito 4% (imponibile),template_impcode_riscossa +IVD12,template_ivacode_riscossa_12,IVA a debito 12%,template_ivacode_riscossa +IVD12I,template_impcode_riscossa_12,IVA a debito 12% (imponibile),template_impcode_riscossa +IVD2,template_ivacode_riscossa_2,IVA a debito 2%,template_ivacode_riscossa +IVD2I,template_impcode_riscossa_2,IVA a debito 2% (imponibile),template_impcode_riscossa +IVC21ind,template_ivacode_pagata_21ind,IVA a credito 21% indetraibile,template_ivacode_pagata +IVC21Iind,template_impcode_pagata_21ind,IVA a credito 21% indetraibile (imponibile),template_impcode_pagata +IVC21det10,template_ivacode_pagata_21det10,IVA a credito 21% detraibile 10%,template_ivacode_pagata +IVC21Idet10,template_impcode_pagata_21det10,IVA a credito 21% detraibile 10% (imponibile),template_impcode_pagata +IVC21det15,template_ivacode_pagata_21det15,IVA a credito 21% detraibile 15%,template_ivacode_pagata +IVC21Idet15,template_impcode_pagata_21det15,IVA a credito 21% detraibile 15% (imponibile),template_impcode_pagata +IVC21det40,template_ivacode_pagata_21det40,IVA a credito 21% detraibile 40%,template_ivacode_pagata +IVC21Idet40,template_impcode_pagata_21det40,IVA a credito 21% detraibile 40% (imponibile),template_impcode_pagata +IVC21det50,template_ivacode_pagata_21det50,IVA a credito 21% detraibile 50%,template_ivacode_pagata +IVC21Idet50,template_impcode_pagata_21det50,IVA a credito 21% detraibile 50% (imponibile),template_impcode_pagata +Rit,template_ra,Ritenute d'acconto,vat_code_chart_root +RitD20,template_ritcode_20,Ritenute a debito 20%,template_ra +RitD20I,template_ritimpcode_20,Ritenute a debito 20% (imponibile),template_ra diff --git a/addons/l10n_it/data/account.tax.template.csv b/addons/l10n_it/data/account.tax.template.csv index 641f495dd72..36c4f99db79 100644 --- a/addons/l10n_it/data/account.tax.template.csv +++ b/addons/l10n_it/data/account.tax.template.csv @@ -62,3 +62,4 @@ id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depe 21I5,21I5,l10n_it_chart_template_generic,IVA al 21% detraibile al 50%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det50,,template_impcode_pagata_21det50,,,,False,-1,-1 21I5b,21I5b,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (I),1,0.5,21I5,False,percent,,,purchase,,,,,,,False,, 21I5a,21I5a,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (D),2,0,21I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det50,,template_ivacode_pagata_21det50,,,False,, +rit-20,rit-20,l10n_it_chart_template_generic,Ritenuta d'acconto al 20% (debito),,-0.2,,False,percent,2602,2602,purchase,template_ritimpcode_20,template_ritcode_20,template_ritimpcode_20,template_ritcode_20,-1,1,False,1,-1 From aeed94a157e32b3f0685560a0031bfdad8d7e657 Mon Sep 17 00:00:00 2001 From: Cubic ERP Date: Sat, 20 Oct 2012 00:55:07 -0500 Subject: [PATCH 02/17] [ADD] l10n_pa bzr revid: info@cubicerp.com-20121020055507-967u3cn97egdwx2p --- addons/l10n_pa/__init__.py | 32 ++++ addons/l10n_pa/__openerp__.py | 54 ++++++ addons/l10n_pa/account_tax.xml | 34 ++++ addons/l10n_pa/account_tax_code.xml | 94 ++++++++++ addons/l10n_pa/l10n_pa_chart.xml | 250 +++++++++++++++++++++++++ addons/l10n_pa/l10n_pa_wizard.xml | 15 ++ addons/l10n_pa/static/src/img/icon.png | Bin 0 -> 6903 bytes 7 files changed, 479 insertions(+) create mode 100644 addons/l10n_pa/__init__.py create mode 100644 addons/l10n_pa/__openerp__.py create mode 100644 addons/l10n_pa/account_tax.xml create mode 100644 addons/l10n_pa/account_tax_code.xml create mode 100644 addons/l10n_pa/l10n_pa_chart.xml create mode 100644 addons/l10n_pa/l10n_pa_wizard.xml create mode 100644 addons/l10n_pa/static/src/img/icon.png diff --git a/addons/l10n_pa/__init__.py b/addons/l10n_pa/__init__.py new file mode 100644 index 00000000000..92da5dbf966 --- /dev/null +++ b/addons/l10n_pa/__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_pa/__openerp__.py b/addons/l10n_pa/__openerp__.py new file mode 100644 index 00000000000..e63296f89e6 --- /dev/null +++ b/addons/l10n_pa/__openerp__.py @@ -0,0 +1,54 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2011 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": "Panama Localization Chart Account", + "version": "1.0", + "description": """ +Panamenian accounting chart and tax localization. + +Plan contable panameño e impuestos de acuerdo a disposiciones vigentes + +Con la Colaboración de +- AHMNET CORP http://www.ahmnet.com + + """, + "author": "Cubic ERP", + "website": "http://cubicERP.com", + "category": "Localization/Account Charts", + "depends": [ + "account_chart", + ], + "data":[ + "account_tax_code.xml", + "l10n_pa_chart.xml", + "account_tax.xml", + "l10n_pa_wizard.xml", + ], + "demo_xml": [ + ], + "update_xml": [ + ], + "active": False, + "installable": True, + "certificate" : "", + 'images': ['images/config_chart_l10n_cl.jpeg','images/l10n_cl_chart.jpeg'], +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_pa/account_tax.xml b/addons/l10n_pa/account_tax.xml new file mode 100644 index 00000000000..f08d940ad84 --- /dev/null +++ b/addons/l10n_pa/account_tax.xml @@ -0,0 +1,34 @@ + + + + + + + ITBMS 7% Venta + 0.070000 + percent + sale + + + + + + + + + + + ITBMS 7% Compra + 0.070000 + percent + purchase + + + + + + + + + + diff --git a/addons/l10n_pa/account_tax_code.xml b/addons/l10n_pa/account_tax_code.xml new file mode 100644 index 00000000000..05bf4cf14bf --- /dev/null +++ b/addons/l10n_pa/account_tax_code.xml @@ -0,0 +1,94 @@ + + + + + + Panamá Impuestos + + + Base Imponible + + + + Base Imponible - Ventas + + + + Ventas Gravadas con ITBMS + + + + Ventas NO Gravadas (Exoneradas) + + + + Ventas Gravadas Fuera de Ámbito + + + + Base Imponible - Compras + + + + Compras Gravadas con ITBMS + + + + Compras NO Gravadas (Exoneradas) + + + + Compras Gravadas Fuera de Ámbito + + + + + Impuesto General a las Ventas (ITBMS) Total a Pagar + + + + Impuesto Pagado + + + + Impuesto Pagado ITBMS + + -1 + + + Impuesto Pagado de Exonerados al ITBMS + + -1 + + + Impuesto Pagado Fuera de Ámbito + + -1 + + + Impuesto Cobrado + + + + Impuesto Cobrado ITBMS + + + + Impuesto Cobrado de Exonerados al ITBMS + + + + Impuesto Cobrado Fuera de Ámbito + + + + + Impuestos Directos a Pagar + + + + Impuesto sobre la Renta a Pagar + + + + diff --git a/addons/l10n_pa/l10n_pa_chart.xml b/addons/l10n_pa/l10n_pa_chart.xml new file mode 100644 index 00000000000..cac8d3bdae4 --- /dev/null +++ b/addons/l10n_pa/l10n_pa_chart.xml @@ -0,0 +1,250 @@ + + + + + + + + + + detailBG_ACC_20Inversionesasset + + unreconciledBG_ACC_50Otras Cuentas por Cobrarasset + balanceBG_ACC_60Inventariosasset + + + + detailBG_ACN_60Otros Activos No Corrientesasset + + unreconciledBG_PAC_10Obligaciones Bancariasliability + + unreconciledBG_PAC_35Salarios por Pagarliability + unreconciledBG_PAC_40Gastos e impuestos acumulados por pagarliability + unreconciledBG_PAC_45Otras Cuentas por Pagarliability + + unreconciledBG_PAN_10Prestamos por Pagarliability + unreconciledBG_PAN_20Otros Cuentas por Pagar No Corrientesliability + unreconciledBG_PAN_40Otras Provisiones No Corrientesliability + + balanceBG_PTN_10Patrimonio Netoliability + + + noneEGP_FU_030Costo de Ventasexpense + noneEGP_FU_040Gastos de Administraciónexpense + unreconciledEGP_FU_060Ingresos Financierosincome + noneEGP_FU_070Gastos Financierosexpense + noneEGP_FU_080Otros Ingresosincome + noneEGP_FU_090Otros Gastosexpense + noneEGP_FU_160Ganancia (Pérdida)income + + noneEGP_NA_010Comprasnone + + noneORDCuentas de Ordennone + + noneNCLASIFICADOCuentas No Clasificadasnone + + + + + Panamá + pcge + + view + + + Balance General + .1.BG + + + view + + + ACTIVOS1view + Caja y Bancos11view + Caja y Bancos - Caja111view + Caja y Bancos - Caja / efectivo PAB111.001liquidity + Caja y Bancos - Moneda Extranjera112view + Caja y Bancos - Caja / efectivo USD112.001liquidity + Caja y Bancos - Fondos fijos113view + Caja y Bancos - Fondos fijos / caja menuda 01 PAB113.001liquidity + Caja y Bancos - Bancos114view + Caja y Bancos.../ BCO. CTA CTE PAB114.001liquidity + Caja y Bancos - Valores a Depositar 115other + Caja y Bancos - Recaudaciones a Depositar 116other + Cuentas por Cobrar12view + Cuentas por Cobrar / Deudores por Ventas121receivable1 + Cuentas por Cobrar / Deudores Morosos122receivable1 + Cuentas por Cobrar / Deudores en Gestión Judicial123receivable + Cuentas por Cobrar / Deudores Varios124receivable + Cuentas por Cobrar / (-) Previsión para Incobrables125receivable1 + Otras Cuentas por Cobrar13view + Otras Cuentas por Cobrar / Préstamos otorgados131receivable + Otras Cuentas por Cobrar / Anticipos a Proveedores132receivable + Otras Cuentas por Cobrar / Anticipo de Impuestos133receivable + Otras Cuentas por Cobrar / Anticipo al Personal134receivable + Otras Cuentas por Cobrar / Alquileres Pagados por Adelantado135receivable + Otras Cuentas por Cobrar / Intereses Pagados por Adelantado136receivable + Otras Cuentas por Cobrar / Accionistas137receivable + Otras Cuentas por Cobrar / (-) Previsión para Descuentos138receivable + Otras Cuentas por Cobrar / (-) Intereses (+) a Devengar139receivable + Inversiones Financieras14view + Inversiones / Acciones Transitorias141other + Inversiones / Acciones Permanentes142other + Inversiones / Títulos Públicos143other + Inversiones / (-) Previsión para Devalorización de Acciones144other + Inventarios15view + Inventarios - Mercancias151view + Inventarios - Mercancias / Categoria de productos 01151.01other + Inventarios - Mercancias en Tránsito152other + Materias primas153other + Productos en Curso de Elaboración154other + Productos Elaborados155other + Materiales Varios 156other + (-) Previsión para Desvalorización de Inventarios157other + Activo Fijo16view + Activo Fijo / Inmuebles161other + Activo Fijo / Maquinaria162other + Activo Fijo / Equipos163other + Activo Fijo / Material Rodante Motorizado164other + Activo Fijo / (-) Depreciación Acumulada165other + Activo Intangible17view + Activo Intangible / Derecho de Llaves171other + Activo Intangible / Concesiones y Franquicias172other + Activo Intangible / Marcas y Patentes de Invención173other + Activo Intangible / (-) Amortización Acumulada174other + PASIVOS2view + Cuentas por Pagar21view + Cuentas por Pagar / Proveedores211payable1 + Cuentas por Pagar / Anticipos de Clientes212payable1 + Cuentas por Pagar / (-) Intereses a Devengar por Compras al Crédito213payable1 + Pasivo Circulante22view + Pasivo Circulante / Adelantos en Cuenta Corriente221payable + Pasivo Circulante / Prestamos222payable + Pasivo Circulante / Obligaciones a Pagar223payable + Pasivo Circulante / Intereses a Pagar224payable + Pasivo Circulante / Debentures Emitidos225payable + Impuestos por Pagar23view + Impuestos por Pagar / ITBMS a Pagar231other + Impuestos por Pagar / Impuesto sobre la Renta a Pagar232other + Salarios por Pagar24view + Salarios por Pagar / Sueldos a Pagar241payable + Salarios por Pagar / Cargas Sociales a Pagar242payable + Salarios por Pagar / Provisión para Sueldo Anual Complementario243payable + Salarios por Pagar / Retenciones a Depositar244payable + Otras Cuentas por Pagar25view + Otras Cuentas por Pagar / Acreedores Varios251payable + Otras Cuentas por Pagar / Dividendos a Pagar252payable + Otras Cuentas por Pagar / Cobros por Adelantado253payable + Otras Cuentas por Pagar / Honorarios Directores y Síndicos a Pagar254payable + Provisiones26view + Provisiones / Previsión Indemnización por Despidos261payable + Provisiones / Previsión para juicios Pendientes262payable + Provisiones / Previsión para Garantías por Service263payable + PATRIMONIO3view + Capital31view + Capital / Capital Propio311other + Capital / Acciones en Circulación312other + Capital / Dividendos a Distribuir en Acciones313other + Capital / (-) 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 Activo Fijo331other + Futuras Eventualidades34view + Reserva Legal341other + Reserva Estatutaria342other + Reserva Facultativa343other + Reserva para Renovación de Activo Fijo344other + Resultados No Asignados35view + Resultados Acumulados351other + Resultados Acumulados del Ejercicio Anterior352other + Utilidades y Pérdidas del Ejercicio353other + Resultado del Ejercicio354other + + + Estado de Resultado + .2.GP + + + view + + + INGRESOS4view + Ingresos Operativos41view + Ventas411view + Ventas - Categoria de productos 01411.01other + Intereses gananados, obtenidos, percibidos412other + Alquileres gananados, obtenidos, percibidos413other + Comisiones gananados, obtenidos, percibidos414other + Descuentos gananados, obtenidos, percibidos415other + Interese sobre Inversiones416other + Honorarios gananados, obtenidos, percibidos417other + Ganancia Venta de Acciones418other + Ingresos No Operativos42view + Recupero de Rezagos421other + Recupero de Deudores Incobrables422other + Ganancia Venta de Activo Fijo423other + Donaciones obtenidas, ganandas, percibidas424other + Ganancia Venta Inversiones Permanentes425other + GASTOS5view + Gastos Operativos51view + Gastos en Depreciación de Activo Fijo512other + Gastos en Amortización513other + Gastos en Salarios514other + Gastos en Cargas Sociales515other + Gastos en Impuestos516other + Gastos Bancarios517other + Gastos en Servicios Públicos518other + Gastos de Publicidad y Propaganda519other + Gastos No Operativos52view + Gastos en Siniestros521other + Donaciones Cedidas, Otorgadas522other + Pérdida Venta Activo Fijo523other + + + COSTOS6view + + Costo de Venta61view + Costo de Venta - Categoria de productos 0161.01other + + Compras62view + Compras - Categoria de productos 0162.01other + Costos de Producción63other + Gastos de Administración64other + Gastos de Comercialización65other + + + 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 + + + Panamá - Plan de Cuentas + + + + + + + + + + + + + diff --git a/addons/l10n_pa/l10n_pa_wizard.xml b/addons/l10n_pa/l10n_pa_wizard.xml new file mode 100644 index 00000000000..191230c5010 --- /dev/null +++ b/addons/l10n_pa/l10n_pa_wizard.xml @@ -0,0 +1,15 @@ + + + + + + Generate Chart of Accounts from a Chart Template + 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. + This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. + + + automatic + + + + diff --git a/addons/l10n_pa/static/src/img/icon.png b/addons/l10n_pa/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4388b0e59e212a00649b71236bf628818ff5cc9c GIT binary patch literal 6903 zcmZ{oS2!Hd)`rI*M(@#kC%Qyu^b);A5>bXI(FxIwKEoJBj~*m?m*{;EAxhLBY8bt@ z5aZ7|*XO@@*S^_n?e(mSZ?ETr8yRSk5-}11002@QZFQ4>C-gsn9{h{_N_Hav0PeAi znwpW0ni{*2kEf%H+iL)TAC+kS%X86;Mj7sDRq{}|upUW9n^0?R`m&XYv3l@H@%sZu{$;aTKXW1KBIt;eUr>`Ctpppu*GUP2d2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UoNzb4*`bkUge# zk@_K^ciu(!FBL(|GqXb{nt|N7IiKMk2N@|mPA0K$C zk-r*x0d1Yfiy8Og{EvdSSSQ)P>!$q%6e8JUR3q@MA71{1qcz6<=@FT{8H@Icm!$M< zASg_bSZRegTxa#CKcq}Cjd>TsD|;*|O^dCREg?*Q%RX{!jvUB!epLjrPDA5W^>AyL zs942sE4-eNi)jA#h!kKA`z&f|ok4S&VtJ_u#;cCz2d+<4h`0w2GdV(G$uheeZ(@l? zr3IF}Sy4)G&@zqODtc07Pq0!xxiZ{_6z7Eti^m#YUg!yPK^n$Fpw6B%Il}P=!AJP<>aJ!tc5!5M~Q*L}- z`=G-oLW$C5>0ja&sL!M5ab2597$jW9tuKEFF^d-CWt4GBdkw$ZInN1-@$xo4)Om%W zP!$HG25D6oN2Fbh(0qghQEs;*=(kAFQIdMPoIK{{>)v=m@Zd6suLFh@oRL@9#jsBm z0jLQ#SHTD%cWq@XoNB|rt*DaCCHAo|)K-KKO&PVu_@POxd7tg`-su<0zn197ASC2{0Piy9*h}%G$2S z{q_tgdAn>DY-U8zTtc(B|GhY?NaL5K-YYE`Ci{&Lx|cFcys4d!MquJU_Ab9RAPh>Q z-mg*5r5R)t4QrdvK*Tuo{>-k(s-5PQSg^f%jnI8X>h8NCC4^yTN{gQ7`B{H?@TfvJ z`xBaexB=l&JF>pcSv(2yv@?451({PFi##Za?Qz}vBILF141_p; Date: Wed, 14 Nov 2012 11:26:13 -0500 Subject: [PATCH 03/17] [ADD] l10n_pa bzr revid: info@cubicerp.com-20121114162613-8aol4kjjnh2ogoj7 --- addons/l10n_pa/account_tax.xml | 4 ++-- addons/l10n_pa/l10n_pa_chart.xml | 2 +- addons/l10n_pa/l10n_pa_wizard.xml | 17 ++++++----------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/addons/l10n_pa/account_tax.xml b/addons/l10n_pa/account_tax.xml index f08d940ad84..914ea54a348 100644 --- a/addons/l10n_pa/account_tax.xml +++ b/addons/l10n_pa/account_tax.xml @@ -3,7 +3,7 @@ - + ITBMS 7% Venta 0.070000 percent @@ -17,7 +17,7 @@ - + ITBMS 7% Compra 0.070000 percent diff --git a/addons/l10n_pa/l10n_pa_chart.xml b/addons/l10n_pa/l10n_pa_chart.xml index cac8d3bdae4..3f9c1b316ca 100644 --- a/addons/l10n_pa/l10n_pa_chart.xml +++ b/addons/l10n_pa/l10n_pa_chart.xml @@ -233,7 +233,7 @@ Acreedor por Garantías Otorgadas722other Acreedor por Documentos Descontados723other - + Panamá - Plan de Cuentas diff --git a/addons/l10n_pa/l10n_pa_wizard.xml b/addons/l10n_pa/l10n_pa_wizard.xml index 191230c5010..4de61247b90 100644 --- a/addons/l10n_pa/l10n_pa_wizard.xml +++ b/addons/l10n_pa/l10n_pa_wizard.xml @@ -1,15 +1,10 @@ - - - - Generate Chart of Accounts from a Chart Template - 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. - 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 + + From d950685cdc50f67ab3dc94d0947d92c46f3d0df1 Mon Sep 17 00:00:00 2001 From: Cubic ERP Date: Wed, 14 Nov 2012 13:18:57 -0500 Subject: [PATCH 04/17] [MOD] l10n_cl add ficon and l10n_ar add icon bzr revid: info@cubicerp.com-20121114181857-xpxtwc90j4upyi0o --- addons/l10n_ar/static/src/img/icon.png | Bin 0 -> 5098 bytes addons/l10n_cl/static/src/img/icon.png | Bin 0 -> 5153 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 addons/l10n_ar/static/src/img/icon.png create mode 100644 addons/l10n_cl/static/src/img/icon.png diff --git a/addons/l10n_ar/static/src/img/icon.png b/addons/l10n_ar/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e7a5bd66b5a11ed4c98583b2269a30d6e70a4ff1 GIT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aHTVjSZ1u;IV0_0tB(%*u@Op2I;vpq-790)-0o-! z+5?BJn=13l&bBTw5IcCy?KS)RC>pH=suW^F%Oge>mABdw$ZFA(AcaN6@WRM26se#Z ze&3pyelO65i1bYPJa7Ms!RyT+MJtHASgN1F zN95Y0``XsE@10G^AGp;#7!^p`u^cJZ6ovN@7mXCo+={kJZ6rgU}5oVlCq(1b1`b3um zP~BRTwgv$_&4v?PGyp!!d&r98|CX3z-Dj z`ZrZf%zd!73%pGwD=aun(}|?)mpf48t1CBpUj8M;mV&Ac%)utfzdl;Db-YUic=B6W z43Jp7z_mx@8LBwFNxMFCb?=jI{+u&AvGj=Hi)ekoR4i#Qwwmeu#0wJMQp3h8%P=(V zcJeu43$f~Acy(4Ocj+2G*FQHL*&xa-)s3ic?0)L-1ejF*uxn^S4RrRM{fMX`Qa>Cn z6}>AB>{2elcPcT~!emlMFJigj8rk^JA2_ig~ZuDv^Pc%0wAXB;rl Lfoa!kI=%cKq_vZ1 literal 0 HcmV?d00001 diff --git a/addons/l10n_cl/static/src/img/icon.png b/addons/l10n_cl/static/src/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4e28250cc7e7bd1484c14d53632343d8b665a9a0 GIT binary patch literal 5153 zcmd5<_ct33^i4t{cBz@#yVRzL*ojeU*Va&K?^T*2QLP%Snnjh0S!$J1d(<9{6t!nj zwbdr&+t1(dJ?DGAKivDyx$m5N-nl=#^Ioj6p$;t-j0yk%(CX%@mE#H zK>&bUz+FqrSWiof$2h>(#og;60HDb5?B0U!j5(8PtgmSSiyDuWPE1^P5E4**ii}^%ZCC2g@wfiu0hO?j2m<)}1 z*6A~~QCyt5*F$CxIQB+wlY`1YZ^E+~Ly5h@Du%pjl&?laH<`E&|Bbtn@ zFJsh|I$ID%bDgO^I#0oubBGog-5V7hJ&q|cqF)) z(Z{bi5$wuXQ^1PdwK%PvbXrd;=`(X*bX@GX6JDB$&hocdi=G>-vB?|)@h3XB6%Vgq zDX?m_<;^AF;qPz-S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J|oUc{xu6Gmp|3ayU{(81xvFGCfU~7Sf^QyxQv8jr>~jo%?dCg=f$aa$Z>kPH;3e(X z>#*|`RlCk;G(W=krL~_~)qQ$elzVet6QHJ&kbZov%-5^Oi9Q}M9gWY#`AY`Ke}Wqd z>5%6h|G17 zIN_3sNFPY)Mg|R4a_IU=WOtD`aJ2Ixl-BZyO;{xM-^DUXG|9JZ|sO5aP@ z8bzqw?0Q)rEEB=jBWwwbQ3&V|nU*SIK*P?S(|q*%!|TbD4iJJ_zIV~(!P>fxI}&ne z>Qt^Ck=9zZLQkBjm$rFkb;6iWAjq zzkF-Zs41d;9|dRep*w5qpI|b!;5jCqW~SV6cd!%p%o0kvkrB(a_4ua>qAg7LwpvzU z-mcL41@vtM^+->Ck)O>Faech`em?qFVQwt_UL5HDOj7%$im<=ig0=t&ZWlgGA=BL|MC4eM;j_gvZqnmNglf?NBOMF~o8=8rJ*u%V5CpNsPma5C{d5nMi^ z6{Pm?k9J)&iXdEO;_)Lpo}-lbxwG1abYn}bIo&7c&{I>IJQa-q@NC-9@N=8wZ$-{ZJ@aN~ z#bwBNvnxtH?D=}4yg9xp%|putJ@_@tH0xBOTASG(6<7znXkQdvXLIuKtb(vm&-ae#@&6F>D9o#?B$6fOEcNNTjyL*TcI+ior z74?<Q4k3b_q&KyF`sZIRb$9#Uhkm9g4+B>-1WHXr|?ngfn zN+kxUL*e3IJGOkZiXbaPavgvUU{Ky6?BpHTkG#r`Ed9}f_5XLNMQW!FP;Vz)7qrj- zuzmgNcQL>uy-x(2bP?tzgx`)pHMeCBjM!hOcGkF&A?}rEIp$w4~nhsI_ E1Jos%9RL6T literal 0 HcmV?d00001 From 7320093e0c21db32e89dc28616d82d99465ab586 Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Thu, 22 Nov 2012 12:32:12 +0530 Subject: [PATCH 05/17] [IMP]tracked res partner fields bzr revid: sgo@tinyerp.com-20121122070212-9vejb0bltb4ffeff --- openerp/addons/base/res/res_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index df42bb81521..4a3cb4b9676 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -195,7 +195,7 @@ class res_partner(osv.osv, format_address): help="The partner's timezone, used to output proper date and time values inside printed reports. " "It is important to set a value for this field. You should use the same timezone " "that is otherwise used to pick and render date and time values: your computer's timezone."), - 'user_id': fields.many2one('res.users', 'Salesperson', help='The internal user that is in charge of communicating with this contact if any.'), + 'user_id': fields.many2one('res.users', 'Salesperson', tracked=True, help='The internal user that is in charge of communicating with this contact if any.'), 'vat': fields.char('TIN', size=32, help="Tax Identification Number. Check the box if this contact is subjected to taxes. Used by the some of the legal statements."), 'bank_ids': fields.one2many('res.partner.bank', 'partner_id', 'Banks'), 'website': fields.char('Website', size=64, help="Website of Partner or Company"), From 8de8537c1e616deb203de865a8f6f70770da4fdc Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Mon, 10 Dec 2012 18:41:00 +0530 Subject: [PATCH 06/17] [IMP]add tracked attribute on fields bzr revid: sgo@tinyerp.com-20121210131100-v88knep1or2s5o03 --- openerp/osv/fields.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openerp/osv/fields.py b/openerp/osv/fields.py index ea84cae978e..9e438f74c29 100644 --- a/openerp/osv/fields.py +++ b/openerp/osv/fields.py @@ -80,7 +80,7 @@ class _column(object): # used to hide a certain field type in the list of field types _deprecated = False - def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, **args): + def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False,tracked=False, **args): """ The 'manual' keyword argument specifies if the field is a custom one. @@ -109,6 +109,7 @@ class _column(object): self.select = select self.manual = manual self.selectable = True + self.tracked = tracked self.group_operator = args.get('group_operator', False) self.groups = False # CSV list of ext IDs of groups that can access this field self.deprecated = False # Optional deprecation warning From ef4bc9b9c67ee750107a28350aed8a3008d5e8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 17 Dec 2012 20:10:59 +0100 Subject: [PATCH 07/17] [IMP] tracked: models now have a _track attribute, telling the subtype to use for logging tracked fields. tracked attribute on columns become _track_visibility, telling if a field must always be logged or only when changed (to keep context value in logging message). bzr revid: tde@openerp.com-20121217191059-g5jdm0yjee1gttta --- openerp/osv/fields.py | 13 +++++++------ openerp/osv/orm.py | 17 +++++++++++++++++ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/openerp/osv/fields.py b/openerp/osv/fields.py index 95b0ef67199..b7dff94b3f1 100644 --- a/openerp/osv/fields.py +++ b/openerp/osv/fields.py @@ -80,11 +80,12 @@ class _column(object): _symbol_f = _symbol_set _symbol_set = (_symbol_c, _symbol_f) _symbol_get = None - # used to hide a certain field type in the list of field types _deprecated = False + # used for automatic logging system if mail installed (should be 'on_change' or 'always') + _track_visibility = False - def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, tracked=False, **args): + def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, track_visibility=False, **args): """ The 'manual' keyword argument specifies if the field is a custom one. @@ -103,7 +104,7 @@ class _column(object): self.help = args.get('help', '') self.priority = priority self.change_default = change_default - self.ondelete = ondelete.lower() if ondelete else None # defaults to 'set null' in ORM + self.ondelete = ondelete.lower() if ondelete else None # defaults to 'set null' in ORM self.translate = translate self._domain = domain self._context = context @@ -113,14 +114,14 @@ class _column(object): self.select = select self.manual = manual self.selectable = True - self.tracked = tracked # Automatic logging system if mail installed + self._track_visibility = track_visibility self.group_operator = args.get('group_operator', False) self.groups = False # CSV list of ext IDs of groups that can access this field - self.deprecated = False # Optional deprecation warning + self.deprecated = False # Optional deprecation warning for a in args: if args[a]: setattr(self, a, args[a]) - + def restart(self): pass diff --git a/openerp/osv/orm.py b/openerp/osv/orm.py index eb5b9f29955..f5e46f71d1b 100644 --- a/openerp/osv/orm.py +++ b/openerp/osv/orm.py @@ -677,6 +677,23 @@ class BaseModel(object): _description = None _needaction = False + # Automatic logging system if mail installed + # _track = { + # 'field': { + # 'module.subtype_xml': lambda self, cr, uid, obj, context=None: obj.state == done, + # 'module.subtype_xml2': lambda self, cr, uid, obj, context=None: obj.state != done, + # }, + # 'field2': { + # ... + # }, + # } + # where + # :param string field: field name + # :param module.subtype_xml: xml_id of a mail.message.subtype (i.e. mail.mt_comment) + # :param obj: is a browse_record + # :param function lambda: returns whether the tracking should record using this subtype + _track = {} + # dict of {field:method}, with method returning the (name_get of records, {id: fold}) # to include in the _read_group, if grouped on this field _group_by_full = {} From 97e23c83f5f1e4cedbc15b16a8fff8b79e3affb4 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 18 Dec 2012 18:47:54 +0100 Subject: [PATCH 08/17] [IMP] company form view improved for logo bzr revid: fp@tinyerp.com-20121218174754-l5bxqao9xarr3ohk --- openerp/addons/base/res/res_company_view.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openerp/addons/base/res/res_company_view.xml b/openerp/addons/base/res/res_company_view.xml index 7cb461b2b68..06775d159ac 100644 --- a/openerp/addons/base/res/res_company_view.xml +++ b/openerp/addons/base/res/res_company_view.xml @@ -32,6 +32,11 @@ +
+

+ Click to set your company logo. +

+
From af9d8053646d9a5f69021d679cff1c868e5da366 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 18 Dec 2012 23:39:59 +0100 Subject: [PATCH 09/17] [REVERT] revert changes in the server bzr revid: fp@tinyerp.com-20121218223959-jstszixwv464umqj --- openerp/osv/fields.py | 13 ++++++------- openerp/osv/orm.py | 17 ----------------- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/openerp/osv/fields.py b/openerp/osv/fields.py index 1565d4c9b85..bc7fefa1713 100644 --- a/openerp/osv/fields.py +++ b/openerp/osv/fields.py @@ -80,12 +80,11 @@ class _column(object): _symbol_f = _symbol_set _symbol_set = (_symbol_c, _symbol_f) _symbol_get = None + # used to hide a certain field type in the list of field types _deprecated = False - # used for automatic logging system if mail installed (should be 'on_change' or 'always') - _track_visibility = False - def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, track_visibility=False, **args): + def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, tracked=False, **args): """ The 'manual' keyword argument specifies if the field is a custom one. @@ -104,7 +103,7 @@ class _column(object): self.help = args.get('help', '') self.priority = priority self.change_default = change_default - self.ondelete = ondelete.lower() if ondelete else None # defaults to 'set null' in ORM + self.ondelete = ondelete.lower() if ondelete else None # defaults to 'set null' in ORM self.translate = translate self._domain = domain self._context = context @@ -114,14 +113,14 @@ class _column(object): self.select = select self.manual = manual self.selectable = True - self._track_visibility = track_visibility + self.tracked = tracked # Automatic logging system if mail installed self.group_operator = args.get('group_operator', False) self.groups = False # CSV list of ext IDs of groups that can access this field - self.deprecated = False # Optional deprecation warning + self.deprecated = False # Optional deprecation warning for a in args: if args[a]: setattr(self, a, args[a]) - + def restart(self): pass diff --git a/openerp/osv/orm.py b/openerp/osv/orm.py index e2dada4e381..92eb8dad776 100644 --- a/openerp/osv/orm.py +++ b/openerp/osv/orm.py @@ -677,23 +677,6 @@ class BaseModel(object): _description = None _needaction = False - # Automatic logging system if mail installed - # _track = { - # 'field': { - # 'module.subtype_xml': lambda self, cr, uid, obj, context=None: obj.state == done, - # 'module.subtype_xml2': lambda self, cr, uid, obj, context=None: obj.state != done, - # }, - # 'field2': { - # ... - # }, - # } - # where - # :param string field: field name - # :param module.subtype_xml: xml_id of a mail.message.subtype (i.e. mail.mt_comment) - # :param obj: is a browse_record - # :param function lambda: returns whether the tracking should record using this subtype - _track = {} - # dict of {field:method}, with method returning the (name_get of records, {id: fold}) # to include in the _read_group, if grouped on this field _group_by_full = {} From b5382291f7a84fcb4932281508a20ee1c5e3a3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 19 Dec 2012 10:36:55 +0100 Subject: [PATCH 10/17] [REV] Reverted some changes that should not be present in server. bzr revid: tde@openerp.com-20121219093655-ts20h4rhu5whrdwm --- openerp/addons/base/res/res_partner.py | 2 +- openerp/osv/fields.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index c8eab491fc8..faf9ad16be7 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -202,7 +202,7 @@ class res_partner(osv.osv, format_address): "It is important to set a value for this field. You should use the same timezone " "that is otherwise used to pick and render date and time values: your computer's timezone."), 'tz_offset': fields.function(_get_tz_offset, type='char', size=5, string='Timezone offset', invisible=True), - 'user_id': fields.many2one('res.users', 'Salesperson', tracked=True, help='The internal user that is in charge of communicating with this contact if any.'), + 'user_id': fields.many2one('res.users', 'Salesperson', track_visibility=1, help='The internal user that is in charge of communicating with this contact if any.'), 'vat': fields.char('TIN', size=32, help="Tax Identification Number. Check the box if this contact is subjected to taxes. Used by the some of the legal statements."), 'bank_ids': fields.one2many('res.partner.bank', 'partner_id', 'Banks'), 'website': fields.char('Website', size=64, help="Website of Partner or Company"), diff --git a/openerp/osv/fields.py b/openerp/osv/fields.py index bc7fefa1713..bcbdad081ad 100644 --- a/openerp/osv/fields.py +++ b/openerp/osv/fields.py @@ -84,7 +84,7 @@ class _column(object): # used to hide a certain field type in the list of field types _deprecated = False - def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, tracked=False, **args): + def __init__(self, string='unknown', required=False, readonly=False, domain=None, context=None, states=None, priority=0, change_default=False, size=None, ondelete=None, translate=False, select=False, manual=False, **args): """ The 'manual' keyword argument specifies if the field is a custom one. @@ -113,7 +113,6 @@ class _column(object): self.select = select self.manual = manual self.selectable = True - self.tracked = tracked # Automatic logging system if mail installed self.group_operator = args.get('group_operator', False) self.groups = False # CSV list of ext IDs of groups that can access this field self.deprecated = False # Optional deprecation warning From 4936f0b6833725d8de5cb82a79fd097faa4a9d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 19 Dec 2012 11:25:39 +0100 Subject: [PATCH 11/17] [REM] partner: do not track user_id. bzr revid: tde@openerp.com-20121219102539-lvlbl2vh828602ra --- openerp/addons/base/res/res_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index faf9ad16be7..d236d867795 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -202,7 +202,7 @@ class res_partner(osv.osv, format_address): "It is important to set a value for this field. You should use the same timezone " "that is otherwise used to pick and render date and time values: your computer's timezone."), 'tz_offset': fields.function(_get_tz_offset, type='char', size=5, string='Timezone offset', invisible=True), - 'user_id': fields.many2one('res.users', 'Salesperson', track_visibility=1, help='The internal user that is in charge of communicating with this contact if any.'), + 'user_id': fields.many2one('res.users', 'Salesperson', help='The internal user that is in charge of communicating with this contact if any.'), 'vat': fields.char('TIN', size=32, help="Tax Identification Number. Check the box if this contact is subjected to taxes. Used by the some of the legal statements."), 'bank_ids': fields.one2many('res.partner.bank', 'partner_id', 'Banks'), 'website': fields.char('Website', size=64, help="Website of Partner or Company"), From 355dac7356652bde1b5cf2ea7cb132df53b10b76 Mon Sep 17 00:00:00 2001 From: "dle@openerp.com" <> Date: Thu, 20 Dec 2012 11:15:11 +0100 Subject: [PATCH 12/17] [FIX]Kanban view js not loaded when db created through command line bzr revid: dle@openerp.com-20121220101511-679v8e6ijsbaxj0y --- openerp/tools/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/config.py b/openerp/tools/config.py index 9717792a82a..e80b58ed998 100644 --- a/openerp/tools/config.py +++ b/openerp/tools/config.py @@ -484,7 +484,7 @@ class configmanager(object): if opt.server_wide_modules: openerp.conf.server_wide_modules = map(lambda m: m.strip(), opt.server_wide_modules.split(',')) else: - openerp.conf.server_wide_modules = ['web'] + openerp.conf.server_wide_modules = ['web','web_kanban'] if complete: openerp.modules.module.initialize_sys_path() openerp.modules.loading.open_openerp_namespace() From 3a9b6140c5c21dbd5ea7069f77b24a9bdc4c79e7 Mon Sep 17 00:00:00 2001 From: Arnaud Pineux Date: Thu, 20 Dec 2012 11:21:30 +0100 Subject: [PATCH 13/17] [IMP] l10n_it delete withholding tax. Courtesy of Agile BG bzr revid: api@openerp.com-20121220102130-b6rbrapv2ko3cowp --- addons/l10n_it/data/account.tax.code.template.csv | 3 --- addons/l10n_it/data/account.tax.template.csv | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/addons/l10n_it/data/account.tax.code.template.csv b/addons/l10n_it/data/account.tax.code.template.csv index 290396052f4..d6d6667f43b 100644 --- a/addons/l10n_it/data/account.tax.code.template.csv +++ b/addons/l10n_it/data/account.tax.code.template.csv @@ -60,6 +60,3 @@ IVC21det40,template_ivacode_pagata_21det40,IVA a credito 21% detraibile 40%,temp IVC21Idet40,template_impcode_pagata_21det40,IVA a credito 21% detraibile 40% (imponibile),template_impcode_pagata IVC21det50,template_ivacode_pagata_21det50,IVA a credito 21% detraibile 50%,template_ivacode_pagata IVC21Idet50,template_impcode_pagata_21det50,IVA a credito 21% detraibile 50% (imponibile),template_impcode_pagata -Rit,template_ra,Ritenute d'acconto,vat_code_chart_root -RitD20,template_ritcode_20,Ritenute a debito 20%,template_ra -RitD20I,template_ritimpcode_20,Ritenute a debito 20% (imponibile),template_ra diff --git a/addons/l10n_it/data/account.tax.template.csv b/addons/l10n_it/data/account.tax.template.csv index 9ce6f02c7f5..e003afd1a23 100644 --- a/addons/l10n_it/data/account.tax.template.csv +++ b/addons/l10n_it/data/account.tax.template.csv @@ -68,4 +68,4 @@ id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depe 21I5,21I5,l10n_it_chart_template_generic,IVA al 21% detraibile al 50%,,0.21,,True,percent,,,purchase,template_impcode_pagata_21det50,,template_impcode_pagata_21det50,,,,False,-1,-1 21I5b,21I5b,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (I),1,0.5,21I5,False,percent,,,purchase,,,,,,,False,, 21I5a,21I5a,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (D),2,0,21I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det50,,template_ivacode_pagata_21det50,,,False,, -rit-20,rit-20,l10n_it_chart_template_generic,Ritenuta d'acconto al 20% (debito),,-0.2,,False,percent,2602,2602,purchase,template_ritimpcode_20,template_ritcode_20,template_ritimpcode_20,template_ritcode_20,-1,1,False,1,-1 + From d84a100dd6d7de014703ede4ca290611bdec5cdd Mon Sep 17 00:00:00 2001 From: "dle@openerp.com" <> Date: Thu, 20 Dec 2012 11:43:45 +0100 Subject: [PATCH 14/17] [ADD]form in action quick journal items and CSS Class to handle switcher bzr revid: dle@openerp.com-20121220104345-yrj9w6demtlba00l --- addons/account/__openerp__.py | 4 +++- addons/account/account_view.xml | 2 +- addons/account/static/src/css/account_move_line_quickadd.css | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 addons/account/static/src/css/account_move_line_quickadd.css diff --git a/addons/account/__openerp__.py b/addons/account/__openerp__.py index 7fffc4f07d4..43aaa2f58c1 100644 --- a/addons/account/__openerp__.py +++ b/addons/account/__openerp__.py @@ -133,7 +133,9 @@ for a particular financial year and for preparation of vouchers there is a modul "static/src/xml/account_move_reconciliation.xml", "static/src/xml/account_move_line_quickadd.xml", ], - 'css':['static/src/css/account_move_reconciliation.css' + 'css':[ + 'static/src/css/account_move_reconciliation.css', + 'static/src/css/account_move_line_quickadd.css' ], 'demo': [ 'demo/account_demo.xml', diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index adf7ac05067..9af57cca247 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -1155,7 +1155,7 @@ Journal Items account.move.line - tree_account_move_line_quickadd + tree_account_move_line_quickadd,form

Select the period and the journal you want to fill. diff --git a/addons/account/static/src/css/account_move_line_quickadd.css b/addons/account/static/src/css/account_move_line_quickadd.css new file mode 100644 index 00000000000..6d7690c4490 --- /dev/null +++ b/addons/account/static/src/css/account_move_line_quickadd.css @@ -0,0 +1,4 @@ +.openerp .oe_vm_switch_tree_account_move_line_quickadd:after { + padding: 2px; + content: "i"; +} From ee937272d13bd6e77563c9d66d6cdd0da37b27ae Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 20 Dec 2012 12:01:27 +0100 Subject: [PATCH 15/17] [FIX] Updated spin.js to version v1.2.7 (w/fix for IE) bzr revid: fme@openerp.com-20121220110127-iw2e13n4mj79i8zv --- addons/web/static/lib/spinjs/spin.js | 288 ++++++++++++++------------- 1 file changed, 151 insertions(+), 137 deletions(-) diff --git a/addons/web/static/lib/spinjs/spin.js b/addons/web/static/lib/spinjs/spin.js index d8e21786a1f..434d76a6870 100644 --- a/addons/web/static/lib/spinjs/spin.js +++ b/addons/web/static/lib/spinjs/spin.js @@ -1,47 +1,45 @@ -//fgnass.github.com/spin.js#v1.2.5 -(function(window, document, undefined) { +//fgnass.github.com/spin.js#v1.2.7 +!function(window, document, undefined) { -/** - * Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de] - * Licensed under the MIT license - */ + /** + * Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de] + * Licensed under the MIT license + */ - var prefixes = ['webkit', 'Moz', 'ms', 'O']; /* Vendor prefixes */ - var animations = {}; /* Animation rules keyed by their name */ - var useCssAnimations; + var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */ + , animations = {} /* Animation rules keyed by their name */ + , useCssAnimations /** * Utility function to create elements. If no tag name is given, * a DIV is created. Optionally properties can be passed. */ function createEl(tag, prop) { - var el = document.createElement(tag || 'div'); - var n; + var el = document.createElement(tag || 'div') + , n - for(n in prop) { - el[n] = prop[n]; - } - return el; + for(n in prop) el[n] = prop[n] + return el } /** * Appends children and returns the parent. */ function ins(parent /* child1, child2, ...*/) { - for (var i=1, n=arguments.length; i> 1) : o.left+mid) + 'px', - top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : o.top+mid) + 'px' - }); + left: (o.left == 'auto' ? tp.x-ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px', + top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid) + 'px' + }) } - el.setAttribute('aria-role', 'progressbar'); - self.lines(el, self.opts); + el.setAttribute('aria-role', 'progressbar') + self.lines(el, self.opts) if (!useCssAnimations) { // No CSS animation support, use setTimeout() instead - var i = 0; - var fps = o.fps; - var f = fps/o.speed; - var ostep = (1-o.opacity)/(f*o.trail / 100); - var astep = f/o.lines; + var i = 0 + , fps = o.fps + , f = fps/o.speed + , ostep = (1-o.opacity) / (f*o.trail / 100) + , astep = f/o.lines - !function anim() { + ;(function anim() { i++; for (var s=o.lines; s; s--) { - var alpha = Math.max(1-(i+s*astep)%f * ostep, o.opacity); - self.opacity(el, o.lines-s, alpha, o); + var alpha = Math.max(1-(i+s*astep)%f * ostep, o.opacity) + self.opacity(el, o.lines-s, alpha, o) } - self.timeout = self.el && setTimeout(anim, ~~(1000/fps)); - }(); + self.timeout = self.el && setTimeout(anim, ~~(1000/fps)) + })() } - return self; + return self }, + stop: function() { - var el = this.el; + var el = this.el if (el) { - clearTimeout(this.timeout); - if (el.parentNode) el.parentNode.removeChild(el); - this.el = undefined; + clearTimeout(this.timeout) + if (el.parentNode) el.parentNode.removeChild(el) + this.el = undefined } - return this; + return this }, + lines: function(el, o) { - var i = 0; - var seg; + var i = 0 + , seg function fill(color, shadow) { return css(createEl(), { @@ -208,9 +210,10 @@ boxShadow: shadow, transformOrigin: 'left', transform: 'rotate(' + ~~(360/o.lines*i+o.rotate) + 'deg) translate(' + o.radius+'px' +',0)', - borderRadius: (o.width>>1) + 'px' - }); + borderRadius: (o.corners * o.width>>1) + 'px' + }) } + for (; i < o.lines; i++) { seg = css(createEl(), { position: 'absolute', @@ -218,16 +221,20 @@ transform: o.hwaccel ? 'translate3d(0,0,0)' : '', opacity: o.opacity, animation: useCssAnimations && addAnimation(o.opacity, o.trail, i, o.lines) + ' ' + 1/o.speed + 's linear infinite' - }); - if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'})); - ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)'))); + }) + + if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'})) + + ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)'))) } - return el; + return el }, + opacity: function(el, i, val) { - if (i < el.childNodes.length) el.childNodes[i].style.opacity = val; + if (i < el.childNodes.length) el.childNodes[i].style.opacity = val } - }); + + }) ///////////////////////////////////////////////////////////////////////// // VML rendering for IE @@ -236,36 +243,41 @@ /** * Check and init VML support */ - !function() { + ;(function() { function vml(tag, attr) { - return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr); + return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr) } - var s = css(createEl('group'), {behavior: 'url(#default#VML)'}); + var s = css(createEl('group'), {behavior: 'url(#default#VML)'}) if (!vendor(s, 'transform') && s.adj) { // VML support detected. Insert CSS rule ... - sheet.addRule('.spin-vml', 'behavior:url(#default#VML)'); + sheet.addRule('.spin-vml', 'behavior:url(#default#VML)') Spinner.prototype.lines = function(el, o) { - var r = o.length+o.width; - var s = 2*r; + var r = o.length+o.width + , s = 2*r function grp() { - return css(vml('group', {coordsize: s +' '+s, coordorigin: -r +' '+-r}), {width: s, height: s}); + return css( + vml('group', { + coordsize: s + ' ' + s, + coordorigin: -r + ' ' + -r + }), + { width: s, height: s } + ) } - var margin = -(o.width+o.length)*2+'px'; - var g = css(grp(), {position: 'absolute', top: margin, left: margin}); - - var i; + var margin = -(o.width+o.length)*2 + 'px' + , g = css(grp(), {position: 'absolute', top: margin, left: margin}) + , i function seg(i, dx, filter) { ins(g, ins(css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx}), - ins(css(vml('roundrect', {arcsize: 1}), { + ins(css(vml('roundrect', {arcsize: o.corners}), { width: r, height: o.width, left: o.radius, @@ -276,31 +288,33 @@ vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change ) ) - ); + ) } - if (o.shadow) { - for (i = 1; i <= o.lines; i++) { - seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)'); - } - } - for (i = 1; i <= o.lines; i++) seg(i); - return ins(el, g); - }; + if (o.shadow) + for (i = 1; i <= o.lines; i++) + seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)') + + for (i = 1; i <= o.lines; i++) seg(i) + return ins(el, g) + } + Spinner.prototype.opacity = function(el, i, val, o) { - var c = el.firstChild; - o = o.shadow && o.lines || 0; + var c = el.firstChild + o = o.shadow && o.lines || 0 if (c && i+o < c.childNodes.length) { - c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild; - if (c) c.opacity = val; + c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild + if (c) c.opacity = val } - }; + } } - else { - useCssAnimations = vendor(s, 'animation'); - } - }(); + else + useCssAnimations = vendor(s, 'animation') + })() - window.Spinner = Spinner; + if (typeof define == 'function' && define.amd) + define(function() { return Spinner }) + else + window.Spinner = Spinner -})(window, document); \ No newline at end of file +}(window, document); From 36cd0b866ec491867f0b40dd0107e887614c30c1 Mon Sep 17 00:00:00 2001 From: "olt@tinyerp.com" <> Date: Thu, 20 Dec 2012 12:25:28 +0100 Subject: [PATCH 16/17] [FIX] anonymization: fix for obsolete models bzr revid: olt@tinyerp.com-20121220112528-um4m3crn0enhcplj --- addons/anonymization/anonymization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/anonymization/anonymization.py b/addons/anonymization/anonymization.py index a455bc835ce..c7f9ab016c4 100644 --- a/addons/anonymization/anonymization.py +++ b/addons/anonymization/anonymization.py @@ -543,7 +543,7 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory): fixes = group(fixes, ('model_name', 'field_name')) for line in data: - table_name = self.pool.get(line['model_id'])._table + table_name = self.pool.get(line['model_id'])._table if self.pool.get(line['model_id']) else None # check if custom sql exists: key = (line['model_id'], line['field_id']) From d090cbdc9491aad49d29f83014c2159d0a2d435f Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Thu, 20 Dec 2012 12:28:37 +0100 Subject: [PATCH 17/17] [FIX] Contact form issue when anonymous bzr revid: vta@openerp.com-20121220112837-jx4koxl7l3dwx1po --- addons/portal_anonymous/security/ir.model.access.csv | 2 +- addons/portal_crm/contact.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/portal_anonymous/security/ir.model.access.csv b/addons/portal_anonymous/security/ir.model.access.csv index 24c29200230..a26b600288d 100644 --- a/addons/portal_anonymous/security/ir.model.access.csv +++ b/addons/portal_anonymous/security/ir.model.access.csv @@ -1,3 +1,3 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_mail_message_portal,mail.message.portal,mail.model_mail_message,portal.group_anonymous,1,0,1,0 +access_mail_message_portal,mail.message.portal,mail.model_mail_message,portal.group_anonymous,1,0,0,0 access_res_partner,res.partner,base.model_res_partner,portal.group_anonymous,1,0,0,0 diff --git a/addons/portal_crm/contact.py b/addons/portal_crm/contact.py index 1cc10344d67..3d2ef024de1 100644 --- a/addons/portal_crm/contact.py +++ b/addons/portal_crm/contact.py @@ -105,7 +105,7 @@ class crm_contact_us(osv.TransientModel): leads to a message_subscribe_user, that triggers access right issues. """ empty_values = dict((k, False) if k != 'name' else (k, '') for k, v in values.iteritems()) - return super(crm_contact_us, self).create(cr, uid, empty_values, {'mail_nosubscribe': True}) + return super(crm_contact_us, self).create(cr, SUPERUSER_ID, empty_values, {'mail_nosubscribe': True}) def submit(self, cr, uid, ids, context=None): """ When the form is submitted, redirect the user to a "Thanks" message """