From 02b41a75ceb5df2ca4227de5839ebd46da0e5462 Mon Sep 17 00:00:00 2001 From: Yury Tello Date: Sun, 19 Feb 2012 14:10:02 -0500 Subject: [PATCH 001/170] [ADD] l10n_cl bzr revid: ytello@cubicerp.com-20120219191002-6yid2f812r4ypg05 --- addons/l10n_cl/__init__.py | 32 ++++ addons/l10n_cl/__openerp__.py | 51 ++++++ addons/l10n_cl/account_tax.xml | 34 ++++ addons/l10n_cl/account_tax_code.xml | 94 ++++++++++ addons/l10n_cl/i18n/es.po | 72 ++++++++ addons/l10n_cl/i18n/es_CL.po | 53 ++++++ addons/l10n_cl/i18n/l10n_cl.pot | 35 ++++ addons/l10n_cl/l10n_cl_chart.xml | 256 ++++++++++++++++++++++++++++ addons/l10n_cl/l10n_cl_wizard.xml | 15 ++ 9 files changed, 642 insertions(+) create mode 100644 addons/l10n_cl/__init__.py create mode 100644 addons/l10n_cl/__openerp__.py create mode 100644 addons/l10n_cl/account_tax.xml create mode 100644 addons/l10n_cl/account_tax_code.xml create mode 100644 addons/l10n_cl/i18n/es.po create mode 100644 addons/l10n_cl/i18n/es_CL.po create mode 100644 addons/l10n_cl/i18n/l10n_cl.pot create mode 100644 addons/l10n_cl/l10n_cl_chart.xml create mode 100644 addons/l10n_cl/l10n_cl_wizard.xml diff --git a/addons/l10n_cl/__init__.py b/addons/l10n_cl/__init__.py new file mode 100644 index 00000000000..92da5dbf966 --- /dev/null +++ b/addons/l10n_cl/__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_cl/__openerp__.py b/addons/l10n_cl/__openerp__.py new file mode 100644 index 00000000000..249bdb3ae48 --- /dev/null +++ b/addons/l10n_cl/__openerp__.py @@ -0,0 +1,51 @@ +# -*- 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": "Argentina Localization Chart Account", + "version": "1.0", + "description": """ +Chilean accounting chart and tax localization. + +Plan contable chileno 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_cl_chart.xml", + "account_tax.xml", + "l10n_cl_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_cl/account_tax.xml b/addons/l10n_cl/account_tax.xml new file mode 100644 index 00000000000..1db0d2637f4 --- /dev/null +++ b/addons/l10n_cl/account_tax.xml @@ -0,0 +1,34 @@ + + + + + + + IVA 19% Venta + 0.190000 + percent + sale + + + + + + + + + + + IVA 19% Compra + 0.190000 + percent + purchase + + + + + + + + + + diff --git a/addons/l10n_cl/account_tax_code.xml b/addons/l10n_cl/account_tax_code.xml new file mode 100644 index 00000000000..95c91b60d78 --- /dev/null +++ b/addons/l10n_cl/account_tax_code.xml @@ -0,0 +1,94 @@ + + + + + + Chile Impuestos + + + Base Imponible + + + + Base Imponible - Ventas + + + + Ventas Gravadas 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 General a las Ventas (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 + + + + + Impuestos Directos a Pagar + + + + Impuesto a la Renta Primera Categoría a Pagar + + + + diff --git a/addons/l10n_cl/i18n/es.po b/addons/l10n_cl/i18n/es.po new file mode 100644 index 00000000000..f8b17197008 --- /dev/null +++ b/addons/l10n_cl/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_cl +#: model:ir.module.module,description:l10n_cl.module_meta_information +msgid "" +"\n" +" Chilean Accounting : chart of Account\n" +" " +msgstr "" +"\n" +" Contabilidad Peruana : Plan de cuentas\n" +" " + +#. module: l10n_cl +#: model:ir.module.module,shortdesc:l10n_cl.module_meta_information +msgid "Chilean Chart of Account" +msgstr "Plan de cuentas de Chile" + +#. module: l10n_cl +#: model:ir.actions.todo,note:l10n_cl.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_cl/i18n/es_CL.po b/addons/l10n_cl/i18n/es_CL.po new file mode 100644 index 00000000000..cd0a9f9c43e --- /dev/null +++ b/addons/l10n_cl/i18n/es_CL.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_cl +#: model:ir.module.module,description:l10n_cl.module_meta_information +msgid "" +"\n" +" Chilean Accounting : chart of Account\n" +" " +msgstr "" +"\n" +" Contabilidad Chile : Plan de cuentas\n" +" " + +#. module: l10n_cl +#: model:ir.module.module,shortdesc:l10n_cl.module_meta_information +msgid "Chilean Chart of Account" +msgstr "Plan de cuentas de la Chile" + +#. module: l10n_cl +#: model:ir.actions.todo,note:l10n_cl.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_cl/i18n/l10n_cl.pot b/addons/l10n_cl/i18n/l10n_cl.pot new file mode 100644 index 00000000000..9b3704b75e1 --- /dev/null +++ b/addons/l10n_cl/i18n/l10n_cl.pot @@ -0,0 +1,35 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * l10n_cl +# +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_cl +#: model:ir.module.module,description:l10n_cl.module_meta_information +msgid "\n" +" Chilean Accounting : chart of Account\n" +" " +msgstr "" + +#. module: l10n_cl +#: model:ir.module.module,shortdesc:l10n_cl.module_meta_information +msgid "Chilean Chart of Account" +msgstr "" + +#. module: l10n_cl +#: model:ir.actions.todo,note:l10n_cl.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_cl/l10n_cl_chart.xml b/addons/l10n_cl/l10n_cl_chart.xml new file mode 100644 index 00000000000..5b146eb067d --- /dev/null +++ b/addons/l10n_cl/l10n_cl_chart.xml @@ -0,0 +1,256 @@ + + + + + + + noneviewVistanone + + balanceBG_ACC_10Efectivo y Equivalentes al Efectivoasset + detailBG_ACC_20Otros Activos Financieros Corrientesasset + unreconciledBG_ACC_30Deudores Comercialesasset + unreconciledBG_ACC_50Otras Cuentas por Cobrarasset + balanceBG_ACC_60Inventariosasset + + detailBG_ACN_10Derechos por Cobrar No Corrienteasset + detailBG_ACN_40Otros Activos No Financierosasset + balanceBG_ACN_50Propiedades, Planta y Equipoasset + + unreconciledBG_PAC_10Otros Pasivos Financierosliability + unreconciledBG_PAC_20Cuentas por Pagar Comercialesliability + unreconciledBG_PAC_35Otras Cuentas por Pagarliability + unreconciledBG_PAC_40Otras Provisiones Corrientesliability + unreconciledBG_PAC_45Pasivos por Impuestos Corrientesliability + + unreconciledBG_PAN_10Otros Pasivos Financieros No Corrientesliability + unreconciledBG_PAN_20Otros Cuentas por Pagar No Corrientesliability + unreconciledBG_PAN_40Otras Provisiones No Corrientesliability + + balanceBG_PTN_10Patrimonio Netoliability + + noneEGP_FU_010Ingresos por Actividades Ordinariasincome + noneEGP_FU_030Costo de Ventasexpense + noneEGP_FU_040Gastos de Administraciónexpense + noneEGP_FU_050Costos por Distribuciónexpense + unreconciledEGP_FU_060Ingresos Financierosincome + noneEGP_FU_070Costos Financierosexpense + noneEGP_FU_080Otros Ingresosincome + noneEGP_FU_090Otros Gastosexpense + noneEGP_FU_120Gasto Impuesto a las Rentaexpense + noneEGP_FU_160Ganancia (Pérdida)income + + noneEGP_NA_010Compras de Activo Fijonone + + noneORDCuentas de Ordennone + + noneNCLASIFICADOCuentas No Clasificadasnone + + + + + Argentina + pcge + + view + + + inventario del Balance General + .1.BG + + + view + + + ACTIVOS1view + Activo Circulante11view + Activo Circulante - Caja111view + Activo Circulante - Caja / efectivo CLP111.001liquidity + Activo Circulante - Moneda Extranjera112view + Activo Circulante - Caja / efectivo USD112.001liquidity + Activo Circulante - Fondos fijos113view + Activo Circulante - Fondos fijos / caja chica 01 CLP113.001liquidity + Activo Circulante - Bancos114view + Activo Circulante.../ BCO. CTA CTE CLP114.001liquidity + Activo Circulante - Valores a Depositar 115other + Activo Circulante - Recaudaciones a Depositar 116other + Documentos por Cobrar12view + Documentos por Cobrar / Deudores por Ventas121receivable1 + Documentos por Cobrar / Deudores Morosos122receivable1 + Documentos por Cobrar / Deudores en Gestión Judicial123receivable + Documentos por Cobrar / Deudores Varios124receivable + Documentos por Cobrar / (-) Previsión para Incobrables125receivable1 + Cuentas por Cobrar13view + Cuentas por Cobrar / Préstamos otorgados131receivable + Cuentas por Cobrar / Anticipos a Proveedores132receivable + Cuentas por Cobrar / Anticipo de Impuestos133receivable + Cuentas por Cobrar / Anticipo al Personal134receivable + Cuentas por Cobrar / Alquileres Pagados por Adelantado135receivable + Cuentas por Cobrar / Intereses Pagados por Adelantado136receivable + Cuentas por Cobrar / Accionistas137receivable + Cuentas por Cobrar / (-) Previsión para Descuentos138receivable + 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 + Existencias15view + Existencias - Mercaderías151view + Existencias - Mercaderías / Categoria de productos 01151.01other + Existencias - Mercaderías en Tránsito152other + Materias primas153other + Productos en Curso de Elaboración154other + Productos Elaborados155other + Materiales Varios 156other + (-) Previsión para Desvalorización de Existencias157other + 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 / IVA a Pagar231other + Impuestos por Pagar / Impuesto a la Renta a Pagar232other + Remuneraciones por Pagar24view + Remuneraciones por Pagar / Sueldos a Pagar241payable + Remuneraciones por Pagar / Cargas Sociales a Pagar242payable + Remuneraciones por Pagar / Provisión para Sueldo Anual Complementario243payable + Remuneraciones 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 + + + Cuentas de Resultado + .2.GP + + + view + + + RESULTADO GANANCIA4view + Ingresos de Explotación41view + 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 Fuera de Explotación42view + Recupero de Rezagos421other + Recupero de Deudores Incobrables422other + Ganancia Venta de Activo Fijo423other + Donaciones obtenidas, ganandas, percibidas424other + Ganancia Venta Inversiones Permanentes425other + RESULTADO PÉRDIDA5view + Egresos de Explotación51view + Costo de Mercaderías Vendidas511view + Costo de Mercaderías Vendidas - Categoria de productos 01511.01other + Gastos en Depreciación de Activo Fijo512other + Gastos en Amortización513other + Gastos en Sueldos y Jornales514other + Gastos en Cargas Sociales515other + Gastos en Impuestos516other + Gastos Bancarios517other + Gastos en Servicios Públicos518other + Gastos de Publicidad y Propaganda519other + Egresos Fuera de Explotación52view + Gastos en Siniestros521other + Donaciones Cedidas, Otorgadas522other + Pérdida Venta Activo Fijo523other + + + 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 + + + Chile - Plan de Cuentas + + + + + + + + + + + + + diff --git a/addons/l10n_cl/l10n_cl_wizard.xml b/addons/l10n_cl/l10n_cl_wizard.xml new file mode 100644 index 00000000000..191230c5010 --- /dev/null +++ b/addons/l10n_cl/l10n_cl_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 + + + + From 44fec74adfbf53e4e9a02461b45b8e1b0525441d Mon Sep 17 00:00:00 2001 From: Yury Tello Date: Tue, 21 Feb 2012 15:53:28 -0500 Subject: [PATCH 002/170] [MOD] Ajust title bzr revid: ytello@cubicerp.com-20120221205328-s5y8iz1hjnlkj4hp --- addons/l10n_cl/__openerp__.py | 2 +- addons/l10n_cl/l10n_cl_chart.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_cl/__openerp__.py b/addons/l10n_cl/__openerp__.py index 249bdb3ae48..8c1e1e45b50 100644 --- a/addons/l10n_cl/__openerp__.py +++ b/addons/l10n_cl/__openerp__.py @@ -19,7 +19,7 @@ # ############################################################################## { - "name": "Argentina Localization Chart Account", + "name": "Chile Localization Chart Account", "version": "1.0", "description": """ Chilean accounting chart and tax localization. diff --git a/addons/l10n_cl/l10n_cl_chart.xml b/addons/l10n_cl/l10n_cl_chart.xml index 5b146eb067d..8bc4272c2eb 100644 --- a/addons/l10n_cl/l10n_cl_chart.xml +++ b/addons/l10n_cl/l10n_cl_chart.xml @@ -48,7 +48,7 @@ - Argentina + Chile pcge view From 1bf3b3b515737f6fd929250cf7f7c0d1e03a1ddf Mon Sep 17 00:00:00 2001 From: Date: Thu, 1 Mar 2012 13:21:24 +0100 Subject: [PATCH 003/170] [FIX] use a local variable row instead of res bzr revid: guewen.baconnier@camptocamp.com-20120301122124-0izdqntr76ruqtde --- addons/account/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index c1a30967aea..49ecf61ee51 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -315,8 +315,8 @@ class account_account(osv.osv): self.logger.notifyChannel('addons.'+self._name, netsvc.LOG_DEBUG, 'Status: %s'%cr.statusmessage) - for res in cr.dictfetchall(): - accounts[res['id']] = res + for row in cr.dictfetchall(): + accounts[row['id']] = row # consolidate accounts with direct children children_and_consolidated.reverse() From 119cb3e9b51226951e42fce05297c3fbb06c521a Mon Sep 17 00:00:00 2001 From: "Ravish Murari (OpenERP)" Date: Mon, 30 Apr 2012 14:50:06 +0530 Subject: [PATCH 004/170] [FIX]change in category of account_anglo_saxon--fixes=lp:985823 bzr revid: rmu@tinyerp.com-20120430092006-nejh5d8mt5eiyhn1 --- addons/account_anglo_saxon/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_anglo_saxon/__openerp__.py b/addons/account_anglo_saxon/__openerp__.py index 2c10fcc7a19..34fdba75567 100644 --- a/addons/account_anglo_saxon/__openerp__.py +++ b/addons/account_anglo_saxon/__openerp__.py @@ -36,7 +36,7 @@ when the invoice is created to transfer this amount to the debtor or creditor ac Secondly, price differences between actual purchase price and fixed product standard price are booked on a separate account""", "images": ["images/account_anglo_saxon.jpeg"], "depends": ["product", "purchase"], - "category": "Hidden/Dependency", + "category": "Accounting & Finance", "init_xml": [], "demo_xml": [], "update_xml": ["product_view.xml",], From 8a377a190d30176b04eeaaae5d275cb197a17626 Mon Sep 17 00:00:00 2001 From: paulius <> Date: Tue, 1 May 2012 11:44:12 +0530 Subject: [PATCH 005/170] [FIX] improve rounding at invoice subtotal field--fixes=lp:977300 bzr revid: rmu@tinyerp.com-20120501061412-on9rz3lkbm7oqad3 --- addons/account/account.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 75bfc891980..63f0e0ec1a7 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -29,6 +29,7 @@ import pooler from osv import fields, osv import decimal_precision as dp from tools.translate import _ +from tools import float_round def check_cycle(self, cr, uid, ids, context=None): """ climbs the ``self._table.parent_id`` chains for 100 levels or @@ -2069,7 +2070,7 @@ class account_tax(osv.osv): } """ precision = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account') - totalin = totalex = round(price_unit * quantity, precision) + totalin = totalex = float_round(price_unit * quantity, precision) tin = [] tex = [] for tax in taxes: From ff4342dc4f08adf10343ae700d8c9ebf89fdd2a2 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 25 Jun 2012 14:26:30 +0200 Subject: [PATCH 006/170] [ADD] signup addon bzr revid: chs@openerp.com-20120625122630-ce6hywabt512xbh6 --- addons/anonymous/static/src/xml/anonymous.xml | 2 + addons/signup/__init__.py | 2 + addons/signup/__openerp__.py | 23 +++++++ addons/signup/res_config.py | 19 ++++++ addons/signup/res_config.xml | 16 +++++ addons/signup/signup_wizard.py | 65 +++++++++++++++++++ addons/signup/signup_wizard.xml | 41 ++++++++++++ addons/signup/static/src/js/signup.js | 21 ++++++ addons/signup/static/src/xml/signup.xml | 14 ++++ 9 files changed, 203 insertions(+) create mode 100644 addons/signup/__init__.py create mode 100644 addons/signup/__openerp__.py create mode 100644 addons/signup/res_config.py create mode 100644 addons/signup/res_config.xml create mode 100644 addons/signup/signup_wizard.py create mode 100644 addons/signup/signup_wizard.xml create mode 100644 addons/signup/static/src/js/signup.js create mode 100644 addons/signup/static/src/xml/signup.xml diff --git a/addons/anonymous/static/src/xml/anonymous.xml b/addons/anonymous/static/src/xml/anonymous.xml index 4c6d2fcbf54..7429efff458 100644 --- a/addons/anonymous/static/src/xml/anonymous.xml +++ b/addons/anonymous/static/src/xml/anonymous.xml @@ -4,10 +4,12 @@ + diff --git a/addons/signup/__init__.py b/addons/signup/__init__.py new file mode 100644 index 00000000000..f15ba34bf0a --- /dev/null +++ b/addons/signup/__init__.py @@ -0,0 +1,2 @@ +import signup_wizard +import res_config diff --git a/addons/signup/__openerp__.py b/addons/signup/__openerp__.py new file mode 100644 index 00000000000..b927b9526b7 --- /dev/null +++ b/addons/signup/__openerp__.py @@ -0,0 +1,23 @@ +{ + 'name': 'Signup', + 'description': 'Allow users to register', + 'author': 'OpenERP SA', + 'version': '1.0', + 'category': 'Tools', + 'website': 'http://www.openerp.com', + 'installable': True, + 'depends': ['anonymous', 'base_setup'], + 'data': [ + 'signup_wizard.xml', + 'res_config.xml', + ], + 'js': [ + 'static/src/js/signup.js', + ], + #'css': [ + # 'static/src/css/reset_password.css', + #], + 'qweb': [ + 'static/src/xml/signup.xml', + ], +} diff --git a/addons/signup/res_config.py b/addons/signup/res_config.py new file mode 100644 index 00000000000..0c8ab8023d8 --- /dev/null +++ b/addons/signup/res_config.py @@ -0,0 +1,19 @@ +from openerp.osv import osv, fields + +class ResConfig(osv.TransientModel): + _inherit = 'base.config.settings' + + _columns = { + 'signup_user_template_id': fields.many2one('res.users', 'Template user for account creation') + } + + def get_default_user_tpl(self, cr, uid, fields, context=None): + icp = self.pool.get('ir.config_parameter') + return { + 'signup_user_template_id': icp.get_param(cr, uid, 'signup.user_template_id', 0) or False + } + + def set_user_template(self, cr, uid, ids, context=None): + config = self.browse(cr, uid, ids[0], context=context) + icp = self.pool.get('ir.config_parameter') + icp.set_param(cr, uid, 'signup.user_template_id', config.signup_user_template_id.id) diff --git a/addons/signup/res_config.xml b/addons/signup/res_config.xml new file mode 100644 index 00000000000..d2c85a33fd5 --- /dev/null +++ b/addons/signup/res_config.xml @@ -0,0 +1,16 @@ + + + + Inherit General Settings + base.config.settings + + form + + + + + + + + + diff --git a/addons/signup/signup_wizard.py b/addons/signup/signup_wizard.py new file mode 100644 index 00000000000..939e90aa21d --- /dev/null +++ b/addons/signup/signup_wizard.py @@ -0,0 +1,65 @@ +from functools import partial +from openerp.osv import osv, fields + +class res_users(osv.Model): + _inherit = 'res.users' + + _sql_constraints = [ + ('email_uniq', 'UNIQUE (user_email)', 'You can not have two users with the same email!') + ] + + +class signup_wizard(osv.TransientModel): + _name = 'signup.wizard' + _columns = { + 'name': fields.char('Name', size=64), + 'email': fields.char('Email', size=64), + 'pw': fields.char('Password', size=64), + 'cpw': fields.char('Confirm Password', size=64), + 'state': fields.selection([(x, x) for x in 'draft done missmatch'.split()], required=True), + } + _defaults = { + 'state': 'draft', + } + + def create(self, cr, uid, values, context=None): + # NOTE here, invalid values raises exceptions to avoid storing + # sensitive data into the database (which then are available to anyone) + + name = values.get('name') + email = values.get('email') + pw = values.get('pw') + cpw = values.get('cpw') + + if pw != cpw: + raise osv.except_osv('Error', 'Passwords missmatch') + + Users = self.pool.get('res.users') + + user_template_id = self.pool.get('ir.config_parameter').get_param(cr, uid, 'signup.user_template_id', 0) + if user_template_id: + func = partial(Users.copy, cr, 1, user_template_id, context=context) + else: + func = partial(Users.create, cr, 1, context=context) + + func({ + 'name': name, + 'login': email, + 'user_email': email, + 'password': pw, + 'active': True, + }) + + values = {'state': 'done'} + return super(signup_wizard, self).create(cr, uid, values, context) + + def signup(self, cr, uid, ids, context=None): + return { + 'type': 'ir.actions.client', + 'tag': 'login', + } + + def onchange_pw(self, cr, uid, ids, pw, cpw, context=None): + if pw != cpw: + return {'value': {'state': 'missmatch'}} + return {'value': {'state': 'draft'}} diff --git a/addons/signup/signup_wizard.xml b/addons/signup/signup_wizard.xml new file mode 100644 index 00000000000..ec5095ff474 --- /dev/null +++ b/addons/signup/signup_wizard.xml @@ -0,0 +1,41 @@ + + + + + signup.wizard.form + signup.wizard + form + +
+ + + + + + + +
Passwords missmatch
+
+ + +
From 13458db46f61545b63c11a60137ab2e9d8f27d9c Mon Sep 17 00:00:00 2001 From: "Anand Patel (OpenERP)" Date: Thu, 28 Jun 2012 17:18:44 +0530 Subject: [PATCH 020/170] added a bounce effect when On non editable page view, if click on the content of a field, bounce the Edit button bzr revid: pan@tinyerp.com-20120628114844-3c1rv4ckk888yhzo --- addons/web/static/src/js/view_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 2dc954c414d..09c8ac67dfc 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -584,7 +584,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM }, on_invalidclick: function() { this.$element.find(".oe_form_field").click(function () { - $(".oe_form_button_edit").effect("bounce", { times:3,distance:100 }, 500); + $(".oe_form_button_edit").effect("bounce", { times:3}, 500); }); }, on_button_cancel: function(event) { From e748c3d4cf18eb3e8defde43f46ee3eeeff0404c Mon Sep 17 00:00:00 2001 From: "Anand Patel (OpenERP)" Date: Fri, 29 Jun 2012 12:52:48 +0530 Subject: [PATCH 021/170] improoved code for [added a bounce effect when On non editable page view, if click on the content of a field, bounce the Edit button] bzr revid: pan@tinyerp.com-20120629072248-kb0vfjjo707l8vaj --- addons/web/static/src/css/base.css | 5 +---- addons/web/static/src/js/view_form.js | 7 +++++-- addons/web/static/src/xml/base.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 2f4111882c4..f738fe757ac 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2215,7 +2215,4 @@ } .kitten-mode-activated > * { opacity: 0.7; -} -.openerp .bounce { - float:left; -} +} \ No newline at end of file diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 09c8ac67dfc..65f825c6cf5 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -582,8 +582,11 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM self.set({mode: "view"}); }); }, - on_invalidclick: function() { - this.$element.find(".oe_form_field").click(function () { + on_invalidclick: function() { + var div = $("
", {id:"bounce"}); + this.$element.find(".oe_form_field").click(function () { + $(".oe_form_button_edit").wrap(div); + $("#bounce").css({"float":"left","margin-right":"4px"}); $(".oe_form_button_edit").effect("bounce", { times:3}, 500); }); }, diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 641d37a818a..02ff528b993 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -679,8 +679,8 @@
- -
+ + From 58d7c74c1dfba66a1e56f1524d0a54bc59744b43 Mon Sep 17 00:00:00 2001 From: ggh-openerp Date: Fri, 29 Jun 2012 13:11:24 +0530 Subject: [PATCH 022/170] [IMP]If the user clicks on an empty row of a list, bounce the Create button bzr revid: ggh@tinyerp.com-20120629074124-vxh7ngcyvqvb9zok --- addons/web/static/src/js/view_list.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index b5634c3443f..848c2934b17 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -285,6 +285,8 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi this.$element.find('.oe_list_buttons').replaceWith(this.$buttons); } this.$buttons.find('.oe_list_add') + .wrap("
") + .css({"float":"left","margin-right":"4px"}) .click(this.proxy('do_add_record')) .prop('disabled', grouped && this.options.editable); this.$buttons.on('click', '.oe_list_button_import', function() { @@ -978,6 +980,11 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. } self.row_clicked(e); } + else{ + if (opts.options.$buttons){ + $(opts.options.$buttons.find('.oe_list_add')).effect("bounce", { times:5 }, 300); + } + } }); }, row_clicked: function (e, view) { From 1a61a20dbbc0ea716aed59b3d71374a8a2b2e4fc Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Fri, 29 Jun 2012 17:53:47 +0530 Subject: [PATCH 023/170] [IMP] stock : Destination address should be the company by default. bzr revid: mdi@tinyerp.com-20120629122347-iswqb89471fas9gg --- addons/stock/stock.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index a279b8bea6c..1407f96f05b 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1726,10 +1726,16 @@ class stock_move(osv.osv): if location_xml_id: location_model, location_id = mod_obj.get_object_reference(cr, uid, 'stock', location_xml_id) return location_id + + def _default_destination_address(self, cr, uid, context=None): + partner_obj = self.pool.get('res.partner') + partner_ids = partner_obj.search(cr, uid, [('name', '=', 'Your Company')], context=context) + return partner_ids and partner_ids[0] or False _defaults = { 'location_id': _default_location_source, 'location_dest_id': _default_location_destination, + 'partner_id': _default_destination_address, 'state': 'draft', 'priority': '1', 'product_qty': 1.0, From eb2d0483ce746fbbbba2a12333f027bc3299ba3a Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 2 Jul 2012 10:58:16 +0530 Subject: [PATCH 024/170] [IMP] procurement, stock : Added groups to restrict the fields. bzr revid: mdi@tinyerp.com-20120702052816-ct29279dygwg1mgl --- addons/procurement/procurement_view.xml | 8 ++++---- addons/stock/stock_view.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index fde8b4ea2fe..f9d9f3533e1 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -170,10 +170,10 @@ - + - + @@ -216,8 +216,8 @@ - - + + diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 3107f0c9f14..5ab99bf789a 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -139,7 +139,7 @@ - + @@ -1258,7 +1258,7 @@ - - - - - From a2ad095f6140d9a42bd59c98d0fc4672529b228a Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 11 Jul 2012 02:23:33 +0200 Subject: [PATCH 063/170] [REF] product: refactor move function field on variant in order to allow to move the seller_ids from the template to the variant easily bzr revid: sebastien.beau@akretion.com.br-20120711002333-frtn37s96ovjahkp --- addons/product/product.py | 68 ++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/addons/product/product.py b/addons/product/product.py index a81074aa56e..091c76db44b 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -258,32 +258,6 @@ class product_template(osv.osv): _name = "product.template" _description = "Product Template" - def _get_main_product_supplier(self, cr, uid, product, context=None): - """Determines the main (best) product supplier for ``product``, - returning the corresponding ``supplierinfo`` record, or False - if none were found. The default strategy is to select the - supplier with the highest priority (i.e. smallest sequence). - - :param browse_record product: product to supply - :rtype: product.supplierinfo browse_record or False - """ - sellers = [(seller_info.sequence, seller_info) - for seller_info in product.seller_ids or [] - if seller_info and isinstance(seller_info.sequence, (int, long))] - return sellers and sellers[0][1] or False - - def _calc_seller(self, cr, uid, ids, fields, arg, context=None): - result = {} - for product in self.browse(cr, uid, ids, context=context): - main_supplier = self._get_main_product_supplier(cr, uid, product, context=context) - result[product.id] = { - 'seller_info_id': main_supplier and main_supplier.id or False, - 'seller_delay': main_supplier and main_supplier.delay or 1, - 'seller_qty': main_supplier and main_supplier.qty or 0.0, - 'seller_id': main_supplier and main_supplier.name.id or False - } - return result - _columns = { 'name': fields.char('Name', size=128, required=True, translate=True, select=True), 'product_manager': fields.many2one('res.users','Product Manager',help="This is use as task responsible"), @@ -320,11 +294,7 @@ class product_template(osv.osv): help='Coefficient to convert Unit of Measure to UOS\n' ' uos = uom * coeff'), 'mes_type': fields.selection((('fixed', 'Fixed'), ('variable', 'Variable')), 'Measure Type', required=True), - 'seller_info_id': fields.function(_calc_seller, type='many2one', relation="product.supplierinfo", multi="seller_info"), - 'seller_delay': fields.function(_calc_seller, type='integer', string='Supplier Lead Time', multi="seller_info", help="This is the average delay in days between the purchase order confirmation and the reception of goods for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."), - 'seller_qty': fields.function(_calc_seller, type='float', string='Supplier Quantity', multi="seller_info", help="This is minimum quantity to purchase from Main Supplier."), - 'seller_id': fields.function(_calc_seller, type='many2one', relation="res.partner", string='Main Supplier', help="Main Supplier who has highest priority in Supplier List.", multi="seller_info"), - 'seller_ids': fields.one2many('product.supplierinfo', 'product_id', 'Partners'), + 'seller_ids': fields.one2many('product.supplierinfo', 'product_template_id', 'Partners'), 'loc_rack': fields.char('Rack', size=16), 'loc_row': fields.char('Row', size=16), 'loc_case': fields.char('Case', size=16), @@ -491,6 +461,34 @@ class product_product(osv.osv): res[p.id] = (data['code'] and ('['+data['code']+'] ') or '') + \ (data['name'] or '') + (data['variants'] and (' - '+data['variants']) or '') return res + + + def _get_main_product_supplier(self, cr, uid, product, context=None): + """Determines the main (best) product supplier for ``product``, + returning the corresponding ``supplierinfo`` record, or False + if none were found. The default strategy is to select the + supplier with the highest priority (i.e. smallest sequence). + + :param browse_record product: product to supply + :rtype: product.supplierinfo browse_record or False + """ + sellers = [(seller_info.sequence, seller_info) + for seller_info in product.seller_ids or [] + if seller_info and isinstance(seller_info.sequence, (int, long))] + return sellers and sellers[0][1] or False + + def _calc_seller(self, cr, uid, ids, fields, arg, context=None): + result = {} + for product in self.browse(cr, uid, ids, context=context): + main_supplier = self._get_main_product_supplier(cr, uid, product, context=context) + result[product.id] = { + 'seller_info_id': main_supplier and main_supplier.id or False, + 'seller_delay': main_supplier and main_supplier.delay or 1, + 'seller_qty': main_supplier and main_supplier.qty or 0.0, + 'seller_id': main_supplier and main_supplier.name.id or False + } + return result + _defaults = { 'active': lambda *a: 1, @@ -526,6 +524,10 @@ class product_product(osv.osv): 'name_template': fields.related('product_tmpl_id', 'name', string="Name", type='char', size=128, store=True, select=True), 'color': fields.integer('Color Index'), 'product_image': fields.binary('Image'), + 'seller_info_id': fields.function(_calc_seller, type='many2one', relation="product.supplierinfo", multi="seller_info"), + 'seller_delay': fields.function(_calc_seller, type='integer', string='Supplier Lead Time', multi="seller_info", help="This is the average delay in days between the purchase order confirmation and the reception of goods for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays."), + 'seller_qty': fields.function(_calc_seller, type='float', string='Supplier Quantity', multi="seller_info", help="This is minimum quantity to purchase from Main Supplier."), + 'seller_id': fields.function(_calc_seller, type='many2one', relation="res.partner", string='Main Supplier', help="Main Supplier who has highest priority in Supplier List.", multi="seller_info"), } def create(self, cr, uid, vals, context=None): @@ -783,10 +785,10 @@ class product_supplierinfo(osv.osv): 'product_name': fields.char('Supplier Product Name', size=128, help="This supplier's product name will be used when printing a request for quotation. Keep empty to use the internal one."), 'product_code': fields.char('Supplier Product Code', size=64, help="This supplier's product code will be used when printing a request for quotation. Keep empty to use the internal one."), 'sequence' : fields.integer('Sequence', help="Assigns the priority to the list of product supplier."), - 'product_uom': fields.related('product_id', 'uom_po_id', type='many2one', relation='product.uom', string="Supplier Unit of Measure", readonly="1", help="This comes from the product form."), + 'product_uom': fields.related('product_template_id', 'uom_po_id', type='many2one', relation='product.uom', string="Supplier Unit of Measure", readonly="1", help="This comes from the product form."), 'min_qty': fields.float('Minimal Quantity', required=True, help="The minimal quantity to purchase to this supplier, expressed in the supplier Product Unit of Measure if not empty, in the default unit of measure of the product otherwise."), 'qty': fields.function(_calc_qty, store=True, type='float', string='Quantity', multi="qty", help="This is a quantity which is converted into Default Unit of Measure."), - 'product_id' : fields.many2one('product.template', 'Product', required=True, ondelete='cascade', select=True), + 'product_template_id' : fields.many2one('product.template', 'Product Template', required=True, ondelete='cascade', select=True), 'delay' : fields.integer('Delivery Lead Time', required=True, help="Lead time in days between the confirmation of the purchase order and the reception of the products in your warehouse. Used by the scheduler for automatic computation of the purchase order planning."), 'pricelist_ids': fields.one2many('pricelist.partnerinfo', 'suppinfo_id', 'Supplier Pricelist'), 'company_id':fields.many2one('res.company','Company',select=1), From ef50bf061bbd0df7c70259d9736dce5b11c6f612 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 11 Jul 2012 01:49:48 +0200 Subject: [PATCH 064/170] [FIX] purchase : fix due to refactor done on product module bzr revid: sebastien.beau@akretion.com.br-20120710234948-p87xrwwfbk4r6lc4 --- addons/purchase/purchase.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index e74ca83a92b..9f4c57babf9 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -917,15 +917,15 @@ class purchase_order_line(osv.osv): qty = qty or 1.0 supplierinfo = False - supplierinfo_ids = product_supplierinfo.search(cr, uid, [('name','=',partner_id),('product_id','=',product.id)]) - if supplierinfo_ids: - supplierinfo = product_supplierinfo.browse(cr, uid, supplierinfo_ids[0], context=context) - if supplierinfo.product_uom.id != uom_id: - res['warning'] = {'title': _('Warning'), 'message': _('The selected supplier only sells this product by %s') % supplierinfo.product_uom.name } - min_qty = product_uom._compute_qty(cr, uid, supplierinfo.product_uom.id, supplierinfo.min_qty, to_uom_id=uom_id) - if qty < min_qty: # If the supplier quantity is greater than entered from user, set minimal. - res['warning'] = {'title': _('Warning'), 'message': _('The selected supplier has a minimal quantity set to %s %s, you should not purchase less.') % (supplierinfo.min_qty, supplierinfo.product_uom.name)} - qty = min_qty + for supplier in product.seller_ids: + if supplier.name.id == partner_id: + supplierinfo = supplier + if supplierinfo.product_uom.id != uom_id: + res['warning'] = {'title': _('Warning'), 'message': _('The selected supplier only sells this product by %s') % supplierinfo.product_uom.name } + min_qty = product_uom._compute_qty(cr, uid, supplierinfo.product_uom.id, supplierinfo.min_qty, to_uom_id=uom_id) + if qty < min_qty: # If the supplier quantity is greater than entered from user, set minimal. + res['warning'] = {'title': _('Warning'), 'message': _('The selected supplier has a minimal quantity set to %s %s, you should not purchase less.') % (supplierinfo.min_qty, supplierinfo.product_uom.name)} + qty = min_qty dt = self._get_date_planned(cr, uid, supplierinfo, date_order, context=context).strftime(DEFAULT_SERVER_DATETIME_FORMAT) From 7f28916d734eb9dc2522ca6a478dbe5a027414f1 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 11 Jul 2012 02:28:17 +0200 Subject: [PATCH 065/170] [FIX] purchase : manual or automatic purchase should have the same description for line always the partner_ref bzr revid: sebastien.beau@akretion.com.br-20120711002817-pupfagnty0so015e --- addons/purchase/purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 9f4c57babf9..3f351d3fc8f 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -895,7 +895,7 @@ class purchase_order_line(osv.osv): lang = res_partner.browse(cr, uid, partner_id).lang context_partner = {'lang': lang, 'partner_id': partner_id} product = product_product.browse(cr, uid, product_id, context=context_partner) - res['value'].update({'name': product.name, 'notes': notes or product.description_purchase}) + res['value'].update({'name': product.partner_ref, 'notes': notes or product.description_purchase}) # - set a domain on product_uom res['domain'] = {'product_uom': [('category_id','=',product.uom_id.category_id.id)]} From d5e57ecdf5c37d4c0f64d2075ed87c4419323237 Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Wed, 11 Jul 2012 10:34:25 +0530 Subject: [PATCH 066/170] [MERGE] Bounce effect on QUICK CREATE[+] Button in KANBAN VIEW. bzr revid: psa@tinyerp.com-20120711050425-eiywgtwi0upzmm80 --- addons/web_kanban/static/src/js/kanban.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 8dde2efe7c3..56612f3bf08 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -417,9 +417,13 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ }); var click_column = this.$element.find('.oe_kanban_add'); click_column.addClass('oe_kanban_quick_create_bounce'); - this.$records.click(function() { + this.$records.click(function(e) { + var $target = e.target; + var $currenttarget = e.currentTarget; + if ($target == $currenttarget) { self.view.do_bounce(click_column); - }); + } + }); this.$records.find('.oe_kanban_show_more').click(this.do_show_more); if (this.state.folded) { this.do_toggle_fold(); From 90eced57d27949e7f2ed541ca4c39a888facd181 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Wed, 11 Jul 2012 12:20:00 +0530 Subject: [PATCH 067/170] [IMP] Improved code for bounce effect on wrong click area. bzr revid: jra@tinyerp.com-20120711065000-jf3x8xca67jbsdzo --- addons/web/static/src/js/view_form.js | 27 +++++++++++------------ addons/web/static/src/js/view_list.js | 11 +++++---- addons/web_kanban/static/src/js/kanban.js | 15 +++++-------- 3 files changed, 24 insertions(+), 29 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 2a4b707f71e..49987151528 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -92,7 +92,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this._super(); }, on_loaded: function(data) { - var self = this; + var self = this; if (!data) { throw new Error("No data provided."); } @@ -284,21 +284,20 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM } this._super(); }, - on_invalidclick : function (){ + on_wrong_click : function (){ var self = this; var div = $("
", {id:"bounce"}); this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { - $(".oe_form_button_edit").wrap(div); - $("#bounce").addClass('oe_bounce_button_left'); - var val_bounce = $(".oe_form_button_edit"); - self.do_bounce(val_bounce); - e.stopImmediatePropagation(); - }); - + $(".oe_form_button_edit").wrap(div); + $("#bounce").addClass('oe_bounce_button_left'); + var edit_btn = $(".oe_form_button_edit"); + self.do_bounce(edit_btn); + e.stopImmediatePropagation(); + }); }, on_record_loaded: function(record) { - var self = this, set_values = []; - self.on_invalidclick(); + var self = this, set_values = []; + self.on_wrong_click(); if (!record) { this.do_warn("Form", "The record could not be found in the database.", true); return $.Deferred().reject(); @@ -599,8 +598,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM on_button_save: function() { var self = this; return this.do_save().then(function(result) { - self.set({mode: "view"}); - self.on_invalidclick(); + self.set({mode: "view"}); + self.on_wrong_click(); }); }, @@ -2996,7 +2995,7 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({ return def; }, reload_current_view: function() { - var self = this; + var self = this; return self.is_loaded = self.is_loaded.pipe(function() { var active_view = self.viewmanager.active_view; var view = self.viewmanager.views[active_view].controller; diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 7bf9d4ad6bf..0cb6118af3f 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -984,13 +984,12 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. throw "Could not find id in dataset" } self.row_clicked(e); - } - else{ - if (opts.options.$buttons){ - var bounce_val = $(opts.options.$buttons.find('.oe_list_add')); - self.view.do_bounce(bounce_val); - } + } else { + if (opts.options.$buttons) { + var create_btn = $(opts.options.$buttons.find('.oe_list_add')); + self.view.do_bounce(create_btn); } + } }); }, row_clicked: function (e, view) { diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 56612f3bf08..9b80e533d7f 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -415,15 +415,12 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ self.quick.appendTo($(".oe_kanban_group_list_header", self.$records)); self.quick.focus(); }); - var click_column = this.$element.find('.oe_kanban_add'); - click_column.addClass('oe_kanban_quick_create_bounce'); - this.$records.click(function(e) { - var $target = e.target; - var $currenttarget = e.currentTarget; - if ($target == $currenttarget) { - self.view.do_bounce(click_column); - } - }); + var add_btn = this.$element.find('.oe_kanban_add'); + this.$records.click(function (ev) { + if (ev.target == ev.currentTarget) { + self.view.do_bounce(add_btn); + } + }); this.$records.find('.oe_kanban_show_more').click(this.do_show_more); if (this.state.folded) { this.do_toggle_fold(); From 6cc7bfc593b2db8ac4b9ce4e4b31805b6b50df19 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 11 Jul 2012 10:39:42 +0200 Subject: [PATCH 068/170] [FIX] product : fix demo data due to refactor done before bzr revid: sebastien.beau@akretion.com.br-20120711083942-7lgvt13cr3apdrjk --- addons/product/product_demo.xml | 56 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/addons/product/product_demo.xml b/addons/product/product_demo.xml index a331d5c8b6b..3bd67ca7e61 100644 --- a/addons/product/product_demo.xml +++ b/addons/product/product_demo.xml @@ -693,112 +693,112 @@ 10 1 - + 5 10 1 - + 5 1 1 - + 1 1 1 - + 1 1 1 - + 2 1 1 - + 2 1 1 - + 2 1 1 - + 1 1 1 - + 1 1 1 - + 1 1 1 - + 1 1 1 - + 1 1 1 - + 1 1 1 - + 5 1 1 - + 5 1 1 - + 5 @@ -806,7 +806,7 @@ 10 1 5 - + 5 @@ -814,7 +814,7 @@ 10 1 5 - + 5 @@ -822,7 +822,7 @@ 10 1 5 - + 5 @@ -831,7 +831,7 @@ --> - + 5 1 @@ -839,7 +839,7 @@ - + 5 1 @@ -847,7 +847,7 @@ - + 5 1 @@ -855,7 +855,7 @@ - + 5 1 @@ -863,7 +863,7 @@ - + 5 1 @@ -871,7 +871,7 @@ - + 5 1 @@ -879,7 +879,7 @@ - + 2 1 @@ -887,7 +887,7 @@ - + 5 1 @@ -895,7 +895,7 @@ - + 5 1 From fc0e0b056339ad8750d07e5e13838a6ff9a4c397 Mon Sep 17 00:00:00 2001 From: sebastien beau Date: Wed, 11 Jul 2012 11:43:51 +0200 Subject: [PATCH 069/170] [FIX] mrp fix demo data due to previous refactor bzr revid: sebastien.beau@akretion.com.br-20120711094351-nn21w9odo13k14t0 --- addons/mrp/mrp_demo.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/mrp/mrp_demo.xml b/addons/mrp/mrp_demo.xml index 68fe21ea16c..a008b2a1dee 100644 --- a/addons/mrp/mrp_demo.xml +++ b/addons/mrp/mrp_demo.xml @@ -930,7 +930,7 @@ - + 1.0 @@ -945,7 +945,7 @@ - + 2.0 @@ -960,7 +960,7 @@ - + 2.0 @@ -1050,7 +1050,7 @@ - + 300.0 @@ -1065,7 +1065,7 @@ - + 100.0 From a899b40b597c74b08a2c66fc486ac1f6bcfa5bca Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Wed, 11 Jul 2012 19:01:24 +0530 Subject: [PATCH 070/170] [IMP] Improved scrolling when scrolltop/scrollleft are not in range for bounce button. bzr revid: jra@tinyerp.com-20120711133124-j84maefl1b21i2jo --- addons/web/static/src/js/view_form.js | 6 ++++++ addons/web_kanban/static/src/js/kanban.js | 3 +++ 2 files changed, 9 insertions(+) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 49987151528..b17d05da165 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -291,6 +291,12 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM $(".oe_form_button_edit").wrap(div); $("#bounce").addClass('oe_bounce_button_left'); var edit_btn = $(".oe_form_button_edit"); + if (jQuery(window).scrollTop() > 75 ) { + $('body,html').animate({ scrollTop: 0 }, 200); + } + if (jQuery(window).scrollLeft() > 225 ) { + $('body,html').animate({ scrollLeft: 0 }, 200); + } self.do_bounce(edit_btn); e.stopImmediatePropagation(); }); diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 9b80e533d7f..903b4d32840 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -418,6 +418,9 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ var add_btn = this.$element.find('.oe_kanban_add'); this.$records.click(function (ev) { if (ev.target == ev.currentTarget) { + if (jQuery(window).scrollTop() > 120 ) { + $('body,html').animate({ scrollTop: 0 }, 200); + } self.view.do_bounce(add_btn); } }); From 4db49fc84d6164c9648cb8a496ea456c5d98dc07 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 11:50:15 +0530 Subject: [PATCH 071/170] [IMP] : update description bzr revid: cha@tinyerp.com-20120712062015-vz3w55yen0y2ixaw --- addons/account_anglo_saxon/__openerp__.py | 3 ++- addons/account_asset/__openerp__.py | 1 + .../__openerp__.py | 1 + addons/account_budget/__openerp__.py | 1 + addons/account_check_writing/__openerp__.py | 2 +- addons/account_coda/__openerp__.py | 1 + addons/account_voucher/__openerp__.py | 1 - .../__openerp__.py | 1 - .../__openerp__.py | 1 - .../analytic_contract_project/__openerp__.py | 2 +- addons/anonymous/__openerp__.py | 2 +- addons/base_crypt/__openerp__.py | 5 +++-- addons/base_status/__openerp__.py | 1 + addons/base_vat/__openerp__.py | 4 ++-- addons/email_template/__openerp__.py | 2 +- addons/event_moodle/__openerp__.py | 9 +++++---- addons/fetchmail/__openerp__.py | 4 ++-- addons/google_base_account/__openerp__.py | 2 +- addons/hr_timesheet_sheet/__openerp__.py | 18 +++++++++--------- addons/mail/__openerp__.py | 2 +- 20 files changed, 34 insertions(+), 29 deletions(-) diff --git a/addons/account_anglo_saxon/__openerp__.py b/addons/account_anglo_saxon/__openerp__.py index 78b2ff825c6..e6987ab6a0e 100644 --- a/addons/account_anglo_saxon/__openerp__.py +++ b/addons/account_anglo_saxon/__openerp__.py @@ -30,9 +30,10 @@ This module supports the Anglo-Saxon accounting methodology by changing the acco The difference between the Anglo-Saxon accounting countries and the Rhine or also called Continental accounting countries is the moment of taking the Cost of Goods Sold versus Cost of Sales. Anglo-Saxons accounting does take the cost when sales invoice is created, Continental accounting will take the cost at the moment the goods are shipped. + This module will add this functionality by using a interim account, to store the value of shipped goods and will contra book this interim account when the invoice is created to transfer this amount to the debtor or creditor account. -Secondly, price differences between actual purchase price and fixed product standard price are booked on a separate account""", +Secondly, price differences between actual purchase price and fixed product standard price are booked on a separate account.""", "images": ["images/account_anglo_saxon.jpeg"], "depends": ["product", "purchase"], "category": "Hidden/Dependency", diff --git a/addons/account_asset/__openerp__.py b/addons/account_asset/__openerp__.py index 7d5863e6fb4..2cf79e9d30d 100644 --- a/addons/account_asset/__openerp__.py +++ b/addons/account_asset/__openerp__.py @@ -27,6 +27,7 @@ "description": """ Financial and accounting asset management. ========================================== + This Module manages the assets owned by a company or an individual. It will keep track of depreciation's occurred on those assets. And it allows to create Move's of the depreciation lines. diff --git a/addons/account_bank_statement_extensions/__openerp__.py b/addons/account_bank_statement_extensions/__openerp__.py index 2f9bc0a87eb..2a31e3388a6 100644 --- a/addons/account_bank_statement_extensions/__openerp__.py +++ b/addons/account_bank_statement_extensions/__openerp__.py @@ -27,6 +27,7 @@ 'category': 'Generic Modules/Accounting', 'description': ''' Module that extends the standard account_bank_statement_line object for improved e-banking support. +=================================================================================================== Adds - valuta date diff --git a/addons/account_budget/__openerp__.py b/addons/account_budget/__openerp__.py index 26de308d088..9e61f7314a7 100644 --- a/addons/account_budget/__openerp__.py +++ b/addons/account_budget/__openerp__.py @@ -36,6 +36,7 @@ Budget in order to ensure the total planned is not greater/lower than what he pl for this Budget. Each list of record can also be switched to a graphical view of it. Three reports are available: + 1. The first is available from a list of Budgets. It gives the spreading, for these Budgets, of the Analytic Accounts. 2. The second is a summary of the previous one, it only gives the spreading, for the selected Budgets, of the Analytic Accounts. diff --git a/addons/account_check_writing/__openerp__.py b/addons/account_check_writing/__openerp__.py index 18ca4e3248c..d07457d0d00 100644 --- a/addons/account_check_writing/__openerp__.py +++ b/addons/account_check_writing/__openerp__.py @@ -24,7 +24,7 @@ "author" : "OpenERP SA, NovaPoint Group", "category": "Generic Modules/Accounting", "description": """ - Module for the Check writing and check printing +Module for the Check writing and check printing. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/account_coda/__openerp__.py b/addons/account_coda/__openerp__.py index 77d48c43cf1..d6a44bbaba8 100644 --- a/addons/account_coda/__openerp__.py +++ b/addons/account_coda/__openerp__.py @@ -53,6 +53,7 @@ The removal of a CODA File containing multiple Bank Statements will also remove statements. The following reconciliation logic has been implemented in the CODA processing: + 1) The Company's Bank Account Number of the CODA statement is compared against the Bank Account Number field of the Company's CODA Bank Account configuration records (whereby bank accounts defined in type='info' configuration records are ignored). If this is the case an 'internal transfer' transaction is generated using the 'Internal Transfer Account' field of the CODA File Import wizard. 2) As a second step the 'Structured Communication' field of the CODA transaction line is matched against the reference field of in- and outgoing invoices (supported : Belgian Structured Communication Type). 3) When the previous step doesn't find a match, the transaction counterparty is located via the Bank Account Number configured on the OpenERP Customer and Supplier records. diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index 888e73ec7c3..177233e5ccc 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -27,7 +27,6 @@ eInvoicing & Payments module manage all Voucher Entries such as "Reconciliation Entries", "Adjustment Entries", "Closing or Opening Entries" for Sales, Purchase, Bank, Cash, Expense, Contra. ============================================================================================================================================================================================== - * Voucher Entry * Voucher Receipt [Sales & Purchase] * Voucher Payment [Customer & Supplier] diff --git a/addons/analytic_contract_expense_project/__openerp__.py b/addons/analytic_contract_expense_project/__openerp__.py index 9dc4c114743..b569330d117 100644 --- a/addons/analytic_contract_expense_project/__openerp__.py +++ b/addons/analytic_contract_expense_project/__openerp__.py @@ -26,7 +26,6 @@ 'category': 'Hidden', 'description': """ This module is for modifying project view to show some data related to the hr_expense module. -====================================================================================================== """, "author": "OpenERP S.A.", diff --git a/addons/analytic_contract_hr_expense/__openerp__.py b/addons/analytic_contract_hr_expense/__openerp__.py index fb56d3d1749..b5ab6bea9ab 100644 --- a/addons/analytic_contract_hr_expense/__openerp__.py +++ b/addons/analytic_contract_hr_expense/__openerp__.py @@ -26,7 +26,6 @@ 'category': 'Hidden', 'description': """ This module is for modifying account analytic view to show some data related to the hr_expense module. -====================================================================================================== """, "author": "OpenERP S.A.", diff --git a/addons/analytic_contract_project/__openerp__.py b/addons/analytic_contract_project/__openerp__.py index 80300f40f1e..4e4f621663c 100644 --- a/addons/analytic_contract_project/__openerp__.py +++ b/addons/analytic_contract_project/__openerp__.py @@ -27,7 +27,7 @@ "website" : "http://www.openerp.com", "depends" : ["project", "account_analytic_analysis"], "description": """ - Add "Contract Data" in project view. +Add "Contract Data" in project view. """, "init_xml" : [], "update_xml": ["analytic_contract_project_view.xml"], diff --git a/addons/anonymous/__openerp__.py b/addons/anonymous/__openerp__.py index 6babe973aba..3494fca7a9f 100644 --- a/addons/anonymous/__openerp__.py +++ b/addons/anonymous/__openerp__.py @@ -1,6 +1,6 @@ { 'name': 'Anonymous', - 'description': 'Allow anonymous access to OpenERP', + 'description': 'Allow anonymous access to OpenERP.', 'author': 'OpenERP SA', 'version': '1.0', 'category': 'Tools', diff --git a/addons/base_crypt/__openerp__.py b/addons/base_crypt/__openerp__.py index 0930f6da415..efb2c662f04 100644 --- a/addons/base_crypt/__openerp__.py +++ b/addons/base_crypt/__openerp__.py @@ -26,8 +26,9 @@ "website" : "http://www.openerp.com", "category" : "Tools", "description": """ -Replaces cleartext passwords in the database with a secure hash -=============================================================== +Replaces cleartext passwords in the database with a secure hash. +================================================================ + For your existing user base, the removal of the cleartext passwords occurs immediately when you instal base_crypt. diff --git a/addons/base_status/__openerp__.py b/addons/base_status/__openerp__.py index fcb8f54a7ee..bbd82b703ac 100644 --- a/addons/base_status/__openerp__.py +++ b/addons/base_status/__openerp__.py @@ -26,6 +26,7 @@ 'description': """ This module handles state and stage. It is derived from the crm_base and crm_case classes from crm. +======================================================================== * ``base_state``: state management * ``base_stage``: stage management diff --git a/addons/base_vat/__openerp__.py b/addons/base_vat/__openerp__.py index ef46cd800d9..1a14211dbcc 100644 --- a/addons/base_vat/__openerp__.py +++ b/addons/base_vat/__openerp__.py @@ -24,8 +24,8 @@ 'version': '1.0', "category": 'Hidden/Dependency', 'description': """ -VAT validation for Partners' VAT numbers -======================================== +VAT validation for Partners' VAT numbers. +========================================= After installing this module, values entered in the VAT field of Partners will be validated for all supported countries. The country is inferred from the diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index c426e3ae746..a8303247ec0 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -54,7 +54,7 @@ These email templates are also at the heart of the marketing campaign system campaigns on any OpenERP document. Technical note: only the templating system of the original Power Email by -Openlabs was kept +Openlabs was kept. """, "data": [ diff --git a/addons/event_moodle/__openerp__.py b/addons/event_moodle/__openerp__.py index 82fccad0914..954ce7d5bc6 100644 --- a/addons/event_moodle/__openerp__.py +++ b/addons/event_moodle/__openerp__.py @@ -25,7 +25,8 @@ 'version': '0.1', 'category': 'Tools', 'description': """ - Configure your moodle server +Configure your moodle server. +============================= With this module you are able to connect your OpenERP with a moodle plateform. This module will create courses and students automatically in your moodle plateform to avoid wasting time. @@ -37,15 +38,15 @@ STEPS TO CONFIGURE 1. activate web service in moodle ---------------------------------- ->site administration >plugins>web sevices >manage protocols +>site administration >plugins >web sevices >manage protocols activate the xmlrpc web service ->site administration >plugins>web sevices >manage tokens +>site administration >plugins >web sevices >manage tokens create a token ->site administration >plugins>web sevices >overview +>site administration >plugins >web sevices >overview activate webservice diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py index 5067de7db4c..8c720045197 100644 --- a/addons/fetchmail/__openerp__.py +++ b/addons/fetchmail/__openerp__.py @@ -27,8 +27,8 @@ "author" : "OpenERP SA", "category": 'Tools', "description": """ -Retrieve incoming email on POP / IMAP servers -============================================= +Retrieve incoming email on POP / IMAP servers. +============================================== Enter the parameters of your POP/IMAP account(s), and any incoming emails on these accounts will be automatically downloaded into your OpenERP diff --git a/addons/google_base_account/__openerp__.py b/addons/google_base_account/__openerp__.py index 66b46064097..9dc4a233dcb 100644 --- a/addons/google_base_account/__openerp__.py +++ b/addons/google_base_account/__openerp__.py @@ -24,7 +24,7 @@ 'name': 'Google Users', 'version': '1.0', 'category': 'Tools', - 'description': """The module adds google user in res user""", + 'description': """The module adds google user in res user.""", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['base'], diff --git a/addons/hr_timesheet_sheet/__openerp__.py b/addons/hr_timesheet_sheet/__openerp__.py index a6324ac99af..1a3ee5b70bc 100644 --- a/addons/hr_timesheet_sheet/__openerp__.py +++ b/addons/hr_timesheet_sheet/__openerp__.py @@ -29,22 +29,22 @@ This module helps you to easily encode and validate timesheet and attendances within the same view. =================================================================================================== -* It will mentain attendances and track (sign in/sign out) events. -* Track the timesheet lines. + * It will mentain attendances and track (sign in/sign out) events. + * Track the timesheet lines. Other tabs contains statistics views to help you analyse your time or the time of your team: -* Time spent by day (with attendances) -* Time spent by project + * Time spent by day (with attendances) + * Time spent by project This module also implements a complete timesheet validation process: -* Draft sheet -* Confirmation at the end of the period by the employee -* Validation by the project manager + * Draft sheet + * Confirmation at the end of the period by the employee + * Validation by the project manager The validation can be configured in the company: -* Period size (day, week, month, year) -* Maximal difference between timesheet and attendances + * Period size (day, week, month, year) + * Maximal difference between timesheet and attendances """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index e911f24e809..349a2e15b5a 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -28,6 +28,7 @@ A bussiness oriented Social Networking with a fully-integrated email and message management. ===================================================================== + The Social Networking module provides an unified social network abstraction layer allowing applications to display a complete communication history on documents.It gives the users the possibility @@ -38,7 +39,6 @@ allows to follow documents, and to be constantly updated about recent news. The main features of the module are : - * a clean and renewed communication history for any OpenERP document that can act as a discussion topic, * a discussion mean on documents, From aef3a442e608834493d228349c2e28e4b8c22ac4 Mon Sep 17 00:00:00 2001 From: "Purnendu Singh (OpenERP)" Date: Thu, 12 Jul 2012 14:33:22 +0530 Subject: [PATCH 072/170] [IMP] crm: remove sales team from calender view of meeting bzr revid: psi@tinyerp.com-20120712090322-pu6am3gmnw24wi5h --- addons/crm/crm_meeting_view.xml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml index f7c2ada05f2..74d23a99fd8 100644 --- a/addons/crm/crm_meeting_view.xml +++ b/addons/crm/crm_meeting_view.xml @@ -16,21 +16,6 @@ - - - - CRM - Meetings Calendar - crm.meeting - calendar - - - - - - - - - From 66b80419e091463034e6b2e8ae221d0278b87a42 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 15:24:25 +0530 Subject: [PATCH 073/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712095425-l1i8o33okp2tzfjx --- addons/account/__openerp__.py | 22 +++++----- .../account_analytic_default/__openerp__.py | 10 ++--- addons/account_anglo_saxon/__openerp__.py | 14 ++++--- .../__openerp__.py | 16 +++---- addons/account_budget/__openerp__.py | 4 +- addons/account_cancel/__openerp__.py | 3 +- addons/account_coda/__openerp__.py | 42 ++++++++++--------- addons/mail/__openerp__.py | 4 +- addons/point_of_sale/__openerp__.py | 2 +- addons/project/__openerp__.py | 2 +- 10 files changed, 62 insertions(+), 57 deletions(-) diff --git a/addons/account/__openerp__.py b/addons/account/__openerp__.py index d955dc2c242..9df9fa00e5a 100644 --- a/addons/account/__openerp__.py +++ b/addons/account/__openerp__.py @@ -29,20 +29,20 @@ Accounting and Financial Management. Financial and accounting module that covers: -------------------------------------------- -General accountings -Cost/Analytic accounting -Third party accounting -Taxes management -Budgets -Customer and Supplier Invoices -Bank statements -Reconciliation process by partner + * General accountings + * Cost/Analytic accounting + * Third party accounting + * Taxes management + * Budgets + * Customer and Supplier Invoices + * Bank statements + * Reconciliation process by partner Creates a dashboard for accountants that includes: -------------------------------------------------- -* List of Customer Invoice to Approve -* Company Analysis -* Graph of Treasury + * List of Customer Invoice to Approve + * Company Analysis + * Graph of Treasury The processes like maintaining of general ledger is done through the defined financial Journals (entry move line orgrouping is maintained through journal) for a particular financial year and for preparation of vouchers there is a module named account_voucher. diff --git a/addons/account_analytic_default/__openerp__.py b/addons/account_analytic_default/__openerp__.py index e02f477d1af..0a3ee7ff748 100644 --- a/addons/account_analytic_default/__openerp__.py +++ b/addons/account_analytic_default/__openerp__.py @@ -27,11 +27,11 @@ Allows to automatically select analytic accounts based on criterions: ===================================================================== -* Product -* Partner -* User -* Company -* Date + * Product + * Partner + * User + * Company + * Date """, 'author' : 'OpenERP SA', 'website' : 'http://www.openerp.com', diff --git a/addons/account_anglo_saxon/__openerp__.py b/addons/account_anglo_saxon/__openerp__.py index e6987ab6a0e..7a260b087f9 100644 --- a/addons/account_anglo_saxon/__openerp__.py +++ b/addons/account_anglo_saxon/__openerp__.py @@ -27,13 +27,15 @@ This module supports the Anglo-Saxon accounting methodology by changing the accounting logic with stock transactions. ===================================================================================================================== -The difference between the Anglo-Saxon accounting countries -and the Rhine or also called Continental accounting countries is the moment of taking the Cost of Goods Sold versus Cost of Sales. -Anglo-Saxons accounting does take the cost when sales invoice is created, Continental accounting will take the cost at the moment the goods are shipped. +The difference between the Anglo-Saxon accounting countries and the Rhine or also called +Continental accounting countries is the moment of taking the Cost of Goods Sold versus +Cost of Sales. Anglo-Saxons accounting does take the cost when sales invoice is created, +Continental accounting will take the cost at the moment the goods are shipped. -This module will add this functionality by using a interim account, to store the value of shipped goods and will contra book this interim account -when the invoice is created to transfer this amount to the debtor or creditor account. -Secondly, price differences between actual purchase price and fixed product standard price are booked on a separate account.""", +This module will add this functionality by using a interim account, to store the value of +shipped goods and will contra book this interim account when the invoice is created to +transfer this amount to the debtor or creditor account. Secondly, price differences between +actual purchase price and fixed product standard price are booked on a separate account.""", "images": ["images/account_anglo_saxon.jpeg"], "depends": ["product", "purchase"], "category": "Hidden/Dependency", diff --git a/addons/account_bank_statement_extensions/__openerp__.py b/addons/account_bank_statement_extensions/__openerp__.py index 2a31e3388a6..a3765d33622 100644 --- a/addons/account_bank_statement_extensions/__openerp__.py +++ b/addons/account_bank_statement_extensions/__openerp__.py @@ -29,14 +29,14 @@ Module that extends the standard account_bank_statement_line object for improved e-banking support. =================================================================================================== -Adds -- valuta date -- batch payments -- traceability of changes to bank statement lines -- bank statement line views -- bank statements balances report -- performance improvements for digital import of bank statement (via 'ebanking_import' context flag) -- name_search on res.partner.bank enhanced to allow search on bank and iban account numbers +This module adds: + - valuta date + - batch payments + - traceability of changes to bank statement lines + - bank statement line views + - bank statements balances report + - performance improvements for digital import of bank statement (via 'ebanking_import' context flag) + - name_search on res.partner.bank enhanced to allow search on bank and iban account numbers ''', 'depends': ['account'], 'demo_xml': [], diff --git a/addons/account_budget/__openerp__.py b/addons/account_budget/__openerp__.py index 9e61f7314a7..420991c18ee 100644 --- a/addons/account_budget/__openerp__.py +++ b/addons/account_budget/__openerp__.py @@ -28,8 +28,8 @@ This module allows accountants to manage analytic and crossovered budgets. ========================================================================== -Once the Budgets are defined (in Invoicing/Budgets/Budgets), -the Project Managers can set the planned amount on each Analytic Account. +Once the Budgets are defined (in Invoicing/Budgets/Budgets), the Project Managers +can set the planned amount on each Analytic Account. The accountant has the possibility to see the total of amount planned for each Budget in order to ensure the total planned is not greater/lower than what he planned diff --git a/addons/account_cancel/__openerp__.py b/addons/account_cancel/__openerp__.py index 83f3a24ca88..c616cc9d5e0 100644 --- a/addons/account_cancel/__openerp__.py +++ b/addons/account_cancel/__openerp__.py @@ -28,7 +28,8 @@ Allows cancelling accounting entries. ===================================== -This module adds 'Allow Cancelling Entries' field on form view of account journal. If set to true it allows user to cancel entries & invoices. +This module adds 'Allow Cancelling Entries' field on form view of account journal. +If set to true it allows user to cancel entries & invoices. """, 'website': 'http://www.openerp.com', "images" : ["images/account_cancel.jpeg"], diff --git a/addons/account_coda/__openerp__.py b/addons/account_coda/__openerp__.py index d6a44bbaba8..094ab45acc0 100644 --- a/addons/account_coda/__openerp__.py +++ b/addons/account_coda/__openerp__.py @@ -29,28 +29,29 @@ Module to import CODA bank statements. ====================================== Supported are CODA flat files in V2 format from Belgian bank accounts. -* CODA v1 support. -* CODA v2.2 support. -* Foreign Currency support. -* Support for all data record types (0, 1, 2, 3, 4, 8, 9). -* Parsing & logging of all Transaction Codes and Structured Format Communications. -* Automatic Financial Journal assignment via CODA configuration parameters. -* Support for multiple Journals per Bank Account Number. -* Support for multiple statements from different bank accounts in a single CODA file. -* Support for 'parsing only' CODA Bank Accounts (defined as type='info' in the CODA Bank Account configuration records). -* Multi-language CODA parsing, parsing configuration data provided for EN, NL, FR. + * CODA v1 support. + * CODA v2.2 support. + * Foreign Currency support. + * Support for all data record types (0, 1, 2, 3, 4, 8, 9). + * Parsing & logging of all Transaction Codes and Structured Format Communications. + * Automatic Financial Journal assignment via CODA configuration parameters. + * Support for multiple Journals per Bank Account Number. + * Support for multiple statements from different bank accounts in a single CODA file. + * Support for 'parsing only' CODA Bank Accounts (defined as type='info' in the CODA Bank Account configuration records). + * Multi-language CODA parsing, parsing configuration data provided for EN, NL, FR. -The machine readable CODA Files are parsed and stored in human readable format in CODA Bank Statements. -Also Bank Statements are generated containing a subset of the CODA information (only those transaction lines -that are required for the creation of the Financial Accounting records). -The CODA Bank Statement is a 'read-only' object, hence remaining a reliable representation of the original CODA file -whereas the Bank Statement will get modified as required by accounting business processes. +The machine readable CODA Files are parsed and stored in human readable format in +CODA Bank Statements. Also Bank Statements are generated containing a subset of +the CODA information (only those transaction lines that are required for the creation +of the Financial Accounting records). The CODA Bank Statement is a 'read-only' +object, hence remaining a reliable representation of the original CODA file whereas +the Bank Statement will get modified as required by accounting business processes. CODA Bank Accounts configured as type 'Info' will only generate CODA Bank Statements. -A removal of one object in the CODA processing results in the removal of the associated objects. -The removal of a CODA File containing multiple Bank Statements will also remove those associated -statements. +A removal of one object in the CODA processing results in the removal of the associated +objects. The removal of a CODA File containing multiple Bank Statements will also +remove those associated statements. The following reconciliation logic has been implemented in the CODA processing: @@ -59,8 +60,9 @@ The following reconciliation logic has been implemented in the CODA processing: 3) When the previous step doesn't find a match, the transaction counterparty is located via the Bank Account Number configured on the OpenERP Customer and Supplier records. 4) In case the previous steps are not successful, the transaction is generated by using the 'Default Account for Unrecognized Movement' field of the CODA File Import wizard in order to allow further manual processing. -In stead of a manual adjustment of the generated Bank Statements, you can also re-import the CODA -after updating the OpenERP database with the information that was missing to allow automatic reconciliation. +In stead of a manual adjustment of the generated Bank Statements, you can also +re-import the CODA after updating the OpenERP database with the information that +was missing to allow automatic reconciliation. Remark on CODA V1 support: In some cases a transaction code, transaction category or structured communication code has been given a new or clearer description in CODA V2. diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 349a2e15b5a..6230e636296 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -31,14 +31,14 @@ and message management. The Social Networking module provides an unified social network abstraction layer allowing applications to display a complete -communication history on documents.It gives the users the possibility +communication history on documents. It gives the users the possibility to read and send messages and emails in an unified way. It also provides a feeds page combined to a subscription mechanism, that allows to follow documents, and to be constantly updated about recent news. -The main features of the module are : +The main features of the module are: * a clean and renewed communication history for any OpenERP document that can act as a discussion topic, * a discussion mean on documents, diff --git a/addons/point_of_sale/__openerp__.py b/addons/point_of_sale/__openerp__.py index ffe2b3cebe7..80933eaa785 100644 --- a/addons/point_of_sale/__openerp__.py +++ b/addons/point_of_sale/__openerp__.py @@ -29,7 +29,7 @@ This module provides a quick and easy sale process. =================================================== -Main features : +Main features: --------------- * Fast encoding of the sale. * Allow to choose one payment mode (the quick way) or to split the payment between several payment mode. diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index b109867f3d8..512ecfb6845 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -36,7 +36,7 @@ Project Management module tracks multi-level projects, tasks, work done on tasks It is able to render planning, order tasks. Dashboard for project management that includes: --------------------------------------------- +----------------------------------------------- * List of My Open Tasks * Graph of My Remaining Hours by Project """, From 1b4b0df313888d596e1afc16809c9dff78abf367 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 15:57:15 +0530 Subject: [PATCH 074/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712102715-wynxquf3zpidgmoz --- addons/account_followup/__openerp__.py | 12 +++++++----- addons/account_payment/__openerp__.py | 4 ++-- addons/analytic_user_function/__openerp__.py | 6 ++++-- addons/association/__openerp__.py | 3 ++- addons/audittrail/__openerp__.py | 4 ++-- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py index bdc4b12bb3e..f82741c15ad 100644 --- a/addons/account_followup/__openerp__.py +++ b/addons/account_followup/__openerp__.py @@ -30,14 +30,16 @@ Module to automate letters for unpaid invoices, with multi-level recalls. You can define your multiple levels of recall through the menu: Invoicing/Configuration/Miscellaneous/Follow-ups -Once it is defined, you can automatically print recalls every day through simply clicking on the menu: +Once it is defined, you can automatically print recalls every day through simply +clicking on the menu: Invoicing/Periodical Processing/Billing/Send follow-ups -It will generate a PDF with all the letters according to the the -different levels of recall defined. You can define different policies -for different companies. You can also send mail to the customer. +It will generate a PDF with all the letters according to the the different levels +of recall defined. You can define different policies for different companies. You +can also send mail to the customer. -Note that if you want to check the follow-up level for a given partner/account entry, you can do from in the menu: +Note that if you want to check the follow-up level for a given partner/account +entry, you can do from in the menu: Invoicing/Reporting/Generic Reporting/Partners/Follow-ups Sent """, diff --git a/addons/account_payment/__openerp__.py b/addons/account_payment/__openerp__.py index 1959d71da74..9e7209a348e 100644 --- a/addons/account_payment/__openerp__.py +++ b/addons/account_payment/__openerp__.py @@ -29,8 +29,8 @@ Module to manage the payment of your supplier invoices. ======================================================= This module allows you to create and manage your payment orders, with purposes to -* serve as base for an easy plug-in of various automated payment mechanisms. -* provide a more efficient way to manage invoice payment. + * serve as base for an easy plug-in of various automated payment mechanisms. + * provide a more efficient way to manage invoice payment. Warning: -------- diff --git a/addons/analytic_user_function/__openerp__.py b/addons/analytic_user_function/__openerp__.py index c2dcc3cc91b..33a6a543874 100644 --- a/addons/analytic_user_function/__openerp__.py +++ b/addons/analytic_user_function/__openerp__.py @@ -28,9 +28,11 @@ This module allows you to define what is the default function of a specific user on a given account. ==================================================================================================== -This is mostly used when a user encodes his timesheet: the values are retrieved and the fields are auto-filled. But the possibility to change these values is still available. +This is mostly used when a user encodes his timesheet: the values are retrieved and +the fields are auto-filled. But the possibility to change these values is still available. -Obviously if no data has been recorded for the current account, the default value is given as usual by the employee data so that this module is perfectly compatible with older configurations. +Obviously if no data has been recorded for the current account, the default value is given +as usual by the employee data so that this module is perfectly compatible with older configurations. """, 'author': 'OpenERP SA', diff --git a/addons/association/__openerp__.py b/addons/association/__openerp__.py index a3ad6a34c6d..2b7fcab8b12 100644 --- a/addons/association/__openerp__.py +++ b/addons/association/__openerp__.py @@ -28,7 +28,8 @@ This module is to configure modules related to an association. ============================================================== -It installs the profile for associations to manage events, registrations, memberships, membership products (schemes). +It installs the profile for associations to manage events, registrations, memberships, +membership products (schemes). """, 'author': 'OpenERP SA', 'depends': ['base_setup', 'membership', 'event'], diff --git a/addons/audittrail/__openerp__.py b/addons/audittrail/__openerp__.py index 94061548a89..9ba403bcee3 100644 --- a/addons/audittrail/__openerp__.py +++ b/addons/audittrail/__openerp__.py @@ -28,8 +28,8 @@ This module lets administrator track every user operation on all the objects of the system. =========================================================================================== -The administrator can subscribe to rules for read, write and -delete on objects and can check logs. +The administrator can subscribe to rules for read, write and delete on objects +and can check logs. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', From 1cd28c42bc3505117c6c59187599120661eff044 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 16:15:02 +0530 Subject: [PATCH 075/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712104502-o1prt23y0azyksix --- addons/base_crypt/__openerp__.py | 14 ++++++-------- addons/base_iban/__openerp__.py | 3 ++- addons/base_module_record/__openerp__.py | 9 ++++----- addons/base_report_designer/__openerp__.py | 5 ++--- addons/crm_caldav/__openerp__.py | 2 +- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/addons/base_crypt/__openerp__.py b/addons/base_crypt/__openerp__.py index efb2c662f04..3163f78ae7d 100644 --- a/addons/base_crypt/__openerp__.py +++ b/addons/base_crypt/__openerp__.py @@ -29,16 +29,14 @@ Replaces cleartext passwords in the database with a secure hash. ================================================================ -For your existing user base, the removal of the cleartext -passwords occurs immediately when you instal base_crypt. +For your existing user base, the removal of the cleartext passwords occurs +immediately when you instal base_crypt. -All passwords will be replaced by a secure, salted, cryptographic -hash, preventing anyone from reading the original password in -the database. +All passwords will be replaced by a secure, salted, cryptographic hash, +preventing anyone from reading the original password in the database. -After installing this module it won't be possible to recover a -forgotten password for your users, the only solution is for an -admin to set a new password. +After installing this module it won't be possible to recover a forgotten password +for your users, the only solution is for an admin to set a new password. Security Warning ++++++++++++++++ diff --git a/addons/base_iban/__openerp__.py b/addons/base_iban/__openerp__.py index d31f2f4ade5..cb0d89e6efe 100644 --- a/addons/base_iban/__openerp__.py +++ b/addons/base_iban/__openerp__.py @@ -26,7 +26,8 @@ This module installs the base for IBAN (International Bank Account Number) bank accounts and checks for its validity. ===================================================================================================================== -The ability to extract the correctly represented local accounts from IBAN accounts with a single statement. +The ability to extract the correctly represented local accounts from IBAN accounts +with a single statement. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/base_module_record/__openerp__.py b/addons/base_module_record/__openerp__.py index 4d4168160c0..0cbc3e02f90 100644 --- a/addons/base_module_record/__openerp__.py +++ b/addons/base_module_record/__openerp__.py @@ -28,16 +28,15 @@ This module allows you to create a new module without any development. ====================================================================== -It records all operations on objects during the recording session and -produce a .ZIP module. So you can create your own module directly from -the OpenERP client. +It records all operations on objects during the recording session and produce a +.ZIP module. So you can create your own module directly from the OpenERP client. This version works for creating and updating existing records. It recomputes dependencies and links for all types of widgets (many2one, many2many, ...). It also support workflows and demo/update data. -This should help you to easily create reusable and publishable modules -for custom configurations and demo/testing data. +This should help you to easily create reusable and publishable modules for custom +configurations and demo/testing data. How to use it: Run Settings/Technical/Module Creation/Export Customizations As a Module wizard. diff --git a/addons/base_report_designer/__openerp__.py b/addons/base_report_designer/__openerp__.py index 3b46389184d..078916b9439 100644 --- a/addons/base_report_designer/__openerp__.py +++ b/addons/base_report_designer/__openerp__.py @@ -28,9 +28,8 @@ This module is used along with OpenERP OpenOffice Plugin. ========================================================= -This module adds wizards to Import/Export .sxw report that -you can modify in OpenOffice. Once you have modified it you can -upload the report using the same wizard. +This module adds wizards to Import/Export .sxw report that you can modify in OpenOffice. +Once you have modified it you can upload the report using the same wizard. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/crm_caldav/__openerp__.py b/addons/crm_caldav/__openerp__.py index ce3193a595d..6e4c108e5dd 100644 --- a/addons/crm_caldav/__openerp__.py +++ b/addons/crm_caldav/__openerp__.py @@ -29,7 +29,7 @@ Caldav features in Meeting. =========================== - * Share meeting with other calendar clients like sunbird + * Share meeting with other calendar clients like sunbird """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', From 9b52110d4b9d644d452609d96aa73f5e91f99296 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Thu, 12 Jul 2012 16:19:25 +0530 Subject: [PATCH 076/170] [IMP] Improved bounce effect when kanban group column is folded. bzr revid: jra@tinyerp.com-20120712104925-3ouxmwk780x3pkra --- addons/web_kanban/static/src/js/kanban.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 903b4d32840..05505b26e53 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -416,12 +416,18 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ self.quick.focus(); }); var add_btn = this.$element.find('.oe_kanban_add'); + var fold_btn = this.$element.find('.oe_dropdown_kanban'); this.$records.click(function (ev) { if (ev.target == ev.currentTarget) { if (jQuery(window).scrollTop() > 120 ) { $('body,html').animate({ scrollTop: 0 }, 200); } - self.view.do_bounce(add_btn); + if (!self.state.folded) { + self.view.do_bounce(add_btn); + }else { + fold_btn.css('display','inline-block'); + self.view.do_bounce(fold_btn); + } } }); this.$records.find('.oe_kanban_show_more').click(this.do_show_more); From e2ebb07bd05be4e08db81124cfcabc7fb743ded2 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 16:31:12 +0530 Subject: [PATCH 077/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712110112-sv55u52q6f7s8k8m --- addons/crm_profiling/__openerp__.py | 10 +++++++--- addons/delivery/__openerp__.py | 4 ++-- addons/document/__openerp__.py | 4 ++-- addons/document_webdav/__openerp__.py | 3 ++- addons/edi/__openerp__.py | 13 ++++++------- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/addons/crm_profiling/__openerp__.py b/addons/crm_profiling/__openerp__.py index 52fcf1173ed..68594281b9b 100644 --- a/addons/crm_profiling/__openerp__.py +++ b/addons/crm_profiling/__openerp__.py @@ -28,11 +28,15 @@ This module allows users to perform segmentation within partners. ================================================================= -It uses the profiles criteria from the earlier segmentation module and improve it. Thanks to the new concept of questionnaire. You can now regroup questions into a questionnaire and directly use it on a partner. +It uses the profiles criteria from the earlier segmentation module and improve it. +Thanks to the new concept of questionnaire. You can now regroup questions into a +questionnaire and directly use it on a partner. -It also has been merged with the earlier CRM & SRM segmentation tool because they were overlapping. +It also has been merged with the earlier CRM & SRM segmentation tool because they +were overlapping. - * Note: this module is not compatible with the module segmentation, since it's the same which has been renamed. + * Note: this module is not compatible with the module segmentation, since + it's the same which has been renamed. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/delivery/__openerp__.py b/addons/delivery/__openerp__.py index cd8d2520db6..d0c25835371 100644 --- a/addons/delivery/__openerp__.py +++ b/addons/delivery/__openerp__.py @@ -28,8 +28,8 @@ Allows you to add delivery methods in sale orders and picking. ============================================================== -You can define your own carrier and delivery grids for prices. -When creating invoices from picking, OpenERP is able to add and compute the shipping line. +You can define your own carrier and delivery grids for prices. When creating +invoices from picking, OpenERP is able to add and compute the shipping line. """, 'author': 'OpenERP SA', diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index d8e42703efc..388a92e3abf 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -37,8 +37,8 @@ This is a complete document management system. * Files Size by Month (graph) ATTENTION: - - When you install this module in a running company that have already PDF files stored into the database, - you will lose them all. + - When you install this module in a running company that have already PDF + files stored into the database, you will lose them all. - After installing this module PDF's are no longer stored into the database, but in the servers rootpad like /server/bin/filestore. """, diff --git a/addons/document_webdav/__openerp__.py b/addons/document_webdav/__openerp__.py index ec50d9301dc..f694e588058 100644 --- a/addons/document_webdav/__openerp__.py +++ b/addons/document_webdav/__openerp__.py @@ -40,7 +40,8 @@ With this module, the WebDAV server for documents is activated. You can then use any compatible browser to remotely see the attachments of OpenObject. -After installation, the WebDAV server can be controlled by a [webdav] section in the server's config. +After installation, the WebDAV server can be controlled by a [webdav] section in +the server's config. Server Configuration Parameter: [webdav] diff --git a/addons/edi/__openerp__.py b/addons/edi/__openerp__.py index 580b838d155..3084d22685c 100644 --- a/addons/edi/__openerp__.py +++ b/addons/edi/__openerp__.py @@ -23,15 +23,14 @@ 'version': '1.0', 'category': 'Tools', 'description': """ -Provides a common EDI platform that other Applications can use -============================================================== +Provides a common EDI platform that other Applications can use. +=============================================================== -OpenERP specifies a generic EDI format for exchanging business -documents between different systems, and provides generic -mechanisms to import and export them. +OpenERP specifies a generic EDI format for exchanging business documents between +different systems, and provides generic mechanisms to import and export them. -More details about OpenERP's EDI format may be found in the -technical OpenERP documentation at http://doc.openerp.com +More details about OpenERP's EDI format may be found in the technical OpenERP +documentation at http://doc.openerp.com """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', From 3e94213845b7713b4e61e71922a0b0feeb51fc4f Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 17:15:35 +0530 Subject: [PATCH 078/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712114535-4a6ge109hskz0gcq --- addons/email_template/__openerp__.py | 4 +-- addons/event/__openerp__.py | 3 +- addons/event_moodle/__openerp__.py | 22 +++++++------- addons/event_sale/__openerp__.py | 9 ++++-- addons/fetchmail/__openerp__.py | 44 +++++++++++++--------------- 5 files changed, 42 insertions(+), 40 deletions(-) diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index a8303247ec0..b69dd2bb65c 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -28,8 +28,8 @@ "category" : "Marketing", "depends" : ['mail'], "description": """ -Email Templating (simplified version of the original Power Email by Openlabs) -============================================================================= +Email Templating (simplified version of the original Power Email by Openlabs). +============================================================================== Lets you design complete email templates related to any OpenERP document (Sale Orders, Invoices and so on), including sender, recipient, subject, body (HTML and diff --git a/addons/event/__openerp__.py b/addons/event/__openerp__.py index 0da2615d3a2..ea772778835 100644 --- a/addons/event/__openerp__.py +++ b/addons/event/__openerp__.py @@ -31,7 +31,8 @@ Organization and management of Events. This module allows you * to manage your events and their registrations - * to use emails to automatically confirm and send acknowledgements for any registration to an event + * to use emails to automatically confirm and send acknowledgements for any + registration to an event Note that: - You can define new types of events in diff --git a/addons/event_moodle/__openerp__.py b/addons/event_moodle/__openerp__.py index 954ce7d5bc6..a1e61377ce1 100644 --- a/addons/event_moodle/__openerp__.py +++ b/addons/event_moodle/__openerp__.py @@ -29,30 +29,28 @@ Configure your moodle server. ============================= With this module you are able to connect your OpenERP with a moodle plateform. -This module will create courses and students automatically in your moodle plateform to avoid wasting time. +This module will create courses and students automatically in your moodle plateform +to avoid wasting time. Now you have a simple way to create training or courses with OpenERP and moodle - STEPS TO CONFIGURE ------------------ -1. activate web service in moodle +1. activate web service in moodle. ---------------------------------- ->site administration >plugins >web sevices >manage protocols -activate the xmlrpc web service +>site administration >plugins >web sevices >manage protocols activate the xmlrpc web service ->site administration >plugins >web sevices >manage tokens -create a token +>site administration >plugins >web sevices >manage tokens create a token ->site administration >plugins >web sevices >overview -activate webservice +>site administration >plugins >web sevices >overview activate webservice -2. Create confirmation email with login and password ----------------------------------------------------- -we strongly suggest you to add those following lines at the bottom of your event confirmation email to communicate the login/password of moodle to your subscribers. +2. Create confirmation email with login and password. +----------------------------------------------------- +we strongly suggest you to add those following lines at the bottom of your event +confirmation email to communicate the login/password of moodle to your subscribers. ........your configuration text....... diff --git a/addons/event_sale/__openerp__.py b/addons/event_sale/__openerp__.py index d06e964c483..ddbb8fec22a 100644 --- a/addons/event_sale/__openerp__.py +++ b/addons/event_sale/__openerp__.py @@ -28,9 +28,14 @@ Creating registration with sale orders. ======================================= -This module allows you to automatize and connect your registration creation with your main sale flow and, therefore, to enable the invoicing feature of registrations. +This module allows you to automatize and connect your registration creation with +your main sale flow and, therefore, to enable the invoicing feature of registrations. -It defines a new kind of service products that offers you the possibility to choose an event category associated with it. When you encode a sale order for that product, you will be able to choose an existing event of that category and when you confirm your sale order it will automatically create a registration for this event. +It defines a new kind of service products that offers you the possibility to +choose an event category associated with it. When you encode a sale order for +that product, you will be able to choose an existing event of that category and +when you confirm your sale order it will automatically create a registration for +this event. """, 'author': 'OpenERP SA', 'depends': ['event','sale','sale_crm'], diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py index 8c720045197..c5e2a232c34 100644 --- a/addons/fetchmail/__openerp__.py +++ b/addons/fetchmail/__openerp__.py @@ -27,35 +27,33 @@ "author" : "OpenERP SA", "category": 'Tools', "description": """ -Retrieve incoming email on POP / IMAP servers. -============================================== +Retrieve incoming email on POP/IMAP servers. +============================================ -Enter the parameters of your POP/IMAP account(s), and any incoming -emails on these accounts will be automatically downloaded into your OpenERP -system. All POP3/IMAP-compatible servers are supported, included those -that require an encrypted SSL/TLS connection. +Enter the parameters of your POP/IMAP account(s), and any incoming emails on +these accounts will be automatically downloaded into your OpenERP system. All +POP3/IMAP-compatible servers are supported, included those that require an +encrypted SSL/TLS connection. -This can be used to easily create email-based workflows for many -email-enabled OpenERP documents, such as: +This can be used to easily create email-based workflows for many email-enabled +OpenERP documents, such as: - * CRM Leads/Opportunities - * CRM Claims - * Project Issues - * Project Tasks - * Human Resource Recruitments (Applicants) + * CRM Leads/Opportunities + * CRM Claims + * Project Issues + * Project Tasks + * Human Resource Recruitments (Applicants) -Just install the relevant application, and you can assign any of -these document types (Leads, Project Issues.) to your incoming -email accounts. New emails will automatically spawn new documents -of the chosen type, so it's a snap to create a mailbox-to-OpenERP -integration. Even better: these documents directly act as mini -conversations synchronized by email. You can reply from within -OpenERP, and the answers will automatically be collected when -they come back, and attached to the same *conversation* document. +Just install the relevant application, and you can assign any of these document +types (Leads, Project Issues.) to your incoming email accounts. New emails will +automatically spawn new documents of the chosen type, so it's a snap to create a +mailbox-to-OpenERP integration. Even better: these documents directly act as mini +conversations synchronized by email. You can reply from within OpenERP, and the +answers will automatically be collected when they come back, and attached to the +same *conversation* document. For more specific needs, you may also assign custom-defined actions -(technically: Server Actions) to be triggered for each incoming -mail. +(technically: Server Actions) to be triggered for each incoming mail. """, 'website': 'http://www.openerp.com', 'init_xml': [], From f72bbd07dce0c4f0cab4385a5baba432aada859a Mon Sep 17 00:00:00 2001 From: "Purnendu Singh (OpenERP)" Date: Thu, 12 Jul 2012 17:54:17 +0530 Subject: [PATCH 079/170] [IMP] crm: Improve the demo data in order to reflect meeting time in calender view bzr revid: psi@tinyerp.com-20120712122417-9uwvt5g32t9ssd9h --- addons/crm/crm_meeting_demo.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/crm/crm_meeting_demo.xml b/addons/crm/crm_meeting_demo.xml index 3f209aeecd9..b4710fffb2f 100644 --- a/addons/crm/crm_meeting_demo.xml +++ b/addons/crm/crm_meeting_demo.xml @@ -27,10 +27,10 @@ - + - + @@ -42,10 +42,10 @@ - + - + From dc336de847e161f349668fca68d160c14d347ee3 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Thu, 12 Jul 2012 18:21:14 +0530 Subject: [PATCH 080/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120712125114-pa2sf1scg4s17qjl --- addons/hr_evaluation/__openerp__.py | 11 +++++------ addons/hr_timesheet/__openerp__.py | 4 ++-- addons/import_base/__openerp__.py | 4 ++-- addons/import_sugarcrm/__openerp__.py | 5 +++-- addons/l10n_at/__openerp__.py | 5 ++++- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py index d2ca0df9738..25fe43a755c 100644 --- a/addons/hr_evaluation/__openerp__.py +++ b/addons/hr_evaluation/__openerp__.py @@ -31,12 +31,11 @@ Ability to create employees evaluation. ======================================= -An evaluation can be created by employee for subordinates, -juniors as well as his manager. The evaluation is done under a plan -in which various surveys can be created and it can be defined which -level of employee hierarchy fills what and final review and evaluation -is done by the manager. Every evaluation filled by the employees can be viewed -in the form of pdf file. +An evaluation can be created by employee for subordinates, juniors as well as +his manager. The evaluation is done under a plan in which various surveys can be +created and it can be defined which level of employee hierarchy fills what and +final review and evaluation is done by the manager. Every evaluation filled by +the employees can be viewed in the form of pdf file. """, "demo": ["hr_evaluation_demo.xml"], "data": [ diff --git a/addons/hr_timesheet/__openerp__.py b/addons/hr_timesheet/__openerp__.py index 6b8e618116e..d6a6232d1a0 100644 --- a/addons/hr_timesheet/__openerp__.py +++ b/addons/hr_timesheet/__openerp__.py @@ -34,8 +34,8 @@ the analytic account. Lots of reporting on time and employee tracking are provided. -It is completely integrated with the cost accounting module. It allows you -to set up a management by affair. +It is completely integrated with the cost accounting module. It allows you to set +up a management by affair. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/import_base/__openerp__.py b/addons/import_base/__openerp__.py index 847ed89f1ec..294f864a0e3 100644 --- a/addons/import_base/__openerp__.py +++ b/addons/import_base/__openerp__.py @@ -24,8 +24,8 @@ 'version': '0.9', 'category': 'Hidden/Dependency', 'description': """ - This module provide a class import_framework to help importing - complex data from other software +This module provide a class import_framework to help importing complex data from +other software. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/import_sugarcrm/__openerp__.py b/addons/import_sugarcrm/__openerp__.py index ea23247761d..f84b096e28a 100644 --- a/addons/import_sugarcrm/__openerp__.py +++ b/addons/import_sugarcrm/__openerp__.py @@ -23,8 +23,9 @@ 'name': 'SugarCRM Import', 'version': '1.0', 'category': 'Customer Relationship Management', - 'description': """This Module Import SugarCRM "Leads", "Opportunities", "Users", "Accounts", - "Contacts", "Employees", Meetings, Phonecalls, Emails, and Project, Project Tasks Data into OpenERP Module.""", + 'description': """ +This Module Import SugarCRM Leads, Opportunities, Users, Accounts, Contacts, Employees, +Meetings, Phonecalls, Emails, Project and Project Tasks Data into OpenERP Module.""", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['import_base','crm', 'document'], diff --git a/addons/l10n_at/__openerp__.py b/addons/l10n_at/__openerp__.py index 0f70ec5ddbd..fc266e40d51 100644 --- a/addons/l10n_at/__openerp__.py +++ b/addons/l10n_at/__openerp__.py @@ -26,7 +26,10 @@ "website" : "http://www.conexus.at", "category" : "Localization/Account Charts", "depends" : ["account_chart", 'base_vat'], - "description": "This module provides the standard Accounting Chart for Austria which is based on the Template from BMF.gv.at. Please keep in mind that you should review and adapt it with your Accountant, before using it in a live Environment.", + "description": """ +This module provides the standard Accounting Chart for Austria which is based on +the Template from BMF.gv.at. Please keep in mind that you should review and adapt +it with your Accountant, before using it in a live Environment.""", "demo_xml" : [], "update_xml" : ['account_tax_code.xml',"account_chart.xml",'account_tax.xml',"l10n_chart_at_wizard.xml"], "auto_install": False, From 476970cc2e6eb70a1506a7a3b0910ef7f976f293 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 10:41:29 +0530 Subject: [PATCH 081/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713051129-2590w2op0bx2znj7 --- addons/l10n_be/__openerp__.py | 20 ++++++++++++------- addons/l10n_be_hr_payroll/__openerp__.py | 8 ++++---- .../l10n_be_hr_payroll_account/__openerp__.py | 2 +- addons/l10n_be_invoice_bba/__openerp__.py | 9 ++++++--- addons/l10n_br/__openerp__.py | 18 +++++++++++++++-- 5 files changed, 40 insertions(+), 17 deletions(-) diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py index d8bf8fb88a2..1f4bcfe6284 100644 --- a/addons/l10n_be/__openerp__.py +++ b/addons/l10n_be/__openerp__.py @@ -27,17 +27,23 @@ This is the base module to manage the accounting chart for Belgium in OpenERP. After installing this module, the Configuration wizard for accounting is launched. * We have the account templates which can be helpful to generate Charts of Accounts. - * On that particular wizard, 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 account and bank account, currency to create journals. + * On that particular wizard, 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 + account and bank account, currency to create journals. Thus, the pure copy of Chart Template is generated. Wizards provided by this module: - * Partner VAT Intra: Enlist the partners with their related VAT and invoiced amounts.Prepares an XML file format. - Path to access : Accounting/Reporting//Legal Statements/Belgium Statements/Partner VAT Listing - * Periodical VAT Declaration: Prepares an XML file for Vat Declaration of the Main company of the User currently Logged in. - Path to access : Accounting/Reporting/Legal Statements/Belgium Statements/Periodical VAT Declaration - * Annual Listing Of VAT-Subjected Customers: Prepares an XML file for Vat Declaration of the Main company of the User currently Logged in.Based on Fiscal year - Path to access : Accounting/Reporting/Legal Statements/Belgium Statements/Annual Listing Of VAT-Subjected Customers + * Partner VAT Intra: Enlist the partners with their related VAT and invoiced + amounts. Prepares an XML file format. + Path to access : Invoicing/Reporting/Legal Reports/Belgium Statements/Partner VAT Intra + * Periodical VAT Declaration: Prepares an XML file for Vat Declaration of + the Main company of the User currently Logged in. + Path to access : Invoicing/Reporting/Legal Reports/Belgium Statements/Periodical VAT Declaration + * Annual Listing Of VAT-Subjected Customers: Prepares an XML file for Vat + Declaration of the Main company of the User currently Logged in Based on + Fiscal year. + Path to access : Invoicing/Reporting/Legal Reports/Belgium Statements/Annual Listing Of VAT-Subjected Customers """, 'author': 'Noviat & OpenERP SA', diff --git a/addons/l10n_be_hr_payroll/__openerp__.py b/addons/l10n_be_hr_payroll/__openerp__.py index 9b6cd025b3f..e0d7ada059b 100644 --- a/addons/l10n_be_hr_payroll/__openerp__.py +++ b/addons/l10n_be_hr_payroll/__openerp__.py @@ -25,14 +25,14 @@ 'depends': ['hr_payroll'], 'version': '1.0', 'description': """ -Belgian Payroll Rules -===================== +Belgian Payroll Rules. +====================== * Employee Details * Employee Contracts * Passport based Contract - * Allowances / Deductions - * Allow to configure Basic / Gross / Net Salary + * Allowances/Deductions + * Allow to configure Basic/Gross/Net Salary * Employee Payslip * Monthly Payroll Register * Integrated with Holiday Management diff --git a/addons/l10n_be_hr_payroll_account/__openerp__.py b/addons/l10n_be_hr_payroll_account/__openerp__.py index ce6730df3da..81c7e243b39 100644 --- a/addons/l10n_be_hr_payroll_account/__openerp__.py +++ b/addons/l10n_be_hr_payroll_account/__openerp__.py @@ -25,7 +25,7 @@ 'depends': ['l10n_be_hr_payroll', 'hr_payroll_account', 'l10n_be'], 'version': '1.0', 'description': """ -Accounting Data for Belgian Payroll Rules +Accounting Data for Belgian Payroll Rules. """, 'auto_install': True, diff --git a/addons/l10n_be_invoice_bba/__openerp__.py b/addons/l10n_be_invoice_bba/__openerp__.py index 9cdc97d0c71..9f4efe1b31e 100644 --- a/addons/l10n_be_invoice_bba/__openerp__.py +++ b/addons/l10n_be_invoice_bba/__openerp__.py @@ -32,7 +32,9 @@ Belgian localisation for in- and outgoing invoices (prereq to account_coda): - Rename 'reference' field labels to 'Communication' - Add support for Belgian Structured Communication -A Structured Communication can be generated automatically on outgoing invoices according to the following algorithms: +A Structured Communication can be generated automatically on outgoing invoices +according to the following algorithms: + 1) Random : +++RRR/RRRR/RRRDD+++ R..R = Random Digits, DD = Check Digits 2) Date : +++DOY/YEAR/SSSDD+++ @@ -40,8 +42,9 @@ A Structured Communication can be generated automatically on outgoing invoices a 3) Customer Reference +++RRR/RRRR/SSSDDD+++ R..R = Customer Reference without non-numeric characters, SSS = Sequence Number, DD = Check Digits) -The preferred type of Structured Communication and associated Algorithm can be specified on the Partner records. -A 'random' Structured Communication will generated if no algorithm is specified on the Partner record. +The preferred type of Structured Communication and associated Algorithm can be +specified on the Partner records. A 'random' Structured Communication will +generated if no algorithm is specified on the Partner record. """, 'depends': ['account'], diff --git a/addons/l10n_br/__openerp__.py b/addons/l10n_br/__openerp__.py index 909d4f53600..a2acd722eaf 100644 --- a/addons/l10n_br/__openerp__.py +++ b/addons/l10n_br/__openerp__.py @@ -41,9 +41,23 @@ This module consists in: - Tax Situation Code (CST) required for the electronic fiscal invoicing (NFe) -The field tax_discount has also been added in the account.tax.template and account.tax objects to allow the proper computation of some Brazilian VATs such as ICMS. The chart of account creation wizard has been extended to propagate those new data properly. +The field tax_discount has also been added in the account.tax.template and account.tax +objects to allow the proper computation of some Brazilian VATs such as ICMS. The +chart of account creation wizard has been extended to propagate those new data properly. -It's important to note however that this module lack many implementations to use OpenERP properly in Brazil. Those implementations (such as the electronic fiscal Invoicing which is already operational) are brought by more than 15 additional modules of the Brazilian Launchpad localization project https://launchpad.net/openerp.pt-br-localiz and their dependencies in the extra addons branch. Those modules aim at not breaking with the remarkable OpenERP modularity, this is why they are numerous but small. One of the reasons for maintaining those modules apart is that Brazilian Localization leaders need commit rights agility to complete the localization as companies fund the remaining legal requirements (such as soon fiscal ledgers, accounting SPED, fiscal SPED and PAF ECF that are still missing as September 2011). Those modules are also strictly licensed under AGPL V3 and today don't come with any additional paid permission for online use of 'private modules'.""", +It's important to note however that this module lack many implementations to use +OpenERP properly in Brazil. Those implementations (such as the electronic fiscal +Invoicing which is already operational) are brought by more than 15 additional +modules of the Brazilian Launchpad localization project +https://launchpad.net/openerp.pt-br-localiz and their dependencies in the extra +addons branch. Those modules aim at not breaking with the remarkable OpenERP +modularity, this is why they are numerous but small. One of the reasons for +maintaining those modules apart is that Brazilian Localization leaders need commit +rights agility to complete the localization as companies fund the remaining legal +requirements (such as soon fiscal ledgers, accounting SPED, fiscal SPED and PAF +ECF that are still missing as September 2011). Those modules are also strictly +licensed under AGPL V3 and today don't come with any additional paid permission +for online use of 'private modules'.""", 'license': 'AGPL-3', 'author': 'Akretion, OpenERP Brasil', 'website': 'http://openerpbrasil.org', From 3b36ef133917540bccf8a25a2c22fdaf04020729 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 10:56:52 +0530 Subject: [PATCH 082/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713052652-fy5dlrltgdmsz9z1 --- addons/l10n_br/__openerp__.py | 4 ++-- addons/l10n_ch/__openerp__.py | 20 ++++++++++---------- addons/l10n_cn/__openerp__.py | 6 +++--- addons/l10n_cr/__openerp__.py | 14 +++++++------- addons/l10n_es/__openerp__.py | 14 +++++++------- 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/addons/l10n_br/__openerp__.py b/addons/l10n_br/__openerp__.py index a2acd722eaf..022fa1b6a4d 100644 --- a/addons/l10n_br/__openerp__.py +++ b/addons/l10n_br/__openerp__.py @@ -22,8 +22,8 @@ 'name': 'Brazilian - Accounting', 'category': 'Localization/Account Charts', 'description': """ -Base module for the Brazilian localization -========================================== +Base module for the Brazilian localization. +=========================================== This module consists in: diff --git a/addons/l10n_ch/__openerp__.py b/addons/l10n_ch/__openerp__.py index d5ed358d25c..d3b7e796aee 100644 --- a/addons/l10n_ch/__openerp__.py +++ b/addons/l10n_ch/__openerp__.py @@ -36,10 +36,11 @@ You can also add ZIP and bank completion with: ------------------------------------------------------------------------ -Module incluant la localisation Suisse de TinyERP revu et corrigé par Camptocamp. Cette nouvelle version -comprend la gestion et l'émissionde BVR, le paiement électronique via DTA (pour les banques, le système postal est en développement) -et l'import du relevé de compte depuis la banque de manière automatisée. -De plus, nous avons intégré la définition de toutes les banques Suisses(adresse, swift et clearing). +Module incluant la localisation Suisse de TinyERP revu et corrigé par Camptocamp. +Cette nouvelle version comprend la gestion et l'émissionde BVR, le paiement +électronique via DTA (pour les banques, le système postal est en développement) +et l'import du relevé de compte depuis la banque de manière automatisée. De plus, +nous avons intégré la définition de toutes les banques Suisses(adresse, swift et clearing). Par ailleurs, conjointement à ce module, nous proposons la complétion NPA: @@ -52,12 +53,11 @@ Vous pouvez ajouter la completion des banques et des NPA avec with: -------------------------------------------------------------------------- TODO : -- Implement bvr import partial reconciliation -- Replace wizard by osv_memory when possible -- Add mising HELP -- Finish code comment -- Improve demo data - + - Implement bvr import partial reconciliation + - Replace wizard by osv_memory when possible + - Add mising HELP + - Finish code comment + - Improve demo data """, "version": "6.1", diff --git a/addons/l10n_cn/__openerp__.py b/addons/l10n_cn/__openerp__.py index 6e66c77e45b..e173c5ebba2 100644 --- a/addons/l10n_cn/__openerp__.py +++ b/addons/l10n_cn/__openerp__.py @@ -26,9 +26,9 @@ "website":"http://openerp-china.org", "url":"http://code.google.com/p/openerp-china/source/browse/#svn/trunk/l10n_cn", "description": """ - 添加中文省份数据 - 科目类型\会计科目表模板\增值税\辅助核算类别\管理会计凭证簿\财务会计凭证簿 - ============================================================ +添加中文省份数据 +科目类型\会计科目表模板\增值税\辅助核算类别\管理会计凭证簿\财务会计凭证簿 +============================================================ """, "depends" : ["base","account"], 'init_xml': [ diff --git a/addons/l10n_cr/__openerp__.py b/addons/l10n_cr/__openerp__.py index e224f22358a..562af835398 100644 --- a/addons/l10n_cr/__openerp__.py +++ b/addons/l10n_cr/__openerp__.py @@ -44,14 +44,14 @@ Chart of accounts for Costa Rica. ================================= Includes: -* account.type -* account.account.template -* account.tax.template -* account.tax.code.template -* account.chart.template + * account.type + * account.account.template + * account.tax.template + * account.tax.code.template + * account.chart.template -Everything is in English with Spanish translation. Further translations are welcome, please go to -http://translations.launchpad.net/openerp-costa-rica +Everything is in English with Spanish translation. Further translations are welcome, +please go to http://translations.launchpad.net/openerp-costa-rica. """, 'depends': ['account', 'account_chart', 'base'], 'init_xml': [], diff --git a/addons/l10n_es/__openerp__.py b/addons/l10n_es/__openerp__.py index 95b8ab7b57c..aabe62ac567 100644 --- a/addons/l10n_es/__openerp__.py +++ b/addons/l10n_es/__openerp__.py @@ -31,14 +31,14 @@ Spanish Charts of Accounts (PGCE 2008). ======================================= -* Defines the following chart of account templates: - * Spanish General Chart of Accounts 2008. - * Spanish General Chart of Accounts 2008 for small and medium companies. -* Defines templates for sale and purchase VAT. -* Defines tax code templates. + * Defines the following chart of account templates: + * Spanish General Chart of Accounts 2008. + * Spanish General Chart of Accounts 2008 for small and medium companies. + * Defines templates for sale and purchase VAT. + * Defines tax code templates. -Note: You should install the l10n_ES_account_balance_report module -for yearly account reporting (balance, profit & losses). +Note: You should install the l10n_ES_account_balance_report module for yearly + account reporting (balance, profit & losses). """, "license" : "GPL-3", "depends" : ["account", "base_vat", "base_iban"], From a68bc608286d2a3c74cc4464470fc29023ba245d Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 11:20:22 +0530 Subject: [PATCH 083/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713055022-bn9rl00g9dzkfjg8 --- addons/l10n_fr/__openerp__.py | 16 ++++++++++--- addons/l10n_fr_hr_payroll/__openerp__.py | 25 +++++++++++--------- addons/l10n_fr_rib/__openerp__.py | 29 ++++++++++++++++-------- addons/l10n_gt/__openerp__.py | 4 +++- addons/l10n_hn/__openerp__.py | 5 +++- 5 files changed, 53 insertions(+), 26 deletions(-) diff --git a/addons/l10n_fr/__openerp__.py b/addons/l10n_fr/__openerp__.py index bab6af2d49c..ec31f71513a 100644 --- a/addons/l10n_fr/__openerp__.py +++ b/addons/l10n_fr/__openerp__.py @@ -35,11 +35,21 @@ This is the module to manage the accounting chart for France in OpenERP. ======================================================================== -This module applies to companies based in France mainland. It doesn't apply to companies based in the DOM-TOMs (Guadeloupe, Martinique, Guyane, Réunion, Mayotte) +This module applies to companies based in France mainland. It doesn't apply to +companies based in the DOM-TOMs (Guadeloupe, Martinique, Guyane, Réunion, Mayotte). -This localisation module creates the VAT taxes of type "tax included" for purchases (it is notably required when you use the module "hr_expense"). Beware that these "tax included" VAT taxes are not managed by the fiscal positions provided by this module (because it is complex to manage both "tax excluded" and "tax included" scenarios in fiscal positions). +This localisation module creates the VAT taxes of type "tax included" for purchases +(it is notably required when you use the module "hr_expense"). Beware that these +"tax included" VAT taxes are not managed by the fiscal positions provided by this +module (because it is complex to manage both "tax excluded" and "tax included" +scenarios in fiscal positions). -This localisation module doesn't properly handle the scenario when a France-mainland company sells services to a company based in the DOMs. We could manage it in the fiscal positions, but it would require to differentiate between "product" VAT taxes and "service" VAT taxes. We consider that it is too "heavy" to have this by default in l10n_fr ; companies that sell services to DOM-based companies should update the configuration of their taxes and fiscal positions manually. +This localisation module doesn't properly handle the scenario when a France-mainland +company sells services to a company based in the DOMs. We could manage it in the +fiscal positions, but it would require to differentiate between "product" VAT taxes +and "service" VAT taxes. We consider that it is too "heavy" to have this by default +in l10n_fr; companies that sell services to DOM-based companies should update the +configuration of their taxes and fiscal positions manually. Credits: Sistheo, Zeekom, CrysaLEAD, Akretion and Camptocamp. """, diff --git a/addons/l10n_fr_hr_payroll/__openerp__.py b/addons/l10n_fr_hr_payroll/__openerp__.py index b9bc3b74f22..fd1f595a7e3 100755 --- a/addons/l10n_fr_hr_payroll/__openerp__.py +++ b/addons/l10n_fr_hr_payroll/__openerp__.py @@ -25,19 +25,22 @@ 'depends': ['hr_payroll', 'l10n_fr'], 'version': '1.0', 'description': """ -French Payroll Rules -======================= +French Payroll Rules. +===================== - -Configuration of hr_payroll for french localization - -All main contributions rules for french payslip, for 'cadre' and 'non-cadre' - -New payslip report + - Configuration of hr_payroll for french localization + - All main contributions rules for french payslip, for 'cadre' and 'non-cadre' + - New payslip report - TODO : - -Integration with holidays module for deduction and allowance - -Integration with hr_payroll_account for the automatic account_move_line creation from the payslip - -Continue to integrate the contribution. Only the main contribution are currently implemented - -Remake the report under webkit - -The payslip.line with appears_in_payslip = False should appears in the payslip interface, but not in the payslip report +TODO : + - Integration with holidays module for deduction and allowance + - Integration with hr_payroll_account for the automatic account_move_line + creation from the payslip + - Continue to integrate the contribution. Only the main contribution are + currently implemented + - Remake the report under webkit + - The payslip.line with appears_in_payslip = False should appears in the + payslip interface, but not in the payslip report """, 'active': False, diff --git a/addons/l10n_fr_rib/__openerp__.py b/addons/l10n_fr_rib/__openerp__.py index ac1b03f4b3e..fedac46381d 100644 --- a/addons/l10n_fr_rib/__openerp__.py +++ b/addons/l10n_fr_rib/__openerp__.py @@ -25,17 +25,26 @@ "category": 'Hidden/Dependency', 'description': ''' This module lets users enter the banking details of Partners in the RIB format (French standard for bank accounts details). -RIB Bank Accounts can be entered in the "Accounting" tab of the Partner form by specifying the account type "RIB". The four standard RIB fields will then become mandatory: -- Bank Code -- Office Code -- Account number -- RIB key -As a safety measure, OpenERP will check the RIB key whenever a RIB is saved, and will refuse to record the data if the key is incorrect. Please bear in mind that this can only happen when the user presses the "save" button, for example on the Partner Form. -Since each bank account may relate to a Bank, users may enter the RIB Bank Code in the Bank form - it will the pre-fill the Bank Code on the RIB when they select the Bank. -To make this easier, this module will also let users find Banks using their RIB code. +=========================================================================================================================== -The module base_iban can be a useful addition to this module, because French banks are now progressively adopting the international IBAN format instead of the RIB format. -The RIB and IBAN codes for a single account can be entered by recording two Bank Accounts in OpenERP: the first with the type "RIB", the second with the type "IBAN". +RIB Bank Accounts can be entered in the "Accounting" tab of the Partner form by specifying +the account type "RIB". The four standard RIB fields will then become mandatory: + - Bank Code + - Office Code + - Account number + - RIB key +As a safety measure, OpenERP will check the RIB key whenever a RIB is saved, and +will refuse to record the data if the key is incorrect. Please bear in mind that +this can only happen when the user presses the "save" button, for example on the +Partner Form. Since each bank account may relate to a Bank, users may enter the +RIB Bank Code in the Bank form - it will the pre-fill the Bank Code on the RIB +when they select the Bank. To make this easier, this module will also let users +find Banks using their RIB code. + +The module base_iban can be a useful addition to this module, because French banks +are now progressively adopting the international IBAN format instead of the RIB format. +The RIB and IBAN codes for a single account can be entered by recording two Bank +Accounts in OpenERP: the first with the type "RIB", the second with the type "IBAN". ''', 'author' : u'Numérigraphe SARL', 'depends': ['account', 'base_iban'], diff --git a/addons/l10n_gt/__openerp__.py b/addons/l10n_gt/__openerp__.py index f05bbdaaff1..44389e68439 100644 --- a/addons/l10n_gt/__openerp__.py +++ b/addons/l10n_gt/__openerp__.py @@ -40,7 +40,9 @@ This is the base module to manage the accounting chart for Guatemala. ===================================================================== -Agrega una nomenclatura contable para Guatemala. También icluye impuestos y la moneda del Quetzal. -- Adds accounting chart for Guatemala. It also includes taxes and the Quetzal currency""", +Agrega una nomenclatura contable para Guatemala. También icluye impuestos y +la moneda del Quetzal. -- Adds accounting chart for Guatemala. It also includes +taxes and the Quetzal currency.""", 'author': 'José Rodrigo Fernández Menegazzo', 'website': 'http://solucionesprisma.com/', 'depends': ['base', 'account', 'account_chart'], diff --git a/addons/l10n_hn/__openerp__.py b/addons/l10n_hn/__openerp__.py index af8bb4cfa1d..25655e52e70 100644 --- a/addons/l10n_hn/__openerp__.py +++ b/addons/l10n_hn/__openerp__.py @@ -36,7 +36,10 @@ 'name': 'Honduras - Accounting', 'version': '0.1', 'category': 'Localization/Account Charts', - 'description': """Agrega una nomenclatura contable para Honduras. También incluye impuestos y la moneda Lempira. -- Adds accounting chart for Honduras. It also includes taxes and the Lempira currency""", + 'description': """ +Agrega una nomenclatura contable para Honduras. También incluye impuestos y la +moneda Lempira. -- Adds accounting chart for Honduras. It also includes taxes +and the Lempira currency.""", 'author': 'Salvatore Josue Trimarchi Pinto', 'website': 'http://trimarchi.co.cc', 'depends': ['base', 'account', 'account_chart'], From 12f3cef6292cf11e20827ce397f9d10aac0b6f35 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 11:32:55 +0530 Subject: [PATCH 084/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713060255-izdtqq9196n2emz6 --- addons/l10n_in/__openerp__.py | 4 ++-- addons/l10n_lu/__openerp__.py | 2 +- addons/l10n_ma/__openerp__.py | 6 +++++- addons/l10n_multilang/__openerp__.py | 7 ++++--- addons/l10n_nl/__openerp__.py | 23 ++++++++++++++++------- 5 files changed, 28 insertions(+), 14 deletions(-) diff --git a/addons/l10n_in/__openerp__.py b/addons/l10n_in/__openerp__.py index c13139f6736..f052a2d63ca 100644 --- a/addons/l10n_in/__openerp__.py +++ b/addons/l10n_in/__openerp__.py @@ -23,8 +23,8 @@ "name": "India - Accounting", "version": "1.0", "description": """ -Indian Accounting : Chart of Account. -===================================== +Indian Accounting: Chart of Account. +==================================== Indian accounting chart and localization. """, diff --git a/addons/l10n_lu/__openerp__.py b/addons/l10n_lu/__openerp__.py index bb12abd76fc..1ade34faaca 100644 --- a/addons/l10n_lu/__openerp__.py +++ b/addons/l10n_lu/__openerp__.py @@ -28,7 +28,7 @@ This is the base module to manage the accounting chart for Luxembourg. ====================================================================== - * the KLUWER Chart of Accounts, + * the KLUWER Chart of Accounts * the Tax Code Chart for Luxembourg * the main taxes used in Luxembourg""", 'author': 'OpenERP SA', diff --git a/addons/l10n_ma/__openerp__.py b/addons/l10n_ma/__openerp__.py index 21b7c632d6b..52f453af8bb 100644 --- a/addons/l10n_ma/__openerp__.py +++ b/addons/l10n_ma/__openerp__.py @@ -28,7 +28,11 @@ This is the base module to manage the accounting chart for Maroc. ================================================================= -Ce Module charge le modèle du plan de comptes standard Marocain et permet de générer les états comptables aux normes marocaines (Bilan, CPC (comptes de produits et charges), balance générale à 6 colonnes, Grand livre cumulatif...). L'intégration comptable a été validé avec l'aide du Cabinet d'expertise comptable Seddik au cours du troisième trimestre 2010""", +Ce Module charge le modèle du plan de comptes standard Marocain et permet de +générer les états comptables aux normes marocaines (Bilan, CPC (comptes de +produits et charges), balance générale à 6 colonnes, Grand livre cumulatif...). +L'intégration comptable a été validé avec l'aide du Cabinet d'expertise comptable +Seddik au cours du troisième trimestre 2010.""", "website": "http://www.kazacube.com", "depends" : ["base", "account"], "init_xml" : [], diff --git a/addons/l10n_multilang/__openerp__.py b/addons/l10n_multilang/__openerp__.py index 42ca20a2f8e..cf521f124f4 100644 --- a/addons/l10n_multilang/__openerp__.py +++ b/addons/l10n_multilang/__openerp__.py @@ -25,10 +25,11 @@ "author" : "OpenERP SA", "category": 'Hidden/Dependency', "description": """ - * Multi language support for Chart of Accounts, Taxes, Tax Codes , Journals, Accounting Templates, - Analytic Chart of Accounts and Analytic Journals. + * Multi language support for Chart of Accounts, Taxes, Tax Codes, Journals, + Accounting Templates, Analytic Chart of Accounts and Analytic Journals. * Setup wizard changes - - Copy translations for COA, Tax, Tax Code and Fiscal Position from templates to target objects. + - Copy translations for COA, Tax, Tax Code and Fiscal Position from + templates to target objects. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/l10n_nl/__openerp__.py b/addons/l10n_nl/__openerp__.py index 562fd0ab876..b46c8781f42 100644 --- a/addons/l10n_nl/__openerp__.py +++ b/addons/l10n_nl/__openerp__.py @@ -94,19 +94,28 @@ This is the module to manage the accounting chart for Netherlands in OpenERP. ============================================================================= Read changelog in file __openerp__.py for version information. -Dit is een basismodule om een uitgebreid grootboek- en BTW schema voor Nederlandse bedrijven te installeren in OpenERP versie 5. +Dit is een basismodule om een uitgebreid grootboek- en BTW schema voor +Nederlandse bedrijven te installeren in OpenERP versie 5. -De BTW rekeningen zijn waar nodig gekoppeld om de juiste rapportage te genereren, denk b.v. aan intracommunautaire verwervingen -waarbij u 19% BTW moet opvoeren, maar tegelijkertijd ook 19% als voorheffing weer mag aftrekken. +De BTW rekeningen zijn waar nodig gekoppeld om de juiste rapportage te genereren, +denk b.v. aan intracommunautaire verwervingen waarbij u 19% BTW moet opvoeren, +maar tegelijkertijd ook 19% als voorheffing weer mag aftrekken. Na installatie van deze module word de configuratie wizard voor "Accounting" aangeroepen. - * U krijgt een lijst met grootboektemplates aangeboden waarin zich ook het Nederlandse grootboekschema bevind. + * U krijgt een lijst met grootboektemplates aangeboden waarin zich ook het + Nederlandse grootboekschema bevind. - * Als de configuratie wizard start, wordt u gevraagd om de naam van uw bedrijf in te voeren, welke grootboekschema te installeren, uit hoeveel cijfers een grootboekrekening mag bestaan, het rekeningnummer van uw bank en de currency om Journalen te creeren. + * Als de configuratie wizard start, wordt u gevraagd om de naam van uw bedrijf + in te voeren, welke grootboekschema te installeren, uit hoeveel cijfers een + grootboekrekening mag bestaan, het rekeningnummer van uw bank en de currency + om Journalen te creeren. -Let op!! -> De template van het Nederlandse rekeningschema is opgebouwd uit 4 cijfers. Dit is het minimale aantal welk u moet invullen, u mag het aantal verhogen. De extra cijfers worden dan achter het rekeningnummer aangevult met "nullen" +Let op!! -> De template van het Nederlandse rekeningschema is opgebouwd uit 4 +cijfers. Dit is het minimale aantal welk u moet invullen, u mag het aantal verhogen. +De extra cijfers worden dan achter het rekeningnummer aangevult met "nullen". - * Dit is dezelfe configuratie wizard welke aangeroepen kan worden via Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. + * Dit is dezelfe configuratie wizard welke aangeroepen kan worden via + Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. """, "author" : "Veritos - Jan Verlaan", From 413535b2ca88322bd51634fdc9cdf7a01ee621c7 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 11:41:34 +0530 Subject: [PATCH 085/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713061134-rg66cns2fqnhovcj --- addons/l10n_pe/__openerp__.py | 5 +++-- addons/l10n_syscohada/__openerp__.py | 13 ++++++++----- addons/l10n_tr/__openerp__.py | 5 +++-- addons/l10n_uk/__openerp__.py | 4 +++- addons/l10n_us/__openerp__.py | 2 +- addons/l10n_uy/__openerp__.py | 6 +++--- 6 files changed, 21 insertions(+), 14 deletions(-) diff --git a/addons/l10n_pe/__openerp__.py b/addons/l10n_pe/__openerp__.py index fa65c1033b7..7908664ca83 100644 --- a/addons/l10n_pe/__openerp__.py +++ b/addons/l10n_pe/__openerp__.py @@ -22,9 +22,10 @@ "name": "Peru Localization Chart Account", "version": "1.0", "description": """ -Peruvian accounting chart and tax localization. Acording the PCGE 2010 +Peruvian accounting chart and tax localization. Acording the PCGE 2010. -Plan contable peruano e impuestos de acuerdo a disposiciones vigentes de la SUNAT 2011 (PCGE 2010) +Plan contable peruano e impuestos de acuerdo a disposiciones vigentes de la +SUNAT 2011 (PCGE 2010). """, "author": ["Cubic ERP"], diff --git a/addons/l10n_syscohada/__openerp__.py b/addons/l10n_syscohada/__openerp__.py index 01c1aaef96f..2fd6917ec11 100644 --- a/addons/l10n_syscohada/__openerp__.py +++ b/addons/l10n_syscohada/__openerp__.py @@ -24,12 +24,15 @@ "version" : "1.0", "author" : "Baamtu Senegal", "category" : "Localization/Account Charts", - "description": """This module implements the accounting chart for OHADA area. - It allows any company or association to manage its financial accounting. - Countries that use OHADA are the following: + "description": """ +This module implements the accounting chart for OHADA area. +=========================================================== + +It allows any company or association to manage its financial accounting. +Countries that use OHADA are the following: Benin, Burkina Faso, Cameroon, Central African Republic, Comoros, Congo, - Ivory Coast, Gabon, Guinea, Guinea Bissau, - Equatorial Guinea, Mali, Niger, Replica of Democratic Congo, Senegal, Chad, Togo. + Ivory Coast, Gabon, Guinea, Guinea Bissau, Equatorial Guinea, Mali, Niger, + Replica of Democratic Congo, Senegal, Chad, Togo. """, "website": "http://www.baamtu.com", "depends" : ["account", "base_vat"], diff --git a/addons/l10n_tr/__openerp__.py b/addons/l10n_tr/__openerp__.py index ad4621499d3..d72865a216c 100644 --- a/addons/l10n_tr/__openerp__.py +++ b/addons/l10n_tr/__openerp__.py @@ -23,10 +23,11 @@ 'category': 'Localization/Account Charts', 'description': """ Türkiye için Tek düzen hesap planı şablonu OpenERP Modülü. -============================================================================== +========================================================== Bu modül kurulduktan sonra, Muhasebe yapılandırma sihirbazı çalışır - * Sihirbaz sizden hesap planı şablonu, planın kurulacağı şirket,banka hesap bilgileriniz,ilgili para birimi gibi bilgiler isteyecek. + * Sihirbaz sizden hesap planı şablonu, planın kurulacağı şirket, banka hesap + bilgileriniz, ilgili para birimi gibi bilgiler isteyecek. """, 'author': 'Ahmet Altınışık', 'maintainer':'https://launchpad.net/~openerp-turkey', diff --git a/addons/l10n_uk/__openerp__.py b/addons/l10n_uk/__openerp__.py index f6e8212aed0..19a9747ea6a 100644 --- a/addons/l10n_uk/__openerp__.py +++ b/addons/l10n_uk/__openerp__.py @@ -23,7 +23,9 @@ 'name': 'UK - Accounting', 'version': '1.0', 'category': 'Localization/Account Charts', - 'description': """This is the latest UK OpenERP localisation necesary to run OpenERP accounting for UK SME's with: + 'description': """ +This is the latest UK OpenERP localisation necesary to run OpenERP accounting +for UK SME's with: - a CT600-ready chart of accounts - VAT100-ready tax structure - InfoLogic UK counties listing diff --git a/addons/l10n_us/__openerp__.py b/addons/l10n_us/__openerp__.py index 4aac9b14287..f900c3d5e99 100644 --- a/addons/l10n_us/__openerp__.py +++ b/addons/l10n_us/__openerp__.py @@ -24,7 +24,7 @@ "author": "OpenERP SA", "category": 'Localization/Account Charts', "description": """ - United States - Chart of accounts +United States - Chart of accounts. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/l10n_uy/__openerp__.py b/addons/l10n_uy/__openerp__.py index 4edfe22e1e8..5e4eb51ffc0 100644 --- a/addons/l10n_uy/__openerp__.py +++ b/addons/l10n_uy/__openerp__.py @@ -28,10 +28,10 @@ "category" : "Localization/Account Charts", "website" : "https://launchpad.net/openerp-uruguay", "description": """ -General Chart of Accounts -========================= +General Chart of Accounts. +========================== -Provide Templates for Chart of Accounts, Taxes for Uruguay +Provide Templates for Chart of Accounts, Taxes for Uruguay. """, "license" : "AGPL-3", From e0d24ed957fa0ec6c30d4bfe27d728ecf1e13b67 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 12:28:10 +0530 Subject: [PATCH 086/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713065810-91bvrnod20nr38gq --- addons/lunch/__openerp__.py | 15 ++++----------- addons/marketing_campaign/__openerp__.py | 22 +++++++++++++++------- addons/membership/__openerp__.py | 8 ++++---- addons/mrp_operations/__openerp__.py | 3 ++- addons/pad/__openerp__.py | 4 ++-- 5 files changed, 27 insertions(+), 25 deletions(-) diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py index dcc33ed9c44..ad476588e93 100644 --- a/addons/lunch/__openerp__.py +++ b/addons/lunch/__openerp__.py @@ -22,22 +22,15 @@ { "name": "Lunch Orders", "author": "OpenERP SA", - "Description": """ - The lunch module is for keeping a record of the order placed and payment of the orders. - ======================================================================================= - - The products are defined under categories and the payment records are maintained user-wise. - Every user has a cashbox which keeps track of the amount paid for a particular order. - - """, "version": "0.1", "depends": ["base_tools"], "category" : "Tools", 'description': """ - The base module to manage lunch. +The base module to manage lunch. +================================ - keep track for the Lunch Order, Cash Moves, CashBox, Product. - Apply Different Category for the product. +keep track for the Lunch Order, Cash Moves, CashBox, Product. Apply Different +Category for the product. """, "init_xml": [], "update_xml": [ diff --git a/addons/marketing_campaign/__openerp__.py b/addons/marketing_campaign/__openerp__.py index 8d2166998ac..e0cf8b56439 100644 --- a/addons/marketing_campaign/__openerp__.py +++ b/addons/marketing_campaign/__openerp__.py @@ -35,15 +35,23 @@ This module provides leads automation through marketing campaigns (campaigns can ========================================================================================================================================= The campaigns are dynamic and multi-channels. The process is as follows: - * Design marketing campaigns like workflows, including email templates to send, reports to print and send by email, custom actions. - * Define input segments that will select the items that should enter the campaign (e.g leads from certain countries.) - * Run you campaign in simulation mode to test it real-time or accelerated, and fine-tune it - * You may also start the real campaign in manual mode, where each action requires manual validation - * Finally launch your campaign live, and watch the statistics as the campaign does everything fully automatically. + * Design marketing campaigns like workflows, including email templates to + send, reports to print and send by email, custom actions + * Define input segments that will select the items that should enter the + campaign (e.g leads from certain countries.) + * Run you campaign in simulation mode to test it real-time or accelerated, + and fine-tune it + * You may also start the real campaign in manual mode, where each action + requires manual validation + * Finally launch your campaign live, and watch the statistics as the + campaign does everything fully automatically. -While the campaign runs you can of course continue to fine-tune the parameters, input segments, workflow. +While the campaign runs you can of course continue to fine-tune the parameters, +input segments, workflow. -Note: If you need demo data, you can install the marketing_campaign_crm_demo module, but this will also install the CRM application as it depends on CRM Leads. +Note: If you need demo data, you can install the marketing_campaign_crm_demo + module, but this will also install the CRM application as it depends on + CRM Leads. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/membership/__openerp__.py b/addons/membership/__openerp__.py index 48a4b77cf68..eae5861e93c 100644 --- a/addons/membership/__openerp__.py +++ b/addons/membership/__openerp__.py @@ -29,10 +29,10 @@ This module allows you to manage all operations for managing memberships. ========================================================================= It supports different kind of members: -* Free member -* Associated member (eg.: a group subscribes to a membership for all subsidiaries) -* Paid members, -* Special member prices, ... + * Free member + * Associated member (eg.: a group subscribes to a membership for all subsidiaries) + * Paid members + * Special member prices It is integrated with sales and accounting to allow you to automatically invoice and send propositions for membership renewal. diff --git a/addons/mrp_operations/__openerp__.py b/addons/mrp_operations/__openerp__.py index 61b745bd9d6..4950b85aef0 100644 --- a/addons/mrp_operations/__openerp__.py +++ b/addons/mrp_operations/__openerp__.py @@ -29,7 +29,8 @@ This module adds state, date_start, date_stop in manufacturing order operation l ============================================================================================================= Status: draft, confirm, done, cancel -When finishing/confirming, cancelling manufacturing orders set all state lines to the according state +When finishing/confirming, cancelling manufacturing orders set all state lines +to the according state. Create menus: Manufacturing > Manufacturing > Work Orders diff --git a/addons/pad/__openerp__.py b/addons/pad/__openerp__.py index 267f595c7e5..8949091e24d 100644 --- a/addons/pad/__openerp__.py +++ b/addons/pad/__openerp__.py @@ -7,8 +7,8 @@ Adds enhanced support for (Ether)Pad attachments in the web client. =================================================================== -Lets the company customize which Pad installation should be used to link to new pads -(by default, http://ietherpad.com/). +Lets the company customize which Pad installation should be used to link to new +pads (by default, http://ietherpad.com/). """, 'author': 'OpenERP SA', 'website': 'http://openerp.com', From 5847fae7a3dbb243e6112add7756d18f3585e0e5 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 14:30:33 +0530 Subject: [PATCH 087/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713090033-h0lnq0rceganv5mv --- addons/pad_project/__openerp__.py | 3 +-- addons/plugin/__openerp__.py | 4 +--- addons/plugin_outlook/__openerp__.py | 9 +++++---- addons/portal/__openerp__.py | 4 ++-- addons/product/__openerp__.py | 13 ++++++------- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/addons/pad_project/__openerp__.py b/addons/pad_project/__openerp__.py index 8ca761d2737..f8ee3138d27 100644 --- a/addons/pad_project/__openerp__.py +++ b/addons/pad_project/__openerp__.py @@ -24,8 +24,7 @@ 'version': '1.0', "category": "Project Management", 'description': """ -This module adds a PAD in all project kanban views -================================================== +This module adds a PAD in all project kanban views. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/plugin/__openerp__.py b/addons/plugin/__openerp__.py index dba41649ff6..801e0571c58 100644 --- a/addons/plugin/__openerp__.py +++ b/addons/plugin/__openerp__.py @@ -25,9 +25,7 @@ 'version': '1.0', 'category': 'Hidden/Dependency', 'description': """ -The common interface for pugin. -===================================================== - +The common interface for plug-in. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/plugin_outlook/__openerp__.py b/addons/plugin_outlook/__openerp__.py index ac6cb32cae7..077b0aa6746 100644 --- a/addons/plugin_outlook/__openerp__.py +++ b/addons/plugin_outlook/__openerp__.py @@ -30,10 +30,11 @@ 'description': ''' This module provides the Outlook Plug-in. ========================================= -Outlook plug-in allows you to select an object that you would like to add -to your email and its attachments from MS Outlook. You can select a partner, a task, -a project, an analytical account, or any other object and archive selected -mail into mail.message with attachments. + +Outlook plug-in allows you to select an object that you would like to add to +your email and its attachments from MS Outlook. You can select a partner, a task, +a project, an analytical account, or any other object and archive selected mail +into mail.message with attachments. ''', 'init_xml' : [], 'demo_xml' : [], diff --git a/addons/portal/__openerp__.py b/addons/portal/__openerp__.py index 53204ec8064..70791995958 100644 --- a/addons/portal/__openerp__.py +++ b/addons/portal/__openerp__.py @@ -26,8 +26,8 @@ 'author' : "OpenERP SA", 'category': 'Portal', 'description': """ -This module defines 'portals' to customize the access to your OpenERP database -for external users. +This module defines 'portals' to customize the access to your OpenERP database for external users. +================================================================================================== A portal defines customized user menu and access rights for a group of users (the ones associated to that portal). It also associates user groups to the diff --git a/addons/product/__openerp__.py b/addons/product/__openerp__.py index 9b4d2cadee1..19f5e552ab0 100644 --- a/addons/product/__openerp__.py +++ b/addons/product/__openerp__.py @@ -32,17 +32,16 @@ This is the base module for managing products and pricelists in OpenERP. ======================================================================== -Products support variants, different pricing methods, suppliers -information, make to stock/order, different unit of measures, -packaging and properties. +Products support variants, different pricing methods, suppliers information, +make to stock/order, different unit of measures, packaging and properties. Pricelists support: * Multiple-level of discount (by product, category, quantities) * Compute price based on different criteria: - * Other pricelist, - * Cost price, - * List price, - * Supplier price, ... + * Other pricelist + * Cost price + * List price + * Supplier price Pricelists preferences by product and/or partners. From 339051cadf4b9af80c2671521fe0de7441714b4f Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 14:43:24 +0530 Subject: [PATCH 088/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713091324-sengeariqawfira9 --- .../product_visible_discount/__openerp__.py | 8 ++++--- addons/project_long_term/__openerp__.py | 16 ++++++++----- addons/project_mailgate/__openerp__.py | 13 +++++----- addons/project_mrp/__openerp__.py | 24 +++++++++---------- addons/project_retro_planning/__openerp__.py | 3 ++- 5 files changed, 35 insertions(+), 29 deletions(-) diff --git a/addons/product_visible_discount/__openerp__.py b/addons/product_visible_discount/__openerp__.py index d957c6d87ed..0bba2cca4ac 100644 --- a/addons/product_visible_discount/__openerp__.py +++ b/addons/product_visible_discount/__openerp__.py @@ -29,9 +29,11 @@ This module lets you calculate discounts on Sale Order lines and Invoice lines b To this end, a new check box named "Visible Discount" is added to the pricelist form. Example: - For the product PC1 and the partner "Asustek": if listprice=450, and the price calculated using Asustek's pricelist is 225 - If the check box is checked, we will have on the sale order line: Unit price=450, Discount=50,00, Net price=225 - If the check box is unchecked, we will have on Sale Order and Invoice lines: Unit price=225, Discount=0,00, Net price=225 + For the product PC1 and the partner "Asustek": if listprice=450, and the price + calculated using Asustek's pricelist is 225. If the check box is checked, we + will have on the sale order line: Unit price=450, Discount=50,00, Net price=225. + If the check box is unchecked, we will have on Sale Order and Invoice lines: + Unit price=225, Discount=0,00, Net price=225. """, "depends": ["sale"], "demo_xml": [], diff --git a/addons/project_long_term/__openerp__.py b/addons/project_long_term/__openerp__.py index 8ed12a06e10..b44bd92ad57 100644 --- a/addons/project_long_term/__openerp__.py +++ b/addons/project_long_term/__openerp__.py @@ -31,14 +31,18 @@ Long Term Project management module that tracks planning, scheduling, resources allocation. =========================================================================================== -Features --------- +Features: +--------- * Manage Big project. * Define various Phases of Project. - * Compute Phase Scheduling: Compute start date and end date of the phases which are in draft,open and pending state of the project given. - If no project given then all the draft,open and pending state phases will be taken. - * Compute Task Scheduling: This works same as the scheduler button on project.phase. It takes the project as argument and computes all the open,draft and pending tasks. - * Schedule Tasks: All the tasks which are in draft,pending and open state are scheduled with taking the phase's start date + * Compute Phase Scheduling: Compute start date and end date of the phases + which are in draft, open and pending state of the project given. If no + project given then all the draft, open and pending state phases will be taken. + * Compute Task Scheduling: This works same as the scheduler button on + project.phase. It takes the project as argument and computes all the open, + draft and pending tasks. + * Schedule Tasks: All the tasks which are in draft,pending and open state + are scheduled with taking the phase's start date """, "init_xml": [], "demo_xml": ["project_long_term_demo.xml"], diff --git a/addons/project_mailgate/__openerp__.py b/addons/project_mailgate/__openerp__.py index dad9fd09eae..bd1cb5f4e20 100644 --- a/addons/project_mailgate/__openerp__.py +++ b/addons/project_mailgate/__openerp__.py @@ -29,18 +29,17 @@ "images": ["images/project_mailgate_task.jpeg"], "depends": ["project", "mail"], "description": """ -This module can automatically create Project Tasks based on incoming emails -=========================================================================== +This module can automatically create Project Tasks based on incoming emails. +============================================================================ Allows creating tasks based on new emails arriving at a given mailbox, similarly to what the CRM application has for Leads/Opportunities. There are two common alternatives to configure the mailbox integration: - * Install the ``fetchmail`` module and configure a new mailbox, then select - ``Project Tasks`` as the target for incoming emails. - * Set it up manually on your mail server based on the 'mail gateway' script - provided in the ``mail`` module - and connect it to the `project.task` model. - + * Install the ``fetchmail`` module and configure a new mailbox, then select + ``Project Tasks`` as the target for incoming emails. + * Set it up manually on your mail server based on the 'mail gateway' script + provided in the ``mail`` module - and connect it to the `project.task` model. """, "init_xml": [], diff --git a/addons/project_mrp/__openerp__.py b/addons/project_mrp/__openerp__.py index 9992bd3b2b7..c5c17ec85e0 100644 --- a/addons/project_mrp/__openerp__.py +++ b/addons/project_mrp/__openerp__.py @@ -25,24 +25,24 @@ 'version': '1.0', "category": "Project Management", 'description': """ -Automatically creates project tasks from procurement lines -========================================================== +Automatically creates project tasks from procurement lines. +=========================================================== -This module will automatically create a new task for each procurement -order line (e.g. for sale order lines), if the corresponding product -meets the following characteristics: +This module will automatically create a new task for each procurement order line +(e.g. for sale order lines), if the corresponding product meets the following +characteristics: - * Type = Service - * Procurement method (Order fulfillment) = MTO (make to order) - * Supply/Procurement method = Produce + * Type = Service + * Procurement method (Order fulfillment) = MTO (make to order) + * Supply/Procurement method = Produce If on top of that a projet is specified on the product form (in the Procurement -tab), then the new task will be created in that specific project. -Otherwise, the new task will not belong to any project, and may be added to a -project manually later. +tab), then the new task will be created in that specific project. Otherwise, the +new task will not belong to any project, and may be added to a project manually +later. When the project task is completed or cancelled, the workflow of the corresponding -procurement line is updated accordingly. For example if this procurement corresponds +procurement line is updated accordingly. For example, if this procurement corresponds to a sale order line, the sale order line will be considered delivered when the task is completed. diff --git a/addons/project_retro_planning/__openerp__.py b/addons/project_retro_planning/__openerp__.py index d334a421de4..f5fa2d11d89 100644 --- a/addons/project_retro_planning/__openerp__.py +++ b/addons/project_retro_planning/__openerp__.py @@ -27,7 +27,8 @@ Changes dates according to change in project End Date. ====================================================== -If end date of project is changed then the deadline date and start date for all the tasks will change accordingly. +If end date of project is changed then the deadline date and start date for all +the tasks will change accordingly. """, 'author': 'OpenERP SA', 'depends': ['base', 'project'], From 01981534f6fe8d61c200baf2b66257a003d478cb Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 15:01:14 +0530 Subject: [PATCH 089/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713093114-wzrprgaeo34tzjbx --- addons/project_timesheet/__openerp__.py | 5 +++-- addons/purchase_analytic_plans/__openerp__.py | 4 ++-- .../purchase_double_validation/__openerp__.py | 4 ++-- addons/purchase_requisition/__openerp__.py | 5 +++-- addons/report_intrastat/__openerp__.py | 3 ++- addons/report_webkit/__openerp__.py | 22 +++++++++---------- 6 files changed, 22 insertions(+), 21 deletions(-) diff --git a/addons/project_timesheet/__openerp__.py b/addons/project_timesheet/__openerp__.py index f1a82867a6f..569ccc1023b 100644 --- a/addons/project_timesheet/__openerp__.py +++ b/addons/project_timesheet/__openerp__.py @@ -27,8 +27,9 @@ Synchronization of project task work entries with timesheet entries. ==================================================================== -This module lets you transfer the entries under tasks defined for Project Management to -the Timesheet line entries for particular date and particular user with the effect of creating, editing and deleting either ways. +This module lets you transfer the entries under tasks defined for Project +Management to the Timesheet line entries for particular date and particular user +with the effect of creating, editing and deleting either ways. """, 'author': 'OpenERP SA', diff --git a/addons/purchase_analytic_plans/__openerp__.py b/addons/purchase_analytic_plans/__openerp__.py index 73a222ec551..283923895d6 100644 --- a/addons/purchase_analytic_plans/__openerp__.py +++ b/addons/purchase_analytic_plans/__openerp__.py @@ -28,8 +28,8 @@ The base module to manage analytic distribution and purchase orders. ==================================================================== -Allows the user to maintain several analysis plans. These let you split -a line on a supplier purchase order into several accounts and analytic plans. +Allows the user to maintain several analysis plans. These let you split a line +on a supplier purchase order into several accounts and analytic plans. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/purchase_double_validation/__openerp__.py b/addons/purchase_double_validation/__openerp__.py index 47124e689ef..970c85bc08c 100644 --- a/addons/purchase_double_validation/__openerp__.py +++ b/addons/purchase_double_validation/__openerp__.py @@ -30,8 +30,8 @@ Double-validation for purchases exceeding minimum amount. ========================================================= -This module modifies the purchase workflow in order to validate purchases -that exceeds minimum amount set by configuration wizard. +This module modifies the purchase workflow in order to validate purchases that +exceeds minimum amount set by configuration wizard. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/purchase_requisition/__openerp__.py b/addons/purchase_requisition/__openerp__.py index e6ca746841b..6824ef5d725 100644 --- a/addons/purchase_requisition/__openerp__.py +++ b/addons/purchase_requisition/__openerp__.py @@ -28,8 +28,9 @@ This module allows you to manage your Purchase Requisition. =========================================================== -When a purchase order is created, you now have the opportunity to save the related requisition. -This new object will regroup and will allow you to easily keep track and order all your purchase orders. +When a purchase order is created, you now have the opportunity to save the +related requisition. This new object will regroup and will allow you to easily +keep track and order all your purchase orders. """, "depends" : ["purchase","mrp"], "init_xml" : [], diff --git a/addons/report_intrastat/__openerp__.py b/addons/report_intrastat/__openerp__.py index 1704d436042..8d980c51f4f 100644 --- a/addons/report_intrastat/__openerp__.py +++ b/addons/report_intrastat/__openerp__.py @@ -28,7 +28,8 @@ A module that adds intrastat reports. ===================================== -This module gives the details of the goods traded between the countries of European Union """, +This module gives the details of the goods traded between the countries of +European Union.""", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['base', 'product', 'stock', 'sale', 'purchase'], diff --git a/addons/report_webkit/__openerp__.py b/addons/report_webkit/__openerp__.py index f0bf0d1a32e..c86a2238f55 100644 --- a/addons/report_webkit/__openerp__.py +++ b/addons/report_webkit/__openerp__.py @@ -50,10 +50,8 @@ The module allows: - Margins definition - Paper size definition -... and much more - -Multiple headers and logos can be defined per company. -CSS style, header and footer body are defined per company. +Multiple headers and logos can be defined per company. CSS style, header and +footer body are defined per company. For a sample report see also the webkit_report_sample module, and this video: http://files.me.com/nbessi/06n92k.mov @@ -61,8 +59,8 @@ For a sample report see also the webkit_report_sample module, and this video: Requirements and Installation ----------------------------- This module requires the ``wkthtmltopdf`` library to render HTML documents as -PDF. Version 0.9.9 or later is necessary, and can be found at http://code.google.com/p/wkhtmltopdf/ -for Linux, Mac OS X (i386) and Windows (32bits). +PDF. Version 0.9.9 or later is necessary, and can be found at +http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits). After installing the library on the OpenERP Server machine, you need to set the path to the ``wkthtmltopdf`` executable file on each Company. @@ -72,13 +70,13 @@ install a "static" version of the library. The default ``wkhtmltopdf`` on Ubuntu is known to have this issue. -TODO ----- +TODO: +----- - * JavaScript support activation deactivation - * Collated and book format support - * Zip return for separated PDF - * Web client WYSIWYG + * JavaScript support activation deactivation + * Collated and book format support + * Zip return for separated PDF + * Web client WYSIWYG """, "version": "0.9", From 4f72fafa9161ce97869f5d4d8d69a580e20a98c3 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 15:22:16 +0530 Subject: [PATCH 090/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713095216-l4xxa28z5lfhp5i1 --- addons/resource/__openerp__.py | 7 +++---- addons/sale_crm/__openerp__.py | 7 +++---- addons/sale_journal/__openerp__.py | 14 +++++++------- addons/sale_margin/__openerp__.py | 3 ++- addons/sale_mrp/__openerp__.py | 5 ++--- 5 files changed, 17 insertions(+), 19 deletions(-) diff --git a/addons/resource/__openerp__.py b/addons/resource/__openerp__.py index 71afebce932..cdec91d0496 100644 --- a/addons/resource/__openerp__.py +++ b/addons/resource/__openerp__.py @@ -29,10 +29,9 @@ Module for resource management. =============================== -A resource represent something that can be scheduled -(a developer on a task or a work center on manufacturing orders). -This module manages a resource calendar associated to every resource. -It also manages the leaves of every resource. +A resource represent something that can be scheduled (a developer on a task or a +work center on manufacturing orders). This module manages a resource calendar +associated to every resource. It also manages the leaves of every resource. """, 'author': 'OpenERP SA', diff --git a/addons/sale_crm/__openerp__.py b/addons/sale_crm/__openerp__.py index 92b4491d449..684c23aeab9 100644 --- a/addons/sale_crm/__openerp__.py +++ b/addons/sale_crm/__openerp__.py @@ -28,12 +28,11 @@ This module adds a shortcut on one or several opportunity cases in the CRM. =========================================================================== This shortcut allows you to generate a sales order based on the selected case. -If different cases are open (a list), it generates one sale order by -case. +If different cases are open (a list), it generates one sale order by case. The case is then closed and linked to the generated sales order. -We suggest you to install this module if you installed both the sale and the -crm modules. +We suggest you to install this module if you installed both the sale and the crm +modules. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/sale_journal/__openerp__.py b/addons/sale_journal/__openerp__.py index c104ae19d97..11408161bf4 100644 --- a/addons/sale_journal/__openerp__.py +++ b/addons/sale_journal/__openerp__.py @@ -27,8 +27,7 @@ The sales journal modules allows you to categorise your sales and deliveries (picking lists) between different journals. ======================================================================================================================== -This module is very helpful for bigger companies that -works by departments. +This module is very helpful for bigger companies that works by departments. You can use journal for different purposes, some examples: * isolate sales of different departments @@ -37,12 +36,13 @@ You can use journal for different purposes, some examples: Journals have a responsible and evolves between different status: * draft, open, cancel, done. -Batch operations can be processed on the different journals to -confirm all sales at once, to validate or invoice packing, ... +Batch operations can be processed on the different journals to confirm all sales +at once, to validate or invoice packing. -It also supports batch invoicing methods that can be configured by partners and sales orders, examples: - * daily invoicing, - * monthly invoicing, ... +It also supports batch invoicing methods that can be configured by partners and +sales orders, examples: + * daily invoicing + * monthly invoicing Some statistics by journals are provided. """, diff --git a/addons/sale_margin/__openerp__.py b/addons/sale_margin/__openerp__.py index 623f442578a..936f5a6b350 100644 --- a/addons/sale_margin/__openerp__.py +++ b/addons/sale_margin/__openerp__.py @@ -26,7 +26,8 @@ This module adds the 'Margin' on sales order. ============================================= -This gives the profitability by calculating the difference between the Unit Price and Cost Price. +This gives the profitability by calculating the difference between the Unit +Price and Cost Price. """, "author":"OpenERP SA", "images":["images/sale_margin.jpeg"], diff --git a/addons/sale_mrp/__openerp__.py b/addons/sale_mrp/__openerp__.py index 2d7ed96cca4..d5b3d6b7849 100644 --- a/addons/sale_mrp/__openerp__.py +++ b/addons/sale_mrp/__openerp__.py @@ -28,9 +28,8 @@ This module provides facility to the user to install mrp and sales modulesat a time. ==================================================================================== -It is basically used when we want to keep track of production -orders generated from sales order. -It adds sales name and sales Reference on production order. +It is basically used when we want to keep track of production orders generated +from sales order. It adds sales name and sales Reference on production order. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', From 71122ae47ac248053c84464d9307de89689b88f8 Mon Sep 17 00:00:00 2001 From: "Rajesh Prajapati (OpenERP)" Date: Fri, 13 Jul 2012 15:47:51 +0530 Subject: [PATCH 091/170] [IMP]tooltip : I have changed the tooltip of fields as suggested bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5 --- addons/account/account.py | 6 +++--- addons/account/wizard/account_financial_report.py | 2 +- .../wizard/account_report_common_journal.py | 2 +- .../wizard/account_report_general_ledger.py | 2 +- .../wizard/account_report_partner_ledger.py | 2 +- .../account_analytic_analysis.py | 2 +- .../account_analytic_default.py | 14 +++++++------- addons/crm/crm.py | 2 +- addons/event_sale/event_sale.py | 2 +- addons/hr_evaluation/hr_evaluation.py | 2 +- addons/hr_holidays/hr_holidays.py | 2 +- addons/hr_payroll/hr_payroll.py | 2 +- addons/hr_recruitment/hr_recruitment.py | 4 ++-- .../hr_timesheet_invoice/hr_timesheet_invoice.py | 2 +- .../wizard/hr_timesheet_invoice_create.py | 2 +- .../wizard/l10n_be_account_vat_declaration.py | 2 +- addons/l10n_be/wizard/l10n_be_vat_intra.py | 2 +- addons/mrp/mrp.py | 6 +++--- addons/mrp_repair/mrp_repair.py | 8 ++++---- addons/product/product.py | 2 +- addons/product_margin/product_margin.py | 2 +- .../project_issue/report/project_issue_report.py | 2 +- addons/project_long_term/project_long_term.py | 2 +- addons/purchase/purchase.py | 4 ++-- addons/resource/resource.py | 2 +- addons/sale/wizard/sale_make_invoice_advance.py | 2 +- addons/stock/wizard/stock_partial_picking.py | 2 +- addons/stock_location/stock_location.py | 2 +- 28 files changed, 43 insertions(+), 43 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 571ea40698d..7cf84551029 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -101,7 +101,7 @@ class account_payment_term_line(osv.osv): 'value': fields.selection([('procent', 'Percent'), ('balance', 'Balance'), ('fixed', 'Fixed Amount')], 'Valuation', - required=True, help="""Select here the kind of valuation related to this payment term line. Note that you should have your last line with the type 'Balance' to ensure that the whole amount will be threated."""), + required=True, help="""Select here the kind of valuation related to this payment term line. Note that you should have your last line with the type 'Balance' to ensure that the whole amount will be treated."""), 'value_amount': fields.float('Amount To Pay', digits_compute=dp.get_precision('Payment Term'), help="For percent enter a ratio between 0-1."), 'days': fields.integer('Number of Days', required=True, help="Number of days to add before computation of the day of month." \ @@ -730,7 +730,7 @@ class account_journal(osv.osv): 'centralisation': fields.boolean('Centralised counterpart', help="Check this box to determine that each entry of this journal won't create a new counterpart but will share the same counterpart. This is used in fiscal year closing."), 'update_posted': fields.boolean('Allow Cancelling Entries', help="Check this box if you want to allow the cancellation the entries related to this journal or of the invoice related to this journal"), 'group_invoice_lines': fields.boolean('Group Invoice Lines', help="If this box is checked, the system will try to group the accounting lines when generating them from invoices."), - 'sequence_id': fields.many2one('ir.sequence', 'Entry Sequence', help="This field contains the informatin related to the numbering of the journal entries of this journal.", required=True), + 'sequence_id': fields.many2one('ir.sequence', 'Entry Sequence', help="This field contains the information related to the numbering of the journal entries of this journal.", required=True), 'user_id': fields.many2one('res.users', 'User', help="The user responsible for this journal"), 'groups_id': fields.many2many('res.groups', 'account_journal_group_rel', 'journal_id', 'group_id', 'Groups'), 'currency': fields.many2one('res.currency', 'Currency', help='The currency used to enter statement'), @@ -1263,7 +1263,7 @@ class account_move(osv.osv): 'period_id': fields.many2one('account.period', 'Period', required=True, states={'posted':[('readonly',True)]}), 'journal_id': fields.many2one('account.journal', 'Journal', required=True, states={'posted':[('readonly',True)]}), 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', required=True, readonly=True, - help='All manually created new journal entries are usually in the state \'Unposted\', but you can set the option to skip that state on the related journal. In that case, they will be behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' state.'), + help='All manually created new journal entries are usually in the state \'Unposted\', but you can set the option to skip that state on the related journal. In that case, they will behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' state.'), 'line_id': fields.one2many('account.move.line', 'move_id', 'Entries', states={'posted':[('readonly',True)]}), 'to_check': fields.boolean('To Review', help='Check this box if you are unsure of that journal entry and if you want to note it as \'to be reviewed\' by an accounting expert.'), 'partner_id': fields.related('line_id', 'partner_id', type="many2one", relation="res.partner", string="Partner", store=True), diff --git a/addons/account/wizard/account_financial_report.py b/addons/account/wizard/account_financial_report.py index 0ddc50f4859..f96127f6375 100644 --- a/addons/account/wizard/account_financial_report.py +++ b/addons/account/wizard/account_financial_report.py @@ -36,7 +36,7 @@ class accounting_report(osv.osv_memory): 'period_to_cmp': fields.many2one('account.period', 'End Period'), 'date_from_cmp': fields.date("Start Date"), 'date_to_cmp': fields.date("End Date"), - 'debit_credit': fields.boolean('Display Debit/Credit Columns', help="This option allow you to get more details about your the way your balances are computed. Because it is space consumming, we do not allow to use it while doing a comparison"), + 'debit_credit': fields.boolean('Display Debit/Credit Columns', help="This option allows you to get more details about the way your balances are computed. Because it is space consuming, we do not allow to use it while doing a comparison."), } def _get_account_report(self, cr, uid, context=None): diff --git a/addons/account/wizard/account_report_common_journal.py b/addons/account/wizard/account_report_common_journal.py index 92076cfe572..ed0f03df5b5 100644 --- a/addons/account/wizard/account_report_common_journal.py +++ b/addons/account/wizard/account_report_common_journal.py @@ -26,7 +26,7 @@ class account_common_journal_report(osv.osv_memory): _description = 'Account Common Journal Report' _inherit = "account.common.report" _columns = { - 'amount_currency': fields.boolean("With Currency", help="Print Report with the currency column if the currency is different then the company currency"), + 'amount_currency': fields.boolean("With Currency", help="Print Report with the currency column if the currency differs from the company currency."), } def _build_contexts(self, cr, uid, ids, data, context=None): diff --git a/addons/account/wizard/account_report_general_ledger.py b/addons/account/wizard/account_report_general_ledger.py index d0b3c0fa3d3..8078da372ca 100644 --- a/addons/account/wizard/account_report_general_ledger.py +++ b/addons/account/wizard/account_report_general_ledger.py @@ -30,7 +30,7 @@ class account_report_general_ledger(osv.osv_memory): 'landscape': fields.boolean("Landscape Mode"), 'initial_balance': fields.boolean('Include Initial Balances', help='If you selected to filter by date or period, this field allow you to add a row to display the amount of debit/credit/balance that precedes the filter you\'ve set.'), - 'amount_currency': fields.boolean("With Currency", help="It adds the currency column if the currency is different then the company currency"), + 'amount_currency': fields.boolean("With Currency", help="It adds the currency column on report if the currency differs from the company currency."), 'sortby': fields.selection([('sort_date', 'Date'), ('sort_journal_partner', 'Journal & Partner')], 'Sort by', required=True), 'journal_ids': fields.many2many('account.journal', 'account_report_general_ledger_journal_rel', 'account_id', 'journal_id', 'Journals', required=True), } diff --git a/addons/account/wizard/account_report_partner_ledger.py b/addons/account/wizard/account_report_partner_ledger.py index 7a3f3932f1b..60ac20a42ed 100644 --- a/addons/account/wizard/account_report_partner_ledger.py +++ b/addons/account/wizard/account_report_partner_ledger.py @@ -34,7 +34,7 @@ class account_partner_ledger(osv.osv_memory): help='If you selected to filter by date or period, this field allow you to add a row to display the amount of debit/credit/balance that precedes the filter you\'ve set.'), 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods'), ('unreconciled', 'Unreconciled Entries')], "Filter by", required=True), 'page_split': fields.boolean('One Partner Per Page', help='Display Ledger Report with One partner per page'), - 'amount_currency': fields.boolean("With Currency", help="It adds the currency column if the currency is different then the company currency"), + 'amount_currency': fields.boolean("With Currency", help="It adds the currency column on report if the currency differs from the company currency."), 'journal_ids': fields.many2many('account.journal', 'account_partner_ledger_journal_rel', 'account_id', 'journal_id', 'Journals', required=True), } _defaults = { diff --git a/addons/account_analytic_analysis/account_analytic_analysis.py b/addons/account_analytic_analysis/account_analytic_analysis.py index 6e15fe1d5a5..93718a75211 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis.py +++ b/addons/account_analytic_analysis/account_analytic_analysis.py @@ -446,7 +446,7 @@ class account_analytic_account(osv.osv): help="Computed using the formula: Invoiced Amount - Total Costs.", digits_compute=dp.get_precision('Account')), 'theorical_margin': fields.function(_theorical_margin_calc, type='float', string='Theoretical Margin', - help="Computed using the formula: Theorial Revenue - Total Costs", + help="Computed using the formula: Theoretical Revenue - Total Costs", digits_compute=dp.get_precision('Account')), 'real_margin_rate': fields.function(_real_margin_rate_calc, type='float', string='Real Margin Rate (%)', help="Computes using the formula: (Real Margin / Total Costs) * 100.", diff --git a/addons/account_analytic_default/account_analytic_default.py b/addons/account_analytic_default/account_analytic_default.py index 0f868f91d34..affc514e203 100644 --- a/addons/account_analytic_default/account_analytic_default.py +++ b/addons/account_analytic_default/account_analytic_default.py @@ -30,13 +30,13 @@ class account_analytic_default(osv.osv): _order = "sequence" _columns = { 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of analytic distribution"), - 'analytic_id': fields.many2one('account.analytic.account', 'Analytic Account' , help="Analytical Account"), - 'product_id': fields.many2one('product.product', 'Product', ondelete='cascade', help="select a product which will use analytical account specified in analytic default (eg. create new cutomer invoice or Sale order if we select this product, it will automatically take this as an analytical account)"), - 'partner_id': fields.many2one('res.partner', 'Partner', ondelete='cascade', help="select a partner which will use analytical account specified in analytic default (eg. create new cutomer invoice or Sale order if we select this partner, it will automatically take this as an analytical account)"), - 'user_id': fields.many2one('res.users', 'User', ondelete='cascade', help="select a user which will use analytical account specified in analytic default"), - 'company_id': fields.many2one('res.company', 'Company', ondelete='cascade', help="select a company which will use analytical account specified in analytic default (eg. create new cutomer invoice or Sale order if we select this company, it will automatically take this as an analytical account)"), - 'date_start': fields.date('Start Date', help="Default start date for this Analytical Account"), - 'date_stop': fields.date('End Date', help="Default end date for this Analytical Account"), + 'analytic_id': fields.many2one('account.analytic.account', 'Analytic Account'), + 'product_id': fields.many2one('product.product', 'Product', ondelete='cascade', help="Select a product which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this product, it will automatically take this as an analytic account)"), + 'partner_id': fields.many2one('res.partner', 'Partner', ondelete='cascade', help="Select a partner which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this partner, it will automatically take this as an analytic account)"), + 'user_id': fields.many2one('res.users', 'User', ondelete='cascade', help="Select a user which will use analytic account specified in analytic default."), + 'company_id': fields.many2one('res.company', 'Company', ondelete='cascade', help="Select a company which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this company, it will automatically take this as an analytic account)"), + 'date_start': fields.date('Start Date', help="Default start date for this Analytic Account."), + 'date_stop': fields.date('End Date', help="Default end date for this Analytic Account."), } def account_get(self, cr, uid, product_id=None, partner_id=None, user_id=None, date=None, context=None): diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 65af3f9e530..6778f0bbe87 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -110,7 +110,7 @@ class crm_case_section(osv.osv): 'active': fields.boolean('Active', help="If the active field is set to "\ "true, it will allow you to hide the sales team without removing it."), 'allow_unlink': fields.boolean('Allow Delete', help="Allows to delete non draft cases"), - 'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the saleman with the team leader."), + 'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."), 'user_id': fields.many2one('res.users', 'Team Leader'), 'member_ids':fields.many2many('res.users', 'sale_member_rel', 'section_id', 'member_id', 'Team Members'), 'reply_to': fields.char('Reply-To', size=64, help="The email address put in the 'Reply-To' of all emails sent by OpenERP about cases in this sales team"), diff --git a/addons/event_sale/event_sale.py b/addons/event_sale/event_sale.py index 9e65a034544..681116d064e 100644 --- a/addons/event_sale/event_sale.py +++ b/addons/event_sale/event_sale.py @@ -37,7 +37,7 @@ product() class sale_order_line(osv.osv): _inherit = 'sale.order.line' _columns = { - 'event_id': fields.many2one('event.event', 'Event', help="Choose an event and it will authomaticaly create a registration for this event"), + 'event_id': fields.many2one('event.event', 'Event', help="Choose an event and it will automatically create a registration for this event."), #those 2 fields are used for dynamic domains and filled by onchange 'event_type_id': fields.related('event_type_id', type='many2one', relation="event.type", string="Event Type"), 'event_ok': fields.related('event_ok', string='event_ok', type='boolean'), diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index e85f0274d84..5180050ddb9 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -156,7 +156,7 @@ class hr_evaluation(osv.osv): ('2','Meet expectations'), ('3','Exceeds expectations'), ('4','Significantly exceeds expectations'), - ], "Appreciation", help="This is the appreciation on that summarize the evaluation"), + ], "Appreciation", help="This is the appreciation on which the evaluation is summarized."), 'survey_request_ids': fields.one2many('hr.evaluation.interview','evaluation_id','Appraisal Forms'), 'plan_id': fields.many2one('hr_evaluation.plan', 'Plan', required=True), 'state': fields.selection([ diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 04fe67b94f7..73e10ead40c 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -76,7 +76,7 @@ class hr_holidays_status(osv.osv): 'name': fields.char('Leave Type', size=64, required=True, translate=True), 'categ_id': fields.many2one('crm.meeting.type', 'Meeting Type', help='Once a leave is validated, OpenERP will create a corresponding meeting of this type in the calendar.'), - 'color_name': fields.selection([('red', 'Red'),('blue','Blue'), ('lightgreen', 'Light Green'), ('lightblue','Light Blue'), ('lightyellow', 'Light Yellow'), ('magenta', 'Magenta'),('lightcyan', 'Light Cyan'),('black', 'Black'),('lightpink', 'Light Pink'),('brown', 'Brown'),('violet', 'Violet'),('lightcoral', 'Light Coral'),('lightsalmon', 'Light Salmon'),('lavender', 'Lavender'),('wheat', 'Wheat'),('ivory', 'Ivory')],'Color in Report', required=True, help='This color will be used in the leaves summary located in Reporting\Leaves by Departement'), + 'color_name': fields.selection([('red', 'Red'),('blue','Blue'), ('lightgreen', 'Light Green'), ('lightblue','Light Blue'), ('lightyellow', 'Light Yellow'), ('magenta', 'Magenta'),('lightcyan', 'Light Cyan'),('black', 'Black'),('lightpink', 'Light Pink'),('brown', 'Brown'),('violet', 'Violet'),('lightcoral', 'Light Coral'),('lightsalmon', 'Light Salmon'),('lavender', 'Lavender'),('wheat', 'Wheat'),('ivory', 'Ivory')],'Color in Report', required=True, help='This color will be used in the leaves summary located in Reporting\Leaves by Department.'), 'limit': fields.boolean('Allow to Override Limit', help='If you select this checkbox, the system allows the employees to take more leaves than the available ones for this type.'), 'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the leave type without removing it."), 'max_leaves': fields.function(_user_left_days, string='Maximum Allowed', help='This value is given by the sum of all holidays requests with a positive value.', multi='user_left_days'), diff --git a/addons/hr_payroll/hr_payroll.py b/addons/hr_payroll/hr_payroll.py index 676eedf4ebc..a8bafe43685 100644 --- a/addons/hr_payroll/hr_payroll.py +++ b/addons/hr_payroll/hr_payroll.py @@ -769,7 +769,7 @@ class hr_salary_rule(osv.osv): 'quantity': fields.char('Quantity', size=256, help="It is used in computation for percentage and fixed amount.For e.g. A rule for Meal Voucher having fixed amount of 1€ per worked day can have its quantity defined in expression like worked_days.WORK100.number_of_days."), 'category_id':fields.many2one('hr.salary.rule.category', 'Category', required=True), 'active':fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the salary rule without removing it."), - 'appears_on_payslip': fields.boolean('Appears on Payslip', help="Used for the display of rule on payslip"), + 'appears_on_payslip': fields.boolean('Appears on Payslip', help="Used to display the salary rule on payslip."), 'parent_rule_id':fields.many2one('hr.salary.rule', 'Parent Salary Rule', select=True), 'company_id':fields.many2one('res.company', 'Company', required=False), 'condition_select': fields.selection([('none', 'Always True'),('range', 'Range'), ('python', 'Python Expression')], "Condition Based on", required=True), diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index a3cd2f3a629..40b7bbb62f1 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -62,8 +62,8 @@ class hr_recruitment_stage(osv.osv): _columns = { 'name': fields.char('Name', size=64, required=True, translate=True), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of stages."), - 'department_id':fields.many2one('hr.department', 'Specific to a Department', help="Stages of the recruitment process may be different per department. If this stage is common to all departments, keep tempy this field."), - 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="The related state for the stage. The state of your document will automatically change regarding the selected stage. Example, a stage is related to the state 'Close', when your document reach this stage, it will be automatically closed."), + 'department_id':fields.many2one('hr.department', 'Specific to a Department', help="Stages of the recruitment process may be different per department. If this stage is common to all departments, keep this field empty."), + 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="The related state for the stage. The state of your document will automatically change according to the selected stage. Example, a stage is related to the state 'Close', when your document reach this stage, it will be automatically closed."), 'fold': fields.boolean('Hide in views if empty', help="This stage is not visible, for example in status bar or kanban view, when there are no records in that stage to display."), 'requirements': fields.text('Requirements'), } diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index f1138d7b246..54257f5efba 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -64,7 +64,7 @@ class account_analytic_account(osv.osv): _inherit = "account.analytic.account" _columns = { 'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', - help="The product to invoice is defined on the employee form, the price will be deduced by this pricelist on the product."), + help="The product to invoice is defined on the employee form, the price will be deducted by this pricelist on the product."), 'amount_max': fields.float('Max. Invoice Price', help="Keep empty if this contract is not limited to a total fixed price."), 'amount_invoiced': fields.function(_invoiced_calc, string='Invoiced Amount', diff --git a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py index bcae996a8ee..2cd8961a9b7 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py @@ -179,7 +179,7 @@ class hr_timesheet_invoice_create(osv.osv_memory): 'time': fields.boolean('Time spent', help='The time of each work done will be displayed on the invoice'), 'name': fields.boolean('Description', help='The detail of each work done will be displayed on the invoice'), 'price': fields.boolean('Cost', help='The cost of each work done will be displayed on the invoice. You probably don\'t want to check this'), - 'product': fields.many2one('product.product', 'Product', help='Complete this field only if you want to force to use a specific product. Keep empty to use the real product that comes from the cost.'), + 'product': fields.many2one('product.product', 'Product', help='Fill this field only if you want to force to use a specific product. Keep empty to use the real product that comes from the cost.'), } _defaults = { diff --git a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py index eed2a537f62..95978ac52e7 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -45,7 +45,7 @@ class l10n_be_vat_declaration(osv.osv_memory): 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], required=True), 'msg': fields.text('File created', size=64, readonly=True), 'file_save': fields.binary('Save File'), - 'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a resitution is to made or not?'), + 'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a restitution is to made or not?'), 'ask_payment': fields.boolean('Ask Payment',help='It indicates whether a payment is to made or not?'), 'client_nihil': fields.boolean('Last Declaration, no clients in client listing', help='Tick this case only if it concerns only the last statement on the civil or cessation of activity: ' \ 'no clients to be included in the client listing.'), diff --git a/addons/l10n_be/wizard/l10n_be_vat_intra.py b/addons/l10n_be/wizard/l10n_be_vat_intra.py index 123d235f19b..2bfc4de6bad 100644 --- a/addons/l10n_be/wizard/l10n_be_vat_intra.py +++ b/addons/l10n_be/wizard/l10n_be_vat_intra.py @@ -60,7 +60,7 @@ class partner_vat_intra(osv.osv_memory): 'test_xml': fields.boolean('Test XML file', help="Sets the XML output as test file"), 'mand_id' : fields.char('Reference', size=14, help="Reference given by the Representative of the sending company."), 'msg': fields.text('File created', size=14, readonly=True), - 'no_vat': fields.text('Partner With No VAT', size=14, readonly=True, help="The Partner whose VAT number is not defined they doesn't include in XML File."), + 'no_vat': fields.text('Partner With No VAT', size=14, readonly=True, help="The Partner whose VAT number is not defined and they are not included in XML File."), 'file_save' : fields.binary('Save File', readonly=True), 'country_ids': fields.many2many('res.country', 'vat_country_rel', 'vat_id', 'country_id', 'European Countries'), 'comments': fields.text('Comments'), diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index c4a4d8df895..b0186938864 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -48,14 +48,14 @@ class mrp_workcenter(osv.osv): 'time_stop': fields.float('Time after prod.', help="Time in hours for the cleaning."), 'costs_hour': fields.float('Cost per hour', help="Specify Cost of Work Center per hour."), 'costs_hour_account_id': fields.many2one('account.analytic.account', 'Hour Account', domain=[('type','<>','view')], - help="Complete this only if you want automatic analytic accounting entries on production orders."), + help="Fill this only if you want automatic analytic accounting entries on production orders."), 'costs_cycle': fields.float('Cost per cycle', help="Specify Cost of Work Center per cycle."), 'costs_cycle_account_id': fields.many2one('account.analytic.account', 'Cycle Account', domain=[('type','<>','view')], - help="Complete this only if you want automatic analytic accounting entries on production orders."), + help="Fill this only if you want automatic analytic accounting entries on production orders."), 'costs_journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal'), 'costs_general_account_id': fields.many2one('account.account', 'General Account', domain=[('type','<>','view')]), 'resource_id': fields.many2one('resource.resource','Resource', ondelete='cascade', required=True), - 'product_id': fields.many2one('product.product','Work Center Product', help="Fill this product to track easily your production costs in the analytic accounting."), + 'product_id': fields.many2one('product.product','Work Center Product', help="Fill this product to easily track your production costs in the analytic accounting."), } _defaults = { 'capacity_per_cycle': 1.0, diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py index 6f14ba22bea..fc898dbf419 100644 --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@ -116,7 +116,7 @@ class mrp_repair(osv.osv): _columns = { 'name': fields.char('Repair Reference',size=24, required=True), 'product_id': fields.many2one('product.product', string='Product to Repair', required=True, readonly=True, states={'draft':[('readonly',False)]}), - 'partner_id' : fields.many2one('res.partner', 'Partner', select=True, help='This field allow you to choose the parner that will be invoiced and delivered'), + 'partner_id' : fields.many2one('res.partner', 'Partner', select=True, help='Choose partner for whom the order will be invoiced and delivered.'), 'address_id': fields.many2one('res.partner', 'Delivery Address', domain="[('parent_id','=',partner_id)]"), 'default_address_id': fields.function(_get_default_address, type="many2one", relation="res.partner"), 'prodlot_id': fields.many2one('stock.production.lot', 'Lot Number', select=True, domain="[('product_id','=',product_id)]"), @@ -141,21 +141,21 @@ class mrp_repair(osv.osv): 'move_id': fields.many2one('stock.move', 'Move',required=True, domain="[('product_id','=',product_id)]", readonly=True, states={'draft':[('readonly',False)]}), 'guarantee_limit': fields.date('Guarantee limit', help="The guarantee limit is computed as: last move date + warranty defined on selected product. If the current date is below the guarantee limit, each operation and fee you will add will be set as 'not to invoiced' by default. Note that you can change manually afterwards."), 'operations' : fields.one2many('mrp.repair.line', 'repair_id', 'Operation Lines', readonly=True, states={'draft':[('readonly',False)]}), - 'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', help='The pricelist comes from the selected partner, by default.'), + 'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', help='Pricelist of the selected partner.'), 'partner_invoice_id':fields.many2one('res.partner', 'Invoicing Address'), 'invoice_method':fields.selection([ ("none","No Invoice"), ("b4repair","Before Repair"), ("after_repair","After Repair") ], "Invoice Method", - select=True, required=True, states={'draft':[('readonly',False)]}, readonly=True, help='This field allow you to change the workflow of the repair order. If value selected is different from \'No Invoice\', it also allow you to select the pricelist and invoicing address.'), + select=True, required=True, states={'draft':[('readonly',False)]}, readonly=True, help='Selecting \'Before Repair\' or \'After Repair\' will allow you to generate invoice before or after the repair is done respectively. \'No invoice\' means you don\'t want to generate invoice for this repair order.'), 'invoice_id': fields.many2one('account.invoice', 'Invoice', readonly=True), 'picking_id': fields.many2one('stock.picking', 'Picking',readonly=True), 'fees_lines': fields.one2many('mrp.repair.fee', 'repair_id', 'Fees Lines', readonly=True, states={'draft':[('readonly',False)]}), 'internal_notes': fields.text('Internal Notes'), 'quotation_notes': fields.text('Quotation Notes'), 'company_id': fields.many2one('res.company', 'Company'), - 'deliver_bool': fields.boolean('Deliver', help="Check this box if you want to manage the delivery once the product is repaired. If cheked, it will create a picking with selected product. Note that you can select the locations in the Info tab, if you have the extended view."), + 'deliver_bool': fields.boolean('Deliver', help="Check this box if you want to manage the delivery once the product is repaired and create a picking with selected product. Note that you can select the locations in the Info tab, if you have the extended view."), 'invoiced': fields.boolean('Invoiced', readonly=True), 'repaired': fields.boolean('Repaired', readonly=True), 'amount_untaxed': fields.function(_amount_untaxed, string='Untaxed Amount', diff --git a/addons/product/product.py b/addons/product/product.py index 3cbff880cf9..7a2a10af8d3 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -286,7 +286,7 @@ class product_template(osv.osv): _columns = { 'name': fields.char('Name', size=128, required=True, translate=True, select=True), - 'product_manager': fields.many2one('res.users','Product Manager',help="This is use as task responsible"), + 'product_manager': fields.many2one('res.users','Product Manager',help="Responsible for product."), 'description': fields.text('Description',translate=True), 'description_purchase': fields.text('Purchase Description',translate=True), 'description_sale': fields.text('Sale Description',translate=True), diff --git a/addons/product_margin/product_margin.py b/addons/product_margin/product_margin.py index 5895feedf3f..8f946467384 100644 --- a/addons/product_margin/product_margin.py +++ b/addons/product_margin/product_margin.py @@ -98,7 +98,7 @@ class product_product(osv.osv): ('paid','Paid'),('open_paid','Open and Paid'),('draft_open_paid','Draft, Open and Paid') ], string='Invoice State',multi='product_margin', readonly=True), 'sale_avg_price' : fields.function(_product_margin, type='float', string='Avg. Unit Price', multi='product_margin', - help="Avg. Price in Customer Invoices)"), + help="Avg. Price in Customer Invoices."), 'purchase_avg_price' : fields.function(_product_margin, type='float', string='Avg. Unit Price', multi='product_margin', help="Avg. Price in Supplier Invoices "), 'sale_num_invoiced' : fields.function(_product_margin, type='float', string='# Invoiced', multi='product_margin', diff --git a/addons/project_issue/report/project_issue_report.py b/addons/project_issue/report/project_issue_report.py index be3309d7175..5957ee284e8 100644 --- a/addons/project_issue/report/project_issue_report.py +++ b/addons/project_issue/report/project_issue_report.py @@ -56,7 +56,7 @@ class project_issue_report(osv.osv): 'working_hours_open': fields.float('Avg. Working Hours to Open', readonly=True), 'working_hours_close': fields.float('Avg. Working Hours to Close', readonly=True), 'delay_open': fields.float('Avg. Delay to Open', digits=(16,2), readonly=True, group_operator="avg", - help="Number of Days to close the project issue"), + help="Number of Days to open the project issue."), 'delay_close': fields.float('Avg. Delay to Close', digits=(16,2), readonly=True, group_operator="avg", help="Number of Days to close the project issue"), 'company_id' : fields.many2one('res.company', 'Company'), diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index a4df1eb6917..7604d43af1b 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -114,7 +114,7 @@ class project_phase(osv.osv): 'task_ids': fields.one2many('project.task', 'phase_id', "Project Tasks", states={'done':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'user_force_ids': fields.many2many('res.users', string='Force Assigned Users'), 'user_ids': fields.one2many('project.user.allocation', 'phase_id', "Assigned Users",states={'done':[('readonly',True)], 'cancelled':[('readonly',True)]}, - help="The ressources on the project can be computed automatically by the scheduler"), + help="The resources on the project can be computed automatically by the scheduler."), 'state': fields.selection([('draft', 'New'), ('cancelled', 'Cancelled'),('open', 'In Progress'), ('pending', 'Pending'), ('done', 'Done')], 'Status', readonly=True, required=True, help='If the phase is created the state \'Draft\'.\n If the phase is started, the state becomes \'In Progress\'.\n If review is needed the phase is in \'Pending\' state.\ \n If the phase is over, the states is set to \'Done\'.'), diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index e74ca83a92b..b465ab9b5e6 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -154,7 +154,7 @@ class purchase_order(osv.osv): ] _columns = { - 'name': fields.char('Order Reference', size=64, required=True, select=True, help="unique number of the purchase order,computed automatically when the purchase order is created"), + 'name': fields.char('Order Reference', size=64, required=True, select=True, help="Unique number of the purchase order, computed automatically when the purchase order is created."), 'origin': fields.char('Source Document', size=64, help="Reference of the document that generated this purchase order request." ), @@ -175,7 +175,7 @@ class purchase_order(osv.osv): 'validator' : fields.many2one('res.users', 'Validated by', readonly=True), 'notes': fields.text('Terms and Conditions'), 'invoice_ids': fields.many2many('account.invoice', 'purchase_invoice_rel', 'purchase_id', 'invoice_id', 'Invoices', help="Invoices generated for a purchase order"), - 'picking_ids': fields.one2many('stock.picking.in', 'purchase_id', 'Picking List', readonly=True, help="This is the list of incomming shipments that have been generated for this purchase order."), + 'picking_ids': fields.one2many('stock.picking.in', 'purchase_id', 'Picking List', readonly=True, help="This is the list of incoming shipments that have been generated for this purchase order."), 'shipped':fields.boolean('Received', readonly=True, select=True, help="It indicates that a picking has been done"), 'shipped_rate': fields.function(_shipped_rate, string='Received', type='float'), 'invoiced': fields.function(_invoiced, string='Invoice Received', type='boolean', help="It indicates that an invoice has been paid"), diff --git a/addons/resource/resource.py b/addons/resource/resource.py index 5fed5b96218..354e9c5b27c 100644 --- a/addons/resource/resource.py +++ b/addons/resource/resource.py @@ -292,7 +292,7 @@ class resource_resource(osv.osv): 'company_id' : fields.many2one('res.company', 'Company'), 'resource_type': fields.selection([('user','Human'),('material','Material')], 'Resource Type', required=True), 'user_id' : fields.many2one('res.users', 'User', help='Related user name for the resource to manage its access.'), - 'time_efficiency' : fields.float('Efficiency Factor', size=8, required=True, help="This field depict the efficiency of the resource to complete tasks. e.g resource put alone on a phase of 5 days with 5 tasks assigned to him, will show a load of 100% for this phase by default, but if we put a efficency of 200%, then his load will only be 50%."), + 'time_efficiency' : fields.float('Efficiency Factor', size=8, required=True, help="This field depict the efficiency of the resource to complete tasks. e.g resource put alone on a phase of 5 days with 5 tasks assigned to him, will show a load of 100% for this phase by default, but if we put a efficiency of 200%, then his load will only be 50%."), 'calendar_id' : fields.many2one("resource.calendar", "Working Time", help="Define the schedule of resource"), } _defaults = { diff --git a/addons/sale/wizard/sale_make_invoice_advance.py b/addons/sale/wizard/sale_make_invoice_advance.py index f3d9bd65a91..08f67106870 100644 --- a/addons/sale/wizard/sale_make_invoice_advance.py +++ b/addons/sale/wizard/sale_make_invoice_advance.py @@ -38,7 +38,7 @@ class sale_advance_payment_inv(osv.osv_memory): 'product_id': fields.many2one('product.product', 'Advance Product', help="Select a product of type service which is called 'Advance Product'. You may have to create it and set it as a default value on this field."), 'amount': fields.float('Advance Amount', digits_compute= dp.get_precision('Sale Price'), required=True, help="The amount to be invoiced in advance."), 'qtty': fields.float('Quantity', digits=(16, 2), required=True), - 'advance_payment_method':fields.selection([('percentage','Percentage'), ('fixed','Fixed Price')], 'Type', required=True, help="Use Fixed Price if you want to give specific amound in Advance, Use Percentage if you want to give percentage of Total Invoice Amount."), + 'advance_payment_method':fields.selection([('percentage','Percentage'), ('fixed','Fixed Price')], 'Type', required=True, help="Use Fixed Price if you want to give specific amount in Advance. Use Percentage if you want to give percentage of Total Invoice Amount."), } _defaults = { diff --git a/addons/stock/wizard/stock_partial_picking.py b/addons/stock/wizard/stock_partial_picking.py index dd91f20e8cf..ce0efff280d 100644 --- a/addons/stock/wizard/stock_partial_picking.py +++ b/addons/stock/wizard/stock_partial_picking.py @@ -70,7 +70,7 @@ class stock_partial_picking(osv.osv_memory): 'date': fields.datetime('Date', required=True), 'move_ids' : fields.one2many('stock.partial.picking.line', 'wizard_id', 'Product Moves'), 'picking_id': fields.many2one('stock.picking', 'Picking', required=True, ondelete='CASCADE'), - 'hide_tracking': fields.function(_hide_tracking, string='Tracking', type='boolean', help='This field is for internal purpose. It is used to decide if the column prodlot has to be shown on the move_ids field or not'), + 'hide_tracking': fields.function(_hide_tracking, string='Tracking', type='boolean', help='This field is for internal purpose. It is used to decide if the column production lot has to be shown on the moves or not.'), } def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False): diff --git a/addons/stock_location/stock_location.py b/addons/stock_location/stock_location.py index de4e2e7f561..d025bc9252d 100644 --- a/addons/stock_location/stock_location.py +++ b/addons/stock_location/stock_location.py @@ -67,7 +67,7 @@ class product_pulled_flow(osv.osv): 'journal_id': fields.many2one('stock.journal','Journal'), 'procure_method': fields.selection([('make_to_stock','Make to Stock'),('make_to_order','Make to Order')], 'Procure Method', required=True, help="'Make to Stock': When needed, take from the stock or wait until re-supplying. 'Make to Order': When needed, purchase or produce for the procurement request."), 'type_proc': fields.selection([('produce','Produce'),('buy','Buy'),('move','Move')], 'Type of Procurement', required=True), - 'company_id': fields.many2one('res.company', 'Company', help="Is used to know to which company belong packings and moves"), + 'company_id': fields.many2one('res.company', 'Company', help="Is used to know to which company the pickings and moves belong."), 'partner_address_id': fields.many2one('res.partner', 'Partner Address'), 'picking_type': fields.selection([('out','Sending Goods'),('in','Getting Goods'),('internal','Internal')], 'Shipping Type', required=True, select=True, help="Depending on the company, choose whatever you want to receive or send products"), 'product_id':fields.many2one('product.product','Product'), From 7c7d94f0025256ca541b041f35109c5305c41f15 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Fri, 13 Jul 2012 15:47:53 +0530 Subject: [PATCH 092/170] [IMP] Improve bounce effect to remove auto scroll and remove useless code. bzr revid: jra@tinyerp.com-20120713101753-95dnac5u3cm3mwhn --- addons/web/static/src/js/corelib.js | 1 - addons/web/static/src/js/view_form.js | 29 +++++---------------- addons/web/static/src/xml/base.xml | 2 +- addons/web_kanban/static/src/css/kanban.css | 1 + addons/web_kanban/static/src/js/kanban.js | 5 +--- 5 files changed, 10 insertions(+), 28 deletions(-) diff --git a/addons/web/static/src/js/corelib.js b/addons/web/static/src/js/corelib.js index a200f272a91..03b67bce405 100644 --- a/addons/web/static/src/js/corelib.js +++ b/addons/web/static/src/js/corelib.js @@ -746,7 +746,6 @@ instance.web.Widget = instance.web.Class.extend(instance.web.WidgetMixin, { } return false; }, - rpc: function(url, data, success, error) { var def = $.Deferred().then(success, error); var self = this; diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index b17d05da165..b48f33f327a 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -284,26 +284,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM } this._super(); }, - on_wrong_click : function (){ - var self = this; - var div = $("
", {id:"bounce"}); - this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { - $(".oe_form_button_edit").wrap(div); - $("#bounce").addClass('oe_bounce_button_left'); - var edit_btn = $(".oe_form_button_edit"); - if (jQuery(window).scrollTop() > 75 ) { - $('body,html').animate({ scrollTop: 0 }, 200); - } - if (jQuery(window).scrollLeft() > 225 ) { - $('body,html').animate({ scrollLeft: 0 }, 200); - } - self.do_bounce(edit_btn); - e.stopImmediatePropagation(); - }); - }, on_record_loaded: function(record) { var self = this, set_values = []; - self.on_wrong_click(); if (!record) { this.do_warn("Form", "The record could not be found in the database.", true); return $.Deferred().reject(); @@ -345,7 +327,6 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM } self.$element.add(self.$buttons).removeClass('oe_form_dirty'); }); - }, on_form_changed: function() { this.trigger("view_content_has_changed"); @@ -581,6 +562,12 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM _.each(this.fields,function(field){ field.set({"force_readonly": true}); }); + var edit_btn = $(".oe_form_button_edit"); + this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { + edit_btn.addClass('oe_bounce_button_left'); + self.do_bounce(edit_btn); + e.stopImmediatePropagation(); + }); } else { self.$element.removeClass('oe_form_readonly').addClass('oe_form_editable'); self.$buttons.find('.oe_form_buttons_edit').show(); @@ -605,10 +592,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM var self = this; return this.do_save().then(function(result) { self.set({mode: "view"}); - self.on_wrong_click(); }); - - }, + }, on_button_cancel: function(event) { if (this.can_be_discarded()) { this.set({mode: "view"}); diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index f150e47b420..a8d7a061a81 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -681,7 +681,7 @@
- + diff --git a/addons/web_kanban/static/src/css/kanban.css b/addons/web_kanban/static/src/css/kanban.css index c5c4a8222db..fd18835de88 100644 --- a/addons/web_kanban/static/src/css/kanban.css +++ b/addons/web_kanban/static/src/css/kanban.css @@ -514,6 +514,7 @@ .openerp .oe_kanban_view .oe_kanban_color_9 { background-color: #ffc7f1; } + .openerp .oe_form .oe_kanban_view .oe_kanban_column, .openerp .oe_form .oe_kanban_view .oe_kanban_group_header { padding: 0px; background: white; diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 05505b26e53..524d4cdcca2 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -419,13 +419,10 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ var fold_btn = this.$element.find('.oe_dropdown_kanban'); this.$records.click(function (ev) { if (ev.target == ev.currentTarget) { - if (jQuery(window).scrollTop() > 120 ) { - $('body,html').animate({ scrollTop: 0 }, 200); - } if (!self.state.folded) { self.view.do_bounce(add_btn); }else { - fold_btn.css('display','inline-block'); +// fold_btn.css('display','inline-block'); self.view.do_bounce(fold_btn); } } From 59e9f0ca0004ebf01a44645e8f32df7859044430 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 16:20:30 +0530 Subject: [PATCH 093/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713105030-jbl2mm81j6cyjake --- addons/share/__openerp__.py | 4 +- addons/stock_invoice_directly/__openerp__.py | 4 +- addons/stock_location/__openerp__.py | 70 ++--- addons/stock_no_autopicking/__openerp__.py | 6 +- addons/stock_planning/__openerp__.py | 269 +++++++++++-------- addons/subscription/__openerp__.py | 3 +- addons/survey/__openerp__.py | 9 +- addons/users_ldap/__openerp__.py | 122 ++++----- 8 files changed, 267 insertions(+), 220 deletions(-) diff --git a/addons/share/__openerp__.py b/addons/share/__openerp__.py index f5065bf6b8c..3e21d3d6c68 100644 --- a/addons/share/__openerp__.py +++ b/addons/share/__openerp__.py @@ -35,8 +35,8 @@ It specifically adds a 'share' button that is available in the Web client to share any kind of OpenERP data with colleagues, customers, friends. The system will work by creating new users and groups on the fly, and by -combining the appropriate access rights and ir.rules to ensure that the -shared users only have access to the data that has been shared with them. +combining the appropriate access rights and ir.rules to ensure that the shared +users only have access to the data that has been shared with them. This is extremely useful for collaborative work, knowledge sharing, synchronization with other companies. diff --git a/addons/stock_invoice_directly/__openerp__.py b/addons/stock_invoice_directly/__openerp__.py index 4ae8d518d83..c7c87af7ee0 100644 --- a/addons/stock_invoice_directly/__openerp__.py +++ b/addons/stock_invoice_directly/__openerp__.py @@ -28,8 +28,8 @@ Invoice Wizard for Delivery. ============================ -When you send or deliver goods, this module automatically launch -the invoicing wizard if the delivery is to be invoiced. +When you send or deliver goods, this module automatically launch the invoicing +wizard if the delivery is to be invoiced. """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', diff --git a/addons/stock_location/__openerp__.py b/addons/stock_location/__openerp__.py index 6dea8fb4df8..108b0e4d848 100644 --- a/addons/stock_location/__openerp__.py +++ b/addons/stock_location/__openerp__.py @@ -38,51 +38,59 @@ Typically this could be used to: * Help rental management, by generating automated return moves for rented products -Once this module is installed, an additional tab appear on the product form, where you can add -Push and Pull flow specifications. The demo data of CPU1 product for that push/pull : +Once this module is installed, an additional tab appear on the product form, +where you can add Push and Pull flow specifications. The demo data of CPU1 +product for that push/pull : -Push flows ----------- -Push flows are useful when the arrival of certain products in a given location should always -be followed by a corresponding move to another location, optionally after a certain delay. -The original Warehouse application already supports such Push flow specifications on the -Locations themselves, but these cannot be refined per-product. +Push flows: +----------- -A push flow specification indicates which location is chained with which location, and with -what parameters. As soon as a given quantity of products is moved in the source location, -a chained move is automatically foreseen according to the parameters set on the flow specification -(destination location, delay, type of move, journal.) The new move can be automatically -processed, or require a manual confirmation, depending on the parameters. +Push flows are useful when the arrival of certain products in a given location +should always be followed by a corresponding move to another location, optionally +after a certain delay. The original Warehouse application already supports such +Push flow specifications on the Locations themselves, but these cannot be +refined per-product. -Pull flows ----------- -Pull flows are a bit different from Push flows, in the sense that they are not related to -the processing of product moves, but rather to the processing of procurement orders. -What is being pulled is a need, not directly products. -A classical example of Pull flow is when you have an Outlet company, with a parent Company -that is responsible for the supplies of the Outlet. +A push flow specification indicates which location is chained with which location, +and with what parameters. As soon as a given quantity of products is moved in the +source location, a chained move is automatically foreseen according to the +parameters set on the flow specification (destination location, delay, type of +move, journal.) The new move can be automatically processed, or require a manual +confirmation, depending on the parameters. + +Pull flows: +----------- + +Pull flows are a bit different from Push flows, in the sense that they are not +related to the processing of product moves, but rather to the processing of +procurement orders. What is being pulled is a need, not directly products. A +classical example of Pull flow is when you have an Outlet company, with a parent +Company that is responsible for the supplies of the Outlet. [ Customer ] <- A - [ Outlet ] <- B - [ Holding ] <~ C ~ [ Supplier ] -When a new procurement order (A, coming from the confirmation of a Sale Order for example) arrives -in the Outlet, it is converted into another procurement (B, via a Pull flow of type 'move') -requested from the Holding. When procurement order B is processed by the Holding company, and -if the product is out of stock, it can be converted into a Purchase Order (C) from the Supplier -(Pull flow of type Purchase). The result is that the procurement order, the need, is pushed +When a new procurement order (A, coming from the confirmation of a Sale Order +for example) arrives in the Outlet, it is converted into another procurement +(B, via a Pull flow of type 'move') requested from the Holding. When procurement +order B is processed by the Holding company, and if the product is out of stock, +it can be converted into a Purchase Order (C) from the Supplier (Pull flow of +type Purchase). The result is that the procurement order, the need, is pushed all the way between the Customer and Supplier. -Technically, Pull flows allow to process procurement orders differently, not only depending on -the product being considered, but also depending on which location holds the "need" for that -product (i.e. the destination location of that procurement order). +Technically, Pull flows allow to process procurement orders differently, not +only depending on the product being considered, but also depending on which +location holds the "need" for that product (i.e. the destination location of +that procurement order). -Use-Case --------- +Use-Case: +--------- You can use the demo data as follow: CPU1: Sell some CPU1 from Shop 1 and run the scheduler - Warehouse: delivery order, Shop 1: reception CPU3: - - When receiving the product, it goes to Quality Control location then stored to shelf 2. + - When receiving the product, it goes to Quality Control location then + stored to shelf 2. - When delivering the customer: Pick List -> Packing -> Delivery Order from Gate A """, 'author': 'OpenERP SA', diff --git a/addons/stock_no_autopicking/__openerp__.py b/addons/stock_no_autopicking/__openerp__.py index 5278768633c..7d9b84276d6 100644 --- a/addons/stock_no_autopicking/__openerp__.py +++ b/addons/stock_no_autopicking/__openerp__.py @@ -29,9 +29,9 @@ This module allows an intermediate picking process to provide raw materials to p ================================================================================================= One example of usage of this module is to manage production made by your -suppliers (sub-contracting). To achieve this, set the assembled product -which is sub-contracted to "No Auto-Picking" and put the location of the -supplier in the routing of the assembly operation. +suppliers (sub-contracting). To achieve this, set the assembled product which is +sub-contracted to "No Auto-Picking" and put the location of the supplier in the +routing of the assembly operation. """, 'author': 'OpenERP SA', 'depends': ['mrp'], diff --git a/addons/stock_planning/__openerp__.py b/addons/stock_planning/__openerp__.py index df373f59097..7391668eec3 100644 --- a/addons/stock_planning/__openerp__.py +++ b/addons/stock_planning/__openerp__.py @@ -27,165 +27,214 @@ "images": ["images/master_procurement_schedule.jpeg","images/sales_forecast.jpeg","images/stock_planning_line.jpeg","images/stock_sales_period.jpeg"], "depends": ["crm", "stock","sale"], "description": """ -MPS allows to create a manual procurement plan apart of the normal MRP scheduling, which works automatically based on minimum stock rules -========================================================================================================================================= +MPS allows to create a manual procurement plan apart of the normal MRP scheduling, which works automatically based on minimum stock rules. +========================================================================================================================================== -Quick Glossary --------------- -- Stock Period - the time boundaries (between Start Date and End Date) for your Sales and Stock forecasts and planning -- Sales Forecast - the quantity of products you plan to sell during the related Stock Period. -- Stock Planning - the quantity of products you plan to purchase or produce for the related Stock Period. +Quick Glossary: +--------------- + - Stock Period - the time boundaries (between Start Date and End Date) for + your Sales and Stock forecasts and planning + - Sales Forecast - the quantity of products you plan to sell during the + related Stock Period. + - Stock Planning - the quantity of products you plan to purchase or produce + for the related Stock Period. -To avoid confusion with the terms used by the ``sale_forecast`` module, ("Sales Forecast" and "Planning" are amounts) we use terms "Stock and Sales Forecast" and "Stock Planning" to emphasize that we use quantity values. +To avoid confusion with the terms used by the ``sale_forecast`` module, +("Sales Forecast" and "Planning" are amounts) we use terms "Stock and Sales +Forecast" and "Stock Planning" to emphasize that we use quantity values. -Where to begin --------------- +Where to begin: +--------------- Using this module is done in three steps: - * Create Stock Periods via the Warehouse>Configuration>Stock Periods menu (Mandatory step) - * Create Sale Forecasts fill them with forecast quantities, via the Sales>Sales Forecast menu. (Optional step but useful for further planning) - * Create the actual MPS plan, check the balance and trigger the procurements as required. The actual procurement is the final step for the Stock Period. + * Create Stock Periods via the Warehouse>Configuration>Stock Periods menu + (Mandatory step) + * Create Sale Forecasts fill them with forecast quantities, via the + Sales > Sales Forecast menu. (Optional step but useful for further planning) + * Create the actual MPS plan, check the balance and trigger the procurements + as required. The actual procurement is the final step for the Stock Period. -Stock Period configuration --------------------------- -You have two menu items for Periods in "Warehouse > Configuration > Stock Periods". There are: +Stock Period configuration: +--------------------------- +You have two menu items for Periods in "Warehouse > Configuration > Stock Periods". +There are: - * "Create Stock Periods" - can automatically creating daily, weekly or monthly periods. - * "Stock Periods" - allows to create any type of periods, change the dates and change the state of period. + * "Create Stock Periods" - can automatically creating daily, weekly or + monthly periods. + * "Stock Periods" - allows to create any type of periods, change the dates + and change the state of period. -Creating periods is the first step. You can create custom periods using the "New" button in "Stock Periods", but it is recommended to use the automatic assistant "Create Stock Periods". +Creating periods is the first step. You can create custom periods using the "New" +button in "Stock Periods", but it is recommended to use the automatic assistant +"Create Stock Periods". Remarks: - - These periods (Stock Periods) are completely distinct from Financial or other periods in the system. - - Periods are not assigned to companies (when you use multicompany). Module suppose that you use the same periods across companies. If you wish to use different periods for different companies define them as you wish (they can overlap). Later on in this text will be indications how to use such periods. - - When periods are created automatically their start and finish dates are with start hour 00:00:00 and end hour 23:59:00. When you create daily periods they will have start date 31.01.2010 00:00:00 and end date 31.01.2010 23:59:00. It works only in automatic creation of periods. When you create periods manually you have to take care about hours because you can have incorrect values form sales or stock. - - If you use overlapping periods for the same product, warehouse and company results can be unpredictable. - - If current date doesn't belong to any period or you have holes between periods results can be unpredictable. + - These periods (Stock Periods) are completely distinct from Financial or + other periods in the system. + - Periods are not assigned to companies (when you use multicompany). Module + suppose that you use the same periods across companies. If you wish to use + different periods for different companies define them as you wish (they can + overlap). Later on in this text will be indications how to use such periods. + - When periods are created automatically their start and finish dates are with + start hour 00:00:00 and end hour 23:59:00. When you create daily periods they + will have start date 31.01.2010 00:00:00 and end date 31.01.2010 23:59:00. + It works only in automatic creation of periods. When you create periods + manually you have to take care about hours because you can have incorrect + values form sales or stock. + - If you use overlapping periods for the same product, warehouse and company + results can be unpredictable. + - If current date doesn't belong to any period or you have holes between + periods results can be unpredictable. -Sales Forecasts configuration ------------------------------ +Sales Forecasts configuration: +------------------------------ You have few menus for Sales forecast in "Sales > Sales Forecasts": - - "Create Sales Forecasts" - can automatically create forecast lines according to your needs - - "Sales Forecasts" - for managing the Sales forecasts + - "Create Sales Forecasts" - can automatically create forecast lines + according to your needs + - "Sales Forecasts" - for managing the Sales forecasts -Menu "Create Sales Forecasts" creates Forecasts for products from selected Category, for selected Period and for selected Warehouse. +Menu "Create Sales Forecasts" creates Forecasts for products from selected +Category, for selected Period and for selected Warehouse. It is also possible to copy the previous forecast. Remarks: - - This tool doesn't duplicate lines if you already have an entry for the same Product, Period, Warehouse, created or validated by the same user. If you wish to create another forecast, if relevant lines exists you have to do it manually as described below. - - When created lines are validated by someone else you can use this tool to create another line for the same Period, Product and Warehouse. - - When you choose "Copy Last Forecast", created line take quantity and other settings from your (validated by you or created by you if not validated yet) forecast which is for last period before period of created forecast. + - This tool doesn't duplicate lines if you already have an entry for the same + Product, Period, Warehouse, created or validated by the same user. If you + wish to create another forecast, if relevant lines exists you have to do it + manually as described below. + - When created lines are validated by someone else you can use this tool to + create another line for the same Period, Product and Warehouse. + - When you choose "Copy Last Forecast", created line take quantity and other + settings from your (validated by you or created by you if not validated yet) + forecast which is for last period before period of created forecast. -On "Sales Forecast" form mainly you have to enter a forecast quantity in "Product Quantity". -Further calculation can work for draft forecasts. But validation can save your data against any accidental changes. -You can click "Validate" button but it is not mandatory. +On "Sales Forecast" form mainly you have to enter a forecast quantity in +"Product Quantity". Further calculation can work for draft forecasts. But +validation can save your data against any accidental changes. You can click +"Validate" button but it is not mandatory. -Instead of forecast quantity you may enter the amount of forecast sales via the "Product Amount" field. -The system will count quantity from amount according to Sale price of the Product. +Instead of forecast quantity you may enter the amount of forecast sales via the +"Product Amount" field. The system will count quantity from amount according to +Sale price of the Product. -All values on the form are expressed in unit of measure selected on form. -You can select a unit of measure from the default category or from secondary category. -When you change unit of measure the forecast product quantity will be re-computed according to new UoM. +All values on the form are expressed in unit of measure selected on form. You can +select a unit of measure from the default category or from secondary category. +When you change unit of measure the forecast product quantity will be re-computed +according to new UoM. To work out your Sale Forecast you can use the "Sales History" of the product. -You have to enter parameters to the top and left of this table and system will count sale quantities according to these parameters. -So you can get results for a given sales team or period. +You have to enter parameters to the top and left of this table and system will +count sale quantities according to these parameters. So you can get results for +a given sales team or period. -MPS or Procurement Planning ---------------------------- -An MPS planning consists in Stock Planning lines, used to analyze and possibly drive the procurement of -products for each relevant Stock Period and Warehouse. +MPS or Procurement Planning: +---------------------------- +An MPS planning consists in Stock Planning lines, used to analyze and possibly +drive the procurement of products for each relevant Stock Period and Warehouse. The menu is located in "Warehouse > Schedulers > Master Procurement Schedule": - - "Create Stock Planning Lines" - a wizard to help automatically create many planning lines - - "Master Procurement Schedule" - management of your planning lines + - "Create Stock Planning Lines" - a wizard to help automatically create many + planning lines + - "Master Procurement Schedule" - management of your planning lines -Similarly to the way Sales forecast serves to define your sales planning, the MPS lets you plan your procurements (Purchase/Manufacturing). -You can quickly populate the MPS with the "Create Stock Planning Lines" wizard, and then proceed to review them via the "Master Procurement Schedule" menu. +Similarly to the way Sales forecast serves to define your sales planning, the MPS +lets you plan your procurements (Purchase/Manufacturing).You can quickly populate +the MPS with the "Create Stock Planning Lines" wizard, and then proceed to review +them via the "Master Procurement Schedule" menu. -The "Create Stock Planning Lines" wizard lets you to quickly create all MPS lines for a given Product Category, and a given Period and Warehouse. -When you enable the "All Products with Forecast" option of the wizard, the system creates lines for all products having sales forecast for selected -Period and Warehouse (the selected Category will be ignored in this case). +The "Create Stock Planning Lines" wizard lets you to quickly create all MPS lines +for a given Product Category, and a given Period and Warehouse.When you enable +the "All Products with Forecast" option of the wizard, the system creates lines +for all products having sales forecast for selected Period and Warehouse (the +selected Category will be ignored in this case). -Under menu "Master Procurement Schedule" you will usually change the "Planned Out" and "Planned In" quantities and observe the resulting "Stock Simulation" value -to decide if you need to procure more products for the given Period. -"Planned Out" will be initially based on "Warehouse Forecast" which is the sum of all outgoing stock moves already planned for the Period and Warehouse. -Of course you can alter this value to provide your own quantities. It is not necessary to have any forecast. -"Planned In" quantity is used to calculate field "Incoming Left" which is the quantity to be procured to reach the "Stock Simulation" at the end of Period. -You can compare "Stock Simulation" quantity to minimum stock rules visible on the form. -And you can plan different quantity than in Minimum Stock Rules. Calculations are done for whole Warehouse by default, -if you want to see values for Stock location of calculated warehouse you can check "Stock Location Only". +Under menu "Master Procurement Schedule" you will usually change the "Planned Out" +and "Planned In" quantities and observe the resulting "Stock Simulation" value +to decide if you need to procure more products for the given Period. "Planned Out" +will be initially based on "Warehouse Forecast" which is the sum of all outgoing +stock moves already planned for the Period and Warehouse. Of course you can alter +this value to provide your own quantities. It is not necessary to have any forecast. +"Planned In" quantity is used to calculate field "Incoming Left" which is the +quantity to be procured to reach the "Stock Simulation" at the end of Period. You +can compare "Stock Simulation" quantity to minimum stock rules visible on the form. +And you can plan different quantity than in Minimum Stock Rules. Calculations are +done for whole Warehouse by default, if you want to see values for Stock location +of calculated warehouse you can check "Stock Location Only". -When you are satisfied with the "Planned Out", "Planned In" and end of period "Stock Simulation", -you can click on "Procure Incoming Left" to create a procurement for the "Incoming Left" quantity. -You can decide if procurement will go to the to Stock or Input location of the Warehouse. +When you are satisfied with the "Planned Out", "Planned In" and end of period +"Stock Simulation", you can click on "Procure Incoming Left" to create a +procurement for the "Incoming Left" quantity. You can decide if procurement will +go to the to Stock or Input location of the Warehouse. -If you don't want to Produce or Buy the product but just transfer the calculated quantity from another warehouse -you can click "Supply from Another Warehouse" (instead of "Procure Incoming Left") and the system will -create the appropriate picking list (stock moves). -You can choose to take the goods from the Stock or the Output location of the source warehouse. -Destination location (Stock or Input) in the destination warehouse will be taken as for the procurement case. +If you don't want to Produce or Buy the product but just transfer the calculated +quantity from another warehouse you can click "Supply from Another Warehouse" +(instead of "Procure Incoming Left") and the system will create the appropriate +picking list (stock moves). You can choose to take the goods from the Stock or +the Output location of the source warehouse. Destination location (Stock or Input) +in the destination warehouse will be taken as for the procurement case. -To see update the quantities of "Confirmed In", "Confirmed Out", "Confirmed In Before", "Planned Out Before" -and "Stock Simulation" you can press "Calculate Planning". +To see update the quantities of "Confirmed In", "Confirmed Out", "Confirmed In +Before", "Planned Out Before" and "Stock Simulation" you can press "Calculate +Planning". -All values on the form are expressed in unit of measure selected on form. -You can select one of unit of measure from default category or from secondary category. -When you change unit of measure the editable quantities will be re-computed according to new UoM. The others will be updated after pressing "Calculate Planning". +All values on the form are expressed in unit of measure selected on form. You can +select one of unit of measure from default category or from secondary category. +When you change unit of measure the editable quantities will be re-computed +according to new UoM. The others will be updated after pressing "Calculate Planning". -Computation of Stock Simulation quantities ------------------------------------------- -The Stock Simulation value is the estimated stock quantity at the end of the period. -The calculation always starts with the real stock on hand at the beginning of the current period, then -adds or subtracts the computed quantities. -When you are in the same period (current period is the same as calculated) Stock Simulation is calculated as follows: +Computation of Stock Simulation quantities: +------------------------------------------- +The Stock Simulation value is the estimated stock quantity at the end of the +period. The calculation always starts with the real stock on hand at the beginning +of the current period, then adds or subtracts the computed quantities. +When you are in the same period (current period is the same as calculated) Stock +Simulation is calculated as follows: -Stock Simulation = - Stock of beginning of current Period - - Planned Out - + Planned In +Stock Simulation = Stock of beginning of current Period - Planned Out + Planned In When you calculate period next to current: -Stock Simulation = - Stock of beginning of current Period - - Planned Out of current Period - + Confirmed In of current Period (incl. Already In) - - Planned Out of calculated Period - + Planned In of calculated Period . +Stock Simulation = Stock of beginning of current Period - Planned Out of current Period + + Confirmed In of current Period (incl. Already In) - Planned Out of calculated Period + + Planned In of calculated Period . -As you see the calculated Period is taken the same way as in previous case, but the calculation in the current -Period is a little bit different. First you should note that system takes for only Confirmed moves for the -current period. This means that you should complete the planning and procurement of the current Period before +As you see the calculated Period is taken the same way as in previous case, but +the calculation in the current Period is a little bit different. First you should +note that system takes for only Confirmed moves for the current period. This means +that you should complete the planning and procurement of the current Period before going to the next one. When you plan for future Periods: -Stock Simulation = - Stock of beginning of current Period - - Sum of Planned Out of Periods before calculated - + Sum of Confirmed In of Periods before calculated (incl. Already In) - - Planned Out of calculated Period - + Planned In of calculated Period. +Stock Simulation = Stock of beginning of current Period + - Sum of Planned Out of Periods before calculated + + Sum of Confirmed In of Periods before calculated (incl. Already In) + - Planned Out of calculated Period + + Planned In of calculated Period. -Here "Periods before calculated" designates all periods starting with the current until the period before the one being calculated. +Here "Periods before calculated" designates all periods starting with the current +until the period before the one being calculated. Remarks: - - Remember to make the proceed with the planning of each period in chronological order, otherwise the numbers will not reflect the - reality - - If you planned for future periods and find that real Confirmed Out is larger than Planned Out in some periods before, - you can repeat Planning and make another procurement. You should do it in the same planning line. - If you create another planning line the suggestions can be wrong. - - When you wish to work with different periods for some products, define two kinds of periods (e.g. Weekly and Monthly) and use - them for different products. Example: If you use always Weekly periods for Product A, and Monthly periods for Product B - all calculations will work correctly. You can also use different kind of periods for the same product from different warehouse - or companies. But you cannot use overlapping periods for the same product, warehouse and company because results - can be unpredictable. The same applies to Forecasts lines. + - Remember to make the proceed with the planning of each period in chronological + order, otherwise the numbers will not reflect the reality + - If you planned for future periods and find that real Confirmed Out is larger + than Planned Out in some periods before, you can repeat Planning and make + another procurement. You should do it in the same planning line. If you + create another planning line the suggestions can be wrong. + - When you wish to work with different periods for some products, define two + kinds of periods (e.g. Weekly and Monthly) and use them for different + products. Example: If you use always Weekly periods for Product A, and + Monthly periods for Product B all calculations will work correctly. You + can also use different kind of periods for the same product from different + warehouse or companies. But you cannot use overlapping periods for the same + product, warehouse and company because results can be unpredictable. The + same applies to Forecasts lines. """, "data": [ "security/stock_planning_security.xml", diff --git a/addons/subscription/__openerp__.py b/addons/subscription/__openerp__.py index 9e90b032bf9..3a4220efe52 100644 --- a/addons/subscription/__openerp__.py +++ b/addons/subscription/__openerp__.py @@ -32,7 +32,8 @@ This module allows to create new documents and add subscriptions on that documen e.g. To have an invoice generated automatically periodically: * Define a document type based on Invoice object - * Define a subscription whose source document is the document defined as above. Specify the interval information and partner to be invoice. + * Define a subscription whose source document is the document defined as + above. Specify the interval information and partner to be invoice. """, 'author': 'OpenERP SA', 'depends': ['base_tools'], diff --git a/addons/survey/__openerp__.py b/addons/survey/__openerp__.py index 90d7c2e469f..150623b0db7 100644 --- a/addons/survey/__openerp__.py +++ b/addons/survey/__openerp__.py @@ -27,10 +27,11 @@ This module is used for surveying. ================================== -It depends on the answers or reviews of some questions by different users. -A survey may have multiple pages. Each page may contain multiple questions and each question may have multiple answers. -Different users may give different answers of question and according to that survey is done. -Partners are also sent mails with user name and password for the invitation of the survey +It depends on the answers or reviews of some questions by different users. A +survey may have multiple pages. Each page may contain multiple questions and each +question may have multiple answers. Different users may give different answers of +question and according to that survey is done. Partners are also sent mails with +user name and password for the invitation of the survey. """, 'author': 'OpenERP SA', 'depends': ['base_tools', 'mail'], diff --git a/addons/users_ldap/__openerp__.py b/addons/users_ldap/__openerp__.py index e6cd59e8131..53a970997a8 100644 --- a/addons/users_ldap/__openerp__.py +++ b/addons/users_ldap/__openerp__.py @@ -27,89 +27,77 @@ "description": """ Adds support for authentication by LDAP server. =============================================== -This module allows users to login with their LDAP username and -password, and will automatically create OpenERP users for them -on the fly. +This module allows users to login with their LDAP username and password, and +will automatically create OpenERP users for them on the fly. -**Note**: This module only work on servers who have Python's -``ldap`` module installed. +Note: This module only work on servers who have Python's ``ldap`` module + installed. -Configuration -+++++++++++++ -After installing this module, you need to configure the LDAP -parameters in the Configuration tab of the Company details. -Different companies may have different LDAP servers, as long -as they have unique usernames (usernames need to be unique in -OpenERP, even across multiple companies). +Configuration: +-------------- +After installing this module, you need to configure the LDAP parameters in the +Configuration tab of the Company details. Different companies may have different +LDAP servers, as long as they have unique usernames (usernames need to be unique +in OpenERP, even across multiple companies). -Anonymous LDAP binding is also supported (for LDAP servers -that allow it), by simpling keeping the LDAP user and password -empty in the LDAP configuration. This does **not** allow -anonymous authentication for users, it is only for the master -LDAP account that is used to verify if a user exists before -attempting to authenticate it. +Anonymous LDAP binding is also supported (for LDAP servers that allow it), by +simpling keeping the LDAP user and password empty in the LDAP configuration. +This does not allow anonymous authentication for users, it is only for the master +LDAP account that is used to verify if a user exists before attempting to +authenticate it. -Securing the connection with STARTTLS is available for LDAP -servers supporting it, by enabling the TLS option in the LDAP -configuration. +Securing the connection with STARTTLS is available for LDAP servers supporting +it, by enabling the TLS option in the LDAP configuration. -For further options configuring the LDAP settings, refer to the -ldap.conf manpage: manpage:`ldap.conf(5)`. +For further options configuring the LDAP settings, refer to the ldap.conf +manpage: manpage:`ldap.conf(5)`. -Security Considerations -+++++++++++++++++++++++ -Users' LDAP passwords are never stored in the OpenERP database, -the LDAP server is queried whenever a user needs to be -authenticated. No duplication of the password occurs, and -passwords are managed in one place only. +Security Considerations: +------------------------ +Users' LDAP passwords are never stored in the OpenERP database, the LDAP server +is queried whenever a user needs to be authenticated. No duplication of the +password occurs, and passwords are managed in one place only. -OpenERP does not manage password changes in the LDAP, so -any change of password should be conducted by other means -in the LDAP directory directly (for LDAP users). +OpenERP does not manage password changes in the LDAP, so any change of password +should be conducted by other means in the LDAP directory directly (for LDAP users). -It is also possible to have local OpenERP users in the -database along with LDAP-authenticated users (the Administrator -account is one obvious example). +It is also possible to have local OpenERP users in the database along with +LDAP-authenticated users (the Administrator account is one obvious example). Here is how it works: - * The system first attempts to authenticate users against - the local OpenERP database ; - * if this authentication fails (for example because the - user has no local password), the system then attempts - to authenticate against LDAP ; + * The system first attempts to authenticate users against the local OpenERP + database; + * if this authentication fails (for example because the user has no local + password), the system then attempts to authenticate against LDAP; -As LDAP users have blank passwords by default in the local -OpenERP database (which means no access), the first step -always fails and the LDAP server is queried to do the -authentication. +As LDAP users have blank passwords by default in the local OpenERP database +(which means no access), the first step always fails and the LDAP server is +queried to do the authentication. -Enabling STARTTLS ensures that the authentication query to the -LDAP server is encrypted. +Enabling STARTTLS ensures that the authentication query to the LDAP server is +encrypted. -User Template -+++++++++++++ -In the LDAP configuration on the Company form, it is possible to -select a *User Template*. If set, this user will be used as -template to create the local users whenever someone authenticates -for the first time via LDAP authentication. -This allows pre-setting the default groups and menus of the -first-time users. +User Template: +-------------- +In the LDAP configuration on the Company form, it is possible to select a *User +Template*. If set, this user will be used as template to create the local users +whenever someone authenticates for the first time via LDAP authentication. This +allows pre-setting the default groups and menus of the first-time users. -**Warning**: if you set a password for the user template, -this password will be assigned as local password for each new -LDAP user, effectively setting a *master password* for these -users (until manually changed). You usually do not want this. -One easy way to setup a template user is to login once with -a valid LDAP user, let OpenERP create a blank local user with the -same login (and a blank password), then rename this new user -to a username that does not exist in LDAP, and setup its -groups the way you want. +Warning: if you set a password for the user template, this password will be + assigned as local password for each new LDAP user, effectively setting + a *master password* for these users (until manually changed). You + usually do not want this. One easy way to setup a template user is to + login once with a valid LDAP user, let OpenERP create a blank local + user with the same login (and a blank password), then rename this new + user to a username that does not exist in LDAP, and setup its groups + the way you want. -Interaction with base_crypt -+++++++++++++++++++++++++++ -The base_crypt module is not compatible with this module, and -will disable LDAP authentication if installed at the same time. +Interaction with base_crypt: +---------------------------- +The base_crypt module is not compatible with this module, and will disable LDAP +authentication if installed at the same time. """, From a7f251160165c1cae3077f248554acb8ce446955 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Fri, 13 Jul 2012 16:39:04 +0530 Subject: [PATCH 094/170] [IMP] Improved code. bzr revid: jra@tinyerp.com-20120713110904-25smebblug0jawx2 --- addons/web/static/src/js/view_form.js | 2 +- addons/web/static/src/js/view_list.js | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index b48f33f327a..6139a8db5fd 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -564,7 +564,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM }); var edit_btn = $(".oe_form_button_edit"); this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { - edit_btn.addClass('oe_bounce_button_left'); + edit_btn.wrap("
").addClass('oe_bounce_button_left'); self.do_bounce(edit_btn); e.stopImmediatePropagation(); }); diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 0cb6118af3f..f10c2bee4b2 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -287,8 +287,6 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi this.$element.find('.oe_list_buttons').replaceWith(this.$buttons); } this.$buttons.find('.oe_list_add') - .wrap("
") - .addClass('oe_bounce_button_left') .click(this.proxy('do_add_record')) .prop('disabled', grouped && this.options.editable); this.$buttons.on('click', '.oe_list_button_import', function() { @@ -984,11 +982,10 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. throw "Could not find id in dataset" } self.row_clicked(e); - } else { - if (opts.options.$buttons) { - var create_btn = $(opts.options.$buttons.find('.oe_list_add')); - self.view.do_bounce(create_btn); - } + } else if (opts.options.$buttons) { + var create_btn = $(opts.options.$buttons.find('.oe_list_add')); + create_btn..wrap("
").addClass('oe_bounce_button_left') + self.view.do_bounce(create_btn); } }); }, From da641a1a00926eb44511731ce663f9cdcccd8ddf Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 16:53:05 +0530 Subject: [PATCH 095/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713112305-citpeas3va7ii3c6 --- addons/wiki_faq/__openerp__.py | 3 +-- addons/wiki_quality_manual/__openerp__.py | 4 ++-- addons/wiki_sale_faq/__openerp__.py | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/addons/wiki_faq/__openerp__.py b/addons/wiki_faq/__openerp__.py index 5568372d76d..e89a7f7e0c7 100644 --- a/addons/wiki_faq/__openerp__.py +++ b/addons/wiki_faq/__openerp__.py @@ -27,8 +27,7 @@ This module provides a Wiki FAQ Template. ========================================= -It provides demo data, thereby creating a Wiki Group and a Wiki Page -for Wiki FAQ. +It provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki FAQ. """, 'author': 'OpenERP SA', 'website': 'http://openerp.com', diff --git a/addons/wiki_quality_manual/__openerp__.py b/addons/wiki_quality_manual/__openerp__.py index 92512f9e093..5e8725c2c7d 100644 --- a/addons/wiki_quality_manual/__openerp__.py +++ b/addons/wiki_quality_manual/__openerp__.py @@ -27,8 +27,8 @@ Quality Manual Template. ======================== -It provides demo data, thereby creating a Wiki Group and a Wiki Page -for Wiki Quality Manual. +It provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki +Quality Manual. """, 'author': 'OpenERP SA', 'website': 'http://openerp.com', diff --git a/addons/wiki_sale_faq/__openerp__.py b/addons/wiki_sale_faq/__openerp__.py index e2a502527b7..d63e5af7d1e 100644 --- a/addons/wiki_sale_faq/__openerp__.py +++ b/addons/wiki_sale_faq/__openerp__.py @@ -27,8 +27,8 @@ This module provides a Wiki Sales FAQ Template. =============================================== -It provides demo data, thereby creating a Wiki Group and a Wiki Page -for Wiki Sale FAQ. +It provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki +Sale FAQ. """, 'author': 'OpenERP SA', 'website': 'http://openerp.com', From 9feb9aba747b59a4605468196cd76219c0bd7eac Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 17:21:25 +0530 Subject: [PATCH 096/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713115125-pyfzt5cijs63qr9d --- addons/account_accountant/__openerp__.py | 2 +- addons/account_check_writing/__openerp__.py | 2 +- addons/analytic_user_function/__openerp__.py | 10 ++++++---- addons/hr_holidays/__openerp__.py | 5 ++++- addons/point_of_sale/__openerp__.py | 14 +++++++------- addons/web_shortcuts/__openerp__.py | 4 ++-- 6 files changed, 21 insertions(+), 16 deletions(-) diff --git a/addons/account_accountant/__openerp__.py b/addons/account_accountant/__openerp__.py index f1155311f39..f80db855aca 100644 --- a/addons/account_accountant/__openerp__.py +++ b/addons/account_accountant/__openerp__.py @@ -28,7 +28,7 @@ Accounting Access Rights. ========================= -This module gives the admin user the access to all the accounting features +This module gives the Admin user the access to all the accounting features like the journal items and the chart of accounts. It assigns manager and user access rights to the Administrator, and only diff --git a/addons/account_check_writing/__openerp__.py b/addons/account_check_writing/__openerp__.py index d07457d0d00..faba82928ed 100644 --- a/addons/account_check_writing/__openerp__.py +++ b/addons/account_check_writing/__openerp__.py @@ -24,7 +24,7 @@ "author" : "OpenERP SA, NovaPoint Group", "category": "Generic Modules/Accounting", "description": """ -Module for the Check writing and check printing. +Module for the Check Writing and Check Printing. """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/analytic_user_function/__openerp__.py b/addons/analytic_user_function/__openerp__.py index 33a6a543874..1c1f345aca0 100644 --- a/addons/analytic_user_function/__openerp__.py +++ b/addons/analytic_user_function/__openerp__.py @@ -28,11 +28,13 @@ This module allows you to define what is the default function of a specific user on a given account. ==================================================================================================== -This is mostly used when a user encodes his timesheet: the values are retrieved and -the fields are auto-filled. But the possibility to change these values is still available. +This is mostly used when a user encodes his timesheet: the values are retrieved +and the fields are auto-filled. But the possibility to change these values is +still available. -Obviously if no data has been recorded for the current account, the default value is given -as usual by the employee data so that this module is perfectly compatible with older configurations. +Obviously if no data has been recorded for the current account, the default +value is given as usual by the employee data so that this module is perfectly +compatible with older configurations. """, 'author': 'OpenERP SA', diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index 09754eb9df8..98e77f81c31 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -35,7 +35,10 @@ Implements a dashboard for human resource management that includes. * Leaves Note that: - - A synchronisation with an internal agenda (use of the CRM module) is possible: in order to automatically create a case when an holiday request is accepted, you have to link the holidays status to a case section. You can set up this info and your colour preferences in + - A synchronisation with an internal agenda (use of the CRM module) is + possible: in order to automatically create a case when an holiday request + is accepted, you have to link the holidays status to a case section. You + can setup this info and your colour preferences in Human Resources/Configuration/Leave Type - An employee can make an ask for more off-days by making a new Allocation It will increase his total of that leave type available (if the request is accepted). - There are two ways to print the employee's holidays: diff --git a/addons/point_of_sale/__openerp__.py b/addons/point_of_sale/__openerp__.py index 80933eaa785..f9d05d4797c 100644 --- a/addons/point_of_sale/__openerp__.py +++ b/addons/point_of_sale/__openerp__.py @@ -30,13 +30,13 @@ This module provides a quick and easy sale process. =================================================== Main features: ---------------- - * Fast encoding of the sale. - * Allow to choose one payment mode (the quick way) or to split the payment between several payment mode. - * Computation of the amount of money to return. - * Create and confirm picking list automatically. - * Allow the user to create invoice automatically. - * Allow to refund former sales. +-------------- + * Fast encoding of the sale + * Allow to choose one payment mode (the quick way) or to split the payment between several payment mode + * Computation of the amount of money to return + * Create and confirm picking list automatically + * Allow the user to create invoice automatically + * Allow to refund former sales """, 'author': 'OpenERP SA', 'images': ['images/cash_registers.jpeg', 'images/pos_analysis.jpeg','images/register_analysis.jpeg','images/sale_order_pos.jpeg','images/product_pos.jpeg'], diff --git a/addons/web_shortcuts/__openerp__.py b/addons/web_shortcuts/__openerp__.py index ca3119294ed..b587215a501 100644 --- a/addons/web_shortcuts/__openerp__.py +++ b/addons/web_shortcuts/__openerp__.py @@ -23,8 +23,8 @@ 'version': '1.0', 'category': 'Tools', 'description': """ -Enable shortcuts feature in the web client -========================================== +Enable shortcuts feature in the web client. +=========================================== Add a Shortcut icon in the systray in order to access the user's shortcuts (if any). Add a Shortcut icon besides the views title in order to add/remove a shortcut. From 31ae12a10f78b5ce26f175c51a7ba5ecad458989 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 13 Jul 2012 17:59:47 +0530 Subject: [PATCH 097/170] [IMP] : Update Description for modules bzr revid: cha@tinyerp.com-20120713122947-oaut0zx8fq0ers5m --- addons/base_crypt/__openerp__.py | 8 ++++---- addons/l10n_nl/__openerp__.py | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/addons/base_crypt/__openerp__.py b/addons/base_crypt/__openerp__.py index 3163f78ae7d..b106b7838c5 100644 --- a/addons/base_crypt/__openerp__.py +++ b/addons/base_crypt/__openerp__.py @@ -38,8 +38,8 @@ preventing anyone from reading the original password in the database. After installing this module it won't be possible to recover a forgotten password for your users, the only solution is for an admin to set a new password. -Security Warning -++++++++++++++++ +Security Warning: +----------------- Installing this module does not mean you can ignore other security measures, as the password is still transmitted unencrypted on the network, unless you are using a secure protocol such as XML-RPCS or HTTPS. @@ -48,8 +48,8 @@ contain critical data. Appropriate security measures need to be implemented by the system administrator in all areas, such as: protection of database backups, system files, remote shell access, physical server access. -Interation with LDAP authentication -+++++++++++++++++++++++++++++++++++ +Interation with LDAP authentication: +------------------------------------ This module is currently not compatible with the ``user_ldap`` module and will disable LDAP authentication completely if installed at the same time. diff --git a/addons/l10n_nl/__openerp__.py b/addons/l10n_nl/__openerp__.py index b46c8781f42..8b9cc3de451 100644 --- a/addons/l10n_nl/__openerp__.py +++ b/addons/l10n_nl/__openerp__.py @@ -114,9 +114,6 @@ Let op!! -> De template van het Nederlandse rekeningschema is opgebouwd uit 4 cijfers. Dit is het minimale aantal welk u moet invullen, u mag het aantal verhogen. De extra cijfers worden dan achter het rekeningnummer aangevult met "nullen". - * Dit is dezelfe configuratie wizard welke aangeroepen kan worden via - Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. - """, "author" : "Veritos - Jan Verlaan", "website" : "http://www.veritos.nl", From 3db53edefc82bb146f3281ecb9751e239fb2df49 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Fri, 13 Jul 2012 18:33:25 +0530 Subject: [PATCH 098/170] [IMP] Improved code to create bounce effect by CSS. bzr revid: jra@tinyerp.com-20120713130325-q0c6km66nkv2qi7p --- addons/web/static/src/css/base.css | 23 +++++++++++++++++++-- addons/web/static/src/js/corelib.js | 6 ------ addons/web/static/src/js/view_form.js | 3 +-- addons/web/static/src/js/view_list.js | 3 +-- addons/web_kanban/static/src/css/kanban.css | 3 --- addons/web_kanban/static/src/js/kanban.js | 6 +++--- 6 files changed, 26 insertions(+), 18 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 0d79e783370..293d182e6b7 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2367,7 +2367,26 @@ div.ui-widget-overlay { filter: alpha(opacity=30); opacity: 0.3; } -.openerp .oe_bounce_button_left { + +.oe_bounce_left { float: left; - margin-right: 4px; +} + +.openerp .oe_bounce { + -moz-animation:bounce .40s linear; + -webkit-animation:bounce .40s linear; +} + +@-moz-keyframes bounce { + 0%{ -moz-transform:scale(0); opacity:0;} + 50%{ -moz-transform:scale(1.3); opacity:0.4; } + 75%{ -moz-transform:scale(0.9); opacity:0.7;} + 100%{ -moz-transform:scale(1); opacity:1;} +} + +@-webkit-keyframes bounce { + 0%{ -webkit-transform:scale(0); opacity:0;} + 50%{ -webkit-transform:scale(1.3); opacity:0.4;} + 75%{ -webkit-transform:scale(0.9); opacity:0.7;} + 100%{ -webkit-transform:scale(1); opacity:1;} } \ No newline at end of file diff --git a/addons/web/static/src/js/corelib.js b/addons/web/static/src/js/corelib.js index 03b67bce405..1ed4c4788e3 100644 --- a/addons/web/static/src/js/corelib.js +++ b/addons/web/static/src/js/corelib.js @@ -728,12 +728,6 @@ instance.web.Widget = instance.web.Class.extend(instance.web.WidgetMixin, { } return false; }, - /** - * Add bounce effect when click on wrong area - */ - do_bounce: function(element) { - element.effect("bounce", { times:3}, 300); - }, do_notify: function() { if (this.getParent()) { return this.getParent().do_notify.apply(this,arguments); diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 6139a8db5fd..3c9ff030441 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -564,8 +564,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM }); var edit_btn = $(".oe_form_button_edit"); this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { - edit_btn.wrap("
").addClass('oe_bounce_button_left'); - self.do_bounce(edit_btn); + edit_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); e.stopImmediatePropagation(); }); } else { diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index f10c2bee4b2..da93a047259 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -984,8 +984,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. self.row_clicked(e); } else if (opts.options.$buttons) { var create_btn = $(opts.options.$buttons.find('.oe_list_add')); - create_btn..wrap("
").addClass('oe_bounce_button_left') - self.view.do_bounce(create_btn); + create_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); } }); }, diff --git a/addons/web_kanban/static/src/css/kanban.css b/addons/web_kanban/static/src/css/kanban.css index fd18835de88..4c64a2be34b 100644 --- a/addons/web_kanban/static/src/css/kanban.css +++ b/addons/web_kanban/static/src/css/kanban.css @@ -518,7 +518,4 @@ .openerp .oe_form .oe_kanban_view .oe_kanban_column, .openerp .oe_form .oe_kanban_view .oe_kanban_group_header { padding: 0px; background: white; -} -.openerp .oe_kanban_quick_create_bounce { - float: right; } \ No newline at end of file diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 524d4cdcca2..dcb0ad8c0cc 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -420,10 +420,10 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ this.$records.click(function (ev) { if (ev.target == ev.currentTarget) { if (!self.state.folded) { - self.view.do_bounce(add_btn); + add_btn.wrap('
').addClass('oe_bounce'); }else { -// fold_btn.css('display','inline-block'); - self.view.do_bounce(fold_btn); +// fold_btn.css('display','inline-block'); + fold_btn.wrap('
').addClass('oe_bounce'); } } }); From cabf707734f52cd7721377f80d8efaea7056f5bc Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Fri, 13 Jul 2012 18:57:23 +0530 Subject: [PATCH 099/170] [ADD] Add comment for used bounce effect. bzr revid: jra@tinyerp.com-20120713132723-t5f7kv5gak13lks2 --- addons/web/static/src/js/view_form.js | 3 +++ addons/web/static/src/js/view_list.js | 6 +++++- addons/web_kanban/static/src/js/kanban.js | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 3c9ff030441..fa75c3e2348 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -562,6 +562,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM _.each(this.fields,function(field){ field.set({"force_readonly": true}); }); + /* + * Add bounce effect on button 'Edit' when click on readonly page view. + */ var edit_btn = $(".oe_form_button_edit"); this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { edit_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index da93a047259..3b120065cc4 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -982,7 +982,11 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. throw "Could not find id in dataset" } self.row_clicked(e); - } else if (opts.options.$buttons) { + } + /* + * Add bounce effect on button 'Create' when click on empty row of list view. + */ + else if (opts.options.$buttons) { var create_btn = $(opts.options.$buttons.find('.oe_list_add')); create_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); } diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index dcb0ad8c0cc..9d794894d5b 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -415,6 +415,9 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ self.quick.appendTo($(".oe_kanban_group_list_header", self.$records)); self.quick.focus(); }); + /* + * Add bounce effect on image '+' of kanban header when click on empty space of kanban grouped column. + */ var add_btn = this.$element.find('.oe_kanban_add'); var fold_btn = this.$element.find('.oe_dropdown_kanban'); this.$records.click(function (ev) { From 66d1d0e33493b55a7fac8340e0ce009dde363381 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Mon, 16 Jul 2012 12:35:23 +0530 Subject: [PATCH 100/170] [IMP] Improved code. bzr revid: jra@tinyerp.com-20120716070523-iim1n7ghl1a0tg6o --- addons/web/static/src/css/base.css | 23 ----------------------- addons/web/static/src/js/view_form.js | 2 +- addons/web/static/src/js/view_list.js | 2 +- 3 files changed, 2 insertions(+), 25 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 293d182e6b7..66104b446ea 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2366,27 +2366,4 @@ div.ui-widget-overlay { background: black; filter: alpha(opacity=30); opacity: 0.3; -} - -.oe_bounce_left { - float: left; -} - -.openerp .oe_bounce { - -moz-animation:bounce .40s linear; - -webkit-animation:bounce .40s linear; -} - -@-moz-keyframes bounce { - 0%{ -moz-transform:scale(0); opacity:0;} - 50%{ -moz-transform:scale(1.3); opacity:0.4; } - 75%{ -moz-transform:scale(0.9); opacity:0.7;} - 100%{ -moz-transform:scale(1); opacity:1;} -} - -@-webkit-keyframes bounce { - 0%{ -webkit-transform:scale(0); opacity:0;} - 50%{ -webkit-transform:scale(1.3); opacity:0.4;} - 75%{ -webkit-transform:scale(0.9); opacity:0.7;} - 100%{ -webkit-transform:scale(1); opacity:1;} } \ No newline at end of file diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index fa75c3e2348..f9eaaba4b91 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -567,7 +567,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM */ var edit_btn = $(".oe_form_button_edit"); this.$element.find(".oe_form_field, .oe_form_group_cell").click(function (e) { - edit_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); + edit_btn.wrap('
').css('margin-right','4px').addClass('oe_left oe_bounce'); e.stopImmediatePropagation(); }); } else { diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 3b120065cc4..a79e25a1474 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -988,7 +988,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web. */ else if (opts.options.$buttons) { var create_btn = $(opts.options.$buttons.find('.oe_list_add')); - create_btn.wrap('
').css('margin-right','4px').addClass('oe_bounce_left oe_bounce'); + create_btn.wrap('
').css('margin-right','4px').addClass('oe_left oe_bounce'); } }); }, From 5bba0c8e6b899c29ff2102b94ebf6abf290e1402 Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Mon, 16 Jul 2012 12:56:44 +0530 Subject: [PATCH 101/170] [ADD] Add css and sass file for bounce animation effect. bzr revid: jra@tinyerp.com-20120716072644-ls2q54fr5o8fjyd7 --- addons/web/static/src/css/base.css | 19 +++++++++++++++++ addons/web/static/src/css/base.sass | 33 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 66104b446ea..3e260601581 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2366,4 +2366,23 @@ div.ui-widget-overlay { background: black; filter: alpha(opacity=30); opacity: 0.3; +} + +.openerp .oe_bounce { + -moz-animation:bounce .40s linear; + -webkit-animation:bounce .40s linear; +} + +@-moz-keyframes bounce { + 0%{ -moz-transform:scale(0); opacity:0;} + 50%{ -moz-transform:scale(1.3); opacity:0.4; } + 75%{ -moz-transform:scale(0.9); opacity:0.7;} + 100%{ -moz-transform:scale(1); opacity:1;} +} + +@-webkit-keyframes bounce { + 0%{ -webkit-transform:scale(0); opacity:0;} + 50%{ -webkit-transform:scale(1.3); opacity:0.4;} + 75%{ -webkit-transform:scale(0.9); opacity:0.7;} + 100%{ -webkit-transform:scale(1); opacity:1;} } \ No newline at end of file diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 559125aa3c3..1410a1ce872 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1865,5 +1865,38 @@ $sheet-max-width: 860px div.ui-widget-overlay background: black @include opacity(0.3) + +.openerp .oe_bounce + -moz-animation: bounce .40s linear + -webkit-animation: bounce .40s linear + +@-moz-keyframes bounce + 0% + -moz-transform: scale(0) + opacity: 0 + 50% + -moz-transform: scale(1.3) + opacity: 0.4 + 75% + -moz-transform: scale(0.9) + opacity: 0.7 + 100% + -moz-transform: scale(1) + opacity: 1 + + +@-webkit-keyframes bounce + 0% + -webkit-transform: scale(0) + opacity: 0 + 50% + -webkit-transform: scale(1.3) + opacity: 0.4 + 75% + -webkit-transform: scale(0.9) + opacity: 0.7 + 100% + -webkit-transform: scale(1) + opacity: 1 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers > "%:p:r.css" // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: From f04758ec010af9c1a000c89e87c5ca29a3cfadef Mon Sep 17 00:00:00 2001 From: "Amit (OpenERP)" Date: Mon, 16 Jul 2012 15:59:20 +0530 Subject: [PATCH 102/170] [FIX] account : Fixes the cash register problem lp bug: https://launchpad.net/bugs/1003849 fixed bzr revid: amp@tinyerp.com-20120716102920-ifte2m8c6v8cldjl --- addons/account/account_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 80202d97d6c..a881519776e 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2550,7 +2550,7 @@ action = pool.get('res.config').next(cr, uid, [], context) - + From 8dfc9f18d365d8decd635f69b2b03dcb7f254ad6 Mon Sep 17 00:00:00 2001 From: "Purnendu Singh (OpenERP)" Date: Tue, 17 Jul 2012 15:43:07 +0530 Subject: [PATCH 103/170] [IMP] project_mrp: Improve the description as the produce is now Manufacture bzr revid: psi@tinyerp.com-20120717101307-zlojt3bltwkfa46s --- addons/project_mrp/__openerp__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/project_mrp/__openerp__.py b/addons/project_mrp/__openerp__.py index 2c858fb8814..5c818a57e7a 100644 --- a/addons/project_mrp/__openerp__.py +++ b/addons/project_mrp/__openerp__.py @@ -32,9 +32,9 @@ This module will automatically create a new task for each procurement order line (e.g. for sale order lines), if the corresponding product meets the following characteristics: - * Type = Service - * Procurement method (Order fulfillment) = MTO (make to order) - * Supply/Procurement method = Produce + * Product Type = Service + * Procurement Method (Order fulfillment) = MTO (Make to Order) + * Supply/Procurement Method = Manufacture If on top of that a projet is specified on the product form (in the Procurement tab), then the new task will be created in that specific project. Otherwise, the From c2e7e54fe322dd1e8fa9701305f21cec415b7e02 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Tue, 17 Jul 2012 17:24:28 +0200 Subject: [PATCH 104/170] [FIX] base_calendar: make all-day events start at 00:00:00 in the user's timezone bzr revid: rco@openerp.com-20120717152428-91wl4cqqxwgjn962 --- addons/base_calendar/base_calendar.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 5fc38c884da..918ab97990a 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -941,16 +941,19 @@ class calendar_event(osv.osv): duration = 1.00 value['duration'] = duration - if allday: # For all day event - value = {'duration': 24.0} - duration = 24.0 - if start_date: - start = datetime.strptime(start_date, "%Y-%m-%d %H:%M:%S") - start_date = datetime.strftime(datetime(start.year, start.month, start.day, 0,0,0), "%Y-%m-%d %H:%M:%S") - value['date'] = start_date - - start = datetime.strptime(start_date, "%Y-%m-%d %H:%M:%S") + if allday: # For all day event + duration = 24.0 + value['duration'] = duration + # change start_date's time to 00:00:00 in the user's timezone + user = self.pool.get('res.users').browse(cr, uid, uid) + tz = pytz.timezone(user.context_tz) if user.context_tz else pytz.utc + start = pytz.utc.localize(start).astimezone(tz) # convert start in user's timezone + start = start.replace(hour=0, minute=0, second=0) # change start's time to 00:00:00 + start = start.astimezone(pytz.utc) # convert start back to utc + start_date = start.strftime("%Y-%m-%d %H:%M:%S") + value['date'] = start_date + if end_date and not duration: end = datetime.strptime(end_date, "%Y-%m-%d %H:%M:%S") diff = end - start From 7e9a1f13b0d7c3b5e78b18ab0cbf78fa442624ed Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Wed, 18 Jul 2012 11:12:59 +0530 Subject: [PATCH 105/170] [FIX] base_calendar : TypeError: strptime() argument 1 must be string, not bool. bzr revid: mdi@tinyerp.com-20120718054259-cve7ms8krk19uw8o --- addons/base_calendar/base_calendar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 918ab97990a..b51f3cbd0b9 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1028,8 +1028,8 @@ class calendar_event(osv.osv): 'id': fields.integer('ID', readonly=True), 'sequence': fields.integer('Sequence'), 'name': fields.char('Description', size=64, required=False, states={'done': [('readonly', True)]}), - 'date': fields.datetime('Date', states={'done': [('readonly', True)]}), - 'date_deadline': fields.datetime('Deadline', states={'done': [('readonly', True)]}), + 'date': fields.datetime('Date', required=True, states={'done': [('readonly', True)]}), + 'date_deadline': fields.datetime('Deadline', required=True, states={'done': [('readonly', True)]}), 'create_date': fields.datetime('Created', readonly=True), 'duration': fields.float('Duration', states={'done': [('readonly', True)]}), 'description': fields.text('Description', states={'done': [('readonly', True)]}), From 102049d6b0f6c7c29d0eeb140630fcfe03fb5f53 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Wed, 18 Jul 2012 12:25:11 +0530 Subject: [PATCH 106/170] [IMP] stock : Traceability section must go to tracking lot group. bzr revid: mdi@tinyerp.com-20120718065511-dfdfc59cb8ivt5j0 --- addons/stock/stock_view.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 81484e0f5a3..f0f0e989e87 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -1268,23 +1268,22 @@ - -