diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-09-05 15:28:22 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-09-05 15:28:22 +0200 |
| commit | 31bf30d2d0eb78baaa36360b99fe58bf7cd4c9e7 (patch) | |
| tree | d7be61ecd6bb4c8b5552e39b03e2a64eebbbf323 /addons/analytic | |
| parent | afba9e8817c458640ae446ac7aaaab79be4fe1e9 (diff) | |
| parent | ed1c173971968eaa96693cb4e1547efa6e6c34e0 (diff) | |
[MERGE] forward port of branch 8.0 up to ed1c173
Diffstat (limited to 'addons/analytic')
| -rw-r--r-- | addons/analytic/__openerp__.py | 2 | ||||
| -rw-r--r-- | addons/analytic/i18n/analytic.pot | 342 | ||||
| -rw-r--r-- | addons/analytic/models/analytic.py | 2 |
3 files changed, 201 insertions, 145 deletions
diff --git a/addons/analytic/__openerp__.py b/addons/analytic/__openerp__.py index 79eacdd79bf..212e4c646c0 100644 --- a/addons/analytic/__openerp__.py +++ b/addons/analytic/__openerp__.py @@ -23,7 +23,7 @@ 'name' : 'Analytic Accounting', 'version': '1.1', 'author' : 'OpenERP SA', - 'website' : 'http://www.openerp.com', + 'website' : 'https://www.odoo.com/page/accounting', 'category': 'Hidden/Dependency', 'depends' : ['base', 'decimal_precision', 'mail'], 'description': """ diff --git a/addons/analytic/i18n/analytic.pot b/addons/analytic/i18n/analytic.pot index 8ad0654898d..9072481c54b 100644 --- a/addons/analytic/i18n/analytic.pot +++ b/addons/analytic/i18n/analytic.pot @@ -1,13 +1,13 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * analytic # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0alpha\n" +"Project-Id-Version: Odoo Server 8.0rc1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-21 17:05+0000\n" +"POT-Creation-Date: 2014-08-14 13:08+0000\n" +"PO-Revision-Date: 2014-08-14 13:08+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,77 +16,77 @@ msgstr "" "Plural-Forms: \n" #. module: analytic -#: field:account.analytic.account,child_ids:0 -msgid "Child Accounts" +#: code:addons/analytic/analytic.py:277 +#, python-format +msgid "%s (copy)" msgstr "" #. module: analytic -#: selection:account.analytic.account,state:0 -msgid "In Progress" +#: field:account.analytic.account,child_complete_ids:0 +msgid "Account Hierarchy" msgstr "" #. module: analytic -#: code:addons/analytic/analytic.py:229 -#, python-format -msgid "Contract: " +#: field:account.analytic.account,manager_id:0 +msgid "Account Manager" msgstr "" #. module: analytic -#: selection:account.analytic.account,state:0 -msgid "Template" +#: field:account.analytic.account,name:0 +msgid "Account/Contract Name" msgstr "" #. module: analytic -#: view:account.analytic.account:0 -msgid "End Date" +#: field:account.analytic.line,amount:0 +msgid "Amount" msgstr "" #. module: analytic -#: help:account.analytic.line,unit_amount:0 -msgid "Specifies the amount of quantity to count." +#: view:account.analytic.account:analytic.view_account_analytic_account_form +#: selection:account.analytic.account,type:0 +#: field:account.analytic.line,account_id:0 +#: model:ir.model,name:analytic.model_account_analytic_account +msgid "Analytic Account" msgstr "" #. module: analytic -#: field:account.analytic.account,debit:0 -msgid "Debit" +#: model:res.groups,name:analytic.group_analytic_accounting +msgid "Analytic Accounting" msgstr "" #. module: analytic -#: help:account.analytic.account,type:0 -msgid "If you select the View Type, it means you won't allow to create journal entries using that account.\n" -"The type 'Analytic account' stands for usual accounts that you only want to use in accounting.\n" -"If you select Contract or Project, it offers you the possibility to manage the validity and the invoicing options for this account.\n" -"The special type 'Template of Contract' allows you to define a template with default data that you can reuse easily." +#: field:account.analytic.account,line_ids:0 +msgid "Analytic Entries" msgstr "" #. module: analytic -#: view:account.analytic.account:0 -msgid "Once the end date of the contract is\n" -" passed or the maximum number of service\n" -" units (e.g. support contract) is\n" -" reached, the account manager is notified \n" -" by email to renew the contract with the\n" -" customer." +#: model:ir.model,name:analytic.model_account_analytic_line +msgid "Analytic Line" msgstr "" #. module: analytic #: selection:account.analytic.account,type:0 -msgid "Contract or Project" +msgid "Analytic View" msgstr "" #. module: analytic -#: field:account.analytic.account,name:0 -msgid "Account/Contract Name" +#: field:account.analytic.account,balance:0 +msgid "Balance" msgstr "" #. module: analytic -#: field:account.analytic.account,manager_id:0 -msgid "Account Manager" +#: help:account.analytic.line,amount:0 +msgid "Calculated by multiplying the quantity and the price given in the Product's cost price. Always expressed in the company main currency." msgstr "" #. module: analytic -#: field:account.analytic.account,message_follower_ids:0 -msgid "Followers" +#: selection:account.analytic.account,state:0 +msgid "Cancelled" +msgstr "" + +#. module: analytic +#: field:account.analytic.account,child_ids:0 +msgid "Child Accounts" msgstr "" #. module: analytic @@ -95,199 +95,236 @@ msgid "Closed" msgstr "" #. module: analytic -#: model:mail.message.subtype,name:analytic.mt_account_pending -msgid "Contract to Renew" +#: field:account.analytic.account,company_id:0 +#: field:account.analytic.line,company_id:0 +msgid "Company" msgstr "" #. module: analytic -#: selection:account.analytic.account,state:0 -msgid "New" +#: model:mail.message.subtype,name:analytic.mt_account_closed +msgid "Contract Finished" msgstr "" #. module: analytic -#: field:account.analytic.account,user_id:0 -msgid "Project Manager" +#: view:account.analytic.account:analytic.view_account_analytic_account_form +msgid "Contract Information" msgstr "" #. module: analytic -#: field:account.analytic.account,state:0 -msgid "Status" +#: model:mail.message.subtype,name:analytic.mt_account_opened +msgid "Contract Opened" +msgstr "" + +#. module: analytic +#: model:mail.message.subtype,description:analytic.mt_account_closed +msgid "Contract closed" msgstr "" #. module: analytic -#: code:addons/analytic/analytic.py:268 +#: model:mail.message.subtype,description:analytic.mt_account_opened +msgid "Contract opened" +msgstr "" + +#. module: analytic +#: selection:account.analytic.account,type:0 +msgid "Contract or Project" +msgstr "" + +#. module: analytic +#: model:mail.message.subtype,description:analytic.mt_account_pending +msgid "Contract pending" +msgstr "" + +#. module: analytic +#: model:mail.message.subtype,name:analytic.mt_account_pending +msgid "Contract to Renew" +msgstr "" + +#. module: analytic +#: code:addons/analytic/analytic.py:238 #, python-format -msgid "%s (copy)" +msgid "Contract: " msgstr "" #. module: analytic -#: model:ir.model,name:analytic.model_account_analytic_line -msgid "Analytic Line" +#: field:account.analytic.line,create_date:0 +msgid "Create Date" msgstr "" #. module: analytic -#: field:account.analytic.account,description:0 -#: field:account.analytic.line,name:0 -msgid "Description" +#: field:account.analytic.account,create_uid:0 +#: field:account.analytic.line,create_uid:0 +msgid "Created by" msgstr "" #. module: analytic -#: field:account.analytic.account,message_unread:0 -msgid "Unread Messages" +#: field:account.analytic.account,create_date:0 +msgid "Created on" msgstr "" #. module: analytic -#: constraint:account.analytic.account:0 -msgid "Error! You cannot create recursive analytic accounts." +#: field:account.analytic.account,credit:0 +msgid "Credit" msgstr "" #. module: analytic -#: field:account.analytic.account,company_id:0 -#: field:account.analytic.line,company_id:0 -msgid "Company" +#: field:account.analytic.account,currency_id:0 +msgid "Currency" msgstr "" #. module: analytic -#: view:account.analytic.account:0 -msgid "Renewal" +#: field:account.analytic.account,partner_id:0 +msgid "Customer" msgstr "" #. module: analytic -#: help:account.analytic.account,message_ids:0 -msgid "Messages and communication history" +#: field:account.analytic.line,date:0 +msgid "Date" msgstr "" #. module: analytic -#: model:mail.message.subtype,description:analytic.mt_account_opened -msgid "Stage <b>opened</b>" +#: help:account.analytic.account,message_last_post:0 +msgid "Date of the last message posted on the record." msgstr "" #. module: analytic -#: help:account.analytic.account,quantity_max:0 -msgid "Sets the higher limit of time to work on the contract, based on the timesheet. (for instance, number of hours in a limited support contract.)" +#: field:account.analytic.account,debit:0 +msgid "Debit" msgstr "" #. module: analytic -#: code:addons/analytic/analytic.py:160 -#, python-format -msgid "If you set a company, the currency selected has to be the same as it's currency. \n" -"You can remove the company belonging, and thus change the currency, only on analytic account of type 'view'. This can be really usefull for consolidation purposes of several companies charts with different currencies, for example." +#: field:account.analytic.account,description:0 +#: field:account.analytic.line,name:0 +msgid "Description" msgstr "" #. module: analytic -#: field:account.analytic.account,message_is_follower:0 -msgid "Is a Follower" +#: view:account.analytic.account:analytic.view_account_analytic_account_form +msgid "End Date" msgstr "" #. module: analytic -#: field:account.analytic.line,user_id:0 -msgid "User" +#: code:addons/analytic/analytic.py:160 +#, python-format +msgid "Error!" msgstr "" #. module: analytic -#: model:mail.message.subtype,description:analytic.mt_account_pending -msgid "Contract <b>pending</b>" +#: constraint:account.analytic.account:0 +msgid "Error! You cannot create recursive analytic accounts." msgstr "" #. module: analytic -#: field:account.analytic.line,date:0 -msgid "Date" +#: field:account.analytic.account,date:0 +msgid "Expiration Date" msgstr "" #. module: analytic -#: model:mail.message.subtype,name:analytic.mt_account_closed -msgid "Contract Finished" +#: field:account.analytic.account,message_follower_ids:0 +msgid "Followers" msgstr "" #. module: analytic -#: view:account.analytic.account:0 -msgid "Terms and Conditions" +#: field:account.analytic.account,complete_name:0 +msgid "Full Name" msgstr "" #. module: analytic -#: help:account.analytic.line,amount:0 -msgid "Calculated by multiplying the quantity and the price given in the Product's cost price. Always expressed in the company main currency." +#: help:account.analytic.account,message_summary:0 +msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." msgstr "" #. module: analytic -#: field:account.analytic.account,partner_id:0 -msgid "Customer" +#: field:account.analytic.account,id:0 +#: field:account.analytic.line,id:0 +msgid "ID" msgstr "" #. module: analytic -#: field:account.analytic.account,child_complete_ids:0 -msgid "Account Hierarchy" +#: help:account.analytic.account,message_unread:0 +msgid "If checked new messages require your attention." msgstr "" #. module: analytic -#: field:account.analytic.account,message_ids:0 -msgid "Messages" +#: help:account.analytic.account,type:0 +msgid "If you select the View Type, it means you won't allow to create journal entries using that account.\n" +"The type 'Analytic account' stands for usual accounts that you only want to use in accounting.\n" +"If you select Contract or Project, it offers you the possibility to manage the validity and the invoicing options for this account.\n" +"The special type 'Template of Contract' allows you to define a template with default data that you can reuse easily." msgstr "" #. module: analytic -#: field:account.analytic.account,parent_id:0 -msgid "Parent Analytic Account" +#: code:addons/analytic/analytic.py:160 +#, python-format +msgid "If you set a company, the currency selected has to be the same as it's currency. \n" +"You can remove the company belonging, and thus change the currency, only on analytic account of type 'view'. This can be really useful for consolidation purposes of several companies charts with different currencies, for example." msgstr "" #. module: analytic -#: view:account.analytic.account:0 -msgid "Contract Information" +#: selection:account.analytic.account,state:0 +msgid "In Progress" msgstr "" #. module: analytic -#: field:account.analytic.account,template_id:0 -#: selection:account.analytic.account,type:0 -msgid "Template of Contract" +#: field:account.analytic.account,message_is_follower:0 +msgid "Is a Follower" msgstr "" #. module: analytic -#: field:account.analytic.account,message_summary:0 -msgid "Summary" +#: field:account.analytic.account,message_last_post:0 +msgid "Last Message Date" msgstr "" #. module: analytic -#: field:account.analytic.account,quantity_max:0 -msgid "Prepaid Service Units" +#: field:account.analytic.account,write_uid:0 +#: field:account.analytic.line,write_uid:0 +msgid "Last Updated by" msgstr "" #. module: analytic -#: field:account.analytic.account,credit:0 -msgid "Credit" +#: field:account.analytic.account,write_date:0 +#: field:account.analytic.line,write_date:0 +msgid "Last Updated on" msgstr "" #. module: analytic -#: model:mail.message.subtype,name:analytic.mt_account_opened -msgid "Contract Opened" +#: field:account.analytic.account,message_ids:0 +msgid "Messages" msgstr "" #. module: analytic -#: model:mail.message.subtype,description:analytic.mt_account_closed -msgid "Contract <b>closed</b>" +#: help:account.analytic.account,message_ids:0 +msgid "Messages and communication history" msgstr "" #. module: analytic #: selection:account.analytic.account,state:0 -msgid "Cancelled" +msgid "New" msgstr "" #. module: analytic -#: selection:account.analytic.account,type:0 -msgid "Analytic View" +#: view:account.analytic.account:analytic.view_account_analytic_account_form +msgid "Once the end date of the contract is\n" +" passed or the maximum number of service\n" +" units (e.g. support contract) is\n" +" reached, the account manager is notified \n" +" by email to renew the contract with the\n" +" customer." msgstr "" #. module: analytic -#: field:account.analytic.account,balance:0 -msgid "Balance" +#: field:account.analytic.account,parent_id:0 +msgid "Parent Analytic Account" msgstr "" #. module: analytic -#: help:account.analytic.account,message_unread:0 -msgid "If checked new messages require your attention." +#: field:account.analytic.account,quantity_max:0 +msgid "Prepaid Service Units" msgstr "" #. module: analytic -#: selection:account.analytic.account,state:0 -msgid "To Renew" +#: field:account.analytic.account,user_id:0 +msgid "Project Manager" msgstr "" #. module: analytic @@ -297,8 +334,9 @@ msgid "Quantity" msgstr "" #. module: analytic -#: field:account.analytic.account,date:0 -msgid "Date End" +#: code:addons/analytic/analytic.py:271 +#, python-format +msgid "Quick account creation disallowed." msgstr "" #. module: analytic @@ -307,42 +345,54 @@ msgid "Reference" msgstr "" #. module: analytic -#: code:addons/analytic/analytic.py:160 -#, python-format -msgid "Error!" +#: view:account.analytic.account:analytic.view_account_analytic_account_form +msgid "Renewal" msgstr "" #. module: analytic -#: model:res.groups,name:analytic.group_analytic_accounting -msgid "Analytic Accounting" +#: help:account.analytic.account,quantity_max:0 +msgid "Sets the higher limit of time to work on the contract, based on the timesheet. (for instance, number of hours in a limited support contract.)" msgstr "" #. module: analytic -#: field:account.analytic.line,amount:0 -msgid "Amount" +#: help:account.analytic.line,unit_amount:0 +msgid "Specifies the amount of quantity to count." msgstr "" #. module: analytic -#: field:account.analytic.account,complete_name:0 -msgid "Full Account Name" +#: field:account.analytic.account,date_start:0 +msgid "Start Date" +msgstr "" + +#. module: analytic +#: field:account.analytic.account,state:0 +msgid "Status" +msgstr "" + +#. module: analytic +#: field:account.analytic.account,message_summary:0 +msgid "Summary" msgstr "" #. module: analytic -#: view:account.analytic.account:0 +#: selection:account.analytic.account,state:0 +msgid "Template" +msgstr "" + +#. module: analytic +#: field:account.analytic.account,template_id:0 #: selection:account.analytic.account,type:0 -#: field:account.analytic.line,account_id:0 -#: model:ir.model,name:analytic.model_account_analytic_account -msgid "Analytic Account" +msgid "Template of Contract" msgstr "" #. module: analytic -#: field:account.analytic.account,currency_id:0 -msgid "Currency" +#: view:account.analytic.account:analytic.view_account_analytic_account_form +msgid "Terms and Conditions" msgstr "" #. module: analytic -#: help:account.analytic.account,message_summary:0 -msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." +#: selection:account.analytic.account,state:0 +msgid "To Renew" msgstr "" #. module: analytic @@ -351,17 +401,23 @@ msgid "Type of Account" msgstr "" #. module: analytic -#: field:account.analytic.account,date_start:0 -msgid "Start Date" +#: field:account.analytic.account,message_unread:0 +msgid "Unread Messages" msgstr "" #. module: analytic -#: constraint:account.analytic.line:0 -msgid "You cannot create analytic line on view account." +#: field:account.analytic.line,user_id:0 +msgid "User" msgstr "" #. module: analytic -#: field:account.analytic.account,line_ids:0 -msgid "Analytic Entries" +#: code:addons/analytic/analytic.py:271 +#, python-format +msgid "Warning" +msgstr "" + +#. module: analytic +#: constraint:account.analytic.line:0 +msgid "You cannot create analytic line on view account." msgstr "" diff --git a/addons/analytic/models/analytic.py b/addons/analytic/models/analytic.py index 340a37f2d78..4661a3f46a6 100644 --- a/addons/analytic/models/analytic.py +++ b/addons/analytic/models/analytic.py @@ -307,7 +307,7 @@ class account_analytic_account(osv.osv): dom = [] for name2 in name.split('/'): name = name2.strip() - account_ids = self.search(cr, uid, dom + [('name', 'ilike', name)] + args, limit=limit, context=context) + account_ids = self.search(cr, uid, dom + [('name', operator, name)] + args, limit=limit, context=context) if not account_ids: break dom = [('parent_id','in',account_ids)] else: |
