diff --git a/addons/account_asset/i18n/mn.po b/addons/account_asset/i18n/mn.po new file mode 100644 index 00000000000..8275f14ed6e --- /dev/null +++ b/addons/account_asset/i18n/mn.po @@ -0,0 +1,793 @@ +# Mongolian translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-02-08 01:37+0100\n" +"PO-Revision-Date: 2012-07-10 03:13+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Mongolian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-10 05:34+0000\n" +"X-Generator: Launchpad (build 15558)\n" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Assets in draft and open states" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,method_end:0 +#: field:account.asset.history,method_end:0 field:asset.modify,method_end:0 +msgid "Ending date" +msgstr "Дуусах хугацаа" + +#. module: account_asset +#: field:account.asset.asset,value_residual:0 +msgid "Residual Value" +msgstr "Үлдэгдэл дүн" + +#. module: account_asset +#: field:account.asset.category,account_expense_depreciation_id:0 +msgid "Depr. Expense Account" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "Compute Asset" +msgstr "Үндсэн хөрөнгө тооцоолох" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Group By..." +msgstr "" + +#. module: account_asset +#: field:asset.asset.report,gross_value:0 +msgid "Gross Amount" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 field:account.asset.asset,name:0 +#: field:account.asset.depreciation.line,asset_id:0 +#: field:account.asset.history,asset_id:0 field:account.move.line,asset_id:0 +#: view:asset.asset.report:0 field:asset.asset.report,asset_id:0 +#: model:ir.model,name:account_asset.model_account_asset_asset +msgid "Asset" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,prorata:0 help:account.asset.category,prorata:0 +msgid "" +"Indicates that the first depreciation entry for this asset have to be done " +"from the purchase date instead of the first January" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,name:0 +msgid "History name" +msgstr "Түүхийн нэр" + +#. module: account_asset +#: field:account.asset.asset,company_id:0 +#: field:account.asset.category,company_id:0 view:asset.asset.report:0 +#: field:asset.asset.report,company_id:0 +msgid "Company" +msgstr "" + +#. module: account_asset +#: view:asset.modify:0 +msgid "Modify" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,state:0 view:asset.asset.report:0 +#: selection:asset.asset.report,state:0 +msgid "Running" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,amount:0 +msgid "Depreciation Amount" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +#: model:ir.actions.act_window,name:account_asset.action_asset_asset_report +#: model:ir.model,name:account_asset.model_asset_asset_report +#: model:ir.ui.menu,name:account_asset.menu_action_asset_asset_report +msgid "Assets Analysis" +msgstr "Хөрөнгийн судалгаа шинжилгээ" + +#. module: account_asset +#: field:asset.modify,name:0 +msgid "Reason" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_progress_factor:0 +#: field:account.asset.category,method_progress_factor:0 +msgid "Degressive Factor" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal +msgid "Asset Categories" +msgstr "Хөрөнгийн зэрэглэл" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "" +"This wizard will post the depreciation lines of running assets that belong " +"to the selected period." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,account_move_line_ids:0 +#: field:account.move.line,entry_ids:0 +#: model:ir.actions.act_window,name:account_asset.act_entries_open +msgid "Entries" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +#: field:account.asset.asset,depreciation_line_ids:0 +msgid "Depreciation Lines" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,salvage_value:0 +msgid "It is the amount you plan to have that you cannot depreciate." +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,depreciation_date:0 +#: view:asset.asset.report:0 field:asset.asset.report,depreciation_date:0 +msgid "Depreciation Date" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_asset_id:0 +msgid "Asset Account" +msgstr "" + +#. module: account_asset +#: field:asset.asset.report,posted_value:0 +msgid "Posted Amount" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:asset.asset.report:0 +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form +#: model:ir.ui.menu,name:account_asset.menu_finance_assets +#: model:ir.ui.menu,name:account_asset.menu_finance_config_assets +msgid "Assets" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_depreciation_id:0 +msgid "Depreciation Account" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +#: view:account.asset.history:0 view:asset.modify:0 field:asset.modify,note:0 +msgid "Notes" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,move_id:0 +msgid "Depreciation Entry" +msgstr "" + +#. module: account_asset +#: sql_constraint:account.move.line:0 +msgid "Wrong credit or debit value in accounting entry !" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,nbr:0 +msgid "# of Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets in draft state" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_end:0 +#: selection:account.asset.asset,method_time:0 +#: selection:account.asset.category,method_time:0 +#: selection:account.asset.history,method_time:0 +msgid "Ending Date" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,code:0 +msgid "Reference" +msgstr "" + +#. module: account_asset +#: constraint:account.invoice:0 +msgid "Invalid BBA Structured Communication !" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Account Asset" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_asset_depreciation_confirmation_wizard +#: model:ir.ui.menu,name:account_asset.menu_asset_depreciation_confirmation_wizard +msgid "Compute Assets" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,sequence:0 +msgid "Sequence of the depreciation" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_period:0 +#: field:account.asset.category,method_period:0 +#: field:account.asset.history,method_period:0 +#: field:asset.modify,method_period:0 +msgid "Period Length" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,state:0 view:asset.asset.report:0 +#: selection:asset.asset.report,state:0 +msgid "Draft" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Date of asset purchase" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_number:0 +msgid "Calculates Depreciation within specified interval" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Change Duration" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,account_analytic_id:0 +msgid "Analytic account" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method:0 field:account.asset.category,method:0 +msgid "Computation Method" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_period:0 +msgid "State here the time during 2 depreciations, in months" +msgstr "" + +#. module: account_asset +#: constraint:account.asset.asset:0 +msgid "" +"Prorata temporis can be applied only for time method \"number of " +"depreciations\"." +msgstr "" + +#. module: account_asset +#: help:account.asset.history,method_time:0 +msgid "" +"The method to use to compute the dates and number of depreciation lines.\n" +"Number of Depreciations: Fix the number of depreciation lines and the time " +"between 2 depreciations.\n" +"Ending Date: Choose the time between 2 depreciations and the date the " +"depreciations won't go beyond." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,purchase_value:0 +msgid "Gross value " +msgstr "" + +#. module: account_asset +#: constraint:account.asset.asset:0 +msgid "Error ! You can not create recursive assets." +msgstr "" + +#. module: account_asset +#: help:account.asset.history,method_period:0 +msgid "Time in month between two depreciations" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,name:0 +msgid "Year" +msgstr "" + +#. module: account_asset +#: view:asset.modify:0 +#: model:ir.actions.act_window,name:account_asset.action_asset_modify +#: model:ir.model,name:account_asset.model_asset_modify +msgid "Modify Asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Other Information" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,salvage_value:0 +msgid "Salvage Value" +msgstr "" + +#. module: account_asset +#: field:account.invoice.line,asset_category_id:0 view:asset.asset.report:0 +msgid "Asset Category" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Set to Close" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute +msgid "Compute assets" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify +msgid "Modify asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Assets in closed state" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,parent_id:0 +msgid "Parent Asset" +msgstr "" + +#. module: account_asset +#: view:account.asset.history:0 +#: model:ir.model,name:account_asset.model_account_asset_history +msgid "Asset history" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in current year" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,state:0 field:asset.asset.report,state:0 +msgid "State" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "" +"The selected account of your Journal Entry forces to provide a secondary " +"currency. You should remove the secondary currency on the account or select " +"a multi-currency view on the journal." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Month" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Depreciation Board" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_move_line +msgid "Journal Items" +msgstr "" + +#. module: account_asset +#: field:asset.asset.report,unposted_value:0 +msgid "Unposted Amount" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_time:0 +#: field:account.asset.category,method_time:0 +#: field:account.asset.history,method_time:0 +msgid "Time Method" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Analytic Information" +msgstr "" + +#. module: account_asset +#: view:asset.modify:0 +msgid "Asset Durations to Modify" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "" +"The date of your Journal Entry is not in the defined period! You should " +"change the date or remove this constraint from the journal." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,note:0 field:account.asset.category,note:0 +#: field:account.asset.history,note:0 +msgid "Note" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method:0 help:account.asset.category,method:0 +msgid "" +"Choose the method to use to compute the amount of depreciation lines.\n" +" * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n" +" * Degressive: Calculated on basis of: Remaining Value * Degressive Factor" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,method_time:0 +#: help:account.asset.category,method_time:0 +msgid "" +"Choose the method to use to compute the dates and number of depreciation " +"lines.\n" +" * Number of Depreciations: Fix the number of depreciation lines and the " +"time between 2 depreciations.\n" +" * Ending Date: Choose the time between 2 depreciations and the date the " +"depreciations won't go beyond." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets in running state" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Closed" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,partner_id:0 +#: field:asset.asset.report,partner_id:0 +msgid "Partner" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 field:asset.asset.report,depreciation_value:0 +msgid "Amount of Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Posted depreciation lines" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "Company must be the same for its related account and period." +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,child_ids:0 +msgid "Children Assets" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Date of depreciation" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,user_id:0 +msgid "User" +msgstr "" + +#. module: account_asset +#: field:account.asset.history,date:0 +msgid "Date" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in current month" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "You can not create journal items on an account of type view." +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Extended Filters..." +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:asset.depreciation.confirmation.wizard:0 +msgid "Compute" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Search Asset Category" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_asset_depreciation_confirmation_wizard +msgid "asset.depreciation.confirmation.wizard" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,active:0 +msgid "Active" +msgstr "" + +#. module: account_asset +#: model:ir.actions.wizard,name:account_asset.wizard_asset_close +msgid "Close asset" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,parent_state:0 +msgid "State of Asset" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,name:0 +msgid "Depreciation Name" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 field:account.asset.asset,history_ids:0 +msgid "History" +msgstr "" + +#. module: account_asset +#: sql_constraint:account.invoice:0 +msgid "Invoice Number must be unique per Company!" +msgstr "" + +#. module: account_asset +#: field:asset.depreciation.confirmation.wizard,period_id:0 +msgid "Period" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "General" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,prorata:0 field:account.asset.category,prorata:0 +msgid "Prorata Temporis" +msgstr "" + +#. module: account_asset +#: view:account.asset.category:0 +msgid "Accounting Information" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form_normal +msgid "Review Asset Categories" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 view:asset.modify:0 +msgid "Cancel" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,state:0 selection:asset.asset.report,state:0 +msgid "Close" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +msgid "Depreciation Method" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,purchase_date:0 view:asset.asset.report:0 +#: field:asset.asset.report,purchase_date:0 +msgid "Purchase Date" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,method:0 +#: selection:account.asset.category,method:0 +msgid "Degressive" +msgstr "" + +#. module: account_asset +#: help:asset.depreciation.confirmation.wizard,period_id:0 +msgid "" +"Choose the period for which you want to automatically post the depreciation " +"lines of running assets" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Current" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,remaining_value:0 +msgid "Amount to Depreciate" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,open_asset:0 +msgid "Skip Draft State" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 view:account.asset.category:0 +#: view:account.asset.history:0 +msgid "Depreciation Dates" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,currency_id:0 +msgid "Currency" +msgstr "" + +#. module: account_asset +#: field:account.asset.category,journal_id:0 +msgid "Journal" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,depreciated_value:0 +msgid "Amount Already Depreciated" +msgstr "" + +#. module: account_asset +#: field:account.asset.depreciation.line,move_check:0 +#: view:asset.asset.report:0 field:asset.asset.report,move_check:0 +msgid "Posted" +msgstr "" + +#. module: account_asset +#: help:account.asset.asset,state:0 +msgid "" +"When an asset is created, the state is 'Draft'.\n" +"If the asset is confirmed, the state goes in 'Running' and the depreciation " +"lines can be posted in the accounting.\n" +"You can manually close an asset when the depreciation is over. If the last " +"line of depreciation is posted, the asset automatically goes in that state." +msgstr "" + +#. module: account_asset +#: field:account.asset.category,name:0 +msgid "Name" +msgstr "" + +#. module: account_asset +#: help:account.asset.category,open_asset:0 +msgid "" +"Check this if you want to automatically confirm the assets of this category " +"when created by invoices." +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Set to Draft" +msgstr "" + +#. module: account_asset +#: selection:account.asset.asset,method:0 +#: selection:account.asset.category,method:0 +msgid "Linear" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Month-1" +msgstr "" + +#. module: account_asset +#: model:ir.model,name:account_asset.model_account_asset_depreciation_line +msgid "Asset depreciation line" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,category_id:0 view:account.asset.category:0 +#: field:asset.asset.report,asset_category_id:0 +#: model:ir.model,name:account_asset.model_account_asset_category +msgid "Asset category" +msgstr "" + +#. module: account_asset +#: view:asset.asset.report:0 +msgid "Assets purchased in last month" +msgstr "" + +#. module: account_asset +#: code:addons/account_asset/wizard/wizard_asset_compute.py:49 +#, python-format +msgid "Created Asset Moves" +msgstr "" + +#. module: account_asset +#: constraint:account.move.line:0 +msgid "You can not create journal items on closed account." +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,help:account_asset.action_asset_asset_report +msgid "" +"From this report, you can have an overview on all depreciation. The tool " +"search can also be used to personalise your Assets reports and so, match " +"this analysis to your needs;" +msgstr "" + +#. module: account_asset +#: help:account.asset.category,method_period:0 +msgid "State here the time between 2 depreciations, in months" +msgstr "" + +#. module: account_asset +#: field:account.asset.asset,method_number:0 +#: selection:account.asset.asset,method_time:0 +#: field:account.asset.category,method_number:0 +#: selection:account.asset.category,method_time:0 +#: field:account.asset.history,method_number:0 +#: selection:account.asset.history,method_time:0 +#: field:asset.modify,method_number:0 +msgid "Number of Depreciations" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Create Move" +msgstr "" + +#. module: account_asset +#: view:asset.depreciation.confirmation.wizard:0 +msgid "Post Depreciation Lines" +msgstr "" + +#. module: account_asset +#: view:account.asset.asset:0 +msgid "Confirm Asset" +msgstr "" + +#. module: account_asset +#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_tree +#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_tree +msgid "Asset Hierarchy" +msgstr "" diff --git a/addons/crm/i18n/ja.po b/addons/crm/i18n/ja.po index 7d5b564951c..4281ea13d90 100644 --- a/addons/crm/i18n/ja.po +++ b/addons/crm/i18n/ja.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-07-09 04:50+0000\n" +"PO-Revision-Date: 2012-07-09 05:13+0000\n" "Last-Translator: Akira Hiyama \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Launchpad-Export-Date: 2012-07-10 05:33+0000\n" "X-Generator: Launchpad (build 15558)\n" #. module: crm @@ -818,7 +818,7 @@ msgstr "作成日" #. module: crm #: field:crm.lead,ref2:0 msgid "Reference 2" -msgstr "" +msgstr "参照2" #. module: crm #: view:crm.segmentation:0 @@ -838,7 +838,7 @@ msgstr "ミーティングのスケジュール" #. module: crm #: view:crm.case.stage:0 field:crm.case.stage,requirements:0 msgid "Requirements" -msgstr "" +msgstr "必要事項" #. module: crm #: help:crm.meeting,exdate:0 @@ -1272,7 +1272,7 @@ msgstr "見込完了日" msgid "" "If the active field is set to true, it will allow you to hide the sales team " "without removing it." -msgstr "" +msgstr "アクティブ項目がTrueに設定されると、営業チームを削除することなく非表示にできます。" #. module: crm #: field:crm.lead,street2:0 @@ -2431,17 +2431,17 @@ msgstr "私の開いている商談" #. module: crm #: field:base.action.rule,trg_max_history:0 msgid "Maximum Communication History" -msgstr "" +msgstr "通信履歴の最大" #. module: crm #: view:crm.meeting:0 msgid "Invite People" -msgstr "" +msgstr "人を招待" #. module: crm #: view:crm.meeting:0 field:crm.meeting,categ_id:0 msgid "Meeting Type" -msgstr "" +msgstr "ミーティングタイプ" #. module: crm #: help:crm.lead,state:0 @@ -2454,6 +2454,10 @@ msgid "" " \n" "If the case needs to be reviewed then the state is set to 'Pending'." msgstr "" +"案件が作成されると、状態はドラフトにセットされます。\n" +"案件が進行中になると、状態は開くにセットされます。\n" +"案件が終了すると、状態は完了にセットされます。\n" +"案件のレビューが必要な場合、状態は保留中にセットされます。" #. module: crm #: view:crm.meeting:0 view:res.partner:0 @@ -2670,7 +2674,7 @@ msgstr "Eメールの標題" #: model:ir.actions.act_window,name:crm.action_view_attendee_form #: model:ir.ui.menu,name:crm.menu_attendee_invitations msgid "Meeting Invitations" -msgstr "" +msgstr "会議への招待" #. module: crm #: view:crm.phonecall:0 selection:crm.phonecall,state:0 @@ -3097,7 +3101,7 @@ msgstr "繰り返し" #. module: crm #: field:crm.lead.report,deadline_year:0 msgid "Ex. Closing Year" -msgstr "前回終了年" +msgstr "見込完了年" #. module: crm #: view:crm.lead:0 @@ -3331,33 +3335,33 @@ msgstr "同じログインでは2つのユーザを持てません。" #: code:addons/crm/crm.py:409 view:crm.lead:0 view:res.partner:0 #, python-format msgid "Close" -msgstr "" +msgstr "閉じる" #. module: crm #: selection:crm.opportunity2phonecall,action:0 #: selection:crm.phonecall2phonecall,action:0 msgid "Schedule a call" -msgstr "" +msgstr "電話のスケジュール" #. module: crm #: view:crm.lead:0 view:crm.phonecall:0 msgid "Categorization" -msgstr "" +msgstr "分類化" #. module: crm #: view:crm.lead:0 msgid "Log Call" -msgstr "" +msgstr "通話ログ" #. module: crm #: model:ir.model,name:crm.model_base_action_rule msgid "Action Rules" -msgstr "" +msgstr "アクションルール" #. module: crm #: field:crm.meeting,rrule_type:0 msgid "Recurrency" -msgstr "" +msgstr "定期的" #. module: crm #: field:crm.meeting,phonecall_id:0 @@ -3372,39 +3376,39 @@ msgstr "木曜" #. module: crm #: view:crm.meeting:0 msgid "To" -msgstr "" +msgstr "宛先" #. module: crm #: view:crm.lead:0 msgid "Create date" -msgstr "" +msgstr "作成日" #. module: crm #: selection:crm.meeting,class:0 msgid "Private" -msgstr "" +msgstr "非公開" #. module: crm #: selection:crm.meeting,class:0 msgid "Public for Employees" -msgstr "" +msgstr "従業員の一般" #. module: crm #: field:crm.lead,function:0 msgid "Function" -msgstr "" +msgstr "機能" #. module: crm #: view:crm.add.note:0 msgid "_Add" -msgstr "" +msgstr "追加" #. module: crm #: field:crm.case.section,note:0 view:crm.meeting:0 #: field:crm.meeting,description:0 view:crm.phonecall:0 #: field:crm.phonecall,description:0 field:crm.segmentation,description:0 msgid "Description" -msgstr "" +msgstr "詳細" #. module: crm #: view:crm.phonecall.report:0 @@ -3416,12 +3420,12 @@ msgstr "今月なされた通話" #: selection:crm.lead.report,deadline_month:0 #: selection:crm.meeting,month_list:0 selection:crm.phonecall.report,month:0 msgid "May" -msgstr "" +msgstr "5月" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor2 msgid "Interest in Accessories" -msgstr "" +msgstr "アクセサリーへの関心" #. module: crm #: view:crm.lead:0 @@ -3432,17 +3436,17 @@ msgstr "新規商談" #: code:addons/crm/crm_action_rule.py:61 #, python-format msgid "No E-Mail Found for your Company address!" -msgstr "" +msgstr "会社の住所にEメールがありません。" #. module: crm #: field:crm.lead.report,email:0 msgid "# Emails" -msgstr "" +msgstr "Eメールの数" #. module: crm #: field:crm.lead,street:0 msgid "Street" -msgstr "" +msgstr "通り" #. module: crm #: view:crm.lead.report:0 @@ -3452,12 +3456,12 @@ msgstr "ユーザとチーム別の商談" #. module: crm #: view:crm.phonecall:0 msgid "Reset to Todo" -msgstr "" +msgstr "ToDoにリセット" #. module: crm #: field:crm.case.section,working_hours:0 msgid "Working Hours" -msgstr "" +msgstr "労働時間" #. module: crm #: field:res.partner,phonecall_ids:0 @@ -3467,21 +3471,21 @@ msgstr "通話" #. module: crm #: view:crm.lead:0 field:crm.lead,is_customer_add:0 msgid "Customer" -msgstr "" +msgstr "顧客" #. module: crm #: selection:crm.lead,priority:0 selection:crm.lead.report,priority:0 #: selection:crm.phonecall,priority:0 #: selection:crm.phonecall.report,priority:0 msgid "Lowest" -msgstr "" +msgstr "最低" #. module: crm #: selection:crm.lead.report,creation_month:0 #: selection:crm.lead.report,deadline_month:0 #: selection:crm.meeting,month_list:0 selection:crm.phonecall.report,month:0 msgid "February" -msgstr "" +msgstr "2月" #. module: crm #: field:base.action.rule,trg_section_id:0 field:crm.case.categ,section_id:0 @@ -3494,23 +3498,23 @@ msgstr "" #: view:crm.phonecall.report:0 field:crm.phonecall2phonecall,section_id:0 #: field:res.partner,section_id:0 field:res.users,context_section_id:0 msgid "Sales Team" -msgstr "" +msgstr "営業チーム" #. module: crm #: model:crm.case.stage,name:crm.stage_lead6 view:crm.lead:0 msgid "Lost" -msgstr "" +msgstr "失注" #. module: crm #: view:crm.lead:0 msgid "Edit" -msgstr "" +msgstr "編集" #. module: crm #: field:crm.lead,country_id:0 view:crm.lead.report:0 #: field:crm.lead.report,country_id:0 msgid "Country" -msgstr "" +msgstr "国" #. module: crm #: view:crm.lead:0 view:crm.lead2opportunity.partner:0 @@ -3542,17 +3546,17 @@ msgstr "" #: selection:crm.lead.report,deadline_month:0 #: selection:crm.meeting,month_list:0 selection:crm.phonecall.report,month:0 msgid "April" -msgstr "" +msgstr "4月" #. module: crm #: field:crm.case.resource.type,name:0 msgid "Campaign Name" -msgstr "" +msgstr "キャンペーン名" #. module: crm #: view:crm.segmentation:0 msgid "Profiling" -msgstr "" +msgstr "プロファイリング" #. module: crm #: model:ir.model,name:crm.model_crm_phonecall_report @@ -3583,7 +3587,7 @@ msgstr "オプション" #. module: crm #: model:crm.case.stage,name:crm.stage_lead4 msgid "Negotiation" -msgstr "" +msgstr "交渉" #. module: crm #: view:crm.lead:0 @@ -3593,12 +3597,12 @@ msgstr "見込完了" #. module: crm #: field:crm.case.stage,sequence:0 field:crm.meeting,sequence:0 msgid "Sequence" -msgstr "" +msgstr "順序" #. module: crm #: model:ir.model,name:crm.model_mail_compose_message msgid "E-mail composition wizard" -msgstr "" +msgstr "Eメール作成ウィザード" #. module: crm #: view:crm.meeting:0 @@ -3608,7 +3612,7 @@ msgstr "同意" #. module: crm #: field:crm.segmentation.line,expr_name:0 msgid "Control Variable" -msgstr "" +msgstr "制御変数" #. module: crm #: selection:crm.meeting,byday:0 diff --git a/addons/event/__openerp__.py b/addons/event/__openerp__.py index 040df5ce987..1a7f3ba09c5 100644 --- a/addons/event/__openerp__.py +++ b/addons/event/__openerp__.py @@ -51,7 +51,7 @@ Note that: 'res_partner_view.xml', 'email_template.xml', ], - 'demo_xml': ['event_demo.xml'], + 'demo_xml': ['event_demo.yml'], 'test': ['test/process/event_draft2done.yml'], 'css': ['static/src/css/event.css'], 'installable': True, diff --git a/addons/event/event.py b/addons/event/event.py index 26fef61d2b5..6a8cf9f8a0b 100644 --- a/addons/event/event.py +++ b/addons/event/event.py @@ -55,22 +55,14 @@ class event_event(osv.osv): return [] res = [] for record in self.browse(cr, uid, ids, context=context): - date = record.date_begin.split(" ") - date = date[0] - registers='' - if record.register_max !=0: - register_max = str(record.register_max) - register_tot = record.register_current+record.register_prospect - register_tot = str(register_tot) - registers = register_tot+'/'+register_max - name = record.name+' ('+date+') '+registers - res.append((record['id'], name)) + date = record.date_begin.split(" ")[0] + date_end = record.date_end.split(" ")[0] + if date != date_end: + date += ' - ' + date_end + display_name = record.name + ' (' + date + ')' + res.append((record['id'], display_name)) return res - def _name_get_fnc(self, cr, uid, ids,prop,unknow, context=None): - res = self.name_get(cr, uid, ids, context=context) - return dict(res) - def create(self, cr, uid, vals, context=None): obj_id = super(event_event, self).create(cr, uid, vals, context) self.create_send_note(cr, uid, [obj_id], context=context) @@ -210,10 +202,12 @@ class event_event(osv.osv): help='If event is created, the state is \'Draft\'.If event is confirmed for the particular dates the state is set to \'Confirmed\'. If the event is over, the state is set to \'Done\'.If event is cancelled the state is set to \'Cancelled\'.'), 'email_registration_id' : fields.many2one('email.template','Registration Confirmation Email', help='This field contains the template of the mail that will be automatically sent each time a registration for this event is confirmed.'), 'email_confirmation_id' : fields.many2one('email.template','Event Confirmation Email', help="If you set an email template, each participant will receive this email announcing the confirmation of the event."), - 'full_name' : fields.function(_name_get_fnc, type="char", string='Name'), 'reply_to': fields.char('Reply-To Email', size=64, readonly=False, states={'done': [('readonly', True)]}, help="The email address of the organizer is likely to be put here, with the effect to be in the 'Reply-To' of the mails sent automatically at event or registrations confirmation. You can also put the email address of your mail gateway if you use one."), 'main_speaker_id': fields.many2one('res.partner','Main Speaker', readonly=False, states={'done': [('readonly', True)]}, help="Speaker who will be giving speech at the event."), 'address_id': fields.many2one('res.partner','Location Address', readonly=False, states={'done': [('readonly', True)]}), + 'street': fields.related('address_id','street',type='char',string='Street'), + 'zip': fields.related('address_id','zip',type='char',string='zip'), + 'city': fields.related('address_id','city',type='char',string='city'), 'speaker_confirmed': fields.boolean('Speaker Confirmed', readonly=False, states={'done': [('readonly', True)]}), 'country_id': fields.related('address_id', 'country_id', type='many2one', relation='res.country', string='Country', readonly=False, states={'done': [('readonly', True)]}), @@ -302,7 +296,7 @@ class event_registration(osv.osv): """Event Registration""" _name= 'event.registration' _description = __doc__ - _inherit = ['ir.needaction_mixin','mail.thread','res.partner'] + _inherit = ['ir.needaction_mixin','mail.thread'] _columns = { 'id': fields.integer('ID'), 'origin': fields.char('Source', size=124,readonly=True,help="Name of the sale order which create the registration"), @@ -316,13 +310,16 @@ class event_registration(osv.osv): 'log_ids': fields.one2many('mail.message', 'res_id', 'Logs', domain=[('email_from', '=', False),('model','=',_name)]), 'event_end_date': fields.related('event_id','date_end', type='datetime', string="Event End Date", readonly=True), 'event_begin_date': fields.related('event_id', 'date_begin', type='datetime', string="Event Start Date", readonly=True), - 'user_id': fields.many2one('res.users', 'Attendee', states={'done': [('readonly', True)]}), + 'user_id': fields.many2one('res.users', 'User', states={'done': [('readonly', True)]}), 'company_id': fields.related('event_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True, states={'draft':[('readonly',False)]}), 'state': fields.selection([('draft', 'Unconfirmed'), ('cancel', 'Cancelled'), ('open', 'Confirmed'), ('done', 'Attended')], 'Status', size=16, readonly=True), + 'email': fields.char('Email', size=64), + 'phone': fields.char('Phone', size=64), + 'name': fields.char('Name', size=128, select=True), } _defaults = { @@ -331,7 +328,6 @@ class event_registration(osv.osv): } _order = 'name, create_date desc' - def do_draft(self, cr, uid, ids, context=None): self.do_draft_send_note(cr, uid, ids, context=context) return self.write(cr, uid, ids, {'state': 'draft'}, context=context) @@ -400,18 +396,15 @@ class event_registration(osv.osv): return True def onchange_contact_id(self, cr, uid, ids, contact, partner, context=None): - data ={} if not contact: - return data + return {} addr_obj = self.pool.get('res.partner') contact_id = addr_obj.browse(cr, uid, contact, context=context) - data = { + return {'value': { 'email':contact_id.email, - 'contact_id':contact_id.id, 'name':contact_id.name, 'phone':contact_id.phone, - } - return {'value': data} + }} def onchange_event(self, cr, uid, ids, event_id, context=None): """This function returns value of Product Name, Unit Price based on Event. diff --git a/addons/event/event_demo.xml b/addons/event/event_demo.xml deleted file mode 100644 index 81dad07b5e4..00000000000 --- a/addons/event/event_demo.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - Seminar - - - - Exhibition - - - - Conference - - - - Show - - - - Training - - - - - Concert of Bon Jovi - - - 500 - - - - - Opera of Verdi - - - - 50 - 350 - - - Conference on ERP Business - - - - 200 - - - - - - - Agrolait - s.l@agrolait.be - 003281588558 - - - 5 - - - - ASUStek - info@asustek.com - + 1 64 61 04 01 - - - 10 - - - - - Syleam - contact@syleam.fr - +33 (0) 2 33 31 22 10 - - - 6 - - - - - - Camptocamp - openerp@camptocamp.com - +41 21 619 10 04 - - - 5 - - - - diff --git a/addons/event/event_demo.yml b/addons/event/event_demo.yml new file mode 100644 index 00000000000..6f843fd0965 --- /dev/null +++ b/addons/event/event_demo.yml @@ -0,0 +1,73 @@ +- + from datetime import datetime, timedelta +- + !record {model: event.type, id: event_type_0}: + name: 'Seminar' +- + !record {model: event.type, id: event_type_1}: + name: 'Exhibition' +- + !record {model: event.type, id: event_type_2}: + name: 'Conference' +- + !record {model: event.type, id: event_type_3}: + name: 'Show' +- + !record {model: event.type, id: event_type_4}: + name: 'Training' +- + !record {model: event.event, id: event_0}: + name: 'Concert of Bon Jovi' + date_begin: !eval time.strftime('%Y-%m-01 19:05:15') + date_end: !eval time.strftime('%Y-%m-01 23:05:15') + register_max: 500 + type: event_type_1 +- + !record {model: event.event, id: event_1}: + name: 'Opera of Verdi' + date_begin: !eval (datetime.today()+ timedelta(days=1)).strftime('%Y-%m-%d 18:00:00') + date_end: !eval (datetime.today()+ timedelta(days=1)).strftime('%Y-%m-%d 21:00:00') + register_min: 50 + register_max: 350 + type: event_type_1 +- + !record {model: event.event, id: event_2}: + name: 'Conference on ERP Business' + date_begin: !eval (datetime.today()+ timedelta(days=20)).strftime('%Y-%m-%d 14:00:00') + date_end: !eval (datetime.today()+ timedelta(days=20)).strftime('%Y-%m-%d 16:30:00') + register_min: 50 + register_max: 350 + type: event_type_2 +- + !record {model: event.registration, id: reg_1_1}: + name: 'Agrolait' + email: 's.l@agrolait.be' + phone: '003281588558' + event_id: event_1 + partner_id: base.res_partner_asus + nb_register: 5 +- + !record {model: event.registration, id: reg_1_2}: + name: 'ASUStek' + email: 'info@asustek.com' + phone: '+ 1 64 61 04 01' + event_id: event_1 + partner_id: base.res_partner_asus + nb_register: 10 +- + !record {model: event.registration, id: reg_0_1}: + name: 'Syleam' + email: 'contact@syleam.fr' + phone: '+33 (0) 2 33 31 22 10' + event_id: event_0 + partner_id: base.res_partner_sednacom + nb_register: 6 +- + !record {model: event.registration, id: reg_0_2}: + name: 'Camptocamp' + email: 'openerp@camptocamp.com' + phone: '+41 21 619 10 04' + event_id: event_2 + partner_id: base.res_partner_c2c + nb_register: 5 + diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index ea2788594b7..142ba2bb2a4 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -1,7 +1,14 @@ - + @@ -17,10 +24,10 @@ - - + + @@ -89,88 +96,103 @@ event.event form -
-
-
- - -
-
-

- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -