Browse Source

[IMP+FIX] account_analytic_analysis_recurring: Translations + access rules + README

pull/121/head
Pedro M. Baeza 10 years ago
parent
commit
698926f535
  1. 10
      contract/__openerp__.py
  2. 118
      contract/i18n/account_analytic_analysis_recurring.pot
  3. 157
      contract/i18n/es.po
  4. 4
      contract/security/ir.model.access.csv

10
contract/__openerp__.py

@ -25,14 +25,14 @@
'version': '0.1', 'version': '0.1',
'category': 'Other', 'category': 'Other',
'description': """ 'description': """
This module add a new feature in contracts to manage recurring invoice
======================================================================
This module adds a new feature in contracts to manage recurring invoicing
=========================================================================
This is a backport of the new V8 feature available in trunk and saas. With This is a backport of the new V8 feature available in trunk and saas. With
the V8 release this module will be deprecated. the V8 release this module will be deprecated.
It also add a little feature, you can use #START# and #END# in the contract
line to automatically insert the dates of the invoiced period.
It also adds a little feature, you can use #START# and #END# in the contract
line description to automatically insert the dates of the invoiced period.
Backport done By Yannick Buron. Backport done By Yannick Buron.
""", """,
@ -40,6 +40,7 @@ Backport done By Yannick Buron.
'website': 'http://openerp.com', 'website': 'http://openerp.com',
'depends': ['base', 'account_analytic_analysis'], 'depends': ['base', 'account_analytic_analysis'],
'data': [ 'data': [
'security/ir.model.access.csv',
'account_analytic_analysis_recurring_cron.xml', 'account_analytic_analysis_recurring_cron.xml',
'account_analytic_analysis_recurring_view.xml', 'account_analytic_analysis_recurring_view.xml',
], ],
@ -48,4 +49,3 @@ Backport done By Yannick Buron.
'installable': True, 'installable': True,
'images': [], 'images': [],
} }
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

118
contract/i18n/account_analytic_analysis_recurring.pot

@ -1,52 +1,43 @@
# Translation of OpenERP Server. # Translation of OpenERP Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * account_analytic_analysis_recurring
# * account_analytic_analysis_recurring
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-02-21 11:41+0000\n"
"PO-Revision-Date: 2014-02-21 11:41+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: view:account.analytic.account:0
msgid ". create invoices"
msgstr ""
#. module: account_analytic_analysis_recurring
#: view:account.analytic.account:0
msgid "Account Analytic Lines"
msgstr ""
#. module: account_analytic_analysis_recurring
#: code:_description:0
#: field:account.analytic.invoice.line,analytic_account_id:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_account
#, python-format
msgid "Analytic Account"
msgstr ""
#. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_next_date:0
msgid "Date of Next Invoice"
#: field:account.analytic.invoice.line,price_subtotal:0
msgid "Sub Total"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Day(s)"
#: field:account.analytic.account,recurring_rule_type:0
msgid "Recurrency"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,name:0
msgid "Description"
#: field:account.analytic.invoice.line,price_unit:0
msgid "Unit Price"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:130
#, python-format
msgid "Error!"
#: view:account.analytic.account:0
msgid ". create invoices"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_invoices:0
msgid "Generate recurring invoices automatically"
#: view:account.analytic.account:0
msgid "Account Analytic Lines"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
@ -55,25 +46,18 @@ msgid "Invoice Lines"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: help:account.analytic.account,recurring_rule_type:0
msgid "Invoice automatically repeat at specified interval"
#: field:account.analytic.invoice.line,uom_id:0
msgid "Unit of Measure"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0 #: selection:account.analytic.account,recurring_rule_type:0
msgid "Month(s)"
msgstr ""
#. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:125
#, python-format
msgid "No Customer Defined!"
msgid "Day(s)"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:131
#, python-format
msgid "Please define a sale journal for the company \"%s\"."
#: help:account.analytic.account,recurring_rule_type:0
msgid "Invoice automatically repeat at specified interval"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
@ -82,13 +66,13 @@ msgid "Product"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,quantity:0
msgid "Quantity"
#: field:account.analytic.invoice.line,name:0
msgid "Description"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_rule_type:0
msgid "Recurrency"
#: field:account.analytic.account,recurring_interval:0
msgid "Repeat Every"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
@ -97,49 +81,49 @@ msgid "Recurring Invoices"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_interval:0
msgid "Repeat Every"
#: field:account.analytic.account,recurring_invoices:0
msgid "Generate recurring invoices automatically"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: help:account.analytic.account,recurring_interval:0
msgid "Repeat every (Days/Week/Month/Year)"
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Year(s)"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,price_subtotal:0
msgid "Sub Total"
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Week(s)"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,price_unit:0
msgid "Unit Price"
#: field:account.analytic.invoice.line,quantity:0
msgid "Quantity"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,uom_id:0
msgid "Unit of Measure"
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_invoice_line
msgid "account.analytic.invoice.line"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Week(s)"
#: field:account.analytic.account,recurring_next_date:0
msgid "Date of Next Invoice"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Year(s)"
#: field:account.analytic.invoice.line,analytic_account_id:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_account
msgid "Analytic Account"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:125
#, python-format
msgid "You must first select a Customer for Contract %s!"
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Month(s)"
msgstr "" msgstr ""
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: code:_description:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_invoice_line
#, python-format
msgid "account.analytic.invoice.line"
#: help:account.analytic.account,recurring_interval:0
msgid "Repeat every (Days/Week/Month/Year)"
msgstr "" msgstr ""

157
contract/account_analytic_analysis_recurring.pot → contract/i18n/es.po

@ -6,124 +6,151 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n" "Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-02-21 11:41+0000\n"
"PO-Revision-Date: 2014-02-21 11:41+0000\n"
"Last-Translator: <>\n"
"POT-Creation-Date: 2014-08-18 23:13+0000\n"
"PO-Revision-Date: 2014-08-19 01:14+0100\n"
"Last-Translator: Joaquin Gutierrez <joaquing.pedrosa@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n" "Plural-Forms: \n"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,price_subtotal:0
msgid "Sub Total"
msgstr ""
#: view:account.analytic.account:0
msgid ". create invoices"
msgstr ". crear facturas"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_rule_type:0
msgid "Recurrency"
msgstr ""
#: view:account.analytic.account:0
msgid "Account Analytic Lines"
msgstr "Ver líneas contables analíticas"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,price_unit:0
msgid "Unit Price"
msgstr ""
#: code:_description:0
#: field:account.analytic.invoice.line,analytic_account_id:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_account
#, python-format
msgid "Analytic Account"
msgstr "Cuenta analítica"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: view:account.analytic.account:0
msgid ". create invoices"
msgstr ""
#: field:account.analytic.account,recurring_next_date:0
msgid "Date of Next Invoice"
msgstr "Próximo fecha de factura"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: view:account.analytic.account:0
msgid "Account Analytic Lines"
msgstr ""
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Day(s)"
msgstr "Día(s)"
#. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,name:0
msgid "Description"
msgstr "Descripción"
#. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:165
#, python-format
msgid "Error!"
msgstr "¡Error!"
#. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_invoices:0
msgid "Generate recurring invoices automatically"
msgstr "Generar facturas recurrentes automáticamente."
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_invoice_line_ids:0 #: field:account.analytic.account,recurring_invoice_line_ids:0
msgid "Invoice Lines" msgid "Invoice Lines"
msgstr ""
msgstr "Líneas de factura"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,uom_id:0
msgid "Unit of Measure"
msgstr ""
#: help:account.analytic.account,recurring_rule_type:0
msgid "Invoice automatically repeat at specified interval"
msgstr "Repetir factura automáticamente en ese intervalo"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0 #: selection:account.analytic.account,recurring_rule_type:0
msgid "Day(s)"
msgstr ""
msgid "Month(s)"
msgstr "Mes(es)"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: help:account.analytic.account,recurring_rule_type:0
msgid "Invoice automatically repeat at specified interval"
msgstr ""
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:153
#, python-format
msgid "No Customer Defined!"
msgstr "¡No se ha definido un cliente!"
#. module: account_analytic_analysis_recurring
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:166
#, python-format
msgid "Please define a sale journal for the company \"%s\"."
msgstr "Defina por favor un diario de ventas para esta compañía \"%s\"."
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,product_id:0 #: field:account.analytic.invoice.line,product_id:0
msgid "Product" msgid "Product"
msgstr ""
msgstr "Producto"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,name:0
msgid "Description"
msgstr ""
#: field:account.analytic.invoice.line,quantity:0
msgid "Quantity"
msgstr "Cantidad"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_interval:0
msgid "Repeat Every"
msgstr ""
#: field:account.analytic.account,recurring_rule_type:0
msgid "Recurrency"
msgstr "Recurrencia"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: view:account.analytic.account:0 #: view:account.analytic.account:0
msgid "Recurring Invoices" msgid "Recurring Invoices"
msgstr ""
msgstr "Facturas recurrentes"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_invoices:0
msgid "Generate recurring invoices automatically"
msgstr ""
#. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Year(s)"
msgstr ""
#: field:account.analytic.account,recurring_interval:0
msgid "Repeat Every"
msgstr "Repetir cada"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Week(s)"
msgstr ""
#: help:account.analytic.account,recurring_interval:0
msgid "Repeat every (Days/Week/Month/Year)"
msgstr "Repetir cada (días/semana/mes/año)"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,quantity:0
msgid "Quantity"
msgstr ""
#: field:account.analytic.invoice.line,price_subtotal:0
msgid "Sub Total"
msgstr "Subtotal"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_invoice_line
msgid "account.analytic.invoice.line"
msgstr ""
#: field:account.analytic.invoice.line,price_unit:0
msgid "Unit Price"
msgstr "Precio unidad"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.account,recurring_next_date:0
msgid "Date of Next Invoice"
msgstr ""
#: field:account.analytic.invoice.line,uom_id:0
msgid "Unit of Measure"
msgstr "Unidad de medida"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: field:account.analytic.invoice.line,analytic_account_id:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_account
msgid "Analytic Account"
msgstr ""
#: selection:account.analytic.account,recurring_rule_type:0
msgid "Week(s)"
msgstr "Semana(s)"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: selection:account.analytic.account,recurring_rule_type:0 #: selection:account.analytic.account,recurring_rule_type:0
msgid "Month(s)"
msgstr ""
msgid "Year(s)"
msgstr "Año(s)"
#. module: account_analytic_analysis_recurring #. module: account_analytic_analysis_recurring
#: help:account.analytic.account,recurring_interval:0
msgid "Repeat every (Days/Week/Month/Year)"
msgstr ""
#: code:addons/account_analytic_analysis_recurring/account_analytic_analysis_recurring.py:154
#, python-format
msgid "You must first select a Customer for Contract %s!"
msgstr "¡Seleccione un cliente para este contrato %s!"
#. module: account_analytic_analysis_recurring
#: code:_description:0
#: model:ir.model,name:account_analytic_analysis_recurring.model_account_analytic_invoice_line
#, python-format
msgid "account.analytic.invoice.line"
msgstr "account.analytic.invoice.line"

4
contract/security/ir.model.access.csv

@ -0,0 +1,4 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"account_analytic_invoice_line_manager","Recurring manager","model_account_analytic_invoice_line","base.group_sale_manager",1,1,1,1
"account_analytic_invoice_line_user","Recurring user","model_account_analytic_invoice_line","base.group_sale_salesman",1,0,0,0
Loading…
Cancel
Save