diff options
| author | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-07-10 15:52:01 +0530 |
|---|---|---|
| committer | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-07-10 15:52:01 +0530 |
| commit | 6dbd4e000dcb22d2ffcfeb7a9080eeffcbbcc7f8 (patch) | |
| tree | 5d1c3d763d9282312b22ca9e226515f20ce37d47 | |
| parent | 4e08b80952c7f50357f8f97b69495562631e9d55 (diff) | |
| parent | f25ad676a34670f4ba1ac14bf2d6babd8ccc88b5 (diff) | |
[MERGE] merge with parent branch
bzr revid: cha@tinyerp.com-20120710102201-h5mjjkoyprp70lf0
172 files changed, 4187 insertions, 3751 deletions
diff --git a/addons/account/i18n/ja.po b/addons/account/i18n/ja.po index 21c7bea93f3..dba1cdf30fa 100644 --- a/addons/account/i18n/ja.po +++ b/addons/account/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:35+0000\n" -"PO-Revision-Date: 2012-06-20 16:18+0000\n" -"Last-Translator: Raphael Collet (OpenERP) <Unknown>\n" +"PO-Revision-Date: 2012-07-06 02:41+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-22 04:38+0000\n" -"X-Generator: Launchpad (build 15461)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: account #: view:account.invoice.report:0 @@ -4942,7 +4942,7 @@ msgstr "会計表" #. module: account #: field:account.journal.column,name:0 msgid "Column Name" -msgstr "カラム名" +msgstr "列名" #. module: account #: view:account.general.journal:0 diff --git a/addons/account/res_config_view.xml b/addons/account/res_config_view.xml index c6bd026882a..d7eda0a2692 100644 --- a/addons/account/res_config_view.xml +++ b/addons/account/res_config_view.xml @@ -21,7 +21,7 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> + <field name="has_default_company" invisible="1" /> <field name="has_chart_of_accounts" invisible="1"/> <field name="complete_tax_set" invisible="1"/> @@ -134,7 +134,6 @@ <group name="analytic_accounting" invisible="1" string="Analytic Accounting"/> </group> - </sheet> </form> </field> </record> diff --git a/addons/account_analytic_analysis/security/ir.model.access.csv b/addons/account_analytic_analysis/security/ir.model.access.csv index 74425cea3dd..4af43dbcb2f 100644 --- a/addons/account_analytic_analysis/security/ir.model.access.csv +++ b/addons/account_analytic_analysis/security/ir.model.access.csv @@ -3,3 +3,5 @@ access_account_analytic_analysis_summary_user_sale,account_analytic_analysis.sum access_account_analytic_analysis_summary_month_sale,account_analytic_analysis.summary.month sale,model_account_analytic_analysis_summary_month,base.group_sale_salesman,1,0,0,0
access_account_analytic_analysis_summary_user,account_analytic_analysis.summary.user,model_account_analytic_analysis_summary_user,account.group_account_manager,1,0,0,0
access_account_analytic_analysis_summary_month,account_analytic_analysis.summary.month,model_account_analytic_analysis_summary_month,account.group_account_manager,1,0,0,0
+access_account_analytic_analysis_summary_user_project_user,account_analytic_analysis.summary.user project,model_account_analytic_analysis_summary_user,project.group_project_user,1,0,0,0
+access_account_analytic_analysis_summary_month_project_user,account_analytic_analysis.summary.month project,model_account_analytic_analysis_summary_month,project.group_project_user,1,0,0,0
diff --git a/addons/account_budget/security/ir.model.access.csv b/addons/account_budget/security/ir.model.access.csv index 1298884a856..131f4424568 100644 --- a/addons/account_budget/security/ir.model.access.csv +++ b/addons/account_budget/security/ir.model.access.csv @@ -4,3 +4,4 @@ access_account_budget_post,account.budget.post,model_account_budget_post,account access_account_budget_post_accountant,account.budget.post accountant,model_account_budget_post,account.group_account_user,1,1,1,1
access_crossovered_budget_accountant,crossovered.budget accountant,model_crossovered_budget,account.group_account_user,1,1,1,1
access_crossovered_budget_lines_accountant,crossovered.budget.lines accountant,model_crossovered_budget_lines,account.group_account_user,1,1,1,1
+access_budget,crossovered.budget.lines manager,model_crossovered_budget_lines,base.group_user,1,0,0,0
diff --git a/addons/analytic_contract_expense_project/__openerp__.py b/addons/analytic_contract_expense_project/__openerp__.py index 41e0bbd084a..9dc4c114743 100644 --- a/addons/analytic_contract_expense_project/__openerp__.py +++ b/addons/analytic_contract_expense_project/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Projects Management: hr_expense link', 'version': '1.1', - 'category': 'Sales Management', + 'category': 'Hidden', 'description': """ This module is for modifying project view to show some data related to the hr_expense module. ====================================================================================================== diff --git a/addons/analytic_contract_hr_expense/__openerp__.py b/addons/analytic_contract_hr_expense/__openerp__.py index 981f7226d6a..fb56d3d1749 100644 --- a/addons/analytic_contract_hr_expense/__openerp__.py +++ b/addons/analytic_contract_hr_expense/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Contracts Management: hr_expense link', 'version': '1.1', - 'category': 'Sales Management', + 'category': 'Hidden', 'description': """ This module is for modifying account analytic view to show some data related to the hr_expense module. ====================================================================================================== diff --git a/addons/analytic_contract_project/__openerp__.py b/addons/analytic_contract_project/__openerp__.py index ccf712dc987..7ad28c911ba 100644 --- a/addons/analytic_contract_project/__openerp__.py +++ b/addons/analytic_contract_project/__openerp__.py @@ -23,6 +23,7 @@ "name" : "Contract On Project", "version": "1.1", "author" : "OpenERP SA", + 'category': 'Hidden', "website" : "http://www.openerp.com", "depends" : ["project", "account_analytic_analysis"], "description": """ diff --git a/addons/analytic_user_function/security/ir.model.access.csv b/addons/analytic_user_function/security/ir.model.access.csv index fe48e329aea..e97dc28bca7 100644 --- a/addons/analytic_user_function/security/ir.model.access.csv +++ b/addons/analytic_user_function/security/ir.model.access.csv @@ -4,3 +4,4 @@ access_analytic_user_funct_manager,analytic user funct manager,model_analytic_us access_analytic_user_funct_account_manager,analytic user funct account manager,model_analytic_user_funct_grid,account.group_account_manager,1,1,1,1
access_analytic_user_funct_grid_hr_user,analytic user funct grid hr user,model_analytic_user_funct_grid,base.group_hr_user,1,0,0,0
access_analytic_user_funct_grid_hr_manager,analytic user funct grid hr manager,model_analytic_user_funct_grid,base.group_hr_manager,1,1,1,1
+access_analytic_user_funct_grid_all,analytic user funct grid,model_analytic_user_funct_grid,base.group_user,1,0,0,0
diff --git a/addons/base_action_rule/i18n/ja.po b/addons/base_action_rule/i18n/ja.po index e25e5039751..7462f5a06b6 100644 --- a/addons/base_action_rule/i18n/ja.po +++ b/addons/base_action_rule/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-06-08 02:21+0000\n" +"PO-Revision-Date: 2012-07-07 21:07+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-28 04:39+0000\n" -"X-Generator: Launchpad (build 15505)\n" +"X-Launchpad-Export-Date: 2012-07-08 04:41+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: base_action_rule #: help:base.action.rule,act_mail_to_user:0 @@ -31,7 +31,7 @@ msgstr "パートナを思い出させる" #. module: base_action_rule #: field:base.action.rule,trg_partner_categ_id:0 msgid "Partner Category" -msgstr "取引先分類" +msgstr "パートナ分類" #. module: base_action_rule #: field:base.action.rule,act_mail_to_watchers:0 @@ -156,7 +156,7 @@ msgid "" "14 days might trigger an automatic reminder email." msgstr "" "多種の画面のために自動的なアクションを自動的にトリガー実行するために使います。例えば、特定のユーザにより作成されたリードには自動的に特定の営業チームを設定" -"したり、オポチュニティが保留中になって14日を経過したので、自動的に通知Eメールの送信をトリガーしたりできます。" +"したり、商談が保留中になって14日を経過したので、自動的に通知Eメールの送信をトリガーしたりできます。" #. module: base_action_rule #: help:base.action.rule,act_mail_to_email:0 diff --git a/addons/web_livechat/__init__.py b/addons/base_calendar/__init__.py index 761db42923c..ec4f5070d63 100644 --- a/addons/web_livechat/__init__.py +++ b/addons/base_calendar/__init__.py @@ -1,7 +1,8 @@ +# -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution -# Copyright (C) 2010 OpenERP s.a. (<http://openerp.com>). +# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -14,9 +15,12 @@ # 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 <http://www.gnu.org/licenses/>. +# along with this program. If not, see <http://www.gnu.org/licenses/>. # ############################################################################## -import publisher_warranty + +import base_calendar +import crm_meeting +import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_calendar/__openerp__.py b/addons/base_calendar/__openerp__.py index 1c8d35099b8..3f6ca129f6f 100644 --- a/addons/base_calendar/__openerp__.py +++ b/addons/base_calendar/__openerp__.py @@ -22,7 +22,7 @@ { "name": "Calendar Layer", "version": "1.0", - "depends": ["base", "mail"], + "depends": ["base", "base_status", "mail"], 'description': """ This is a full-featured calendar system. ======================================== @@ -46,7 +46,8 @@ If you need to manage your meetings, you should install the CRM module. 'security/calendar_security.xml', 'security/ir.model.access.csv', 'wizard/base_calendar_invite_attendee_view.xml', - 'base_calendar_view.xml' + 'base_calendar_view.xml', + 'crm_meeting_view.xml', ], "test" : ['test/base_calendar_test.yml'], "installable": True, diff --git a/addons/base_calendar/crm_meeting.py b/addons/base_calendar/crm_meeting.py new file mode 100644 index 00000000000..dcc97156681 --- /dev/null +++ b/addons/base_calendar/crm_meeting.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-today OpenERP SA (<http://www.openerp.com>) +# +# 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 <http://www.gnu.org/licenses/>. +# +############################################################################## + +from osv import osv, fields +import tools +from tools.translate import _ + +import base_calendar +from base_status.base_state import base_state + +# +# crm.meeting is defined here so that it may be used by modules other than crm, +# without forcing the installation of crm. +# + +class crm_meeting_type(osv.Model): + _name = 'crm.meeting.type' + _description = 'Meeting Type' + _columns = { + 'name': fields.char('Name', size=64, required=True, translate=True), + } + +class crm_meeting(base_state, osv.Model): + """ Model for CRM meetings """ + _name = 'crm.meeting' + _description = "Meeting" + _order = "id desc" + _inherit = ["calendar.event", 'ir.needaction_mixin', "mail.thread"] + _columns = { + # base_state required fields + 'create_date': fields.datetime('Creation Date', readonly=True), + 'write_date': fields.datetime('Write Date', readonly=True), + 'date_open': fields.datetime('Confirmed', readonly=True), + 'date_closed': fields.datetime('Closed', readonly=True), + 'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}), + 'email_from': fields.char('Email', size=128, states={'done': [('readonly', True)]}, + help="These people will receive email."), + 'state': fields.selection( + [('draft', 'Unconfirmed'), ('open', 'Confirmed'), ('cancel', 'Cancelled'), ('done', 'Done')], + string='Status', size=16, readonly=True), + # Meeting fields + 'name': fields.char('Summary', size=128, required=True, states={'done': [('readonly', True)]}), + 'categ_id': fields.many2one('crm.meeting.type', 'Meeting Type'), + 'attendee_ids': fields.many2many('calendar.attendee', 'meeting_attendee_rel',\ + 'event_id', 'attendee_id', 'Attendees', states={'done': [('readonly', True)]}), + } + _defaults = { + 'state': 'draft', + } + + # ---------------------------------------- + # OpenChatter + # ---------------------------------------- + + def case_get_note_msg_prefix(self, cr, uid, id, context=None): + return 'Meeting' + + def case_open_send_note(self, cr, uid, ids, context=None): + return self.message_append_note(cr, uid, ids, body=_("Meeting has been <b>confirmed</b>."), context=context) + + def case_close_send_note(self, cr, uid, ids, context=None): + return self.message_append_note(cr, uid, ids, body=_("Meeting has been <b>done</b>."), context=context) + + diff --git a/addons/base_calendar/crm_meeting_view.xml b/addons/base_calendar/crm_meeting_view.xml new file mode 100644 index 00000000000..b6365ebc53c --- /dev/null +++ b/addons/base_calendar/crm_meeting_view.xml @@ -0,0 +1,371 @@ +<?xml version="1.0"?> +<openerp> + <data> + + <!-- Read/Unread actions --> + + <record id="actions_server_crm_meeting_read" model="ir.actions.server"> + <field name="name">Mark read</field> + <field name="condition">True</field> + <field name="type">ir.actions.server</field> + <field name="model_id" ref="model_crm_meeting"/> + <field name="state">code</field> + <field name="code">self.message_check_and_set_read(cr, uid, context.get('active_ids'), context=context)</field> + </record> + <record id="action_crm_meeting_read" model="ir.values"> + <field name="name">action_crm_meeting_read</field> + <field name="action_id" ref="actions_server_crm_meeting_read"/> + <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_crm_meeting_read'))" /> + <field name="key">action</field> + <field name="model_id" ref="model_crm_meeting" /> + <field name="model">crm.meeting</field> + <field name="key2">client_action_multi</field> + </record> + + <record id="actions_server_crm_meeting_unread" model="ir.actions.server"> + <field name="name">Mark unread</field> + <field name="condition">True</field> + <field name="type">ir.actions.server</field> + <field name="model_id" ref="model_crm_meeting"/> + <field name="state">code</field> + <field name="code">self.message_check_and_set_unread(cr, uid, context.get('active_ids'), context=context)</field> + </record> + <record id="action_crm_meeting_unread" model="ir.values"> + <field name="name">action_crm_meeting_unread</field> + <field name="action_id" ref="actions_server_crm_meeting_unread"/> + <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_crm_meeting_unread'))" /> + <field name="key">action</field> + <field name="model_id" ref="model_crm_meeting" /> + <field name="model">crm.meeting</field> + <field name="key2">client_action_multi</field> + </record> + + <!-- CRM Meetings Types Form View --> + + <record id="view_crm_meeting_type_tree" model="ir.ui.view"> + <field name="name">Meeting Types Tree</field> + <field name="model">crm.meeting.type</field> + <field name="type">tree</field> + <field name="arch" type="xml"> + <tree string="Meeting Types" editable="bottom"> + <field name="name"/> + </tree> + </field> + </record> + + <record id="action_crm_meeting_type" model="ir.actions.act_window"> + <field name="name">Meeting Types</field> + <field name="res_model">crm.meeting.type</field> + <field name="view_type">form</field> + <field name="view_id" ref="view_crm_meeting_type_tree"/> + <field name="help">Create different meeting categories to better organize and classify your meetings.</field> + </record> + + <menuitem id="menu_crm_meeting_type" parent="base.menu_calendar_configuration" sequence="1" + action="action_crm_meeting_type" groups="base.group_no_one"/> + + <!-- CRM Meetings Form View --> + + <record model="ir.ui.view" id="view_crm_meeting_form"> + <field name="name">CRM - Meetings Form</field> + <field name="model">crm.meeting</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Meetings" version="7.0"> + <header> + <button name="case_open" string="Confirm" type="object" class="oe_highlight" + states="draft"/> + <button name="case_close" string="Done" type="object" class="oe_highlight" + states="open"/> + <button name="case_reset" string="Reset to Unconfirmed" type="object" + states="cancel,done"/> + <button name="case_cancel" string="Cancel" type="object" + states="draft,open"/> + <field name="state" widget="statusbar" statusbar_visible="draft,open,done"/> + </header> + <sheet> + <div class="oe_title"> + <div class="oe_edit_only"> + <label for="name" string="Title"/> + (<field name="allday" on_change="onchange_dates(date,False,False,allday)" class="oe_inline"/> + <label for="allday" string="All Day?"/>) + </div> + <h1> + <field name="name"/> + </h1> + <h2> + <label for="date" string="Starting at"/> + <field name="date" required="1" class="oe_inline"/> + <label for="location" string="in" class="oe_inline" attrs="{'invisible': [('location', '=', False)]}"/> + <field name="location" placeholder="Specify the location here" class="oe_inline"/> + </h2> + <h2> + <label for="duration" string="Duration" /> + <field name="duration" widget="float_time" + on_change="onchange_dates(date,duration,False,allday)" + class="oe_inline"/> ( + <field name="date_deadline" + string="End Date" required="1" + on_change="onchange_dates(date,False,date_deadline)" + class="oe_inline"/> ) + </h2> + </div> + <group> + <group> + <field name="user_id" /> + <field name="organizer"/> + </group> + <group> + <field name="alarm_id" string="Reminder" widget="selection" /> + <field name="class" string="Privacy"/> + <field name="show_as" string="Show Time as"/> + <field name="recurrency" string="Recurrence" attrs="{'readonly': ['|', ('recurrent_uid','!=',False), ('state','=','done')]}"/> + </group> + <group> + <field name="partner_id" string="Partner" + on_change="onchange_partner_id(partner_id)" /> + <field name="email_from"/> + </group> + <group> + <field name="categ_id" widget="selection"/> + <field name="rrule" invisible="1" readonly="1"/> + <field name="recurrent_id" invisible="1"/> + <field name="recurrent_uid" invisible="1"/> + </group> + </group> + <separator string="Description"/> + <field name="description"/> + <notebook> + <page string="Invitation Detail"> + <button string="Invite People" + name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" + icon="terp-partner" type="action" + attrs="{'readonly': [('state', '=', 'done')]}" + context="{'model' : 'crm.meeting', 'attendee_field':'attendee_ids'}" colspan="2"/> + <field name="attendee_ids" widget="one2many" mode="tree"> + <tree string="Invitation details" editable="top"> + <field name="sent_by_uid" string="From"/> + <field name="user_id" string="To"/> + <field name="email" string="Mail To"/> + <field name="role" /> + <field name="state" /> + <button name="do_tentative" + states="needs-action,declined,accepted" + string="Uncertain" type="object" + icon="terp-crm" /> + <button name="do_accept" string="Accept" + states="needs-action,tentative,declined" + type="object" icon="gtk-apply" /> + <button name="do_decline" string="Decline" + states="needs-action,tentative,accepted" + type="object" icon="gtk-cancel" /> + <button + name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" + string="Delegate" type="action" + icon="gtk-sort-descending" + states="needs-action,tentative,declined,accepted" + context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" /> + </tree> + <form string="Invitation details" version="7.0"> + <header> + <button name="do_tentative" type="object" + states="needs-action,declined,accepted" + string="Uncertain" icon="terp-crm" /> + <button name="do_accept" type="object" + states="needs-action,tentative,declined" + string="Accept" icon="gtk-apply" /> + <button name="do_decline" type="object" + states="needs-action,tentative,accepted" + string="Decline" icon="gtk-cancel" /> + <button name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" type="action" + states="needs-action,tentative,declined,accepted" + string="Delegate" icon="gtk-sort-descending" + context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" /> + <field name="state" widget="statusbar" statusbar_visible="draft,open,done"/> + </header> + <group> + <group> + <field name="email" /> + <field name="rsvp" /> + <field name="cutype" /> + <field name="role" /> + </group> + <group> + <field name="user_id"/> + </group> + </group> + </form> + </field> + </page> + <page string="Recurrence Options"><!-- attrs="{'invisible': [('recurrency','=',False)], 'readonly': ['|', ('recurrent_uid','!=',False), ('state','=','done')]}">--> + <group col="4" colspan="4" name="rrule"> + <group col="4" colspan="4"> + <field name="rrule_type" string=" Recurrence Pattern" /> + <field name="interval" /> + <field name="end_type" /> + <label string=" " colspan="2" /> + <newline /> + <field name="count" attrs="{'invisible' : [('end_type', '!=', 'count')] }"/> + <label string=" " colspan="2" /> + <newline /> + <field name="end_date" attrs="{'invisible' : [('end_type', '!=', 'end_date')], 'required': [('end_type', '=', 'end_date')]}"/> + <newline /> + </group> + <group col="8" colspan="4" name="Select weekdays" attrs="{'invisible' :[('rrule_type','not in', ['weekly'])]}"> + <separator string="Choose day where repeat the meeting" colspan="8"/> + <field name="mo" colspan="1" /> + <field name="tu" colspan="1" /> + <field name="we" colspan="1" /> + <field name="th" colspan="1" /> + <newline/> + <field name="fr" colspan="1" /> + <field name="sa" colspan="1" /> + <field name="su" colspan="1" /> + <newline /> + </group> + <group col="10" colspan="4" + attrs="{'invisible' : [('rrule_type','!=','monthly')]}"> + <separator string="Choose day in the month where repeat the meeting" colspan="12"/> + <group col="2" colspan="1"> + <field name="select1" /> + </group> + <group col="2" colspan="1"> + <field name="day" + attrs="{'required' : [('select1','=','date'), ('rrule_type','=','monthly')], + 'invisible' : [('select1','=','day')]}" /> + </group> + <group col="3" colspan="1"> + <field name="byday" string="The" + attrs="{'required' : [('select1','=','day'), ('rrule_type','=','monthly')], 'invisible' : [('select1','=','date')]}" /> + <field name="week_list" nolabel="1" + attrs="{'required' : [('select1','=','day'), ('rrule_type','=','monthly')], 'invisible' : [('select1','=','date')]}" /> + </group> + </group> + </group> + </page> + </notebook> + </sheet> + <footer> + <field name="message_ids" widget="mail_thread"/> + </footer> + </form> + </field> + </record> + + <!-- CRM Meeting Tree View --> + + <record model="ir.ui.view" id="view_crm_meeting_tree"> + <field name="name">CRM - Meetings Tree</field> + <field name="model">crm.meeting</field> + <field name="type">tree</field> + <field name="arch" type="xml"> + <tree string="Meetings" fonts="bold:needaction_pending==True" + colors="red:state=='open';black:state in ('draft', 'cancel','done','pending')"> + <field name="name" string="Subject" /> + <field name="user_id"/> + <field name="date"/> + <field name="state"/> + <field name="duration" /> + <field name="partner_id" string="Partner" /> + <field name="location" /> + <field name="categ_id"/> + <field name="needaction_pending" invisible="1"/> + </tree> + </field> + </record> + + <!-- CRM Meeting Calendar --> + + <record model="ir.ui.view" id="view_crm_meeting_calendar"> + <field name="name">CRM - Meetings Calendar</field> + <field name="model">crm.meeting</field> + <field name="type">calendar</field> + <field name="priority" eval="2"/> + <field name="arch" type="xml"> + <calendar string="Meetings" date_start="date" color="user_id" date_stop="date_deadline" date_delay="duration"> + <field name="name"/> + <field name="partner_id"/> + </calendar> + </field> + </record> + + <!-- CRM Meeting Gantt --> + + <record id="view_crm_meeting_gantt" model="ir.ui.view"> + <field name="name">CRM - Meetings Gantt</field> + <field name="model">crm.meeting</field> + <field name="type">gantt</field> + <field name="arch" type="xml"> + <gantt date_delay="duration" date_start="date" string="Meetings"/> + </field> + </record> + + <!-- CRM Meeting Search View --> + + <record id="view_crm_meeting_search" model="ir.ui.view"> + <field name="name">CRM - Meetings Search</field> + <field name="model">crm.meeting</field> + <field name="type">search</field> + <field name="arch" type="xml"> + <search string="Search Meetings"> + <group> + <field name="name" string="Meeting / Partner" + filter_domain="['|',('name','ilike',self),('partner_id','ilike', self)]"/> + <filter string="Inbox" help="Unread messages" icon="terp-mail-message-new" + name="needaction_pending" domain="[('needaction_pending','=',True)]"/> + <separator orientation="vertical"/> + <filter string="My Meetings" help="My Meetings" icon="terp-personal" + domain="[('user_id','=',uid)]"/> + <separator orientation="vertical"/> + <field name="user_id"/> + <field name="partner_id"/> + </group> + </search> + </field> + </record> + + <!-- CRM Meetings action and menu --> + + <record id="action_crm_meeting" model="ir.actions.act_window"> + <field name="name">Meetings</field> + <field name="res_model">crm.meeting</field> + <field name="view_mode">calendar,tree,form,gantt</field> + <field name="view_id" ref="view_crm_meeting_calendar"/> + <field name="search_view_id" ref="view_crm_meeting_search"/> + <field name="context">{"calendar_default_user_id": uid}</field> + <field name="help"> + The meeting calendar is shared between the sales teams and fully integrated with other applications + such as the employee holidays or the business opportunities. + You can also synchronize meetings with your mobile phone using the caldav interface. + </field> + </record> + <record model="ir.actions.act_window.view" id="action_view_crm_meeting_calendar"> + <field name="act_window_id" ref="action_crm_meeting"/> + <field name="sequence" eval="1"/> + <field name="view_mode">calendar</field> + <field name="view_id" ref="view_crm_meeting_calendar"/> + </record> + <record model="ir.actions.act_window.view" id="action_view_crm_meeting_tree"> + <field name="act_window_id" ref="action_crm_meeting"/> + <field name="sequence" eval="2"/> + <field name="view_mode">tree</field> + <field name="view_id" ref="view_crm_meeting_tree"/> + </record> + <record model="ir.actions.act_window.view" id="action_view_crm_meeting_form"> + <field name="act_window_id" ref="action_crm_meeting"/> + <field name="sequence" eval="3"/> + <field name="view_mode">form</field> + <field name="view_id" ref="view_crm_meeting_form"/> + </record> + <record model="ir.actions.act_window.view" id="action_view_crm_meeting_gantt"> + <field name="act_window_id" ref="action_crm_meeting"/> + <field name="sequence" eval="4"/> + <field name="view_mode">gantt</field> + <field name="view_id" ref="view_crm_meeting_gantt"/> + </record> + + <menuitem id="menu_crm_meeting" parent="base.menu_sales" sequence="8" + name="Meetings" action="action_crm_meeting"/> + + </data> +</openerp> diff --git a/addons/base_calendar/security/ir.model.access.csv b/addons/base_calendar/security/ir.model.access.csv index 34543f0e912..24af1abf0e5 100644 --- a/addons/base_calendar/security/ir.model.access.csv +++ b/addons/base_calendar/security/ir.model.access.csv @@ -5,3 +5,9 @@ access_res_alarm,res.alarm,model_res_alarm,base.group_user,1,1,1,1 access_calendar_todo,calendar.todo,model_calendar_todo,base.group_user,1,1,1,1
access_calendar_event,calendar.event,model_calendar_event,base.group_user,1,1,1,1
access_calendar_attendee_survey_user,calendar.attendee,model_calendar_attendee,base.group_survey_user,1,0,0,0
+access_crm_meeting_manager,crm.meeting.manager,model_crm_meeting,base.group_sale_manager,1,1,1,1
+access_crm_meeting,crm.meeting,model_crm_meeting,base.group_sale_salesman,1,1,1,0
+access_crm_meeting_all,crm.meeting_allll,model_crm_meeting,base.group_user,1,0,0,0
+access_crm_meeting_partner_manager,crm.meeting.partner.manager,model_crm_meeting,base.group_partner_manager,1,1,1,1
+access_crm_meeting_type_manager,crm.meeting.type.manager,model_crm_meeting_type,base.group_sale_manager,1,1,1,0
+access_crm_meeting_type_manager,crm.meeting.type.manager,model_crm_meeting_type,base.group_system,1,1,1,1
diff --git a/addons/base_setup/res_config_view.xml b/addons/base_setup/res_config_view.xml index 85a20bddf52..8607e671085 100644 --- a/addons/base_setup/res_config_view.xml +++ b/addons/base_setup/res_config_view.xml @@ -12,29 +12,27 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Company Settings"> - <group> - <field name="module_multi_company"/> - </group> - <group> - <div> - You will also find several configuration options on your company data: - address for the header and footer, overdue payments texts, etc. - </div> - <button type="object" name="open_company" string="Configure Your Company Data" icon="gtk-execute"/> - </group> + <group string="Company Settings"> + <group> + <field name="module_multi_company"/> </group> - <group string="External Accesses"> - <field name="module_share"/> - <field name="module_portal"/> + <group> + <div> + You will also find several configuration options on your company data: + address for the header and footer, overdue payments texts, etc. + </div> + <button type="object" name="open_company" string="Configure Your Company Data" icon="gtk-execute"/> </group> - <group string="Others"> - <label for="id" string="Outgoing Mail Servers"/> - <button type="action" name="%(base.action_ir_mail_server_list)d" - string="Configure" icon="gtk-execute"/> - </group> - </sheet> + </group> + <group string="External Accesses"> + <field name="module_share"/> + <field name="module_portal"/> + </group> + <group string="Others"> + <label for="id" string="Outgoing Mail Servers"/> + <button type="action" name="%(base.action_ir_mail_server_list)d" + string="Configure" icon="gtk-execute"/> + </group> </form> </field> </record> @@ -60,15 +58,13 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <field name="module_crm" invisible="1"/> - <group name="config_sale"/> - <group name="config_fetchmail" string="Emails" attrs="{'invisible': [('module_crm','=',False)]}"> - <field name="module_plugin_thunderbird"/> - <field name="module_plugin_outlook"/> - </group> - <group name="config_crm"/> - </sheet> + <field name="module_crm" invisible="1"/> + <group name="config_sale"/> + <group name="config_fetchmail" string="Emails" attrs="{'invisible': [('module_crm','=',False)]}"> + <field name="module_plugin_thunderbird"/> + <field name="module_plugin_outlook"/> + </group> + <group name="config_crm"/> </form> </field> </record> diff --git a/addons/base_status/base_state.py b/addons/base_status/base_state.py index 5baf71a01b6..35995ac7da3 100644 --- a/addons/base_status/base_state.py +++ b/addons/base_status/base_state.py @@ -29,6 +29,7 @@ class base_state(object): - ``date_closed`` (datetime field) - ``user_id`` (many2one to res.users) - ``partner_id`` (many2one to res.partner) + - ``email_from`` (char field) - ``state`` (selection field) """ diff --git a/addons/base_tools/i18n/mn.po b/addons/base_tools/i18n/mn.po new file mode 100644 index 00000000000..fd9a1ec8f59 --- /dev/null +++ b/addons/base_tools/i18n/mn.po @@ -0,0 +1,32 @@ +# 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 <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2011-01-11 11:14+0000\n" +"PO-Revision-Date: 2012-07-08 19:30+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Mongolian <mn@li.org>\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-Generator: Launchpad (build 15558)\n" + +#. module: base_tools +#: model:ir.module.module,shortdesc:base_tools.module_meta_information +msgid "Common base for tools modules" +msgstr "Багажийн модулиудын ерөнхий суурь" + +#. module: base_tools +#: model:ir.module.module,description:base_tools.module_meta_information +msgid "" +"\n" +" " +msgstr "" +"\n" +" " diff --git a/addons/crm/__init__.py b/addons/crm/__init__.py index 95cf8b53f27..729d54e0fc6 100644 --- a/addons/crm/__init__.py +++ b/addons/crm/__init__.py @@ -22,8 +22,8 @@ import crm import crm_action_rule import crm_segmentation -import crm_meeting import crm_lead +import crm_meeting import crm_phonecall import report import wizard diff --git a/addons/crm/board_crm_view.xml b/addons/crm/board_crm_view.xml index 1b8148fe43b..d73939c759e 100644 --- a/addons/crm/board_crm_view.xml +++ b/addons/crm/board_crm_view.xml @@ -69,10 +69,10 @@ <field name="name">Meetings</field> <field name="res_model">crm.meeting</field> <field name="view_mode">calendar,tree,form,gantt</field> - <field name="view_id" ref="crm.crm_case_tree_view_meet"/> + <field name="view_id" ref="base_calendar.view_crm_meeting_tree"/> <field name="context">{"calendar_default_user_id":uid}</field> <field name="domain">[('state','=','open'),('date','>',datetime.date.today().strftime("%Y-%m-%d %H:%M:%S"))]</field> - <field name="search_view_id" ref="view_crm_case_meetings_filter"/> + <field name="search_view_id" ref="base_calendar.view_crm_meeting_search"/> </record> <record model="ir.ui.view" id="board_crm_statistical_form"> diff --git a/addons/crm/crm_demo.xml b/addons/crm/crm_demo.xml index e98b88e60fa..89da8d357f7 100644 --- a/addons/crm/crm_demo.xml +++ b/addons/crm/crm_demo.xml @@ -9,7 +9,7 @@ <field name="name">Meetings</field> <field name="resource">ir.ui.menu</field> <field name="user_id" ref="base.user_demo"/> - <field name="res_id" ref="crm.menu_crm_case_categ_meet"/> + <field name="res_id" ref="base_calendar.menu_crm_meeting"/> </record> <record model="crm.case.section" id="section_sales_marketing_department"> diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 69d390ff04d..adf15e93a89 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -41,6 +41,7 @@ class crm_lead(base_stage, osv.osv): _description = "Lead/Opportunity" _order = "priority,date_action,id desc" _inherit = ['ir.needaction_mixin', 'mail.thread'] + _mail_compose_message = True def _get_default_section_id(self, cr, uid, context=None): """ Gives default section by checking if present in the context """ @@ -763,43 +764,21 @@ class crm_lead(base_stage, osv.osv): } def action_makeMeeting(self, cr, uid, ids, context=None): + """ This opens Meeting's calendar view to schedule meeting on current Opportunity + @return : Dictionary value for created Meeting view """ - This opens Meeting's calendar view to schedule meeting on current Opportunity - @return : Dictionary value for created Meeting view - """ - if context is None: - context = {} - value = {} - data_obj = self.pool.get('ir.model.data') - for opp in self.browse(cr, uid, ids, context=context): - # Get meeting views - tree_view = data_obj.get_object_reference(cr, uid, 'crm', 'crm_case_tree_view_meet') - form_view = data_obj.get_object_reference(cr, uid, 'crm', 'crm_case_form_view_meet') - calander_view = data_obj.get_object_reference(cr, uid, 'crm', 'crm_case_calendar_view_meet') - search_view = data_obj.get_object_reference(cr, uid, 'crm', 'view_crm_case_meetings_filter') - context.update({ - 'default_opportunity_id': opp.id, - 'default_partner_id': opp.partner_id and opp.partner_id.id or False, - 'default_user_id': uid, - 'default_section_id': opp.section_id and opp.section_id.id or False, - 'default_email_from': opp.email_from, - 'default_state': 'open', - 'default_name': opp.name - }) - value = { - 'name': _('Meetings'), - 'context': context, - 'view_type': 'form', - 'view_mode': 'calendar,form,tree', - 'res_model': 'crm.meeting', - 'view_id': False, - 'views': [(calander_view and calander_view[1] or False, 'calendar'), (form_view and form_view[1] or False, 'form'), (tree_view and tree_view[1] or False, 'tree')], - 'type': 'ir.actions.act_window', - 'search_view_id': search_view and search_view[1] or False, - 'nodestroy': True - } - return value - + opportunity = self.browse(cr, uid, ids[0], context) + res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'base_calendar', 'action_crm_meeting', context) + res['context'] = { + 'default_opportunity_id': opportunity.id, + 'default_partner_id': opportunity.partner_id and opportunity.partner_id.id or False, + 'default_user_id': uid, + 'default_section_id': opportunity.section_id and opportunity.section_id.id or False, + 'default_email_from': opportunity.email_from, + 'default_state': 'open', + 'default_name': opportunity.name, + } + return res def unlink(self, cr, uid, ids, context=None): for lead in self.browse(cr, uid, ids, context): diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 2579fa75cda..85f9a4aab5d 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -289,7 +289,7 @@ <t t-name="kanban-box"> <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click"> <div class="oe_dropdown_toggle oe_dropdown_kanban"> - <span class="oe_e">i</span> + <span class="oe_e">í</span> <ul class="oe_dropdown_menu"> <li><a type="edit" >Edit...</a></li> <li><a type="delete">Delete</a></li> @@ -311,18 +311,14 @@ <field name="partner_id"/> </div> <div style="padding-left: 0.5em"> - <i> - <t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())" t-set="red">oe_kanban_text_red</t> - <span t-attf-class="#{red || ''}"> - <field name="date_action"/> - </span> - <t t-if="record.date_action.raw_value"> : </t> - <field name="title_action"/> - </i> + <t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())" t-set="red">oe_kanban_text_red</t> + <span t-attf-class="#{red || ''}"><field name="date_action"/></span> + <t t-if="record.date_action.raw_value"> : </t> + <field name="title_action"/> </div> <div class="oe_right"> - <a t-if="record.priority.raw_value == 1" icon="star-on" type="object" name="set_normal_priority"/> - <a t-if="record.priority.raw_value != 1" icon="star-off" type="object" name="set_high_priority" style="opacity:0.7; filter:alpha(opacity=70);"/> + <a t-if="record.priority.raw_value == 1" type="object" name="set_normal_priority" class="oe_e oe_star_on">7</a> + <a t-if="record.priority.raw_value != 1" type="object" name="set_high_priority" class="oe_e oe_star_off">7</a> <!-- <t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())" t-set="red">oe_kaban_status_red</t> <span t-attf-class="oe_kanban_status #{red}"> </span> @@ -471,7 +467,7 @@ <label for="planned_revenue" class="oe_edit_only"/> <h2> <field name="planned_revenue" class="oe_inline"/> - <field name="company_currency" class="oe_edit_only oe_inline"/> at + <field name="company_currency" class="oe_inline"/> at <field name="probability" class="oe_inline"/> %% success rate </h2> </div> diff --git a/addons/crm/crm_meeting.py b/addons/crm/crm_meeting.py index 37f03d80ec4..bdc5e91ad33 100644 --- a/addons/crm/crm_meeting.py +++ b/addons/crm/crm_meeting.py @@ -19,56 +19,23 @@ # ############################################################################## -from base_calendar import base_calendar -from base_status.base_state import base_state -from base_status.base_stage import base_stage -import logging from osv import fields, osv import tools from tools.translate import _ +import logging _logger = logging.getLogger(__name__) -class crm_lead(base_stage, osv.osv): - """ CRM Leads """ - _name = 'crm.lead' - -class crm_meeting(base_state, osv.Model): +# +# crm.meeting is defined in module base_calendar +# +class crm_meeting(osv.Model): """ Model for CRM meetings """ - _name = 'crm.meeting' - _description = "Meeting" - _order = "id desc" - _inherit = ["calendar.event", 'ir.needaction_mixin', "mail.thread"] + _inherit = 'crm.meeting' _columns = { - # base_state required fields - 'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}), 'section_id': fields.many2one('crm.case.section', 'Sales Team', states={'done': [('readonly', True)]}, select=True, groups='base.group_sale_salesman', help='Sales team to which Case belongs to.'), - 'email_from': fields.char('Email', size=128, states={'done': [('readonly', True)]}, help="These people will receive email."), - 'create_date': fields.datetime('Creation Date' , readonly=True), - 'write_date': fields.datetime('Write Date' , readonly=True), - 'date_action_last': fields.datetime('Last Action', readonly=1), - 'date_action_next': fields.datetime('Next Action', readonly=1), - # Meeting fields - 'name': fields.char('Summary', size=124, required=True, states={'done': [('readonly', True)]}), - 'categ_id': fields.many2one('crm.case.categ', 'Meeting Type', \ - domain="[('object_id.model', '=', 'crm.meeting')]", \ - ), 'phonecall_id': fields.many2one ('crm.phonecall', 'Phonecall'), 'opportunity_id': fields.many2one ('crm.lead', 'Opportunity', domain="[('type', '=', 'opportunity')]"), - 'attendee_ids': fields.many2many('calendar.attendee', 'meeting_attendee_rel',\ - 'event_id', 'attendee_id', 'Attendees', states={'done': [('readonly', True)]}), - 'date_closed': fields.datetime('Closed', readonly=True), - 'date_deadline': fields.datetime('Deadline', states={'done': [('readonly', True)]}), - 'state': fields.selection([ ('draft', 'Unconfirmed'), - ('open', 'Confirmed'), - ('cancel', 'Cancelled'), - ('done', 'Done')], - string='Status', size=16, readonly=True), - } - _defaults = { - 'state': 'draft', - 'active': 1, - 'user_id': lambda self, cr, uid, ctx: uid, } def create(self, cr, uid, vals, context=None): @@ -76,52 +43,28 @@ class crm_meeting(base_state, osv.Model): self.create_send_note(cr, uid, [obj_id], context=context) return obj_id - def case_open(self, cr, uid, ids, context=None): - """ Confirms meeting """ - res = super(crm_meeting, self).case_open(cr, uid, ids, context) - for (id, name) in self.name_get(cr, uid, ids): - id=base_calendar.base_calendar_id2real_id(id) - return res - - # ---------------------------------------- - # OpenChatter - # ---------------------------------------- - - def case_get_note_msg_prefix(self, cr, uid, id, context=None): - return 'Meeting' - def create_send_note(self, cr, uid, ids, context=None): if context is None: context = {} # update context: if come from phonecall, default state values can make the message_append_note crash context.pop('default_state', False) for meeting in self.browse(cr, uid, ids, context=context): - # convert datetime field to a datetime, using server format, then - # convert it to the user TZ and re-render it with %Z to add the timezone - meeting_datetime = fields.DT.datetime.strptime(meeting.date, tools.DEFAULT_SERVER_DATETIME_FORMAT) - meeting_date_str = fields.datetime.context_timestamp(cr, uid, meeting_datetime, context=context).strftime(tools.DATETIME_FORMATS_MAP['%+'] + " (%Z)") - message = _("A meeting has been <b>scheduled</b> on <em>%s</em>.") % (meeting_date_str) + # in the message, transpose meeting.date to the timezone of the current user + meeting_date = fields.DT.datetime.strptime(meeting.date, tools.DEFAULT_SERVER_DATETIME_FORMAT) + meeting_date_tz = fields.datetime.context_timestamp(cr, uid, meeting_date, context=context).strftime(tools.DATETIME_FORMATS_MAP['%+'] + " (%Z)") if meeting.opportunity_id: # meeting can be create from phonecalls or opportunities, therefore checking for the parent lead = meeting.opportunity_id - parent_message = _("Meeting linked to the opportunity <em>%s</em> has been <b>created</b> and <b>cscheduled</b> on <em>%s</em>.") % (lead.name, meeting.date) + message = _("Meeting linked to the opportunity <em>%s</em> has been <b>created</b> and <b>scheduled</b> on <em>%s</em>.") % (lead.name, meeting_date_tz) lead.message_append_note(_('System Notification'), message) elif meeting.phonecall_id: phonecall = meeting.phonecall_id - parent_message = _("Meeting linked to the phonecall <em>%s</em> has been <b>created</b> and <b>cscheduled</b> on <em>%s</em>.") % (phonecall.name, meeting.date) + message = _("Meeting linked to the phonecall <em>%s</em> has been <b>created</b> and <b>scheduled</b> on <em>%s</em>.") % (phonecall.name, meeting_date_tz) phonecall.message_append_note(body=message) else: - parent_message = message - if parent_message: - meeting.message_append_note(body=parent_message) + message = _("A meeting has been <b>scheduled</b> on <em>%s</em>.") % (meeting_date_tz) + meeting.message_append_note(body=message) return True - def case_open_send_note(self, cr, uid, ids, context=None): - return self.message_append_note(cr, uid, ids, body=_("Meeting has been <b>confirmed</b>."), context=context) - - def case_close_send_note(self, cr, uid, ids, context=None): - return self.message_append_note(cr, uid, ids, body=_("Meeting has been <b>done</b>."), context=context) - - class calendar_attendee(osv.osv): """ Calendar Attendee """ @@ -155,8 +98,6 @@ class calendar_attendee(osv.osv): relation="crm.case.categ", multi='categ_id'), } -calendar_attendee() - class res_users(osv.osv): _name = 'res.users' _inherit = 'res.users' @@ -177,7 +118,4 @@ class res_users(osv.osv): _logger.debug('Skipped meetings shortcut for user "%s"', data.get('name','<new')) return user_id -res_users() - - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/crm_meeting_data.xml b/addons/crm/crm_meeting_data.xml index 86cdf97a2a3..82752d1dc7d 100644 --- a/addons/crm/crm_meeting_data.xml +++ b/addons/crm/crm_meeting_data.xml @@ -4,22 +4,16 @@ <!-- CASE CATEGORY(categ_id) --> - <record model="crm.case.categ" id="categ_meet1"> + <record model="crm.meeting.type" id="categ_meet1"> <field name="name">Customer Meeting</field> - <field name="section_id" ref="section_sales_department"/> - <field name="object_id" search="[('model','=','crm.meeting')]" model="ir.model"/> </record> - <record model="crm.case.categ" id="categ_meet2"> + <record model="crm.meeting.type" id="categ_meet2"> <field name="name">Internal Meeting</field> - <field name="section_id" ref="section_sales_department"/> - <field name="object_id" search="[('model','=','crm.meeting')]" model="ir.model"/> </record> - <record model="crm.case.categ" id="categ_meet3"> + <record model="crm.meeting.type" id="categ_meet3"> <field name="name">Phone Call</field> - <field name="section_id" ref="section_sales_department"/> - <field name="object_id" search="[('model','=','crm.meeting')]" model="ir.model"/> </record> <record model="res.request.link" id="request_link_meeting"> diff --git a/addons/crm/crm_meeting_menu.xml b/addons/crm/crm_meeting_menu.xml index 3da817e8611..aec88a5748e 100644 --- a/addons/crm/crm_meeting_menu.xml +++ b/addons/crm/crm_meeting_menu.xml @@ -1,102 +1,9 @@ <?xml version="1.0"?> <openerp> <data> - <act_window - id="crm_case_categ_meet_create_partner" - name="Schedule a Meeting" - res_model="crm.meeting" - view_mode="calendar,tree,form,gantt" - context="{'default_partner_id': active_id, 'default_duration': 4.0}" - /> - - <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_meet_partner"> - <field name="sequence" eval="1"/> - <field name="view_mode">calendar</field> - <field name="view_id" ref="crm_case_calendar_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet_create_partner"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_tree_meet_partner"> - <field name="sequence" eval="2"/> - <field name="view_mode">tree</field> - <field name="view_id" ref="crm_case_tree_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet_create_partner"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_form_meet_partner"> - <field name="sequence" eval="3"/> - <field name="view_mode">form</field> - <field name="view_id" ref="crm_case_form_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet_create_partner"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_gantt_meet_partner"> - <field name="sequence" eval="3"/> - <field name="view_mode">gantt</field> - <field name="view_id" ref="crm_case_gantt_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet_create_partner"/> - </record> - - <record model="ir.actions.act_window" id="crm_case_categ_meet"> - <field name="name">Meetings</field> - <field name="res_model">crm.meeting</field> - <field name="view_mode">calendar,tree,form,gantt</field> - <field name="view_id" ref="crm_case_calendar_view_meet"/> - <field name="context">{"calendar_default_user_id":uid}</field> - <field name="search_view_id" ref="view_crm_case_meetings_filter"/> - <field name="help">The meeting calendar is shared between the sales teams and fully integrated with other applications such as the employee holidays or the business opportunities. You can also synchronize meetings with your mobile phone using the caldav interface. - </field> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_meet"> - <field name="sequence" eval="1"/> - <field name="view_mode">calendar</field> - <field name="view_id" ref="crm_case_calendar_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_tree_meet"> - <field name="sequence" eval="2"/> - <field name="view_mode">tree</field> - <field name="view_id" ref="crm_case_tree_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_form__meet"> - <field name="sequence" eval="3"/> - <field name="view_mode">form</field> - <field name="view_id" ref="crm_case_form_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet"/> - </record> - - <record model="ir.actions.act_window.view" id="action_crm_tag_gantt_meet"> - <field name="sequence" eval="1"/> - <field name="view_mode">gantt</field> - <field name="view_id" ref="crm_case_gantt_view_meet"/> - <field name="act_window_id" ref="crm_case_categ_meet"/> - </record> - -<!-- ALL MEETINGS --> <menuitem name="Import & Synchronize" id="base.menu_import_crm" parent="base.menu_base_partner"/> - <menuitem name="Meetings" id="menu_crm_case_categ_meet" - action="crm_case_categ_meet" parent="base.menu_sales" - sequence="8" /> - - <record id="action_view_attendee_form" model="ir.actions.act_window"> - <field name="name">Meeting Invitations</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">calendar.attendee</field> - <field name="view_type">form</field> - <field name="view_mode">tree,form</field> - <field name="view_id" ref="base_calendar.base_calendar_attendee_tree_view" /> - <field name="domain">[('ref','like','crm.meeting,')]</field> - <field name="context">{"search_default_toreview":1, "search_default_user_id":uid}</field> - <field name="help">With Meeting Invitations you can create and manage the meeting invitations sent/to be sent to your colleagues/partners. You can not only invite OpenERP users, but also external parties, such as a customer.</field> - </record> - - </data> </openerp> diff --git a/addons/crm/crm_meeting_shortcut_data.xml b/addons/crm/crm_meeting_shortcut_data.xml index 0f75c9e91ab..45488da8a82 100644 --- a/addons/crm/crm_meeting_shortcut_data.xml +++ b/addons/crm/crm_meeting_shortcut_data.xml @@ -6,7 +6,7 @@ <field name="name">Meetings</field> <field name="resource">ir.ui.menu</field> <field name="user_id" ref="base.user_root"/> - <field name="res_id" ref="crm.menu_crm_case_categ_meet"/> + <field name="res_id" ref="base_calendar.menu_crm_meeting"/> </record> </data> diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml index 88ef7134735..f7c2ada05f2 100644 --- a/addons/crm/crm_meeting_view.xml +++ b/addons/crm/crm_meeting_view.xml @@ -2,361 +2,48 @@ <openerp> <data> - <!-- Read/Unread actions --> - <record id="actions_server_crm_meeting_unread" model="ir.actions.server"> - <field name="name">Mark unread</field> - <field name="condition">True</field> - <field name="type">ir.actions.server</field> - <field name="model_id" ref="model_crm_meeting"/> - <field name="state">code</field> - <field name="code">self.message_check_and_set_unread(cr, uid, context.get('active_ids'), context=context)</field> - </record> - <record id="action_crm_meeting_unread" model="ir.values"> - <field name="name">action_crm_meeting_unread</field> - <field name="action_id" ref="actions_server_crm_meeting_unread"/> - <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_crm_meeting_unread'))" /> - <field name="key">action</field> - <field name="model_id" ref="model_crm_meeting" /> - <field name="model">crm.meeting</field> - <field name="key2">client_action_multi</field> - </record> - - <record id="actions_server_crm_meeting_read" model="ir.actions.server"> - <field name="name">Mark read</field> - <field name="condition">True</field> - <field name="type">ir.actions.server</field> - <field name="model_id" ref="model_crm_meeting"/> - <field name="state">code</field> - <field name="code">self.message_check_and_set_read(cr, uid, context.get('active_ids'), context=context)</field> - </record> - <record id="action_crm_meeting_read" model="ir.values"> - <field name="name">action_crm_meeting_read</field> - <field name="action_id" ref="actions_server_crm_meeting_read"/> - <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_crm_meeting_read'))" /> - <field name="key">action</field> - <field name="model_id" ref="model_crm_meeting" /> - <field name="model">crm.meeting</field> - <field name="key2">client_action_multi</field> - </record> - - <!-- CRM Meetings Categories Form View --> - - <record id="crm_meeting_categ_action" model="ir.actions.act_window"> - <field name="name">Meeting Categories</field> - <field name="res_model">crm.case.categ</field> - <field name="view_type">form</field> - <field name="view_id" ref="crm.crm_case_categ_tree-view"/> - <field name="domain">[('object_id.model', '=', 'crm.meeting')]</field> - <field name="context" eval="{'object_id': ref('model_crm_meeting')}"/> - <field name="help">Create different meeting categories to better organize and classify your meetings.</field> - </record> - - <menuitem action="crm_meeting_categ_action" - groups="base.group_no_one" - id="menu_crm_case_meeting-act" parent="base.menu_calendar_configuration" sequence="1"/> - <!-- CRM Meetings Form View --> - <record model="ir.ui.view" id="crm_case_form_view_meet"> + <record model="ir.ui.view" id="view_crm_meeting_form"> <field name="name">CRM - Meetings Form</field> <field name="model">crm.meeting</field> <field name="type">form</field> + <field name="inherit_id" ref="base_calendar.view_crm_meeting_form"/> <field name="arch" type="xml"> - <form string="Meetings" version="7.0"> - <header> - <button name="case_open" string="Confirm" type="object" class="oe_highlight" - states="draft"/> - <button name="case_close" string="Done" type="object" class="oe_highlight" - states="open"/> - <button name="case_reset" string="Reset to Unconfirmed" type="object" - states="cancel,done"/> - <button name="case_cancel" string="Cancel" type="object" - states="draft,open"/> - <field name="state" widget="statusbar" statusbar_visible="draft,open,done"/> - </header> - <sheet> - <div class="oe_title"> - <div class="oe_edit_only"> - <label for="name" string="Title"/> - (<field name="allday" on_change="onchange_dates(date,False,False,allday)" class="oe_inline"/> - <label for="allday" string="All Day?"/>) - </div> - <h1> - <field name="name"/> - </h1> - </div> - <group> - <h2> - <label for="date" string="Starting at"/> - <field name="date" required="1" class="oe_inline"/> - <label string="in" class="oe_inline" attrs="{'invisible': [('location', '=', False)]}"/> <field name="location" placeholder="Specify the location here" class="oe_inline"/> - </h2> - </group> - <group> - <h2> - <label for="duration" string="Duration" /> - <field name="duration" widget="float_time" - on_change="onchange_dates(date,duration,False,allday)" - class="oe_inline"/> ( - <field name="date_deadline" - string="End Date" required="1" - on_change="onchange_dates(date,False,date_deadline)" - class="oe_inline"/> ) - </h2> - </group> - <group colspan="4" col="4"> - <group colspan="2"> - <field name="user_id" /> - <field name="organizer"/> - <field name="section_id" widget="selection"/> - </group> - <group colspan="2"> - <field name="alarm_id" string="Reminder" widget="selection" /> - <field name="class" string="Privacy"/> - <field name="show_as" string="Show Time as"/> - <field name="recurrency" string="Recurrence" attrs="{'readonly': ['|', ('recurrent_uid','!=',False), ('state','=','done')]}"/> - </group> - <group colspan="2"> - <field name="partner_id" string="Partner" - on_change="onchange_partner_id(partner_id)" /> - <field name="email_from"/> - </group> - <group colspan="2"> - <field name="categ_id" widget="selection" - string="Meeting Type" - domain="[('object_id.model', '=', 'crm.meeting')]" /> - <field name="rrule" invisible="1" readonly="1"/> - <field name="recurrent_id" invisible="1"/> - <field name="recurrent_uid" invisible="1"/> - </group> - </group> - <separator string="Description" colspan="4" /> - <field name="description" nolabel="1" colspan="4" /> - <notebook> - <page string="Invitation Detail"> - <button string="Invite People" - name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" - icon="terp-partner" type="action" - attrs="{'readonly': [('state', '=', 'done')]}" - context="{'model' : 'crm.meeting', 'attendee_field':'attendee_ids'}" colspan="2"/> - <field name="attendee_ids" colspan="4" - nolabel="1" widget="one2many" mode="tree"> - <tree string="Invitation details" editable="top"> - <field name="sent_by_uid" string="From"/> - <field name="user_id" string="To"/> - <field name="email" string="Mail To"/> - <field name="role" /> - <field name="state" /> - <button name="do_tentative" - states="needs-action,declined,accepted" - string="Uncertain" type="object" - icon="terp-crm" /> - <button name="do_accept" string="Accept" - states="needs-action,tentative,declined" - type="object" icon="gtk-apply" /> - <button name="do_decline" string="Decline" - states="needs-action,tentative,accepted" - type="object" icon="gtk-cancel" /> - <button - name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" - string="Delegate" type="action" - icon="gtk-sort-descending" - states="needs-action,tentative,declined,accepted" - context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" /> - </tree> - <form string="Invitation details" version="7.0"> - <notebook colspan="4"> - <page string="Details"> - <field name="email" /> - <field name="rsvp" /> - <field name="cutype" /> - <field name="role" /> - <separator colspan="4" string="" /> - <group col="6" colspan="4"> - <field name="state" /> - <button name="do_tentative" - states="needs-action,declined,accepted" - string="Uncertain" - type="object" - icon="terp-crm" /> - <button name="do_accept" - string="Accept" - states="needs-action,tentative,declined" - type="object" - icon="gtk-apply" /> - <button name="do_decline" - string="Decline" - states="needs-action,tentative,accepted" - type="object" - icon="gtk-cancel" /> - <button - name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d" - string="Delegate" - type="action" - icon="gtk-sort-descending" - states="needs-action,tentative,declined,accepted" - context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" /> - </group> - </page> - <page string="Other"> - <field name="user_id"/> - <newline /> - </page> - </notebook> - </form> - </field> - </page> - <page string="Recurrence Options"><!-- attrs="{'invisible': [('recurrency','=',False)], 'readonly': ['|', ('recurrent_uid','!=',False), ('state','=','done')]}">--> - <group col="4" colspan="4" name="rrule"> - <group col="4" colspan="4"> - <field name="rrule_type" string=" Recurrence Pattern" /> - <field name="interval" /> - <field name="end_type" /> - <label string=" " colspan="2" /> - <newline /> - <field name="count" attrs="{'invisible' : [('end_type', '!=', 'count')] }"/> - <label string=" " colspan="2" /> - <newline /> - <field name="end_date" attrs="{'invisible' : [('end_type', '!=', 'end_date')], 'required': [('end_type', '=', 'end_date')]}"/> - <newline /> - - - </group> - <group col="8" colspan="4" name="Select weekdays" attrs="{'invisible' :[('rrule_type','not in', ['weekly'])]}"> - <separator string="Choose day where repeat the meeting" colspan="8"/> - <field name="mo" colspan="1" /> - <field name="tu" colspan="1" /> - <field name="we" colspan="1" /> - <field name="th" colspan="1" /> - <newline/> - <field name="fr" colspan="1" /> - <field name="sa" colspan="1" /> - <field name="su" colspan="1" /> - <newline /> - </group> - <group col="10" colspan="4" - attrs="{'invisible' : [('rrule_type','!=','monthly')]}"> - <separator string="Choose day in the month where repeat the meeting" colspan="12"/> - <group col="2" colspan="1"> - <field name="select1" /> - </group> - <group col="2" colspan="1"> - <field name="day" - attrs="{'required' : [('select1','=','date'), ('rrule_type','=','monthly')], - 'invisible' : [('select1','=','day')]}" /> - </group> - <group col="3" colspan="1"> - <field name="byday" string="The" - attrs="{'required' : [('select1','=','day'), ('rrule_type','=','monthly')], 'invisible' : [('select1','=','date')]}" /> - <field name="week_list" nolabel="1" - attrs="{'required' : [('select1','=','day'), ('rrule_type','=','monthly')], 'invisible' : [('select1','=','date')]}" /> - </group> - </group> - </group> - - </page> - </notebook> - </sheet> - <footer> - <field name="message_ids" widget="mail_thread"/> - </footer> - </form> - </field> - </record> - - <!-- CRM Meeting Tree View --> - - <record model="ir.ui.view" id="crm_case_tree_view_meet"> - <field name="name">CRM - Meetings Tree</field> - <field name="model">crm.meeting</field> - <field name="type">tree</field> - <field name="arch" type="xml"> - <tree string="Meetings" fonts="bold:needaction_pending==True" - colors="red:state=='open';black:state in ('draft', 'cancel','done','pending')"> - <field name="name" string="Subject" /> - <field name="user_id"/> - <field name="date"/> - <field name="state"/> - <field name="duration" /> - <field name="partner_id" string="Partner" /> - <field name="location" /> - <field name="categ_id"/> - <field name="needaction_pending" invisible="1"/> - </tree> + <field name="organizer" position="after"> + <field name="section_id" widget="selection"/> + </field> </field> </record> <!-- CRM Meeting Calendar --> - <record model="ir.ui.view" id="crm_case_calendar_view_meet"> + <record model="ir.ui.view" id="view_crm_meeting_calendar"> <field name="name">CRM - Meetings Calendar</field> <field name="model">crm.meeting</field> <field name="type">calendar</field> + <field name="inherit_id" ref="base_calendar.view_crm_meeting_calendar"/> <field name="priority" eval="2"/> <field name="arch" type="xml"> - <calendar string="Meetings" date_start="date" color="user_id" date_stop="date_deadline" date_delay="duration"> - <field name="name"/> - <field name="partner_id"/> + <field name="partner_id" position="after"> <field name="section_id" widget="selection"/> - </calendar> - </field> - </record> - - <!-- CRM Meeting Gantt --> - - <record id="crm_case_gantt_view_meet" model="ir.ui.view"> - <field name="name">CRM - Meetings Gantt</field> - <field name="model">crm.meeting</field> - <field name="type">gantt</field> - <field name="arch" type="xml"> - <gantt date_delay="duration" date_start="date" string="Meetings"> - </gantt> + </field> </field> </record> - <!-- CRM Meeting Search View --> - - <record id="view_crm_case_meetings_filter" model="ir.ui.view"> - <field name="name">CRM - Meetings Search</field> - <field name="model">crm.meeting</field> - <field name="type">search</field> - <field name="arch" type="xml"> - <search string="Search Meetings"> - <group> - <filter icon="terp-mail-message-new" - string="Inbox" help="Unread messages" - name="needaction_pending" - domain="[('needaction_pending','=',True)]"/> - <separator orientation="vertical"/> - <field name="name" string="Meeting / Partner" - filter_domain="['|',('name','ilike',self),('partner_id','ilike', self)]"/> - <separator orientation="vertical"/> - <filter string="My Meetings" - icon="terp-personal" - domain="[('user_id','=',uid)]" - help="My Meetings" /> - <separator orientation="vertical"/> - <field name="user_id"/> - <field name="partner_id"/> - </group> - </search> - </field> - </record> + <!-- Calendar Attendee Form View --> - <!-- Calendar Attendee Form View --> - - <record id="attendee_form_view_inherit" model="ir.ui.view"> - <field name="name">calendar.attendee.form.inherit</field> - <field name="model">calendar.attendee</field> - <field name="type">form</field> - <field name="inherit_id" ref="base_calendar.base_calendar_attendee_form_view"/> - <field name="arch" type="xml"> - <field name="ref" position="after"> - <field name="categ_id" string="Event Type"/> - </field> + <record id="attendee_form_view_inherit" model="ir.ui.view"> + <field name="name">calendar.attendee.form.inherit</field> + <field name="model">calendar.attendee</field> + <field name="type">form</field> + <field name="inherit_id" ref="base_calendar.base_calendar_attendee_form_view"/> + <field name="arch" type="xml"> + <field name="ref" position="after"> + <field name="categ_id" string="Event Type"/> </field> - </record> - + </field> + </record> </data> </openerp> diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py index 13991245eda..facd0baba8a 100644 --- a/addons/crm/crm_phonecall.py +++ b/addons/crm/crm_phonecall.py @@ -241,49 +241,20 @@ class crm_phonecall(base_state, osv.osv): return opportunity_dict def action_make_meeting(self, cr, uid, ids, context=None): + """ This opens Meeting's calendar view to schedule meeting on current Phonecall + @return : Dictionary value for created Meeting view """ - This opens Meeting's calendar view to schedule meeting on current Phonecall - @return : Dictionary value for created Meeting view - """ - value = {} - for phonecall in self.browse(cr, uid, ids, context=context): - data_obj = self.pool.get('ir.model.data') - - # Get meeting views - result = data_obj._get_id(cr, uid, 'crm', 'view_crm_case_meetings_filter') - res = data_obj.read(cr, uid, result, ['res_id']) - id1 = data_obj._get_id(cr, uid, 'crm', 'crm_case_calendar_view_meet') - id2 = data_obj._get_id(cr, uid, 'crm', 'crm_case_form_view_meet') - id3 = data_obj._get_id(cr, uid, 'crm', 'crm_case_tree_view_meet') - if id1: - id1 = data_obj.browse(cr, uid, id1, context=context).res_id - if id2: - id2 = data_obj.browse(cr, uid, id2, context=context).res_id - if id3: - id3 = data_obj.browse(cr, uid, id3, context=context).res_id - - context = { - 'default_phonecall_id': phonecall.id, - 'default_partner_id': phonecall.partner_id and phonecall.partner_id.id or False, - 'default_email': phonecall.email_from , - 'default_name': phonecall.name - } - - value = { - 'name': _('Meetings'), - 'domain' : "[('user_id','=',%s)]" % (uid), - 'context': context, - 'view_type': 'form', - 'view_mode': 'calendar,form,tree', - 'res_model': 'crm.meeting', - 'view_id': False, - 'views': [(id1, 'calendar'), (id2, 'form'), (id3, 'tree')], - 'type': 'ir.actions.act_window', - 'search_view_id': res['res_id'], - 'nodestroy': True - } - - return value + phonecall = self.browse(cr, uid, ids[0], context) + res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'base_calendar', 'action_crm_meeting', context) + res['context'] = { + 'default_phonecall_id': phonecall.id, + 'default_partner_id': phonecall.partner_id and phonecall.partner_id.id or False, + 'default_user_id': uid, + 'default_email_from': phonecall.email_from, + 'default_state': 'open', + 'default_name': phonecall.name, + } + return res # ---------------------------------------- # OpenChatter diff --git a/addons/crm/i18n/ja.po b/addons/crm/i18n/ja.po index f0761c35843..7d5b564951c 100644 --- a/addons/crm/i18n/ja.po +++ b/addons/crm/i18n/ja.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-06-11 07:49+0000\n" -"Last-Translator: Tomomi Mengelberg <tomomi.mengelberg@aquasys.co.jp>\n" +"PO-Revision-Date: 2012-07-09 04:50+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-12 04:55+0000\n" -"X-Generator: Launchpad (build 15389)\n" +"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm #: view:crm.lead.report:0 msgid "# Leads" -msgstr "# リード" +msgstr "リード数" #. module: crm #: view:crm.lead:0 selection:crm.lead,type:0 view:crm.lead.report:0 @@ -36,12 +36,12 @@ msgstr "必要なサービス" #. module: crm #: selection:crm.meeting,rrule_type:0 msgid "Monthly" -msgstr "毎月" +msgstr "月次" #. module: crm #: model:ir.model,name:crm.model_crm_case_stage msgid "Stage of case" -msgstr "お問い合わせ対応状況" +msgstr "案件の段階" #. module: crm #: view:crm.meeting:0 @@ -71,7 +71,7 @@ msgstr "本日" #. module: crm #: view:crm.lead2opportunity.partner:0 view:crm.merge.opportunity:0 msgid "Select Opportunities" -msgstr "オポチュニティを選択" +msgstr "商談を選択" #. module: crm #: view:crm.meeting:0 view:crm.phonecall2opportunity:0 @@ -82,12 +82,12 @@ msgstr " " #. module: crm #: view:crm.lead.report:0 field:crm.phonecall.report,delay_close:0 msgid "Delay to close" -msgstr "" +msgstr "締めを延期する" #. module: crm #: view:crm.lead:0 msgid "Previous Stage" -msgstr "前のステージ" +msgstr "前の段階" #. module: crm #: code:addons/crm/wizard/crm_add_note.py:28 @@ -98,7 +98,7 @@ msgstr "注記を追加することは出来ません。" #. module: crm #: field:crm.case.stage,name:0 msgid "Stage Name" -msgstr "ステージ名" +msgstr "段階名" #. module: crm #: model:ir.model,name:crm.model_crm_lead_report @@ -114,29 +114,29 @@ msgstr "日" #. module: crm #: sql_constraint:crm.case.section:0 msgid "The code of the sales team must be unique !" -msgstr "" +msgstr "営業チームのコードは固有である必要があります。" #. module: crm #: code:addons/crm/crm_lead.py:553 #, python-format msgid "Lead '%s' has been converted to an opportunity." -msgstr "" +msgstr "リード %s は商談に変換されました。" #. module: crm #: code:addons/crm/crm_lead.py:294 #, python-format msgid "The lead '%s' has been closed." -msgstr "" +msgstr "リード %s は閉じられました。" #. module: crm #: view:crm.lead.report:0 msgid "Exp. Closing" -msgstr "" +msgstr "見込完了" #. module: crm #: selection:crm.meeting,rrule_type:0 msgid "Yearly" -msgstr "毎年" +msgstr "年次" #. module: crm #: help:crm.lead.report,creation_day:0 @@ -163,17 +163,17 @@ msgstr "キャンペーン" #. module: crm #: view:crm.lead:0 msgid "Search Opportunities" -msgstr "オポチュニティを検索" +msgstr "商談を検索" #. module: crm #: help:crm.lead.report,deadline_month:0 msgid "Expected closing month" -msgstr "契約月" +msgstr "見込完了月" #. module: crm #: view:crm.lead2opportunity.partner.mass:0 msgid "Assigned Opportunities to" -msgstr "" +msgstr "商談の割当先" #. module: crm #: view:crm.lead:0 field:crm.lead,partner_id:0 view:crm.lead.report:0 @@ -202,30 +202,30 @@ msgstr "主催者" #: view:crm.phonecall:0 #: model:ir.actions.act_window,name:crm.phonecall_to_phonecall_act msgid "Schedule Other Call" -msgstr "" +msgstr "他の電話をスケジュール" #. module: crm #: code:addons/crm/crm_phonecall.py:216 #: model:crm.case.categ,name:crm.categ_meet3 view:crm.phonecall:0 #, python-format msgid "Phone Call" -msgstr "" +msgstr "通話" #. module: crm #: field:crm.lead,optout:0 msgid "Opt-Out" -msgstr "" +msgstr "オプトアウト" #. module: crm #: field:crm.meeting,end_type:0 msgid "Recurrence termination" -msgstr "" +msgstr "定期の終了" #. module: crm #: code:addons/crm/crm_lead.py:323 #, python-format msgid "The opportunity '%s' has been marked as lost." -msgstr "" +msgstr "商談 %s は失注としてマークされています。" #. module: crm #: model:ir.actions.act_window,help:crm.action_report_crm_lead @@ -235,16 +235,18 @@ msgid "" "sort out your leads analysis by different groups to get accurate grained " "analysis." msgstr "" +"リード分析は異なるCRMの関連情報を確認することができます。取り扱いの遅延、与えられた回答の番号、送信されたEメールをチェックします。正確な粒度の分析を得" +"るために、異なったグループによるリード分析を並べ変えることができます。" #. module: crm #: view:crm.lead:0 msgid "Send New Email" -msgstr "新規メールを送信" +msgstr "新規Eメール送信" #. module: crm #: field:crm.segmentation,segmentation_line:0 msgid "Criteria" -msgstr "" +msgstr "基準" #. module: crm #: view:crm.segmentation:0 @@ -254,12 +256,12 @@ msgstr "回答を除く" #. module: crm #: field:crm.case.stage,section_ids:0 msgid "Sections" -msgstr "" +msgstr "セクション" #. module: crm #: view:crm.merge.opportunity:0 msgid "_Merge" -msgstr "" +msgstr "統合" #. module: crm #: view:crm.lead.report:0 @@ -304,12 +306,12 @@ msgstr "日付" msgid "" "If opt-out is checked, this contact has refused to receive emails or " "unsubscribed to a campaign." -msgstr "" +msgstr "オプトアウトをチェックした場合、この連絡先はEメールの受信を拒否するか、またはキャンペーンには未参加となります。" #. module: crm #: model:process.transition,name:crm.process_transition_leadpartner0 msgid "Prospect Partner" -msgstr "" +msgstr "予想パートナ" #. module: crm #: code:addons/crm/crm_lead.py:735 @@ -328,7 +330,7 @@ msgstr "Google アドワーズ 2" #: selection:crm.lead2partner,action:0 #: selection:crm.phonecall2partner,action:0 msgid "Link to an existing partner" -msgstr "" +msgstr "既存パートナにリンク" #. module: crm #: view:crm.lead:0 field:crm.lead,contact_id:0 view:crm.meeting:0 @@ -351,33 +353,33 @@ msgstr "=" #. module: crm #: field:base.action.rule,regex_history:0 msgid "Regular Expression on Case History" -msgstr "" +msgstr "案件の履歴の正規表現" #. module: crm #: code:addons/crm/crm_lead.py:274 #, python-format msgid "The lead '%s' has been opened." -msgstr "" +msgstr "%s のリードが開かれました。" #. module: crm #: model:process.transition,name:crm.process_transition_opportunitymeeting0 msgid "Opportunity Meeting" -msgstr "オポチュニティ ミーティング" +msgstr "商談ミーティング" #. module: crm #: help:crm.lead.report,delay_close:0 help:crm.phonecall.report,delay_close:0 msgid "Number of Days to close the case" -msgstr "" +msgstr "案件を閉じるための日数" #. module: crm #: model:process.node,note:crm.process_node_opportunities0 msgid "When a real project/opportunity is detected" -msgstr "" +msgstr "実プロジェクト / 商談が見つかった時に" #. module: crm #: view:res.partner:0 field:res.partner,opportunity_ids:0 msgid "Leads and Opportunities" -msgstr "リードとオポチュニティ" +msgstr "リードと商談" #. module: crm #: view:crm.lead:0 @@ -410,7 +412,7 @@ msgstr "アクションを選択" msgid "" "This percentage depicts the default/average probability of the Case for this " "stage to be a success" -msgstr "" +msgstr "この割合は、成功のための、この段階の案件のデフォルト/ 平均確率を示します。" #. module: crm #: field:base.action.rule,trg_categ_id:0 view:crm.lead:0 @@ -425,12 +427,12 @@ msgstr "分類" #. module: crm #: view:crm.lead:0 msgid "Opportunity / Customer" -msgstr "オポチュニティ / 顧客" +msgstr "商談 / 顧客" #. module: crm #: view:crm.lead.report:0 msgid "#Opportunities" -msgstr "#オポチュニティ" +msgstr "商談の数" #. module: crm #: view:crm.meeting:0 @@ -447,6 +449,9 @@ msgid "" "Revenue\" and the \"Expected Closing Date.\" You should also have a look at " "the tooltip of the field \"Change Probability Automatically\"." msgstr "" +"ステージは販売員が簡単にどのように特定の商談が販売サイクルの中に位置づけられるのかを追跡できます。効率的に販売パイプラインを管理するために、次のステップに" +"行くための条件を定義することは重要です。例:資格ありとして商談はセットされます。予想売上と予想終了日を設定する必要があります。同じく自動可能性変更の項目の" +"ヒントを見るべきです。" #. module: crm #: view:crm.lead.report:0 @@ -461,29 +466,29 @@ msgstr "イベント場所" #. module: crm #: field:crm.meeting,rrule:0 msgid "Recurrent Rule" -msgstr "" +msgstr "定期ルール" #. module: crm #: model:process.transition,note:crm.process_transition_opportunitymeeting0 msgid "Normal or phone meeting for opportunity" -msgstr "" +msgstr "商談のための通常または電話ミーティング" #. module: crm #: view:crm.case.section:0 msgid "Mail Gateway" -msgstr "" +msgstr "メールゲートウェイ" #. module: crm #: model:process.node,note:crm.process_node_leads0 msgid "Very first contact with new prospect" -msgstr "" +msgstr "新規見込み客との最初の接触" #. module: crm #: view:crm.lead2opportunity.partner:0 view:crm.partner2opportunity:0 #: model:ir.actions.act_window,name:crm.action_view_crm_partner2opportunity #: model:ir.actions.act_window,name:crm.crm_partner2opportunity msgid "Create Opportunity" -msgstr "オポチュニティ作成" +msgstr "商談作成" #. module: crm #: selection:crm.lead.report,creation_month:0 @@ -501,7 +506,7 @@ msgstr "拡大" #. module: crm #: view:crm.lead:0 msgid "Mailings" -msgstr "" +msgstr "郵便物" #. module: crm #: view:crm.phonecall:0 @@ -518,12 +523,12 @@ msgstr "6月" #. module: crm #: selection:crm.segmentation,state:0 msgid "Not Running" -msgstr "" +msgstr "停止中" #. module: crm #: field:crm.lead,email:0 msgid "E-Mail" -msgstr "メール" +msgstr "Eメール" #. module: crm #: view:crm.phonecall:0 @@ -545,7 +550,7 @@ msgstr "回答を含む:" #. module: crm #: help:crm.meeting,email_from:0 help:crm.phonecall,email_from:0 msgid "These people will receive email." -msgstr "" +msgstr "これらの人がEメールを受け取ります。" #. module: crm #: view:crm.meeting:0 field:crm.meeting,name:0 @@ -555,19 +560,19 @@ msgstr "要約" #. module: crm #: view:crm.segmentation:0 msgid "State of Mind Computation" -msgstr "" +msgstr "精神状態の計算" #. module: crm #: view:crm.case.categ:0 msgid "Case Category" -msgstr "ケース分類" +msgstr "案件分類" #. module: crm #: help:crm.segmentation,som_interval_default:0 msgid "" "Default state of mind for period preceeding the 'Max Interval' computation. " "This is the starting state of mind by default if the partner has no event." -msgstr "" +msgstr "最大間隔の計算前の期間のためのデフォルトの精神状態。パートナがイベントを持たない場合、これがデフォルトによる開始時の精神状態です。" #. module: crm #: field:crm.lead,partner_address_name:0 @@ -587,30 +592,30 @@ msgstr "スケジュール / 通話記録" #. module: crm #: constraint:base.action.rule:0 msgid "Error: The mail is not well formated" -msgstr "エラー:メールをフォーマットできませんでした。" +msgstr "エラー:メールが上手くフォーマットされていません。" #. module: crm #: view:crm.segmentation:0 msgid "Profiling Options" -msgstr "" +msgstr "プロファイリングオプション" #. module: crm #: view:crm.phonecall.report:0 msgid "#Phone calls" -msgstr "#通話" +msgstr "通話番号" #. module: crm #: help:crm.segmentation,categ_id:0 msgid "" "The partner category that will be added to partners that match the " "segmentation criterions after computation." -msgstr "" +msgstr "パートナの分類は、計算後に分類基準に一致するパートナに追加されます。" #. module: crm #: code:addons/crm/crm_meeting.py:93 #, python-format msgid "The meeting '%s' has been confirmed." -msgstr "" +msgstr "ミーティング %s は確認されました。" #. module: crm #: selection:crm.add.note,state:0 selection:crm.lead,state:0 @@ -622,7 +627,7 @@ msgstr "進行中" msgid "" "The email address put in the 'Reply-To' of all emails sent by OpenERP about " "cases in this sales team" -msgstr "" +msgstr "Eメールアドレスはこの営業チームの中の案件についてOpenERPにより送信された全てのEメールのReply-Toに置かれます。" #. module: crm #: field:crm.lead.report,creation_month:0 @@ -638,7 +643,7 @@ msgstr "作業時間" #. module: crm #: view:crm.segmentation.line:0 msgid "Partner Segmentation Lines" -msgstr "" +msgstr "パートナ分類行" #. module: crm #: view:crm.lead:0 view:crm.meeting:0 @@ -650,17 +655,17 @@ msgstr "詳細" msgid "" "Defines a rule or repeating pattern of time to exclude from the recurring " "rule." -msgstr "" +msgstr "ルールまたは反復ルールから除外する時間の繰り返しパターンを定義します。" #. module: crm #: view:crm.lead:0 msgid "Leads Form" -msgstr "" +msgstr "リードフォーム" #. module: crm #: view:crm.segmentation:0 model:ir.model,name:crm.model_crm_segmentation msgid "Partner Segmentation" -msgstr "" +msgstr "パートナの分類" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_categ_meet @@ -671,16 +676,19 @@ msgid "" "using the caldav interface.\n" " " msgstr "" +"ミーティングカレンダは営業チーム間で共有され、従業員休暇やビジネス商談のような他のアプリケーションに完全に統合されています。ミーティングはCalDAVイン" +"タフェースを使って、携帯電話と同期させることもできます。\n" +" " #. module: crm #: field:crm.lead2opportunity.partner.mass,user_ids:0 msgid "Salesmans" -msgstr "営業" +msgstr "販売員" #. module: crm #: field:crm.lead.report,probable_revenue:0 msgid "Probable Revenue" -msgstr "" +msgstr "見込売上" #. module: crm #: help:crm.lead.report,creation_month:0 @@ -690,12 +698,12 @@ msgstr "作成月" #. module: crm #: help:crm.segmentation,name:0 msgid "The name of the segmentation." -msgstr "" +msgstr "分類の名前" #. module: crm #: field:crm.case.stage,probability:0 field:crm.lead,probability:0 msgid "Probability (%)" -msgstr "確率 (%)" +msgstr "確率(%)" #. module: crm #: field:crm.lead,company_currency:0 @@ -705,7 +713,7 @@ msgstr "会社の通貨" #. module: crm #: view:crm.lead:0 msgid "Leads Generation" -msgstr "" +msgstr "リード生成" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_section_view_form_installer @@ -716,6 +724,8 @@ msgid "" "opportunities, you can assign the following stage to the team: Territory, " "Qualified, Qualified Sponsors, Proposition, Negociaton, Won/Lost." msgstr "" +"営業組織を構築するために営業チームを定義し、ユーザを各チームに割り当てます。各チームに営業段階を定義する必要があります。例として、あなたが商談を追跡するた" +"めに提案型営業技法を使用する場合、チームに次の段階を割り当てることができます:関心、資格、資格スポンサー、提案、交渉、受注 / 失注。" #. module: crm #: code:addons/crm/crm_lead.py:718 view:crm.lead:0 selection:crm.lead,type:0 @@ -723,32 +733,32 @@ msgstr "" #: field:crm.meeting,opportunity_id:0 #, python-format msgid "Opportunity" -msgstr "" +msgstr "商談" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities created in last month" -msgstr "" +msgstr "先月作成されたリード / 商談" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead7 msgid "Television" -msgstr "" +msgstr "テレビ" #. module: crm #: view:crm.segmentation:0 msgid "Stop Process" -msgstr "" +msgstr "処理の中止" #. module: crm #: view:crm.lead.report:0 view:crm.phonecall.report:0 msgid "Month-1" -msgstr "" +msgstr "月-1" #. module: crm #: view:crm.phonecall:0 msgid "Search Phonecalls" -msgstr "" +msgstr "通話の検索" #. module: crm #: view:crm.lead2partner:0 view:crm.phonecall2partner:0 @@ -758,27 +768,27 @@ msgstr "続行" #. module: crm #: field:crm.segmentation,som_interval:0 msgid "Days per Period" -msgstr "" +msgstr "期間毎の日数" #. module: crm #: field:crm.meeting,byday:0 msgid "By day" -msgstr "" +msgstr "日別" #. module: crm #: field:base.action.rule,act_section_id:0 msgid "Set Team to" -msgstr "" +msgstr "チーム設定先" #. module: crm #: view:calendar.attendee:0 field:calendar.attendee,categ_id:0 msgid "Event Type" -msgstr "" +msgstr "イベントタイプ" #. module: crm #: field:crm.segmentation,exclusif:0 msgid "Exclusive" -msgstr "" +msgstr "排他" #. module: crm #: code:addons/crm/crm_lead.py:832 @@ -786,13 +796,13 @@ msgstr "" msgid "" "You cannot delete lead '%s'; it must be in state 'Draft' to be deleted. You " "should better cancel it, instead of deleting it." -msgstr "" +msgstr "リード %s は削除できません;削除するためにはドラフト状態である必要があります。削除の代わりにキャンセルする必要があります。" #. module: crm #: code:addons/crm/crm_lead.py:451 #, python-format msgid "From %s : %s" -msgstr "%s : %sから" +msgstr "%s から:%s" #. module: crm #: field:crm.lead.report,creation_year:0 @@ -813,17 +823,17 @@ msgstr "" #. module: crm #: view:crm.segmentation:0 msgid "Sales Purchase" -msgstr "" +msgstr "売買" #. module: crm #: help:crm.case.section,resource_calendar_id:0 msgid "Used to compute open days" -msgstr "" +msgstr "開始日数を計算するために使用" #. module: crm #: view:crm.lead:0 msgid "Schedule Meeting" -msgstr "" +msgstr "ミーティングのスケジュール" #. module: crm #: view:crm.case.stage:0 field:crm.case.stage,requirements:0 @@ -835,22 +845,22 @@ msgstr "" msgid "" "This property defines the list of date/time exceptions for a recurring " "calendar component." -msgstr "" +msgstr "このプロパティは定期的なカレンダーコンポーネントのために日付 / 時刻の例外のリストを定義します。" #. module: crm #: view:crm.phonecall2opportunity:0 msgid "Convert To Opportunity " -msgstr "" +msgstr "商談に変換 " #. module: crm #: help:crm.meeting,recurrency:0 msgid "Recurrent Meeting" -msgstr "" +msgstr "定期ミーティング" #. module: crm #: view:crm.phonecall:0 msgid "Unassigned Phonecalls" -msgstr "" +msgstr "未割当の通話" #. module: crm #: view:crm.lead:0 field:crm.lead2opportunity.partner,opportunity_ids:0 @@ -860,18 +870,18 @@ msgstr "" #: model:ir.ui.menu,name:crm.menu_crm_case_opp #: model:process.node,name:crm.process_node_opportunities0 msgid "Opportunities" -msgstr "" +msgstr "商談" #. module: crm #: field:crm.segmentation,categ_id:0 msgid "Partner Category" -msgstr "" +msgstr "パートナ分類" #. module: crm #: view:crm.add.note:0 #: model:ir.actions.act_window,name:crm.action_crm_add_note msgid "Add Note" -msgstr "" +msgstr "メモの追加" #. module: crm #: field:crm.lead,is_supplier_add:0 @@ -881,7 +891,7 @@ msgstr "仕入先" #. module: crm #: view:crm.lead:0 msgid "Mark Won" -msgstr "" +msgstr "受注とマーク" #. module: crm #: selection:crm.segmentation.line,expr_name:0 @@ -891,7 +901,7 @@ msgstr "仕入高" #. module: crm #: view:crm.lead:0 msgid "Mark Lost" -msgstr "" +msgstr "失注とマーク" #. module: crm #: selection:crm.lead.report,creation_month:0 @@ -911,7 +921,7 @@ msgstr "警告" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls made in current year" -msgstr "" +msgstr "今年になされた通話" #. module: crm #: field:crm.lead,day_open:0 @@ -921,12 +931,12 @@ msgstr "開始日" #. module: crm #: view:crm.meeting:0 msgid "Show Time as" -msgstr "" +msgstr "時間として表示" #. module: crm #: view:crm.phonecall2partner:0 msgid "Create Partner" -msgstr "" +msgstr "パートナの作成" #. module: crm #: selection:crm.segmentation.line,expr_operator:0 @@ -941,7 +951,7 @@ msgstr "携帯電話" #. module: crm #: view:crm.lead:0 msgid "Next Stage" -msgstr "次へ" +msgstr "次の段階" #. module: crm #: view:crm.meeting:0 @@ -951,12 +961,12 @@ msgstr "私のミーティング" #. module: crm #: view:crm.phonecall:0 msgid "Todays's Phonecalls" -msgstr "" +msgstr "本日の通話" #. module: crm #: view:board.board:0 msgid "Statistics Dashboard" -msgstr "" +msgstr "統計ダッシュボード" #. module: crm #: field:crm.lead,ref:0 @@ -966,7 +976,7 @@ msgstr "参照" #. module: crm #: field:crm.lead,optin:0 msgid "Opt-In" -msgstr "" +msgstr "オプトイン" #. module: crm #: code:addons/crm/crm_lead.py:814 code:addons/crm/crm_phonecall.py:296 @@ -984,24 +994,24 @@ msgstr "ミーティング" #: field:crm.lead,date_action_next:0 field:crm.lead,title_action:0 #: field:crm.meeting,date_action_next:0 field:crm.phonecall,date_action_next:0 msgid "Next Action" -msgstr "次の作業" +msgstr "次のアクション" #. module: crm #: field:crm.meeting,end_date:0 msgid "Repeat Until" -msgstr "" +msgstr "繰り返し(まで)" #. module: crm #: field:crm.meeting,date_deadline:0 msgid "Deadline" -msgstr "期限" +msgstr "締切" #. module: crm #: help:crm.meeting,active:0 msgid "" "If the active field is set to true, it will allow you to hide the " "event alarm information without removing it." -msgstr "" +msgstr "アクティブ項目をTrueに設定した場合,イベントアラーム情報を削除することなく,非表示にできます。" #. module: crm #: view:crm.lead:0 @@ -1011,7 +1021,7 @@ msgstr "色の変更" #. module: crm #: view:crm.segmentation:0 msgid "Partner Segmentations" -msgstr "" +msgstr "パートナの分類" #. module: crm #: field:crm.meeting,user_id:0 view:crm.phonecall:0 @@ -1022,7 +1032,7 @@ msgstr "担当" #. module: crm #: view:crm.lead.report:0 msgid "Show only opportunity" -msgstr "" +msgstr "商談のみ表示" #. module: crm #: view:res.partner:0 @@ -1032,12 +1042,12 @@ msgstr "前へ" #. module: crm #: view:crm.lead:0 msgid "New Leads" -msgstr "新規見込み客" +msgstr "新規リード" #. module: crm #: view:crm.lead:0 msgid "Statistics" -msgstr "" +msgstr "統計" #. module: crm #: view:crm.meeting:0 @@ -1047,7 +1057,7 @@ msgstr "差出人" #. module: crm #: view:crm.lead2opportunity.partner.mass:0 msgid "Convert into Opportunities" -msgstr "" +msgstr "商談に変換" #. module: crm #: view:crm.lead:0 @@ -1062,17 +1072,17 @@ msgstr "次へ" #. module: crm #: view:crm.lead:0 msgid "Stage:" -msgstr "段階" +msgstr "段階:" #. module: crm #: model:crm.case.stage,name:crm.stage_lead5 view:crm.lead:0 msgid "Won" -msgstr "勝利" +msgstr "受注" #. module: crm #: field:crm.lead.report,delay_expected:0 msgid "Overpassed Deadline" -msgstr "期限を過ぎる。" +msgstr "締切超過" #. module: crm #: model:crm.case.section,name:crm.section_sales_department @@ -1082,7 +1092,7 @@ msgstr "営業部" #. module: crm #: selection:crm.segmentation.line,expr_name:0 msgid "State of Mind" -msgstr "" +msgstr "精神の状態" #. module: crm #: field:crm.lead,type:0 field:crm.lead.report,type:0 @@ -1093,12 +1103,12 @@ msgstr "タイプ" #. module: crm #: view:crm.segmentation:0 msgid "Compute Segmentation" -msgstr "" +msgstr "分類の計算" #. module: crm #: field:crm.case.stage,on_change:0 msgid "Change Probability Automatically" -msgstr "" +msgstr "自動確率変更" #. module: crm #: field:crm.lead,create_date:0 field:crm.meeting,create_date:0 @@ -1115,17 +1125,17 @@ msgstr "私の商談" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor5 msgid "Need a Website Design" -msgstr "" +msgstr "Webサイトデザインが必要" #. module: crm #: view:crm.phonecall.report:0 msgid "Year of call" -msgstr "" +msgstr "通話年" #. module: crm #: field:crm.meeting,recurrent_uid:0 msgid "Recurrent ID" -msgstr "" +msgstr "定期ID" #. module: crm #: view:crm.lead:0 view:crm.meeting:0 view:res.partner:0 @@ -1135,7 +1145,7 @@ msgstr "標題" #. module: crm #: field:crm.meeting,tu:0 msgid "Tue" -msgstr "火曜日" +msgstr "火" #. module: crm #: view:crm.case.stage:0 view:crm.lead:0 field:crm.lead,stage_id:0 @@ -1151,37 +1161,37 @@ msgstr "履歴情報" #. module: crm #: field:base.action.rule,act_mail_to_partner:0 msgid "Mail to Partner" -msgstr "パートナへ送付する。" +msgstr "パートナへ送付" #. module: crm #: view:crm.opportunity2phonecall:0 view:crm.phonecall2phonecall:0 msgid "Call Details" -msgstr "" +msgstr "通話詳細" #. module: crm #: field:crm.meeting,class:0 msgid "Mark as" -msgstr "" +msgstr "マーク" #. module: crm #: view:crm.opportunity2phonecall:0 view:crm.phonecall2phonecall:0 msgid "Log call" -msgstr "通話記録" +msgstr "通話ログ" #. module: crm #: help:crm.meeting,rrule_type:0 msgid "Let the event automatically repeat at that interval" -msgstr "" +msgstr "イベントをその間隔で自動的に繰り返します。" #. module: crm #: view:base.action.rule:0 msgid "Condition Case Fields" -msgstr "" +msgstr "案件項目の状態" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls which are in pending state" -msgstr "" +msgstr "保留中状態の通話" #. module: crm #: view:crm.case.section:0 field:crm.case.section,stage_ids:0 @@ -1197,14 +1207,14 @@ msgstr "段階" #: field:crm.partner2opportunity,planned_revenue:0 #: field:crm.phonecall2opportunity,planned_revenue:0 msgid "Expected Revenue" -msgstr "" +msgstr "見込売上" #. module: crm #: model:ir.actions.act_window,help:crm.crm_phonecall_categ_action msgid "" "Create specific phone call categories to better define the type of calls " "tracked in the system." -msgstr "" +msgstr "システム内の通話追跡をより良くするタイプの定義として、特定の通話分類を作成します。" #. module: crm #: selection:crm.lead.report,creation_month:0 @@ -1216,14 +1226,14 @@ msgstr "9月" #. module: crm #: field:crm.segmentation,partner_id:0 msgid "Max Partner ID processed" -msgstr "" +msgstr "パートナIDが処理される最大" #. module: crm #: help:crm.case.stage,on_change:0 msgid "" "Setting this stage will change the probability automatically on the " "opportunity." -msgstr "" +msgstr "この段階の設定は商談により自動的に確率が変更されます。" #. module: crm #: model:ir.actions.act_window,name:crm.action_report_crm_phonecall @@ -1235,17 +1245,17 @@ msgstr "通話分析" #: field:crm.lead.report,opening_date:0 #: field:crm.phonecall.report,opening_date:0 msgid "Opening Date" -msgstr "" +msgstr "開始日" #. module: crm #: help:crm.phonecall,duration:0 msgid "Duration in Minutes" -msgstr "" +msgstr "分による期間" #. module: crm #: field:crm.case.channel,name:0 msgid "Channel Name" -msgstr "" +msgstr "チャネル名" #. module: crm #: field:crm.partner2opportunity,name:0 field:crm.phonecall2opportunity,name:0 @@ -1255,7 +1265,7 @@ msgstr "商談名" #. module: crm #: help:crm.lead.report,deadline_day:0 msgid "Expected closing day" -msgstr "受注見込日" +msgstr "見込完了日" #. module: crm #: help:crm.case.section,active:0 @@ -1274,12 +1284,12 @@ msgstr "番地" msgid "" "If you check this field, this stage will be proposed by default on each " "sales team. It will not assign this stage to existing teams." -msgstr "" +msgstr "この項目をチェックした場合、この段階が各営業チームにデフォルトで提案されます。既存のチームにはこの段階を割り当てることはありません。" #. module: crm #: field:crm.meeting,fr:0 msgid "Fri" -msgstr "金曜日" +msgstr "金" #. module: crm #: model:ir.model,name:crm.model_crm_lead @@ -1294,24 +1304,24 @@ msgstr "記入日" #. module: crm #: view:crm.meeting:0 msgid "End of Recurrency" -msgstr "" +msgstr "定期の終了" #. module: crm #: view:crm.meeting:0 msgid "Reminder" -msgstr "リマインダー" +msgstr "通知" #. module: crm #: help:crm.segmentation,sales_purchase_active:0 msgid "" "Check if you want to use this tab as part of the segmentation rule. If not " "checked, the criteria beneath will be ignored" -msgstr "" +msgstr "分類ルールの部分としてのこのタブを使うことを望む場合はチェックします。チェックしない場合、以下の基準は無視されます。" #. module: crm #: help:crm.meeting,alarm_id:0 msgid "Set an alarm at this time, before the event occurs" -msgstr "" +msgstr "イベントが発生する前に今回アラームを設定します。" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_categ_phone_create_partner @@ -1329,7 +1339,7 @@ msgstr "パートナを作成" #. module: crm #: field:crm.segmentation,state:0 msgid "Execution Status" -msgstr "" +msgstr "実行ステータス" #. module: crm #: help:crm.phonecall,state:0 @@ -1342,6 +1352,10 @@ msgid "" " \n" "If the call needs to be done then the state is set to 'Not Held'." msgstr "" +"案件が作成された時に、状態はToDoにセットされます。\n" +"案件が進行中の時に、状態は開くにセットされます。\n" +"通話が終了した時に、状態は保留にセットされます。\n" +"通話が行われる必要がある場合は、状態は未保留にセットされます。" #. module: crm #: selection:crm.meeting,week_list:0 @@ -1351,7 +1365,7 @@ msgstr "月曜日" #. module: crm #: field:crm.lead,day_close:0 msgid "Days to Close" -msgstr "契約日" +msgstr "終了日" #. module: crm #: field:crm.case.section,complete_name:0 @@ -1362,12 +1376,12 @@ msgstr "不明" #: code:addons/crm/crm_lead.py:296 #, python-format msgid "The case '%s' has been closed." -msgstr "" +msgstr "案件は %s は閉じられました。" #. module: crm #: model:ir.model,name:crm.model_crm_partner2opportunity msgid "Partner To Opportunity" -msgstr "" +msgstr "パートナから商談へ" #. module: crm #: field:crm.meeting,date:0 field:crm.opportunity2phonecall,date:0 @@ -1379,12 +1393,12 @@ msgstr "日付" #. module: crm #: view:crm.lead.report:0 view:crm.phonecall.report:0 msgid "Extended Filters..." -msgstr "" +msgstr "拡張フィルタ…" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls which are in closed state" -msgstr "" +msgstr "閉じた状態の通話" #. module: crm #: view:crm.phonecall.report:0 @@ -1394,12 +1408,12 @@ msgstr "検索" #. module: crm #: view:board.board:0 msgid "Opportunities by Categories" -msgstr "商談" +msgstr "分類別商談" #. module: crm #: model:crm.case.section,name:crm.section_sales_marketing_department msgid "Sales Marketing Department" -msgstr "" +msgstr "営業マーケティング部" #. module: crm #: view:crm.phonecall.report:0 @@ -1410,34 +1424,34 @@ msgstr "通話日" #: help:crm.lead,section_id:0 msgid "" "When sending mails, the default email address is taken from the sales team." -msgstr "" +msgstr "メールを送信する時、デフォルトEメールアドレスは営業チームのものが使われます。" #. module: crm #: view:crm.meeting:0 msgid "Choose day in the month where repeat the meeting" -msgstr "" +msgstr "ミーティングを定期的に行う場合は月の日を選択します。" #. module: crm #: view:crm.segmentation:0 msgid "Segmentation Description" -msgstr "" +msgstr "分類の説明" #. module: crm #: view:crm.phonecall:0 #: model:ir.actions.act_window,name:crm.crm_case_categ_meet_create_partner msgid "Schedule a Meeting" -msgstr "ミーティング予定" +msgstr "ミーティングのスケジュール" #. module: crm #: code:addons/crm/crm_lead.py:431 #, python-format msgid "Merged opportunities" -msgstr "" +msgstr "統合された商談" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_section_view_form_installer msgid "Define Sales Team" -msgstr "" +msgstr "営業チームの定義" #. module: crm #: model:ir.actions.act_window,help:crm.crm_segmentation_tree-act @@ -1446,31 +1460,33 @@ msgid "" "better manage your interactions with them. The segmentation tool is able to " "assign categories to partners according to criteria you set." msgstr "" +"パートナとの間のより良い相互作用を管理するために、特別のパートナ分類の作成をして、それをパートナに割り当てることができます。分類ツールはあなたが設定した基" +"準にしたがってパートナに分類を割り当てることができます。" #. module: crm #: field:crm.case.section,code:0 msgid "Code" -msgstr "" +msgstr "コード" #. module: crm #: field:crm.case.section,child_ids:0 msgid "Child Teams" -msgstr "" +msgstr "子のチーム" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls which are in draft and open state" -msgstr "" +msgstr "ドラフトで開いた状態の通話" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead1 msgid "Telesales" -msgstr "" +msgstr "電話セールス" #. module: crm #: view:crm.lead:0 msgid "References" -msgstr "" +msgstr "参照" #. module: crm #: code:addons/crm/crm.py:441 view:crm.lead:0 @@ -1480,7 +1496,7 @@ msgstr "" #: view:crm.phonecall2partner:0 view:res.partner:0 #, python-format msgid "Cancel" -msgstr "" +msgstr "キャンセル" #. module: crm #: model:ir.model,name:crm.model_res_users @@ -1490,91 +1506,91 @@ msgstr "" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities which are in pending state" -msgstr "" +msgstr "リード / 商談は保留中状態です。" #. module: crm #: model:ir.model,name:crm.model_crm_merge_opportunity msgid "Merge two Opportunities" -msgstr "" +msgstr "2つの商談を統合" #. module: crm #: field:crm.meeting,exrule:0 msgid "Exception Rule" -msgstr "" +msgstr "例外ルール" #. module: crm #: help:base.action.rule,act_mail_to_partner:0 msgid "Check this if you want the rule to send an email to the partner." -msgstr "" +msgstr "パートナにEメールを送信するルールを望む場合は、これをチェックします。" #. module: crm #: field:crm.phonecall,opportunity_id:0 msgid "Lead/Opportunity" -msgstr "" +msgstr "リード / 商談" #. module: crm #: view:crm.lead:0 msgid "Mail" -msgstr "" +msgstr "手紙" #. module: crm #: model:ir.actions.act_window,name:crm.crm_phonecall_categ_action msgid "Phonecall Categories" -msgstr "" +msgstr "通話分類" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities which are in open state" -msgstr "" +msgstr "リード / 商談は開いています。" #. module: crm #: model:ir.actions.act_window,name:crm.act_oppor_categ msgid "Opportunities By Categories" -msgstr "" +msgstr "分類別商談" #. module: crm #: help:crm.lead,partner_name:0 msgid "" "The name of the future partner that will be created while converting the " "lead into opportunity" -msgstr "" +msgstr "将来のパートナの名前はリードから商談に変換する間に作成されます。" #. module: crm #: constraint:crm.case.section:0 msgid "Error ! You cannot create recursive Sales team." -msgstr "" +msgstr "エラー。再帰的な関係の営業チームは作成できません。" #. module: crm #: selection:crm.opportunity2phonecall,action:0 #: selection:crm.phonecall2phonecall,action:0 msgid "Log a call" -msgstr "" +msgstr "通話のログ" #. module: crm #: selection:crm.lead2opportunity.partner,action:0 #: selection:crm.lead2opportunity.partner.mass,action:0 msgid "Do not link to a partner" -msgstr "" +msgstr "パートナとリンクしない" #. module: crm #: view:crm.meeting:0 msgid "Search Meetings" -msgstr "" +msgstr "ミーティングの検索" #. module: crm #: selection:crm.segmentation.line,expr_name:0 msgid "Sale Amount" -msgstr "" +msgstr "販売金額" #. module: crm #: view:crm.meeting:0 msgid "Choose day where repeat the meeting" -msgstr "" +msgstr "定例ミーティングの日を選択します。" #. module: crm #: selection:crm.meeting,state:0 msgid "Unconfirmed" -msgstr "" +msgstr "未確定" #. module: crm #: model:ir.actions.act_window,help:crm.action_report_crm_opportunity @@ -1585,17 +1601,19 @@ msgid "" "mainly used by the sales manager in order to do the periodic review with the " "teams of the sales pipeline." msgstr "" +"商談分析は予想売上高、計画コスト、締切超過、または商談毎の相互作用の数といった情報とともに、即座にあなたの商談にアクセスすることができます。このレポートは" +"営業パイプラインのチームと周期的なレビューを行うために営業マネジャにより主に使用されます。" #. module: crm #: field:crm.case.categ,name:0 field:crm.lead,name:0 #: field:crm.segmentation,name:0 msgid "Name" -msgstr "" +msgstr "名称" #. module: crm #: field:crm.meeting,alarm_id:0 field:crm.meeting,base_calendar_alarm_id:0 msgid "Alarm" -msgstr "" +msgstr "アラーム" #. module: crm #: model:ir.actions.act_window,help:crm.crm_lead_stage_act @@ -1604,53 +1622,55 @@ msgid "" "organise their sales pipeline. Stages will allow them to easily track how a " "specific lead or opportunity is positioned in the sales cycle." msgstr "" +"リードと商談に特定の段階を追加することは、営業のために営業パイプラインのより良い組織化を実現します。段階は営業サイクルの中にどのように特定のリードと商談を" +"配置されるのかを簡単に追跡することができます。" #. module: crm #: model:ir.actions.act_window,name:crm.action_crm_send_mass_convert msgid "Convert opportunities" -msgstr "" +msgstr "商談の変換" #. module: crm #: view:crm.lead.report:0 view:crm.phonecall.report:0 msgid "My Case(s)" -msgstr "" +msgstr "私の案件" #. module: crm #: field:crm.lead,birthdate:0 msgid "Birthdate" -msgstr "" +msgstr "生年月日" #. module: crm #: view:crm.meeting:0 msgid "The" -msgstr "" +msgstr "・" #. module: crm #: view:crm.lead:0 view:crm.phonecall:0 msgid "Creation" -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 "High" -msgstr "" +msgstr "高い" #. module: crm #: model:process.node,note:crm.process_node_partner0 msgid "Convert to prospect to business partner" -msgstr "" +msgstr "ビジネスパートナとして見込み客に変換" #. module: crm #: view:crm.meeting:0 msgid "Meeting / Partner" -msgstr "" +msgstr "ミーティング / パートナ" #. module: crm #: view:crm.phonecall2opportunity:0 msgid "_Convert" -msgstr "" +msgstr "変換" #. module: crm #: model:ir.actions.act_window,help:crm.action_view_attendee_form @@ -1659,198 +1679,200 @@ msgid "" "sent/to be sent to your colleagues/partners. You can not only invite OpenERP " "users, but also external parties, such as a customer." msgstr "" +"ミーティング招待は同僚やパートナにミーティングの招待を送信する / " +"されるための作成と管理ができます。OpenERPユーザのみならず、顧客といった外部の関係者を招待することができます。" #. module: crm #: selection:crm.meeting,week_list:0 msgid "Saturday" -msgstr "" +msgstr "土曜" #. module: crm #: selection:crm.meeting,byday:0 msgid "Fifth" -msgstr "" +msgstr "第5" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities which are in done state" -msgstr "" +msgstr "リード / 商談は完了状態です。" #. module: crm #: field:crm.lead.report,delay_close:0 msgid "Delay to Close" -msgstr "" +msgstr "締めを延期する" #. module: crm #: field:crm.meeting,we:0 msgid "Wed" -msgstr "" +msgstr "水" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor6 msgid "Potential Reseller" -msgstr "" +msgstr "リセラーの候補" #. module: crm #: help:crm.case.section,change_responsible:0 msgid "" "When escalating to this team override the saleman with the team leader." -msgstr "" +msgstr "このチームに拡大する時、チームリーダとともに販売員を置き換えます。" #. module: crm #: field:crm.lead.report,planned_revenue:0 msgid "Planned Revenue" -msgstr "" +msgstr "計画売上高" #. module: crm #: view:crm.lead:0 view:crm.lead.report:0 view:crm.phonecall:0 #: view:crm.phonecall.report:0 msgid "Group By..." -msgstr "" +msgstr "グループ化…" #. module: crm #: help:crm.lead,partner_id:0 msgid "Optional linked partner, usually after conversion of the lead" -msgstr "" +msgstr "通常はリードの変換後のオプションのリンクされたパートナ" #. module: crm #: view:crm.meeting:0 msgid "Invitation details" -msgstr "" +msgstr "招待詳細" #. module: crm #: field:crm.case.section,parent_id:0 msgid "Parent Team" -msgstr "" +msgstr "親チーム" #. module: crm #: field:crm.lead,date_action:0 msgid "Next Action Date" -msgstr "" +msgstr "次のアクションの日付" #. module: crm #: selection:crm.segmentation,state:0 msgid "Running" -msgstr "" +msgstr "実行中" #. module: crm #: field:crm.lead,zip:0 msgid "Zip" -msgstr "" +msgstr "郵便番号" #. module: crm #: code:addons/crm/crm_lead.py:278 #, python-format msgid "The case '%s' has been opened." -msgstr "" +msgstr "案件 %s は開いています。" #. module: crm #: model:crm.case.categ,name:crm.categ_phone1 msgid "Inbound" -msgstr "" +msgstr "受信" #. module: crm #: view:crm.phonecall.report:0 msgid "Month of call" -msgstr "" +msgstr "通話の月" #. module: crm #: view:crm.phonecall.report:0 #: model:ir.actions.act_window,name:crm.act_crm_opportunity_crm_phonecall_new msgid "Phone calls" -msgstr "" +msgstr "通話" #. module: crm #: selection:crm.meeting,show_as:0 msgid "Free" -msgstr "" +msgstr "空き" #. module: crm #: field:crm.case.section,allow_unlink:0 msgid "Allow Delete" -msgstr "" +msgstr "削除を許可" #. module: crm #: field:crm.meeting,mo:0 msgid "Mon" -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 "Highest" -msgstr "" +msgstr "最高" #. module: crm #: help:crm.lead.report,creation_year:0 msgid "Creation year" -msgstr "" +msgstr "作成年" #. module: crm #: view:crm.case.section:0 view:crm.lead:0 field:crm.lead,description:0 #: view:crm.opportunity2phonecall:0 msgid "Notes" -msgstr "" +msgstr "注記" #. module: crm #: field:crm.segmentation.line,expr_value:0 msgid "Value" -msgstr "" +msgstr "値" #. module: crm #: help:crm.lead,type:0 help:crm.lead.report,type:0 msgid "Type is used to separate Leads and Opportunities" -msgstr "" +msgstr "リードと商談を区別するためにタイプを使います。" #. module: crm #: view:crm.lead:0 view:crm.lead.report:0 msgid "Opportunity by Categories" -msgstr "" +msgstr "分類別商談" #. module: crm #: view:crm.lead:0 field:crm.lead,partner_name:0 msgid "Customer Name" -msgstr "" +msgstr "顧客名" #. module: crm #: model:ir.model,name:crm.model_crm_phonecall2opportunity msgid "Phonecall To Opportunity" -msgstr "" +msgstr "通話から商談へ" #. module: crm #: field:crm.case.section,reply_to:0 msgid "Reply-To" -msgstr "" +msgstr "返信先" #. module: crm #: view:crm.case.section:0 msgid "Select Stages for this Sales Team" -msgstr "" +msgstr "この営業チームの段階を選択" #. module: crm #: view:board.board:0 msgid "Opportunities by Stage" -msgstr "" +msgstr "段階別の商談" #. module: crm #: view:crm.meeting:0 msgid "Recurrency Option" -msgstr "" +msgstr "定期のオプション" #. module: crm #: view:crm.lead:0 msgid "Lead / Customer" -msgstr "" +msgstr "リード / 顧客" #. module: crm #: model:process.transition,note:crm.process_transition_leadpartner0 msgid "Prospect is converting to business partner" -msgstr "" +msgstr "見込みはビジネスパートナに変換されています。" #. module: crm #: model:ir.actions.act_window,name:crm.phonecall2opportunity_act msgid "Convert To Opportunity" -msgstr "" +msgstr "商談に変換" #. module: crm #: view:crm.case.channel:0 @@ -1858,31 +1880,31 @@ msgstr "" #: model:ir.model,name:crm.model_crm_case_channel #: model:ir.ui.menu,name:crm.menu_crm_case_channel msgid "Channels" -msgstr "" +msgstr "チャネル" #. module: crm #: view:crm.phonecall:0 selection:crm.phonecall,state:0 #: view:crm.phonecall.report:0 selection:crm.phonecall.report,state:0 #: view:res.partner:0 msgid "Held" -msgstr "" +msgstr "保留" #. module: crm #: view:crm.lead:0 msgid "Reset to Draft" -msgstr "" +msgstr "ドラフトに再設定" #. module: crm #: view:crm.lead:0 msgid "Extra Info" -msgstr "" +msgstr "追加情報" #. module: crm #: view:crm.merge.opportunity:0 #: model:ir.actions.act_window,name:crm.action_merge_opportunities #: model:ir.actions.act_window,name:crm.merge_opportunity_act msgid "Merge Opportunities" -msgstr "" +msgstr "商談の統合" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead5 @@ -1897,115 +1919,115 @@ msgstr "" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead3 msgid "Mail Campaign 2" -msgstr "" +msgstr "メールキャンペーン2" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead2 msgid "Mail Campaign 1" -msgstr "" +msgstr "メールキャンペーン1" #. module: crm #: view:crm.lead:0 msgid "Create" -msgstr "" +msgstr "作成" #. module: crm #: code:addons/crm/crm_lead.py:849 #, python-format msgid "Changed Stage to: %s" -msgstr "" +msgstr "段階を変更: %s" #. module: crm #: view:crm.lead:0 field:crm.lead,priority:0 view:crm.lead.report:0 #: field:crm.lead.report,priority:0 field:crm.phonecall,priority:0 #: view:crm.phonecall.report:0 field:crm.phonecall.report,priority:0 msgid "Priority" -msgstr "" +msgstr "優先度" #. module: crm #: field:crm.segmentation,sales_purchase_active:0 msgid "Use The Sales Purchase Rules" -msgstr "" +msgstr "売買ルールを使用" #. module: crm #: model:ir.model,name:crm.model_crm_lead2opportunity_partner msgid "Lead To Opportunity Partner" -msgstr "" +msgstr "リードからパートナの商談へ" #. module: crm #: field:crm.lead,location_id:0 field:crm.meeting,location:0 msgid "Location" -msgstr "" +msgstr "場所" #. module: crm #: model:ir.model,name:crm.model_crm_lead2opportunity_partner_mass msgid "Mass Lead To Opportunity Partner" -msgstr "" +msgstr "大量のリードからパートナの商談へ" #. module: crm #: view:crm.lead:0 msgid "Reply" -msgstr "" +msgstr "返信" #. module: crm #: model:process.node,note:crm.process_node_meeting0 msgid "Schedule a normal or phone meeting" -msgstr "" +msgstr "通常または電話ミーティングのスケジュール" #. module: crm #: code:addons/crm/crm.py:430 #, python-format msgid "Error !" -msgstr "" +msgstr "エラー" #. module: crm #: model:ir.actions.act_window,help:crm.crm_meeting_categ_action msgid "" "Create different meeting categories to better organize and classify your " "meetings." -msgstr "" +msgstr "ミーティングをより良く構成したり分類するための異なるミーティング分類を作成します。" #. module: crm #: model:ir.model,name:crm.model_crm_segmentation_line msgid "Segmentation line" -msgstr "" +msgstr "分類行" #. module: crm #: view:crm.opportunity2phonecall:0 view:crm.phonecall2phonecall:0 msgid "Planned Date" -msgstr "" +msgstr "予定日" #. module: crm #: field:crm.meeting,base_calendar_url:0 msgid "Caldav URL" -msgstr "" +msgstr "CalDAVのURL" #. module: crm #: view:crm.lead:0 msgid "Expected Revenues" -msgstr "" +msgstr "見込売上" #. module: crm #: field:crm.lead,contact_name:0 msgid "Contact Name" -msgstr "" +msgstr "連絡先名" #. module: crm #: view:crm.lead:0 msgid "Leads creating during last 7 days" -msgstr "" +msgstr "過去7日間で作成されたリード" #. module: crm #: view:crm.phonecall2partner:0 msgid "Are you sure you want to create a partner based on this Phonecall ?" -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 "July" -msgstr "" +msgstr "7月" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_section_act @@ -2016,72 +2038,74 @@ msgid "" "The opportunities and sales order displayed, will automatically be filtered " "according to his team." msgstr "" +"独立したチームに異なる販売員や営業部門を組織化するための営業チームを定義します。各チームは独自の商談、受注オーダーなどのリストにより活動します。各ユーザは" +"そのユーザ設定の中にデフォルトのチームを設定することができます。表示された商談と受注オーダーはそのチームにしたがって自動的にフィルタされます。" #. module: crm #: view:crm.lead.report:0 msgid "Show only lead" -msgstr "" +msgstr "リードのみ表示" #. module: crm #: help:crm.meeting,count:0 msgid "Repeat x times" -msgstr "" +msgstr "x回繰り返し" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_section_act #: model:ir.model,name:crm.model_crm_case_section #: model:ir.ui.menu,name:crm.menu_crm_case_section_act msgid "Sales Teams" -msgstr "" +msgstr "営業チーム" #. module: crm #: model:ir.model,name:crm.model_crm_lead2partner msgid "Lead to Partner" -msgstr "" +msgstr "リードからパートナへ" #. module: crm #: view:crm.segmentation:0 field:crm.segmentation.line,segmentation_id:0 #: model:ir.actions.act_window,name:crm.crm_segmentation-act msgid "Segmentation" -msgstr "" +msgstr "分類" #. module: crm #: view:crm.lead:0 msgid "Team" -msgstr "" +msgstr "チーム" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities which are in New state" -msgstr "" +msgstr "新規状態にあるリード / 商談" #. module: crm #: view:crm.phonecall:0 selection:crm.phonecall,state:0 #: view:crm.phonecall.report:0 view:res.partner:0 msgid "Not Held" -msgstr "" +msgstr "未保留" #. module: crm #: field:crm.lead.report,probability:0 msgid "Probability" -msgstr "" +msgstr "確信度" #. module: crm #: view:crm.lead:0 msgid "Pending Opportunities" -msgstr "" +msgstr "保留中商談" #. module: crm #: code:addons/crm/crm_lead.py:491 #, python-format msgid "Please select more than one opportunity from the list view." -msgstr "" +msgstr "リストビューから1つ以上の商談を選択して下さい。" #. module: crm #: view:crm.lead.report:0 field:crm.meeting,month_list:0 #: view:crm.phonecall.report:0 field:crm.phonecall.report,month:0 msgid "Month" -msgstr "" +msgstr "月" #. module: crm #: view:crm.lead:0 @@ -2089,7 +2113,7 @@ msgstr "" #: model:ir.ui.menu,name:crm.menu_crm_case_categ0_act_leads #: model:process.node,name:crm.process_node_leads0 msgid "Leads" -msgstr "" +msgstr "リード" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_category_act_leads_all @@ -2104,6 +2128,10 @@ msgid "" "email gateway: new emails may create leads, each of them automatically gets " "the history of the conversation with the prospect." msgstr "" +"リードは製品やサービスに興味を見せる見込み客やパートナに対して全ての初期接触の管理と追跡を続けることを許します。リードは通常、営業サイクルの最初のステップ" +"です。一度、資格を認められると、リードはビジネスの商談に変換することができます。と同時に、全てのリンクする活動をそれ以上詳細の追跡のために、関連するパート" +"ナを作成します。見込みのデータベースのインポート、名刺の継続追跡、またはIpenERPリードとあなたのWebサイトの連絡先フォームの統合ができます。リード" +"はEメールゲートウェイとの接続も可能です:新規Eメールはリードを作成し、それらの各々は自動的に見込みとともに会話の履歴を取得します。" #. module: crm #: selection:crm.lead2opportunity.partner,action:0 @@ -2111,60 +2139,60 @@ msgstr "" #: selection:crm.lead2partner,action:0 #: selection:crm.phonecall2partner,action:0 msgid "Create a new partner" -msgstr "" +msgstr "新規パートナの作成" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_categ_phone_outgoing0 #: model:ir.ui.menu,name:crm.menu_crm_case_phone_outbound msgid "Scheduled Calls" -msgstr "" +msgstr "予定された電話" #. module: crm #: view:crm.meeting:0 view:res.partner:0 msgid "Start Date" -msgstr "" +msgstr "開始日" #. module: crm #: view:crm.phonecall:0 msgid "Scheduled Phonecalls" -msgstr "" +msgstr "スケジュール済通話" #. module: crm #: view:crm.meeting:0 msgid "Decline" -msgstr "" +msgstr "拒否" #. module: crm #: field:crm.lead,user_email:0 msgid "User Email" -msgstr "" +msgstr "ユーザのEメール" #. module: crm #: help:crm.lead,optin:0 msgid "If opt-in is checked, this contact has accepted to receive emails." -msgstr "" +msgstr "オプトインをチェックした場合、この連絡先はEメールの受信を許諾します。" #. module: crm #: view:crm.meeting:0 msgid "Reset to Unconfirmed" -msgstr "" +msgstr "未確認にリセット" #. module: crm #: field:crm.opportunity2phonecall,note:0 field:crm.phonecall2phonecall,note:0 msgid "Note" -msgstr "" +msgstr "注記" #. module: crm #: constraint:res.users:0 msgid "The chosen company is not in the allowed companies for this user" -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 "Low" -msgstr "" +msgstr "低い" #. module: crm #: selection:crm.add.note,state:0 field:crm.lead,date_closed:0 @@ -2172,22 +2200,22 @@ msgstr "" #: selection:crm.lead.report,state:0 field:crm.meeting,date_closed:0 #: field:crm.phonecall,date_closed:0 msgid "Closed" -msgstr "" +msgstr "閉じた" #. module: crm #: view:crm.lead:0 msgid "Total of Planned Revenue" -msgstr "" +msgstr "計画売上高合計" #. module: crm #: view:crm.lead:0 msgid "Open Opportunities" -msgstr "" +msgstr "商談を開く" #. module: crm #: model:crm.case.categ,name:crm.categ_meet2 msgid "Internal Meeting" -msgstr "" +msgstr "内部ミーティング" #. module: crm #: code:addons/crm/crm.py:454 selection:crm.add.note,state:0 view:crm.lead:0 @@ -2195,17 +2223,17 @@ msgstr "" #: selection:crm.lead.report,state:0 selection:crm.phonecall.report,state:0 #, python-format msgid "Pending" -msgstr "" +msgstr "保留中" #. module: crm #: model:crm.case.categ,name:crm.categ_meet1 msgid "Customer Meeting" -msgstr "" +msgstr "顧客ミーティング" #. module: crm #: field:crm.lead,email_cc:0 msgid "Global CC" -msgstr "" +msgstr "グローバルCC" #. module: crm #: view:crm.phonecall:0 @@ -2213,46 +2241,46 @@ msgstr "" #: model:ir.ui.menu,name:crm.menu_crm_case_phone #: model:ir.ui.menu,name:crm.menu_crm_config_phonecall view:res.partner:0 msgid "Phone Calls" -msgstr "" +msgstr "通話" #. module: crm #: view:crm.case.stage:0 msgid "Stage Search" -msgstr "" +msgstr "段階の検索" #. module: crm #: help:crm.lead.report,delay_open:0 help:crm.phonecall.report,delay_open:0 msgid "Number of Days to open the case" -msgstr "" +msgstr "当件を開くまでの日数" #. module: crm #: selection:crm.meeting,end_type:0 msgid "Number of repetitions" -msgstr "" +msgstr "繰り返し数" #. module: crm #: field:crm.lead,phone:0 field:crm.opportunity2phonecall,phone:0 #: field:crm.phonecall,partner_phone:0 field:crm.phonecall2phonecall,phone:0 msgid "Phone" -msgstr "" +msgstr "電話" #. module: crm #: field:crm.case.channel,active:0 field:crm.case.section,active:0 #: field:crm.lead,active:0 field:crm.meeting,active:0 #: field:crm.phonecall,active:0 msgid "Active" -msgstr "" +msgstr "アクティブ" #. module: crm #: code:addons/crm/crm_lead.py:856 #, python-format msgid "The stage of opportunity '%s' has been changed to '%s'." -msgstr "" +msgstr "商談 %s の段階は %s に変更されました。" #. module: crm #: selection:crm.segmentation.line,operator:0 msgid "Mandatory Expression" -msgstr "" +msgstr "必須の表現" #. module: crm #: selection:crm.segmentation.line,expr_operator:0 @@ -2262,23 +2290,23 @@ msgstr "" #. module: crm #: view:crm.opportunity2phonecall:0 view:crm.phonecall2phonecall:0 msgid "Schedule Call" -msgstr "" +msgstr "電話のスケジュール" #. module: crm #: view:crm.meeting:0 msgid "Uncertain" -msgstr "" +msgstr "不確実" #. module: crm #: help:crm.case.stage,sequence:0 msgid "Used to order stages." -msgstr "" +msgstr "オーダー段階で使用されます。" #. module: crm #: code:addons/crm/crm_lead.py:276 #, python-format msgid "The opportunity '%s' has been opened." -msgstr "" +msgstr "商談 %s は開かれました。" #. module: crm #: field:crm.lead2opportunity.partner,action:0 @@ -2286,44 +2314,44 @@ msgstr "" #: field:crm.lead2partner,action:0 field:crm.opportunity2phonecall,action:0 #: field:crm.phonecall2partner,action:0 field:crm.phonecall2phonecall,action:0 msgid "Action" -msgstr "" +msgstr "アクション" #. module: crm #: field:crm.segmentation,som_interval_decrease:0 msgid "Decrease (0>1)" -msgstr "" +msgstr "減少(0>1)" #. module: crm #: field:crm.lead.report,deadline_day:0 msgid "Exp. Closing Day" -msgstr "" +msgstr "見込完了日" #. module: crm #: field:crm.case.section,change_responsible:0 msgid "Reassign Escalated" -msgstr "" +msgstr "拡大の再割当" #. module: crm #: selection:crm.meeting,rrule_type:0 msgid "Weekly" -msgstr "" +msgstr "週次" #. module: crm #: view:crm.lead.report:0 #: model:ir.actions.act_window,name:crm.action_report_crm_opportunity #: model:ir.ui.menu,name:crm.menu_report_crm_opportunities_tree msgid "Opportunities Analysis" -msgstr "" +msgstr "商談分析" #. module: crm #: view:crm.lead:0 msgid "Misc" -msgstr "" +msgstr "その他" #. module: crm #: model:ir.actions.act_window,name:crm.open_board_crm msgid "Sales" -msgstr "" +msgstr "受注" #. module: crm #: code:addons/crm/crm.py:430 @@ -2331,74 +2359,74 @@ msgstr "" msgid "" "You can not escalate, you are already at the top level regarding your sales-" "team category." -msgstr "" +msgstr "あなたは拡大できません。既にあなたの営業チームの分類は最高位にあります。" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor8 view:crm.meeting:0 msgid "Other" -msgstr "" +msgstr "その他" #. module: crm #: view:crm.meeting:0 selection:crm.meeting,state:0 msgid "Done" -msgstr "" +msgstr "完了" #. module: crm #: help:crm.meeting,interval:0 msgid "Repeat every (Days/Week/Month/Year)" -msgstr "" +msgstr "反復間隔(日 / 週 / 月 / 年)" #. module: crm #: field:crm.segmentation,som_interval_max:0 msgid "Max Interval" -msgstr "" +msgstr "最大間隔" #. module: crm #: code:addons/crm/crm.py:396 view:crm.lead:0 view:crm.lead.report:0 #: selection:crm.lead.report,state:0 view:res.partner:0 #, python-format msgid "Open" -msgstr "" +msgstr "開く" #. module: crm #: field:crm.lead,city:0 msgid "City" -msgstr "" +msgstr "市" #. module: crm #: view:crm.lead:0 view:res.partner:0 msgid "History" -msgstr "" +msgstr "履歴" #. module: crm #: selection:crm.meeting,show_as:0 msgid "Busy" -msgstr "" +msgstr "割当済" #. module: crm #: field:crm.lead.report,creation_day:0 msgid "Creation Day" -msgstr "" +msgstr "作成日" #. module: crm #: field:crm.meeting,interval:0 msgid "Repeat every" -msgstr "" +msgstr "反復(間隔)" #. module: crm #: field:crm.meeting,recurrency:0 msgid "Recurrent" -msgstr "" +msgstr "定期" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls made in last month" -msgstr "" +msgstr "先月になされた通話" #. module: crm #: model:ir.actions.act_window,name:crm.act_my_oppor msgid "My Open Opportunities" -msgstr "" +msgstr "私の開いている商談" #. module: crm #: field:base.action.rule,trg_max_history:0 @@ -2430,55 +2458,55 @@ msgstr "" #. module: crm #: view:crm.meeting:0 view:res.partner:0 msgid "End Date" -msgstr "" +msgstr "終了日" #. module: crm #: selection:crm.meeting,byday:0 msgid "Third" -msgstr "" +msgstr "第3" #. module: crm #: help:crm.segmentation,som_interval_max:0 msgid "" "The computation is made on all events that occured during this interval, the " "past X periods." -msgstr "" +msgstr "計算はこの期間と過去x期間の中で発生した全てのイベントで行われます。" #. module: crm #: view:crm.lead:0 msgid "Unassigned Opportunities" -msgstr "" +msgstr "未割当の商談" #. module: crm #: view:crm.lead.report:0 msgid "# of Emails" -msgstr "" +msgstr "Eメール数" #. module: crm #: view:crm.lead:0 msgid "Search Leads" -msgstr "" +msgstr "リードの検索" #. module: crm #: view:crm.lead.report:0 view:crm.phonecall.report:0 #: field:crm.phonecall.report,delay_open:0 msgid "Delay to open" -msgstr "" +msgstr "開始を延期する" #. module: crm #: view:crm.meeting:0 msgid "Recurrency period" -msgstr "" +msgstr "定期の期間" #. module: crm #: field:crm.meeting,week_list:0 msgid "Weekday" -msgstr "" +msgstr "平日" #. module: crm #: view:crm.lead:0 msgid "Referrer" -msgstr "" +msgstr "参照元" #. module: crm #: field:crm.lead,id:0 field:crm.meeting,id:0 field:crm.phonecall,id:0 @@ -2490,153 +2518,153 @@ msgstr "" msgid "" "From which campaign (seminar, marketing campaign, mass mailing, ...) did " "this contact come from?" -msgstr "" +msgstr "この連絡先はどのキャンペーン(セミナー、マーケティングキャンペーン、大量のメールなど)から来ましたか?" #. module: crm #: model:ir.model,name:crm.model_calendar_attendee msgid "Attendee information" -msgstr "" +msgstr "出席者情報" #. module: crm #: view:crm.segmentation:0 msgid "Segmentation Test" -msgstr "" +msgstr "分類のテスト" #. module: crm #: field:crm.lead,user_login:0 msgid "User Login" -msgstr "" +msgstr "ユーザログイン" #. module: crm #: view:crm.segmentation:0 msgid "Continue Process" -msgstr "" +msgstr "処理の継続" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities created in current year" -msgstr "" +msgstr "今年作成されたリード / 商談" #. module: crm #: model:ir.model,name:crm.model_crm_phonecall2partner msgid "Phonecall to Partner" -msgstr "" +msgstr "通話からパートナへ" #. module: crm #: field:crm.opportunity2phonecall,user_id:0 #: field:crm.phonecall2phonecall,user_id:0 msgid "Assign To" -msgstr "" +msgstr "割当先" #. module: crm #: field:crm.add.note,state:0 msgid "Set New State To" -msgstr "" +msgstr "新規状態の設定先" #. module: crm #: field:crm.lead,date_action_last:0 field:crm.meeting,date_action_last:0 #: field:crm.phonecall,date_action_last:0 msgid "Last Action" -msgstr "" +msgstr "最終アクション" #. module: crm #: field:crm.meeting,duration:0 field:crm.phonecall,duration:0 #: field:crm.phonecall.report,duration:0 msgid "Duration" -msgstr "" +msgstr "期間" #. module: crm #: view:crm.lead:0 msgid "Show countries" -msgstr "" +msgstr "国を表示" #. module: crm #: view:crm.lead2opportunity.partner.mass:0 msgid "Select Salesman" -msgstr "" +msgstr "販売員の選択" #. module: crm #: view:board.board:0 msgid "Sales Dashboard" -msgstr "" +msgstr "受注ダッシュボード" #. module: crm #: field:crm.lead.report,nbr:0 field:crm.phonecall.report,nbr:0 msgid "# of Cases" -msgstr "" +msgstr "案件の数" #. module: crm #: help:crm.meeting,section_id:0 help:crm.phonecall,section_id:0 msgid "Sales team to which Case belongs to." -msgstr "" +msgstr "案件が属する営業チーム" #. module: crm #: selection:crm.meeting,week_list:0 msgid "Sunday" -msgstr "" +msgstr "日曜" #. module: crm #: selection:crm.meeting,byday:0 msgid "Fourth" -msgstr "" +msgstr "第4" #. module: crm #: selection:crm.add.note,state:0 msgid "Unchanged" -msgstr "" +msgstr "未変更" #. module: crm #: model:ir.actions.act_window,name:crm.crm_segmentation_tree-act #: model:ir.ui.menu,name:crm.menu_crm_segmentation-act msgid "Partners Segmentation" -msgstr "" +msgstr "パートナ分類" #. module: crm #: field:crm.lead,fax:0 msgid "Fax" -msgstr "" +msgstr "FAX" #. module: crm #: view:crm.lead.report:0 msgid "Leads/Opportunities created in current month" -msgstr "" +msgstr "今月作成されたリード / 商談" #. module: crm #: view:crm.meeting:0 msgid "Assignment" -msgstr "" +msgstr "割当" #. module: crm #: field:crm.lead,company_id:0 view:crm.lead.report:0 #: field:crm.lead.report,company_id:0 field:crm.phonecall,company_id:0 #: view:crm.phonecall.report:0 field:crm.phonecall.report,company_id:0 msgid "Company" -msgstr "" +msgstr "会社" #. module: crm #: selection:crm.meeting,week_list:0 msgid "Friday" -msgstr "" +msgstr "金曜" #. module: crm #: field:crm.meeting,allday:0 msgid "All Day" -msgstr "" +msgstr "終日" #. module: crm #: field:crm.segmentation.line,operator:0 msgid "Mandatory / Optional" -msgstr "" +msgstr "必須 / オプション" #. module: crm #: view:crm.lead:0 msgid "Unassigned Leads" -msgstr "" +msgstr "見割当リード" #. module: crm #: field:crm.lead,subjects:0 msgid "Subject of Email" -msgstr "" +msgstr "Eメールの標題" #. module: crm #: model:ir.actions.act_window,name:crm.action_view_attendee_form @@ -2649,77 +2677,77 @@ msgstr "" #: view:crm.phonecall.report:0 selection:crm.phonecall.report,state:0 #: view:res.partner:0 msgid "Todo" -msgstr "" +msgstr "ToDo" #. module: crm #: field:crm.case.categ,object_id:0 msgid "Object Name" -msgstr "" +msgstr "オブジェクト名" #. module: crm #: help:crm.lead,email_from:0 msgid "E-mail address of the contact" -msgstr "" +msgstr "連絡先のEメールアドレス" #. module: crm #: field:crm.lead,referred:0 msgid "Referred by" -msgstr "" +msgstr "参照先" #. module: crm #: view:crm.lead:0 model:ir.model,name:crm.model_crm_add_note msgid "Add Internal Note" -msgstr "" +msgstr "内部注記を追加" #. module: crm #: code:addons/crm/crm_lead.py:853 #, python-format msgid "The stage of lead '%s' has been changed to '%s'." -msgstr "" +msgstr "リード %s の段階は %s に変更されました。" #. module: crm #: selection:crm.meeting,byday:0 msgid "Last" -msgstr "" +msgstr "最後" #. module: crm #: field:crm.lead,message_ids:0 field:crm.meeting,message_ids:0 #: field:crm.phonecall,message_ids:0 msgid "Messages" -msgstr "" +msgstr "メッセージ" #. module: crm #: help:crm.lead,channel_id:0 msgid "Communication channel (mail, direct, phone, ...)" -msgstr "" +msgstr "通信チャネル(メール、直接、電話など)" #. module: crm #: code:addons/crm/crm_action_rule.py:61 #, python-format msgid "Error!" -msgstr "" +msgstr "エラー" #. module: crm #: field:crm.opportunity2phonecall,name:0 field:crm.phonecall2phonecall,name:0 msgid "Call summary" -msgstr "" +msgstr "通話の概要" #. module: crm #: selection:crm.add.note,state:0 selection:crm.lead,state:0 #: selection:crm.lead.report,state:0 selection:crm.meeting,state:0 #: selection:crm.phonecall,state:0 selection:crm.phonecall.report,state:0 msgid "Cancelled" -msgstr "" +msgstr "キャンセル済" #. module: crm #: field:crm.add.note,body:0 msgid "Note Body" -msgstr "" +msgstr "注記本文" #. module: crm #: view:board.board:0 msgid "My Planned Revenues by Stage" -msgstr "" +msgstr "段階別私の計画売上高" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_category_act_oppor11 @@ -2736,16 +2764,22 @@ msgid "" "opportunities, convert them into quotations, manage related documents, track " "all customer related activities, and much more." msgstr "" +"商談とともに見込み営業を継続するために特定の顧客または見込みに関係する営業ドキュメントを作成することで営業パイプラインの管理と追跡の継続が可能です。予想売" +"上、商談の段階、予想終了日、通信履歴などの情報を保存することができます。商談はEメールゲートウェイと接続しています:新規Eメールは商談を作成し、それらの各" +"々は顧客の通信履歴を自動的に取得します。\n" +"\n" +"あなたとあなたのチームは、商談からミーティングや電話の計画を行い、それらを見積りに変換し、関係ドキュメントを管理し、全ての顧客に関連する活動を追跡すること" +"などが可能です。" #. module: crm #: field:crm.lead,color:0 msgid "Color Index" -msgstr "" +msgstr "カラーインデックス" #. module: crm #: view:crm.lead:0 msgid "Links" -msgstr "" +msgstr "リンク" #. module: crm #: model:ir.actions.act_window,help:crm.crm_lead_categ_action @@ -2755,13 +2789,15 @@ msgid "" "instance reflect your product structure or the different types of sales you " "do." msgstr "" +"より良い分類とリードや商談を分析するために、会社の活動に適合する特定の分類を作成します。それらの分類は、例えば商品構造やあなたの行う異なったタイプの営業を" +"反映します。" #. module: crm #: help:crm.segmentation,som_interval_decrease:0 msgid "" "If the partner has not purchased (or bought) during a period, decrease the " "state of mind by this factor. It's a multiplication" -msgstr "" +msgstr "パートナは期間中に仕入れや購入しなかった場合は、この要因により、精神状態が低下します。それは乗算されます。" #. module: crm #: model:ir.actions.act_window,help:crm.action_report_crm_phonecall @@ -2771,21 +2807,23 @@ msgid "" "several criteria and drill down the information, by adding more groups in " "the report." msgstr "" +"このレポートから、通話を基準としたあなたの営業チームの成績の分析ができます。より多くのグループをレポートに追加することで、幾つかの基準と情報のドリルダウン" +"による情報のクループ化やフィルタができます。" #. module: crm #: view:crm.lead.report:0 msgid "# Mails" -msgstr "" +msgstr "メールの数" #. module: crm #: field:crm.phonecall,name:0 view:res.partner:0 msgid "Call Summary" -msgstr "" +msgstr "通話の概要" #. module: crm #: view:crm.lead:0 msgid "Todays' Leads" -msgstr "" +msgstr "本日のリード" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_categ_phone_outgoing0 @@ -2796,86 +2834,89 @@ msgid "" "customer. You can also import a .CSV file with a list of calls to be done by " "your sales team." msgstr "" +"スケジュールされた通話はあなたの営業チームにより行われた全ての通話をリストします。販売員はフォームビューの中の通話についての情報を記録できます。この情報は" +"あなたと顧客とが行った全てのコンタクトを追跡するため、パートナフォームの中に保存することができます。あなたの営業チームにより行われた通話のリストのCSVフ" +"ァイルをインポートすることもできます。" #. module: crm #: field:crm.segmentation.line,expr_operator:0 msgid "Operator" -msgstr "" +msgstr "演算子" #. module: crm #: model:ir.model,name:crm.model_crm_phonecall2phonecall msgid "Phonecall To Phonecall" -msgstr "" +msgstr "通話から通話へ" #. module: crm #: view:crm.lead:0 #: model:ir.actions.act_window,name:crm.opportunity2phonecall_act msgid "Schedule/Log Call" -msgstr "" +msgstr "電話のスケジュール / ログ" #. module: crm #: selection:crm.meeting,state:0 msgid "Confirmed" -msgstr "" +msgstr "確認済" #. module: crm #: model:ir.actions.act_window,name:crm.act_oppor_stage_user msgid "Planned Revenue By User and Stage" -msgstr "" +msgstr "ユーザと段階別計画売上高" #. module: crm #: view:crm.meeting:0 msgid "Confirm" -msgstr "" +msgstr "確認" #. module: crm #: field:crm.meeting,su:0 msgid "Sun" -msgstr "" +msgstr "日" #. module: crm #: field:crm.phonecall.report,section_id:0 msgid "Section" -msgstr "" +msgstr "セクション" #. module: crm #: selection:crm.segmentation.line,operator:0 msgid "Optional Expression" -msgstr "" +msgstr "オプションの式" #. module: crm #: selection:crm.meeting,select1:0 msgid "Day of month" -msgstr "" +msgstr "月の日" #. module: crm #: model:ir.actions.act_window,name:crm.act_my_oppor_stage msgid "Planned Revenue By Stage" -msgstr "" +msgstr "段階別計画売上高" #. module: crm #: selection:crm.add.note,state:0 model:crm.case.stage,name:crm.stage_lead1 #: view:crm.lead:0 selection:crm.lead,state:0 view:crm.lead.report:0 msgid "New" -msgstr "" +msgstr "新規" #. module: crm #: view:crm.lead:0 field:crm.lead,email_from:0 field:crm.meeting,email_from:0 #: field:crm.phonecall,email_from:0 msgid "Email" -msgstr "" +msgstr "Eメール" #. module: crm #: view:crm.case.channel:0 view:crm.lead:0 field:crm.lead,channel_id:0 #: view:crm.lead.report:0 field:crm.lead.report,channel_id:0 msgid "Channel" -msgstr "" +msgstr "チャネル" #. module: crm #: view:crm.lead:0 view:crm.lead.report:0 view:crm.meeting:0 #: view:crm.phonecall:0 view:crm.phonecall.report:0 msgid "My Sales Team(s)" -msgstr "" +msgstr "私の営業チーム" #. module: crm #: help:crm.segmentation,exclusif:0 @@ -2885,119 +2926,121 @@ msgid "" "If checked, remove the category from partners that doesn't match " "segmentation criterions" msgstr "" +"分類が分類基準に一致するパートナに限定される場合はチェックします。\n" +"チェックした場合、分類l基準一致しないパートナからはその分類が削除されます。" #. module: crm #: field:crm.meeting,exdate:0 msgid "Exception Date/Times" -msgstr "" +msgstr "例外の日付 / 時間" #. module: crm #: help:crm.meeting,date_deadline:0 msgid "" "Deadline Date is automatically computed from Start " "Date + Duration" -msgstr "" +msgstr "締切日は 開始日 + 期間 から自動的に計算されます。" #. module: crm #: field:crm.lead,state_id:0 msgid "Fed. State" -msgstr "" +msgstr "都道府県" #. module: crm #: model:process.transition,note:crm.process_transition_leadopportunity0 msgid "Creating business opportunities from Leads" -msgstr "" +msgstr "リードからビジネス商談の作成" #. module: crm #: model:ir.actions.act_window,name:crm.open_board_statistical_dash #: model:ir.ui.menu,name:crm.menu_board_statistics_dash msgid "CRM Dashboard" -msgstr "" +msgstr "CRMダッシュボード" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor4 msgid "Need Information" -msgstr "" +msgstr "情報が必要" #. module: crm #: model:process.transition,name:crm.process_transition_leadopportunity0 msgid "Prospect Opportunity" -msgstr "" +msgstr "商談の見込み" #. module: crm #: field:base.action.rule,act_categ_id:0 msgid "Set Category to" -msgstr "" +msgstr "分類の設定先" #. module: crm #: view:crm.meeting:0 msgid "Mail To" -msgstr "" +msgstr "メール宛先" #. module: crm #: field:crm.meeting,th:0 msgid "Thu" -msgstr "" +msgstr "木" #. module: crm #: view:crm.add.note:0 view:crm.merge.opportunity:0 #: view:crm.opportunity2phonecall:0 view:crm.phonecall2opportunity:0 #: view:crm.phonecall2phonecall:0 msgid "_Cancel" -msgstr "" +msgstr "キャンセル" #. module: crm #: selection:crm.meeting,rrule_type:0 msgid "Daily" -msgstr "" +msgstr "日次" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_stage_form_installer msgid "Review Sales Stages" -msgstr "" +msgstr "営業段階のレビュー" #. module: crm #: model:crm.case.stage,name:crm.stage_lead2 msgid "Qualification" -msgstr "" +msgstr "資格" #. module: crm #: field:crm.lead,partner_address_email:0 msgid "Partner Contact Email" -msgstr "" +msgstr "パートナの連絡先Eメール" #. module: crm #: code:addons/crm/wizard/crm_lead_to_partner.py:48 #, python-format msgid "A partner is already defined." -msgstr "" +msgstr "パートナは既に定義済です。" #. module: crm #: selection:crm.meeting,byday:0 msgid "First" -msgstr "" +msgstr "第1" #. module: crm #: field:crm.lead.report,deadline_month:0 msgid "Exp. Closing Month" -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 "December" -msgstr "" +msgstr "12月" #. module: crm #: view:base.action.rule:0 msgid "Condition on Communication History" -msgstr "" +msgstr "通信履歴の条件" #. module: crm #: view:crm.phonecall:0 msgid "Date of Call" -msgstr "" +msgstr "通話日" #. module: crm #: help:crm.segmentation,som_interval:0 @@ -3010,87 +3053,91 @@ msgid "" "bought goods to another supplier. \n" "Use this functionality for recurring businesses." msgstr "" +"期間はこの分類のための販売または購入の2つの周期の間の平均日数です。\n" +"これは主に、パートナが長期間にわたり仕入れや購入しなかったことを検出するのに使用されます。\n" +"それは、彼は他の仕入先から製品の購入をしているため、精神状態は低下しているものと考えられます。\n" +"定期的なビジネスのためにこの機能を使用します。" #. module: crm #: field:crm.meeting,vtimezone:0 msgid "Timezone" -msgstr "" +msgstr "タイムゾーン" #. module: crm #: field:crm.meeting,sa:0 msgid "Sat" -msgstr "" +msgstr "土" #. module: crm #: view:crm.lead:0 field:crm.lead,user_id:0 view:crm.lead.report:0 #: view:crm.phonecall.report:0 msgid "Salesman" -msgstr "" +msgstr "販売員" #. module: crm #: view:crm.lead:0 field:crm.lead,date_deadline:0 msgid "Expected Closing" -msgstr "" +msgstr "見込完了" #. module: crm #: model:ir.model,name:crm.model_crm_opportunity2phonecall msgid "Opportunity to Phonecall" -msgstr "" +msgstr "商談から通話へ" #. module: crm #: help:crm.case.section,allow_unlink:0 msgid "Allows to delete non draft cases" -msgstr "" +msgstr "非ドラフト案件の削除を許可" #. module: crm #: field:crm.meeting,count:0 msgid "Repeat" -msgstr "" +msgstr "繰り返し" #. module: crm #: field:crm.lead.report,deadline_year:0 msgid "Ex. Closing Year" -msgstr "" +msgstr "前回終了年" #. module: crm #: view:crm.lead:0 msgid "Partner Name" -msgstr "" +msgstr "パートナ名" #. module: crm #: model:crm.case.categ,name:crm.categ_phone2 msgid "Outbound" -msgstr "" +msgstr "送信" #. module: crm #: field:crm.lead,date_open:0 field:crm.phonecall,date_open:0 msgid "Opened" -msgstr "" +msgstr "開始済" #. module: crm #: view:crm.case.section:0 field:crm.case.section,member_ids:0 msgid "Team Members" -msgstr "" +msgstr "チームメンバー" #. module: crm #: view:crm.lead:0 view:crm.meeting:0 view:crm.phonecall:0 msgid "Contacts" -msgstr "" +msgstr "コンタクト" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor1 msgid "Interest in Computer" -msgstr "" +msgstr "コンピュータへの関心" #. module: crm #: view:crm.meeting:0 msgid "Invitation Detail" -msgstr "" +msgstr "招待の詳細" #. module: crm #: field:crm.segmentation,som_interval_default:0 msgid "Default (0=None)" -msgstr "" +msgstr "デフォルト(0=なし)" #. module: crm #: help:crm.lead,email_cc:0 @@ -3098,36 +3145,36 @@ msgid "" "These email addresses will be added to the CC field of all inbound and " "outbound emails for this record before being sent. Separate multiple email " "addresses with a comma" -msgstr "" +msgstr "これらのEメールアドレスは送受信するEメールの CC 欄に追加されます。複数のEメールアドレスの間をコンマで区切って下さい。" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_categ_phone_incoming0 #: model:ir.ui.menu,name:crm.menu_crm_case_phone_inbound msgid "Logged Calls" -msgstr "" +msgstr "ログ対象通話" #. module: crm #: field:crm.partner2opportunity,probability:0 #: field:crm.phonecall2opportunity,probability:0 msgid "Success Probability" -msgstr "" +msgstr "成功確率" #. module: crm #: code:addons/crm/crm.py:466 selection:crm.lead.report,state:0 #: selection:crm.phonecall,state:0 selection:crm.phonecall.report,state:0 #, python-format msgid "Draft" -msgstr "" +msgstr "ドラフト" #. module: crm #: model:ir.actions.act_window,name:crm.crm_case_section_act_tree msgid "Cases by Sales Team" -msgstr "" +msgstr "営業チーム毎の案件" #. module: crm #: field:crm.meeting,attendee_ids:0 msgid "Attendees" -msgstr "" +msgstr "出席者" #. module: crm #: view:crm.meeting:0 view:crm.phonecall:0 @@ -3135,150 +3182,150 @@ msgstr "" #: model:process.node,name:crm.process_node_meeting0 #: model:res.request.link,name:crm.request_link_meeting msgid "Meeting" -msgstr "" +msgstr "ミーティング" #. module: crm #: model:ir.model,name:crm.model_crm_case_categ msgid "Category of Case" -msgstr "" +msgstr "案件の分類" #. module: crm #: view:crm.lead:0 view:crm.phonecall:0 msgid "7 Days" -msgstr "" +msgstr "7日間" #. module: crm #: view:board.board:0 msgid "Planned Revenue by Stage and User" -msgstr "" +msgstr "段階とユーザ別計画売上高" #. module: crm #: view:crm.lead:0 msgid "Communication & History" -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 "Normal" -msgstr "" +msgstr "標準" #. module: crm #: code:addons/crm/wizard/crm_lead_to_opportunity.py:104 #, python-format msgid "Closed/Cancelled Leads can not be converted into Opportunity" -msgstr "" +msgstr "閉じた / キャンセル済リードは商談に変換することはできません。" #. module: crm #: model:ir.actions.act_window,name:crm.crm_meeting_categ_action #: model:ir.ui.menu,name:crm.menu_crm_case_meeting-act msgid "Meeting Categories" -msgstr "" +msgstr "ミーティングの分類" #. module: crm #: view:crm.phonecall2partner:0 msgid "You may have to verify that this partner does not exist already." -msgstr "" +msgstr "このパートナが既に存在しないことを確認する必要があります。" #. module: crm #: field:crm.lead.report,delay_open:0 msgid "Delay to Open" -msgstr "" +msgstr "開始を延期する" #. module: crm #: field:crm.lead.report,user_id:0 field:crm.phonecall.report,user_id:0 msgid "User" -msgstr "" +msgstr "ユーザ" #. module: crm #: code:addons/crm/crm.py:446 #, python-format msgid "The case '%s' has been cancelled." -msgstr "" +msgstr "案件 %s はキャンセル済です。" #. 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 "November" -msgstr "" +msgstr "11月" #. module: crm #: view:crm.lead.report:0 #: model:ir.actions.act_window,name:crm.act_opportunity_stage msgid "Opportunities By Stage" -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 "January" -msgstr "" +msgstr "1月" #. module: crm #: model:process.process,name:crm.process_process_contractprocess0 msgid "Contract" -msgstr "" +msgstr "契約" #. module: crm #: model:crm.case.resource.type,name:crm.type_lead4 msgid "Twitter Ads" -msgstr "" +msgstr "Twitter広告" #. module: crm #: code:addons/crm/crm_lead.py:336 #, python-format msgid "The opportunity '%s' has been been won." -msgstr "" +msgstr "商談 %s は受注されています。" #. module: crm #: field:crm.case.stage,case_default:0 msgid "Common to All Teams" -msgstr "" +msgstr "全てのチームに共通" #. module: crm #: code:addons/crm/crm_lead.py:831 code:addons/crm/wizard/crm_add_note.py:28 #, python-format msgid "Error" -msgstr "" +msgstr "エラー" #. module: crm #: view:crm.lead.report:0 msgid "Planned Revenues" -msgstr "" +msgstr "計画売上高" #. module: crm #: model:crm.case.categ,name:crm.categ_oppor7 msgid "Need Consulting" -msgstr "" +msgstr "コンサルティングが必要" #. module: crm #: constraint:crm.segmentation:0 msgid "Error ! You can not create recursive profiles." -msgstr "" +msgstr "エラー。再帰的なプロファイルの作成はできません。" #. module: crm #: help:crm.lead.report,deadline_year:0 msgid "Expected closing year" -msgstr "" +msgstr "見込完了年" #. module: crm #: field:crm.lead,partner_address_id:0 field:crm.meeting,partner_address_id:0 #: field:crm.phonecall,partner_address_id:0 msgid "Partner Contact" -msgstr "" +msgstr "パートナ連絡先" #. module: crm #: field:crm.meeting,recurrent_id:0 msgid "Recurrent ID date" -msgstr "" +msgstr "定期ID日付" #. module: crm #: sql_constraint:res.users:0 msgid "You can not have two users with the same login !" -msgstr "" +msgstr "同じログインでは2つのユーザを持てません。" #. module: crm #: code:addons/crm/crm.py:409 view:crm.lead:0 view:res.partner:0 @@ -3315,12 +3362,12 @@ msgstr "" #. module: crm #: field:crm.meeting,phonecall_id:0 msgid "Phonecall" -msgstr "" +msgstr "通話" #. module: crm #: selection:crm.meeting,week_list:0 msgid "Thursday" -msgstr "" +msgstr "木曜" #. module: crm #: view:crm.meeting:0 @@ -3362,7 +3409,7 @@ msgstr "" #. module: crm #: view:crm.phonecall.report:0 msgid "Phone calls made in current month" -msgstr "" +msgstr "今月なされた通話" #. module: crm #: selection:crm.lead.report,creation_month:0 @@ -3379,7 +3426,7 @@ msgstr "" #. module: crm #: view:crm.lead:0 msgid "New Opportunities" -msgstr "" +msgstr "新規商談" #. module: crm #: code:addons/crm/crm_action_rule.py:61 @@ -3400,7 +3447,7 @@ msgstr "" #. module: crm #: view:crm.lead.report:0 msgid "Opportunities by User and Team" -msgstr "" +msgstr "ユーザとチーム別の商談" #. module: crm #: view:crm.phonecall:0 @@ -3415,7 +3462,7 @@ msgstr "" #. module: crm #: field:res.partner,phonecall_ids:0 msgid "Phonecalls" -msgstr "" +msgstr "通話" #. module: crm #: view:crm.lead:0 field:crm.lead,is_customer_add:0 @@ -3472,12 +3519,12 @@ msgstr "" #: selection:crm.lead2opportunity.partner.mass,name:0 view:crm.phonecall:0 #: view:res.partner:0 msgid "Convert to Opportunity" -msgstr "" +msgstr "商談に変換" #. module: crm #: selection:crm.meeting,week_list:0 msgid "Wednesday" -msgstr "" +msgstr "水曜" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_categ_phone_incoming0 @@ -3487,6 +3534,8 @@ msgid "" "partner. From the phone call form, you can trigger a request for another " "call, a meeting or an opportunity." msgstr "" +"このツールはその場であなたの着信通話をログに記録することができます。各通話はあなたとパートナが行った全てのコンタクトを追加するためにパートナフォーム上に表" +"示されます。通話フォームから、他の通話、ミーティング、商談の要求を起動できます。" #. module: crm #: selection:crm.lead.report,creation_month:0 @@ -3508,7 +3557,7 @@ msgstr "" #. module: crm #: model:ir.model,name:crm.model_crm_phonecall_report msgid "Phone calls by user and section" -msgstr "" +msgstr "ユーザとセクション別通話" #. module: crm #: model:ir.actions.act_window,help:crm.crm_case_channel_action @@ -3517,12 +3566,14 @@ msgid "" "channels that will be maintained at the creation of a document in the " "system. Some examples of channels can be: Website, Phone Call, Reseller, etc." msgstr "" +"システム内のドキュメント作成において、維持管理される特定のチャネルの作成によって、リードと商談がどこから来るのかを追跡します。幾つかのチャネルの例:Web" +"サイト、通話、リセラーなど。" #. module: crm #: selection:crm.lead2opportunity.partner,name:0 #: selection:crm.lead2opportunity.partner.mass,name:0 msgid "Merge with existing Opportunity" -msgstr "" +msgstr "既存の商談の統合" #. module: crm #: field:crm.meeting,select1:0 @@ -3537,7 +3588,7 @@ msgstr "" #. module: crm #: view:crm.lead:0 msgid "Exp.Closing" -msgstr "" +msgstr "見込完了" #. module: crm #: field:crm.case.stage,sequence:0 field:crm.meeting,sequence:0 @@ -3590,3 +3641,9 @@ msgstr "エラーです。再帰的な関係となる会員を作ることはで #: model:crm.case.resource.type,name:crm.type_lead8 msgid "Newsletter" msgstr "ニュースレター" + +#~ msgid "Campaign 1" +#~ msgstr "キャンペーン1" + +#~ msgid "Campaign 2" +#~ msgstr "キャンペーン2" diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml index 69f71c95405..49361097308 100644 --- a/addons/crm/res_partner_view.xml +++ b/addons/crm/res_partner_view.xml @@ -127,7 +127,7 @@ <xpath expr="//div[@name='buttons']" position="inside"> <button type="action" string="Schedule a Meeting" - name="%(crm.crm_case_categ_meet_create_partner)d" + name="%(base_calendar.action_crm_meeting)d" context="{'search_default_partner_id': active_id, 'default_duration': 4.0}"/> <button type="action" string="Schedule a Call" name="%(crm.crm_case_categ_phone_create_partner)d" diff --git a/addons/crm/security/ir.model.access.csv b/addons/crm/security/ir.model.access.csv index 7707118324f..5665839f365 100644 --- a/addons/crm/security/ir.model.access.csv +++ b/addons/crm/security/ir.model.access.csv @@ -7,12 +7,9 @@ access_crm_case_channel_user,crm.case.channel user,model_crm_case_channel,base.g access_crm_case_channel_manager,crm.case.channel manager,model_crm_case_channel,base.group_sale_manager,1,1,1,1
access_crm_case_section,crm.case.section,model_crm_case_section,base.group_user,1,0,0,0
access_crm_case_categ,crm.case.categ,model_crm_case_categ,base.group_sale_salesman,1,1,1,0
-access_crm_meeting_manager,crm.meeting.manager,model_crm_meeting,base.group_sale_manager,1,1,1,1
access_crm_lead_manager,crm.lead.manager,model_crm_lead,base.group_sale_manager,1,1,1,1
access_crm_phonecall_manager,crm.phonecall.manager,model_crm_phonecall,base.group_sale_manager,1,1,1,1
access_crm_case_categ,crm.case.categ,model_crm_case_categ,base.group_user,1,0,0,0
-access_crm_meeting,crm.meeting,model_crm_meeting,base.group_sale_salesman,1,1,1,0
-access_crm_meeting_all,crm.meeting_allll,model_crm_meeting,base.group_user,1,0,0,0
access_crm_lead,crm.lead,model_crm_lead,base.group_sale_salesman,1,1,1,0
access_crm_lead_all,crm.lead.all,model_crm_lead,base.group_user,1,0,0,0
access_crm_phonecall,crm.phonecall,model_crm_phonecall,base.group_sale_salesman,1,1,1,0
@@ -40,4 +37,3 @@ access_crm_lead_report_user,crm.lead.report user,model_crm_lead_report,base.grou access_res_partner_bank_type_crm_user,res.partner.bank.type.crm.user,base.model_res_partner_bank_type,base.group_sale_salesman,1,0,0,0
access_crm_lead_partner_manager,crm.lead.partner.manager,model_crm_lead,base.group_partner_manager,1,0,0,0
access_crm_phonecall_partner_manager,crm.phonecall.partner.manager,model_crm_phonecall,base.group_partner_manager,1,1,1,1
-access_crm_meeting_partner_manager,crm.meeting.partner.manager,model_crm_meeting,base.group_partner_manager,1,1,1,1
diff --git a/addons/crm/test/process/action_rule.yml b/addons/crm/test/process/action_rule.yml index b13c9b086cc..d394e65ac29 100644 --- a/addons/crm/test/process/action_rule.yml +++ b/addons/crm/test/process/action_rule.yml @@ -2,10 +2,9 @@ I create a record rule. - !python {model: base.action.rule}: | - modle_id = self.pool.get("ir.model").search(cr, uid, [('name', '=', 'crm.lead')]) + model_ids = self.pool.get("ir.model").search(cr, uid, [('model', '=', 'crm.lead')]) from datetime import datetime - new_id = self.create(cr, uid, {'name': 'New Rule', 'model_id': modle_id[0], 'trg_user_id': ref('base.user_root'), 'trg_partner_id': ref('base.res_partner_asus'), 'act_user_id': ref('base.user_demo') }) - lead_obj = self.pool.get("crm.lead") + new_id = self.create(cr, uid, {'name': 'New Rule', 'model_id': model_ids[0], 'trg_user_id': ref('base.user_root'), 'trg_partner_id': ref('base.res_partner_asus'), 'act_user_id': ref('base.user_demo') }) self._check(cr, uid) - I create new lead to check record rule. diff --git a/addons/crm/wizard/__init__.py b/addons/crm/wizard/__init__.py index 2fc39c51505..9d128492422 100644 --- a/addons/crm/wizard/__init__.py +++ b/addons/crm/wizard/__init__.py @@ -19,7 +19,6 @@ # ############################################################################## -import mail_compose_message import crm_add_note import crm_lead_to_partner diff --git a/addons/crm/wizard/crm_phonecall_to_meeting.py b/addons/crm/wizard/crm_phonecall_to_meeting.py index 9e902142c94..a01765220b8 100644 --- a/addons/crm/wizard/crm_phonecall_to_meeting.py +++ b/addons/crm/wizard/crm_phonecall_to_meeting.py @@ -41,58 +41,23 @@ class crm_phonecall2meeting(osv.osv_memory): return {'type':'ir.actions.act_window_close'} def action_make_meeting(self, cr, uid, ids, context=None): + """ This opens Meeting's calendar view to schedule meeting on current Phonecall + @return : Dictionary value for created Meeting view """ - This opens Meeting's calendar view to schedule meeting on current Phonecall - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of Phonecall to Meeting IDs - @param context: A standard dictionary for contextual values - - @return : Dictionary value for created Meeting view - """ - value = {} - record_id = context and context.get('active_id', False) or False - - if record_id: - phonecall_obj = self.pool.get('crm.phonecall') - data_obj = self.pool.get('ir.model.data') - - # Get meeting views - result = data_obj._get_id(cr, uid, 'crm', 'view_crm_case_meetings_filter') - res = data_obj.read(cr, uid, result, ['res_id']) - id1 = data_obj._get_id(cr, uid, 'crm', 'crm_case_calendar_view_meet') - id2 = data_obj._get_id(cr, uid, 'crm', 'crm_case_form_view_meet') - id3 = data_obj._get_id(cr, uid, 'crm', 'crm_case_tree_view_meet') - if id1: - id1 = data_obj.browse(cr, uid, id1, context=context).res_id - if id2: - id2 = data_obj.browse(cr, uid, id2, context=context).res_id - if id3: - id3 = data_obj.browse(cr, uid, id3, context=context).res_id - - phonecall = phonecall_obj.browse(cr, uid, record_id, context=context) - context = { - 'default_phonecall_id': phonecall.id, - 'default_partner_id': phonecall.partner_id and phonecall.partner_id.id or False, - 'default_email': phonecall.email_from , - 'default_name': phonecall.name - } - - value = { - 'name': _('Meetings'), - 'domain' : "[('user_id','=',%s)]" % (uid), - 'context': context, - 'view_type': 'form', - 'view_mode': 'calendar,form,tree', - 'res_model': 'crm.meeting', - 'view_id': False, - 'views': [(id1, 'calendar'), (id2, 'form'), (id3, 'tree')], - 'type': 'ir.actions.act_window', - 'search_view_id': res['res_id'] - } - - return value + res = {} + phonecall_id = context and context.get('active_id', False) or False + if phonecall_id: + phonecall = self.pool.get('crm.phonecall').browse(cr, uid, phonecall_id, context) + res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'base_calendar', 'action_crm_meeting', context) + res['context'] = { + 'default_phonecall_id': phonecall.id, + 'default_partner_id': phonecall.partner_id and phonecall.partner_id.id or False, + 'default_user_id': uid, + 'default_email_from': phonecall.email_from, + 'default_state': 'open', + 'default_name': phonecall.name, + } + return res crm_phonecall2meeting() diff --git a/addons/crm/wizard/mail_compose_message.py b/addons/crm/wizard/mail_compose_message.py deleted file mode 100644 index b82c3083f3a..00000000000 --- a/addons/crm/wizard/mail_compose_message.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-Today OpenERP SA (<http://www.openerp.com>) -# -# 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 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/> -# -############################################################################## - -from osv import osv -from osv import fields -import tools - -SUPPORTED_MODELS = ['crm.lead',] - -class mail_compose_message(osv.osv_memory): - _inherit = 'mail.compose.message' - - def get_value(self, cr, uid, model, res_id, context=None): - """Returns a defaults-like dict with initial values for the composition - wizard when sending an email related to the document record identified - by ``model`` and ``res_id``. - - Overrides the default implementation to provide more default field values - related to the corresponding CRM case. - - :param str model: model name of the document record this mail is related to. - :param int res_id: id of the document record this mail is related to. - :param dict context: several context values will modify the behavior - of the wizard, cfr. the class description. - """ - result = super(mail_compose_message, self).get_value(cr, uid, model, res_id, context=context) - if model in SUPPORTED_MODELS and res_id: - model_obj = self.pool.get(model) - data = model_obj.browse(cr, uid , res_id, context) - user = self.pool.get('res.users').browse(cr, uid, uid, context=context) - result.update({ - 'subject' : data.name or False, - 'email_to' : data.email_from or False, - 'email_from' : user.user_email or tools.config.get('email_from', False), - 'body_text' : '\n' + tools.ustr(user.signature or ''), - 'email_cc' : tools.ustr(data.email_cc or ''), - 'model': model, - 'res_id': res_id, - 'subtype': 'plain', - }) - if hasattr(data, 'section_id'): - result.update({'reply_to' : data.section_id and data.section_id.reply_to or False}) - return result - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm_caldav/crm_caldav_setup.xml b/addons/crm_caldav/crm_caldav_setup.xml index 7e20a318e4f..36f3c3fd78b 100644 --- a/addons/crm_caldav/crm_caldav_setup.xml +++ b/addons/crm_caldav/crm_caldav_setup.xml @@ -29,7 +29,7 @@ <field name="calendar_id" ref="basic_calendar_meetings0"/> <field name="domain">[('user_id','=', dctx_user_id)]</field> <field name="name">vevent</field> - <field name="object_id" ref="crm.model_crm_meeting"/> + <field name="object_id" ref="base_calendar.model_crm_meeting"/> </record> @@ -103,7 +103,7 @@ <record id="basic_calendar_fields_12" model="basic.calendar.fields"> <field name="name" ref="caldav.field_event_organizer"/> <field name="type_id" ref="basic_calendar_lines_vevent0"/> - <field name="field_id" ref="crm.field_crm_meeting_organizer"/> + <field name="field_id" ref="base_calendar.field_crm_meeting_organizer"/> <field name="fn">field</field> </record> <record id="basic_calendar_fields_13" model="basic.calendar.fields"> @@ -127,7 +127,7 @@ <record id="basic_calendar_fields_16" model="basic.calendar.fields"> <field name="name" ref="caldav.field_event_attendee"/> <field name="type_id" ref="basic_calendar_lines_vevent0"/> - <field name="field_id" ref="crm.field_crm_meeting_attendee_ids"/> + <field name="field_id" ref="base_calendar.field_crm_meeting_attendee_ids"/> <field name="fn">field</field> </record> <record id="basic_calendar_fields_17" model="basic.calendar.fields"> @@ -163,7 +163,7 @@ <record id="basic_calendar_fields_22" model="basic.calendar.fields"> <field name="name" ref="caldav.field_event_status"/> <field name="type_id" ref="basic_calendar_lines_vevent0"/> - <field name="field_id" ref="crm.field_crm_meeting_state"/> + <field name="field_id" ref="base_calendar.field_crm_meeting_state"/> <field name="mapping">{'tentative': 'draft', 'confirmed': 'open', 'cancelled': 'cancel'}</field> <field name="fn">field</field> </record> @@ -176,7 +176,7 @@ <record id="basic_calendar_fields_24" model="basic.calendar.fields"> <field name="name" ref="caldav.field_event_dtstamp"/> <field name="type_id" ref="basic_calendar_lines_vevent0"/> - <field name="field_id" ref="crm.field_crm_meeting_write_date"/> + <field name="field_id" ref="base_calendar.field_crm_meeting_write_date"/> <field name="fn">datetime_utc</field> </record> <record id="basic_calendar_fields_25" model="basic.calendar.fields"> diff --git a/addons/crm_claim/crm_claim.py b/addons/crm_claim/crm_claim.py index 5b98258240c..ec6252bcdca 100644 --- a/addons/crm_claim/crm_claim.py +++ b/addons/crm_claim/crm_claim.py @@ -22,14 +22,11 @@ from base_status.base_stage import base_stage import binascii from crm import crm -from crm import wizard from osv import fields, osv import time import tools from tools.translate import _ -wizard.mail_compose_message.SUPPORTED_MODELS.append('crm.claim') - CRM_CLAIM_PENDING_STATES = ( crm.AVAILABLE_STATES[2][0], # Cancelled crm.AVAILABLE_STATES[3][0], # Done @@ -75,6 +72,7 @@ class crm_claim(base_stage, osv.osv): _description = "Claim" _order = "priority,date desc" _inherit = ['mail.thread'] + _mail_compose_message = True _columns = { 'id': fields.integer('ID', readonly=True), 'name': fields.char('Claim Subject', size=128, required=True), diff --git a/addons/crm_claim/i18n/ja.po b/addons/crm_claim/i18n/ja.po index f76197d8d79..c4736037adb 100644 --- a/addons/crm_claim/i18n/ja.po +++ b/addons/crm_claim/i18n/ja.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-06-09 18:59+0000\n" +"PO-Revision-Date: 2012-07-07 21:23+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-10 04:37+0000\n" -"X-Generator: Launchpad (build 15376)\n" +"X-Launchpad-Export-Date: 2012-07-08 04:41+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_claim #: field:crm.claim.report,nbr:0 msgid "# of Cases" -msgstr "件数" +msgstr "案件の数" #. module: crm_claim #: view:crm.claim:0 @@ -249,7 +249,7 @@ msgstr "次のアクション" #. module: crm_claim #: view:crm.claim.report:0 msgid "My Sales Team(s)" -msgstr "私の販売チーム" +msgstr "私の営業チーム" #. module: crm_claim #: model:crm.case.stage,name:crm_claim.stage_claim3 @@ -670,7 +670,7 @@ msgstr "クレームを検索する" #: field:crm.claim,section_id:0 #: view:crm.claim.report:0 msgid "Sales Team" -msgstr "販売チーム" +msgstr "営業チーム" #. module: crm_claim #: selection:crm.claim.report,month:0 diff --git a/addons/crm_fundraising/crm_fundraising.py b/addons/crm_fundraising/crm_fundraising.py index 20d90795ffc..495be4d729c 100644 --- a/addons/crm_fundraising/crm_fundraising.py +++ b/addons/crm_fundraising/crm_fundraising.py @@ -21,12 +21,9 @@ from base_status.base_stage import base_stage from crm import crm -from crm import wizard from osv import fields, osv from tools.translate import _ -wizard.mail_compose_message.SUPPORTED_MODELS.append('crm.fundraising') - class crm_fundraising(base_stage, osv.osv): """ Fund Raising Cases """ @@ -34,6 +31,7 @@ class crm_fundraising(base_stage, osv.osv): _description = "Fund Raising" _order = "id desc" _inherit = ['mail.thread'] + _mail_compose_message = True _columns = { 'id': fields.integer('ID', readonly=True), 'name': fields.char('Name', size=128, required=True), diff --git a/addons/crm_fundraising/i18n/ja.po b/addons/crm_fundraising/i18n/ja.po index e094f9ed8d0..2e87ece13d7 100644 --- a/addons/crm_fundraising/i18n/ja.po +++ b/addons/crm_fundraising/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-06-09 19:04+0000\n" +"PO-Revision-Date: 2012-07-08 22:15+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-10 04:37+0000\n" -"X-Generator: Launchpad (build 15376)\n" +"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_fundraising #: field:crm.fundraising,planned_revenue:0 @@ -236,7 +236,7 @@ msgstr "最低" #: view:crm.fundraising:0 #: view:crm.fundraising.report:0 msgid "My Sales Team(s)" -msgstr "私の販売チーム" +msgstr "私の営業チーム" #. module: crm_fundraising #: field:crm.fundraising,create_date:0 @@ -324,7 +324,7 @@ msgid "" "Have a general overview of all fund raising activities by sorting them with " "specific criteria such as the estimated revenue, average success probability " "and delay to close." -msgstr "予測金額、平均成功確率、締切の延期などの基準で分類して全ての資金調達の一覧を表示する。" +msgstr "予測売上、平均成功確率、締切の延期などの特定の基準で分類することで、全ての資金調達活動の一般的な概要を持ちます。" #. module: crm_fundraising #: selection:crm.fundraising.report,month:0 @@ -626,7 +626,7 @@ msgstr "責任者" msgid "" "Sales team to which Case belongs to. Define Responsible user and Email " "account for mail gateway." -msgstr "案件が割当てられた販売チーム。担当ユーザとEメール・アカウントを指定します。" +msgstr "案件が割当てられた営業チーム。担当ユーザとEメール・アカウントを指定します。" #. module: crm_fundraising #: model:ir.model,name:crm_fundraising.model_crm_fundraising_report @@ -763,7 +763,7 @@ msgstr "高い" #: field:crm.fundraising,section_id:0 #: view:crm.fundraising.report:0 msgid "Sales Team" -msgstr "販売チーム" +msgstr "営業チーム" #. module: crm_fundraising #: field:crm.fundraising.report,create_date:0 diff --git a/addons/crm_helpdesk/crm_helpdesk.py b/addons/crm_helpdesk/crm_helpdesk.py index fe7b0581e9b..4b0cb2e3ffa 100644 --- a/addons/crm_helpdesk/crm_helpdesk.py +++ b/addons/crm_helpdesk/crm_helpdesk.py @@ -21,7 +21,6 @@ from base_status.base_state import base_state from crm import crm -from crm import wizard from osv import fields, osv import tools from tools.translate import _ @@ -32,8 +31,6 @@ CRM_HELPDESK_STATES = ( crm.AVAILABLE_STATES[4][0], # Pending ) -wizard.mail_compose_message.SUPPORTED_MODELS.append('crm.helpdesk') - class crm_helpdesk(base_state, osv.osv): """ Helpdesk Cases """ @@ -41,6 +38,7 @@ class crm_helpdesk(base_state, osv.osv): _description = "Helpdesk" _order = "id desc" _inherit = ['mail.thread'] + _mail_compose_message = True _columns = { 'id': fields.integer('ID', readonly=True), 'name': fields.char('Name', size=128, required=True), diff --git a/addons/crm_helpdesk/i18n/ja.po b/addons/crm_helpdesk/i18n/ja.po index 3228f329919..8a0e027baec 100644 --- a/addons/crm_helpdesk/i18n/ja.po +++ b/addons/crm_helpdesk/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-05-28 19:12+0000\n" -"Last-Translator: Masaki Yamaya <Unknown>\n" +"PO-Revision-Date: 2012-07-06 04:05+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-05-29 04:46+0000\n" -"X-Generator: Launchpad (build 15316)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_helpdesk #: field:crm.helpdesk.report,delay_close:0 @@ -207,7 +207,7 @@ msgstr "Eメールの数" #: view:crm.helpdesk:0 #: view:crm.helpdesk.report:0 msgid "My Sales Team(s)" -msgstr "私の販売チーム" +msgstr "私の営業チーム" #. module: crm_helpdesk #: field:crm.helpdesk,create_date:0 @@ -533,7 +533,7 @@ msgstr "催促を送る" msgid "" "Sales team to which Case belongs to. Define " "Responsible user and Email account for mail gateway." -msgstr "事象を割り当てる販売チーム。メールゲートウェイにと担当ユーザとEメールアカウントを作って下さい。" +msgstr "事象を割り当てる営業チーム。メールゲートウェイにと担当ユーザとEメールアカウントを作って下さい。" #. module: crm_helpdesk #: view:crm.helpdesk:0 @@ -708,7 +708,7 @@ msgstr "高い" #: field:crm.helpdesk,section_id:0 #: view:crm.helpdesk.report:0 msgid "Sales Team" -msgstr "販売チーム" +msgstr "営業チーム" #. module: crm_helpdesk #: field:crm.helpdesk,date_action_last:0 diff --git a/addons/crm_partner_assign/i18n/ja.po b/addons/crm_partner_assign/i18n/ja.po index 043ade7d9cc..1deac08f254 100644 --- a/addons/crm_partner_assign/i18n/ja.po +++ b/addons/crm_partner_assign/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-05-25 04:47+0000\n" +"PO-Revision-Date: 2012-07-08 19:19+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-28 04:40+0000\n" -"X-Generator: Launchpad (build 15505)\n" +"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_partner_assign #: field:crm.lead.forward.to.partner,send_to:0 @@ -329,7 +329,7 @@ msgstr "パートナの割当て" #. module: crm_partner_assign #: help:crm.lead.report.assign,type:0 msgid "Type is used to separate Leads and Opportunities" -msgstr "リードと機会を区別するためにタイプを使います。" +msgstr "リードと商談を区別するためにタイプを使います。" #. module: crm_partner_assign #: selection:crm.lead.report.assign,month:0 @@ -362,7 +362,7 @@ msgstr "ジオロケーション" #: view:crm.lead.report.assign:0 #: view:crm.partner.report.assign:0 msgid "Opportunities Assignment Analysis" -msgstr "好機割当て分析" +msgstr "商談割当分析" #. module: crm_partner_assign #: view:res.partner:0 @@ -409,7 +409,7 @@ msgstr "重量" #. module: crm_partner_assign #: view:crm.lead.report.assign:0 msgid "Delay to open" -msgstr "開始をを延期する" +msgstr "開始を延期する" #. module: crm_partner_assign #: view:crm.lead.report.assign:0 @@ -455,7 +455,7 @@ msgstr "分類" #. module: crm_partner_assign #: view:crm.lead.report.assign:0 msgid "#Opportunities" -msgstr "好機の数" +msgstr "商談の数" #. module: crm_partner_assign #: view:crm.lead:0 @@ -492,7 +492,7 @@ msgstr "パートナに大量に転送" #: view:res.partner:0 #: field:res.partner,opportunity_assigned_ids:0 msgid "Assigned Opportunities" -msgstr "割り当てられた好機" +msgstr "割当済商談" #. module: crm_partner_assign #: field:crm.lead,date_assign:0 @@ -527,12 +527,12 @@ msgstr "6月" #. module: crm_partner_assign #: help:crm.lead.report.assign,delay_open:0 msgid "Number of Days to open the case" -msgstr "当件を開くまでの日数" +msgstr "案件を開くまでの日数" #. module: crm_partner_assign #: field:crm.lead.report.assign,delay_open:0 msgid "Delay to Open" -msgstr "開始をを延期する" +msgstr "開始を延期する" #. module: crm_partner_assign #: selection:crm.lead.forward.to.partner,send_to:0 @@ -566,7 +566,7 @@ msgstr "ジオ緯度" #. module: crm_partner_assign #: field:crm.partner.report.assign,opp:0 msgid "# of Opportunity" -msgstr "好機の数" +msgstr "商談の数" #. module: crm_partner_assign #: view:crm.lead.report.assign:0 @@ -738,7 +738,7 @@ msgstr "住所" #. module: crm_partner_assign #: selection:crm.lead.report.assign,type:0 msgid "Opportunity" -msgstr "好機" +msgstr "商談" #. module: crm_partner_assign #: view:crm.lead.forward.to.partner:0 @@ -776,7 +776,7 @@ msgstr "メッセージの見出し" #. module: crm_partner_assign #: view:res.partner:0 msgid "Convert to Opportunity" -msgstr "好機に転換する" +msgstr "商談に変換" #. module: crm_partner_assign #: field:crm.lead.forward.to.partner,email_bcc:0 @@ -858,7 +858,7 @@ msgstr "高" #: field:crm.lead.report.assign,section_id:0 #: field:crm.partner.report.assign,section_id:0 msgid "Sales Team" -msgstr "販売チーム" +msgstr "営業チーム" #. module: crm_partner_assign #: field:crm.lead.report.assign,create_date:0 diff --git a/addons/crm_profiling/i18n/ja.po b/addons/crm_profiling/i18n/ja.po index bb07a87bb23..dec5af0dce0 100644 --- a/addons/crm_profiling/i18n/ja.po +++ b/addons/crm_profiling/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-05-10 18:04+0000\n" -"Last-Translator: Raphael Collet (OpenERP) <Unknown>\n" +"PO-Revision-Date: 2012-07-06 04:06+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-05-11 05:04+0000\n" -"X-Generator: Launchpad (build 15225)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_profiling #: view:crm_profiling.questionnaire:0 @@ -30,7 +30,7 @@ msgid "" "segmentation tool allows you to automatically assign a partner to a category " "according to his answers to the different questionnaires." msgstr "" -"特定のトピックに関連した質問票を作成して、それを使って販売チームが適切な質問をするように指導できます。区分ツールを使って、質問に対する回答に応じて、パート" +"特定のトピックに関連した質問票を作成して、それを使って営業チームが適切な質問をするように指導できます。区分ツールを使って、質問に対する回答に応じて、パート" "ナを自動的に区分することができます。" #. module: crm_profiling diff --git a/addons/crm_todo/i18n/ja.po b/addons/crm_todo/i18n/ja.po index ffa0a726173..002d9e0acc3 100644 --- a/addons/crm_todo/i18n/ja.po +++ b/addons/crm_todo/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-04-20 03:47+0000\n" -"Last-Translator: Tomomi Mengelberg <tomomi.mengelberg@aquasys.co.jp>\n" +"PO-Revision-Date: 2012-07-07 21:25+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-04-21 05:01+0000\n" -"X-Generator: Launchpad (build 15120)\n" +"X-Launchpad-Export-Date: 2012-07-08 04:41+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: crm_todo #: model:ir.model,name:crm_todo.model_project_task @@ -82,7 +82,7 @@ msgstr "その他の情報" #. module: crm_todo #: field:project.task,lead_id:0 msgid "Lead / Opportunity" -msgstr "見込み客 / 商談" +msgstr "リード / 商談" #. module: crm_todo #: view:crm.lead:0 diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml index 5e54f74f7f1..f7053f1da1d 100644 --- a/addons/delivery/delivery_view.xml +++ b/addons/delivery/delivery_view.xml @@ -257,13 +257,15 @@ <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <xpath expr="//group[@name='sale_total']" position="after"> - <group> + <group width="50%%"> <label for="carrier_id"/> <div> <field name="carrier_id" context="{'order_id':active_id or False}" class="oe_inline"/> - <button name="delivery_set" states="draft" string="Add to Sale Order" type="object"/> + <button name="delivery_set" states="draft" string="Charge in Sale Order" type="object" + attrs="{'invisible':[('carrier_id','=',False)]}"/> </div> - <label string="If you do not 'Add to Sale Order', the delivery charges will be added based on the delivery order."/> + <label string="If you do not 'Add to Sale Order', the delivery charges will be added based on the delivery order(s)." colspan="2" + attrs="{'invisible':[('carrier_id','=',False)]}"/> </group> </xpath> </field> diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index 6fb99d936d4..de9d422edab 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -238,51 +238,27 @@ <field name="model">ir.attachment</field> <field name="priority" eval="1"/> <field name="type">form</field> + <field name="inherit_id" ref="base.view_attachment_form"/> <field name="arch" type="xml"> - <form string="Documents" version="7.0"> - <sheet> - <group col="4"> - <field name="name"/> - <field name="parent_id"/> - <field name="user_id"/> - <field name="company_id" groups="base.group_multi_company" widget="selection"/> - </group> - <notebook colspan="4"> - <page string="Attachment"> - <group> - <group string="Data"> - <field name="type"/> - <newline /> - <field name="datas" filename="datas_fname" attrs="{'invisible':[('type','=','url')]}"/> - <field name="datas_fname" attrs="{'invisible':[('type','=','url')]}"/> - <field name="url" widget="url" attrs="{'invisible':[('type','=','binary')]}"/> - </group> - <group> - <field name="res_id" invisible="True"/> - <field name="res_model" readonly="True" invisible="True" attrs="{'invisible': [('res_id','=',0)]}"/> - <field name="res_name" readonly="1" attrs="{'invisible': [('res_id','=',0)]}"/> - <separator string="Related to" colspan="2"/> - <field name="partner_id"/> - </group> - <group groups="base.group_no_one" string="Created"> - <field name="create_uid" readonly="1"/> - <field name="create_date" readonly="1"/> - </group> - <group groups="base.group_no_one" string="Modified"> - <field name="write_uid" readonly="1"/> - <field name="write_date" readonly="1"/> - </group> - </group> - </page> - <page string="Indexed Content - experimental" groups="base.group_no_one"> - <field name="index_content"/> - </page> - <page string="Notes"> - <field name="description"/> - </page> - </notebook> - </sheet> - </form> + <field name="url" position="after"> + <field name="user_id"/> + </field> + <field name="company_id" position="before"> + <field name="parent_id"/> + <field name="partner_id"/> + </field> + <xpath expr="//div[@name='creation_div']" position='after'> + <label for="write_uid" string="Modification"/> + <div> + <field name="write_uid" readonly="1" class="oe_inline"/> on + <field name="write_date" readonly="1" class="oe_inline"/> + </div> + </xpath> + <xpath expr="//group[@name='description_group']" position='after'> + <group string="Indexed Content" colspan="4"> + <field name="index_content" nolabel="1"/> + </group> + </xpath> </field> </record> diff --git a/addons/document_ftp/wizard/ftp_browse_view.xml b/addons/document_ftp/wizard/ftp_browse_view.xml index e2e1825f522..a0656b5597d 100644 --- a/addons/document_ftp/wizard/ftp_browse_view.xml +++ b/addons/document_ftp/wizard/ftp_browse_view.xml @@ -12,7 +12,6 @@ or <button string="Cancel" class="oe_link" special="cancel" /> </header> - <separator string="Browse Document"/> <group> <field name="url" widget="url"/> </group> diff --git a/addons/edi/i18n/ar.po b/addons/edi/i18n/ar.po index 486cbbc8533..cf25f0186d5 100644 --- a/addons/edi/i18n/ar.po +++ b/addons/edi/i18n/ar.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-04-06 00:12+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"PO-Revision-Date: 2012-07-06 02:21+0000\n" +"Last-Translator: Ahmad Khayyat <Unknown>\n" "Language-Team: Arabic <ar@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-04-07 04:56+0000\n" -"X-Generator: Launchpad (build 15060)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: edi #: sql_constraint:res.currency:0 msgid "The currency code must be unique per company!" -msgstr "" +msgstr "يجب أن يكون رمز العملة فريداً للشركة!" #. module: edi #: model:ir.model,name:edi.model_res_partner_address @@ -30,12 +30,12 @@ msgstr "عناوين الشريك" #. module: edi #: sql_constraint:res.company:0 msgid "The company name must be unique !" -msgstr "اسم الشركة يجب أن يكون فريداً !" +msgstr "يجب أن يكون اسم الشركة فريداً !" #. module: edi #: constraint:res.partner:0 msgid "Error ! You cannot create recursive associated members." -msgstr "" +msgstr "خطأ ! لا يمكنك إنشاء أعضاء مرتبطين و متداخلين." #. module: edi #: field:edi.document,name:0 @@ -111,12 +111,12 @@ msgstr "مستند" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:23 msgid "View/Print" -msgstr "" +msgstr "عرض/طباعة" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:28 msgid "Import this document" -msgstr "" +msgstr "إستيراد هذه الوثيقة" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:33 @@ -126,7 +126,7 @@ msgstr "" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:36 msgid "OpenERP instance address:" -msgstr "عنوان مثال أوبنيرب:" +msgstr "عنوان نسخة أوبن إي آر بي:" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:39 @@ -177,7 +177,7 @@ msgstr "" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:60 msgid "OpenERP documentation" -msgstr "وثائق أوبنيرب" +msgstr "توثيق أوبن إي آر بي" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:61 @@ -202,12 +202,12 @@ msgstr "تحميل" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:87 msgid "Powered by" -msgstr "مدعوم من kifcaliph و" +msgstr "يتم تشغيل هذا التطبيق بواسطة" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi.xml:87 msgid "OpenERP" -msgstr "أوبنيرب" +msgstr "أوبن إي آر بي" #. openerp-web #: /home/odo/repositories/addons/trunk/edi/static/src/xml/edi_account.xml:34 diff --git a/addons/edi/static/src/css/edi.css b/addons/edi/static/src/css/edi.css index 1601151ae1f..6385959c036 100644 --- a/addons/edi/static/src/css/edi.css +++ b/addons/edi/static/src/css/edi.css @@ -24,21 +24,6 @@ button.oe_edi_action_print img { height: 32px; } -.openerp input.invalid { - background-color: #F66 !important; - border: 1px solid #D00 !important; - color: #000; -} -/* following browse-specific hacks need to be separate rules, as browsers are - required to ignore rules with unknown selectors. At time of writing, there - is no standard way to style HTML5 placeholders */ -.openerp input.invalid:-moz-placeholder { - color: #FFF; -} -.openerp input.invalid::-webkit-input-placeholder { - color: #FFF; -} - /** EDI Sidebar **/ .oe_edi_sidebar_title { border-bottom: 1px solid #D2CFCF; @@ -81,9 +66,6 @@ button.oe_edi_action_print img { /** Paperbox, from http://www.sitepoint.com/pure-css3-paper-curl/ **/ -body { - background: #EEE; /* contrast with paper */ -} .oe_edi_paperbox { position: relative; width: 700px; @@ -225,4 +207,4 @@ table.oe_edi_data, .oe_edi_doc_title { .python .nu0 {color: #ff4500;} .python .me1 {color: black;} .python span.xtra { display:block; } -.python ol { padding: 0px; }
\ No newline at end of file +.python ol { padding: 0px; } diff --git a/addons/event/security/ir.model.access.csv b/addons/event/security/ir.model.access.csv index cf95d00876e..b6cdc4c4ec6 100644 --- a/addons/event/security/ir.model.access.csv +++ b/addons/event/security/ir.model.access.csv @@ -1,8 +1,8 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_event_type,event.type,model_event_type,event.group_event_user,1,0,0,0
access_event_type_manager,event.type manager,model_event_type,event.group_event_manager,1,1,1,1
-access_event_event,event.event,model_event_event,event.group_event_user,1,1,1,0
-access_event_registration,event.registration,model_event_registration,event.group_event_user,1,1,1,0
+access_event_event,event.event,model_event_event,event.group_event_user,1,1,1,1
+access_event_registration,event.registration,model_event_registration,event.group_event_user,1,1,1,1
access_report_event_registration,report.event.registration,model_report_event_registration,event.group_event_user,1,1,1,1
-access_event_event_manager,event.event manager,model_event_event,event.group_event_manager,1,0,0,0
-access_event_registration_manager,event.registration manager,model_event_registration,event.group_event_manager,1,0,0,0
+access_event_event_portal,event.event,model_event_event,,1,0,0,0
+access_event_registration_portal,event.registration,model_event_registration,,1,0,0,0
diff --git a/addons/hr/__openerp__.py b/addons/hr/__openerp__.py index 1135b55034a..71d7d9aa93d 100644 --- a/addons/hr/__openerp__.py +++ b/addons/hr/__openerp__.py @@ -43,12 +43,12 @@ You can manage: 'update_xml': [ 'security/hr_security.xml', 'security/ir.model.access.csv', + 'board_hr_view.xml', 'hr_view.xml', 'hr_department_view.xml', 'process/hr_process.xml', 'hr_installer.xml', 'hr_data.xml', - 'board_hr_view.xml', 'res_config_view.xml', ], 'demo_xml': [ diff --git a/addons/hr/hr_department_view.xml b/addons/hr/hr_department_view.xml index 1935cbbd03d..bbf66f0d4c3 100644 --- a/addons/hr/hr_department_view.xml +++ b/addons/hr/hr_department_view.xml @@ -13,12 +13,14 @@ <field name="type">form</field> <field name="arch" type="xml"> <form string="department" version="7.0"> - <group col="4"> - <field name="name"/> - <field name="parent_id"/> - <field name="manager_id"/> - <field name="company_id" widget="selection" groups="base.group_multi_company"/> - </group> + <sheet> + <group col="4"> + <field name="name"/> + <field name="manager_id"/> + <field name="parent_id"/> + <field name="company_id" widget="selection" groups="base.group_multi_company"/> + </group> + </sheet> </form> </field> </record> diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 0de29b92143..a0697ea62d1 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -9,6 +9,8 @@ <menuitem id="menu_hr_main" parent="menu_hr_root" name="Human Resources" sequence="0"/> <menuitem id="menu_hr_configuration" name="Configuration" parent="hr.menu_hr_root" groups="base.group_hr_manager" sequence="50"/> <menuitem id="menu_hr_management" name="Human Resources" parent="hr.menu_hr_configuration" groups="base.group_no_one" sequence="25"/> + <menuitem id="menu_hr_reporting_timesheet" name="Reports" + parent="menu_hr_reporting" sequence="6" /> <!--Employee form view --> <record id="view_employee_form" model="ir.ui.view"> @@ -18,60 +20,64 @@ <field name="arch" type="xml"> <form string="Employee" version="7.0"> <sheet> - <div class="oe_right oe_button_box"> - <!-- Put here related buttons --> - </div> - <field class="oe_right" name="photo" widget='image' on_change="onchange_photo(photo)"/> - <div class="oe_title"> - <label for="name" class="oe_edit_only"/> - <h1><field name="name"/></h1> - - <label for="company_id" class="oe_edit_only" groups="base.group_multi_company"/> - <h2><field name="company_id" widget="selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/></h2> - - <label for="department_id" class="oe_edit_only"/> - <h2><field name="department_id" on_change="onchange_department_id(department_id)"/></h2> - </div> - <notebook> - <page string="Personal Information"> - <group> - <group string="General"> - <field name="user_id" on_change="onchange_user(user_id)"/> - <field name="active"/> - <field name="parent_id"/> - </group> - <group groups="base.group_hr_user" string="Social IDs"> - <field name="identification_id"/> - <field name="passport_id"/> - <field name="otherid"/> - </group> - <group groups="base.group_hr_user" string="Status"> - <field name="gender"/> - <field name="marital"/> - <field name="country_id"/> - <field name="birthday"/> - </group> - <group string="Contact Information"> - <field name="address_home_id"/> - <field name="address_id" on_change="onchange_address_id(address_id)"/> - <field name="work_phone"/> - <field name="mobile_phone"/> - <field name="work_email" widget="email"/> - <field name="work_location"/> + <field name="photo" widget='image' class="oe_right" on_change="onchange_photo(photo)"/> + <div class="oe_right oe_button_box" name="button_box"> + <!-- Put here related buttons --> + </div> + <div class="oe_title"> + <label for="name" class="oe_edit_only"/> + <h1> + <field name="name" class="oe_inline"/> + <label class="oe_inline" string="," attrs="{'invisible': [('job_id', '=', False)]}"/> + <field class="oe_inline" name="job_id" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/> + <label class="oe_inline" string="at" attrs="{'invisible': [('company_id', '=', False)]}" groups="base.group_multi_company"/> + <field class="oe_inline" name="company_id" groups="base.group_multi_company" on_change="onchange_company(company_id)"/> + </h1> + <label for="department_id" class="oe_edit_only"/> + <h2><field name="department_id" on_change="onchange_department_id(department_id)"/></h2> + <label for="category_ids" class="oe_edit_only"/> + <h3><field name="category_ids" widget="many2many_tags"/></h3> + </div> + <group colspan="4" col="4"> + <field name="work_email" widget="email" /> + <field name="work_phone"/> + <field name="address_id" on_change="onchange_address_id(address_id)" /> + <field name="mobile_phone"/> + </group> + <notebook> + <page string="Information"> + <group> + <group> + <field name="user_id" on_change="onchange_user(user_id)"/> + <field name="parent_id" /> + <field name="coach_id"/> + </group> + <group> + <field name="identification_id" groups="base.group_hr_user"/> + <field name="passport_id" groups="base.group_hr_user"/> + <field name="otherid" groups="base.group_hr_user"/> + </group> + <group name="active_group"> + <field name="active"/> + </group> </group> - <group string="Job Information"> - <field name="job_id" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/> - <field name="coach_id"/> + <field name="notes" placeholder="Other Information ..." colspan="4"/> + </page> + <page string="Personal Information" groups="base.group_hr_user"> + <group col="4"> + <group> + <field name="country_id"/> + <field name="bank_account_id"/> + <field name="address_home_id"/> + </group> + <group> + <field name="gender"/> + <field name="marital"/> + <field name="birthday"/> + </group> </group> - </group> - </page> - <page string="Categories" groups="base.group_hr_user"> - <field name="category_ids" widget="many2many_tags"/> - </page> - <page string="Notes" groups="base.group_hr_user"> - <field name="notes"/> - </page> - </notebook> + </page> + </notebook> </sheet> </form> </field> @@ -357,16 +363,21 @@ <field name="state" widget="statusbar" statusbar_visible="recruit,open"/> </header> <sheet> + <label for="name" class="oe_edit_only"/> + <h1> + <field name="name" class="oe_inline"/> + <label class="oe_inline" string="(" attrs="{'invisible': [('department_id', '=', False)]}"/> + <field name="department_id" class="oe_inline"/> + <label class="oe_inline" string=")" attrs="{'invisible': [('department_id', '=', False)]}"/> + </h1> <group> <group> - <field name="name"/> - <field name="department_id"/> - <field name="company_id" widget="selection" groups="base.group_multi_company"/> - </group> - <group> - <field name="no_of_recruitment" on_change="on_change_expected_employee(no_of_recruitment,no_of_employee)"/> <field name="no_of_employee"/> <field name="expected_employees"/> + <field name="no_of_recruitment" on_change="on_change_expected_employee(no_of_recruitment,no_of_employee)"/> + </group> + <group> + <field name="company_id" widget="selection" groups="base.group_multi_company"/> </group> </group> <notebook> @@ -376,9 +387,6 @@ <label for="requirements"/> <field name="requirements"/> </page> - <page string="Employees" groups="base.group_user"> - <field name="employee_ids" widget="many2many" mode="tree,form"/> - </page> </notebook> </sheet> </form> diff --git a/addons/hr/res_config_view.xml b/addons/hr/res_config_view.xml index b41ccd0e935..3285f4c32a6 100644 --- a/addons/hr/res_config_view.xml +++ b/addons/hr/res_config_view.xml @@ -20,34 +20,32 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Additional Features"> - <group> - <field name="module_hr_expense"/> - <field name="module_hr_evaluation"/> - <field name="module_hr_holidays"/> - </group> - <group> - <field name="module_hr_recruitment"/> - <field name="module_hr_contract"/> - <label for="module_hr_payroll"/> - <div> - <field name="module_hr_payroll"/> - <button name="%(open_payroll_modules)d" type="action" - string="Install Country-Specific Payroll" icon="gtk-go-forward" - attrs="{'invisible': [('module_hr_payroll','=',False)]}"/> - </div> - </group> + <group string="Additional Features"> + <group> + <field name="module_hr_expense"/> + <field name="module_hr_evaluation"/> + <field name="module_hr_holidays"/> </group> <group> - <group string="Timesheets"> - <field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)"/> - <field name="module_hr_timesheet" on_change="onchange_hr_timesheet(module_hr_timesheet)"/> - <field name="module_hr_timesheet_sheet"/> - </group> - <group name="config_recruitment"/> + <field name="module_hr_recruitment"/> + <field name="module_hr_contract"/> + <label for="module_hr_payroll"/> + <div> + <field name="module_hr_payroll"/> + <button name="%(open_payroll_modules)d" type="action" + string="Install Country-Specific Payroll" icon="gtk-go-forward" + attrs="{'invisible': [('module_hr_payroll','=',False)]}"/> + </div> + </group> + </group> + <group> + <group string="Timesheets"> + <field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)"/> + <field name="module_hr_timesheet" on_change="onchange_hr_timesheet(module_hr_timesheet)"/> + <field name="module_hr_timesheet_sheet"/> </group> - </sheet> + <group name="config_recruitment"/> + </group> </form> </field> </record> diff --git a/addons/hr_attendance/hr_attendance_view.xml b/addons/hr_attendance/hr_attendance_view.xml index e769f3ff684..448e6401cbd 100644 --- a/addons/hr_attendance/hr_attendance_view.xml +++ b/addons/hr_attendance/hr_attendance_view.xml @@ -133,12 +133,13 @@ <field name="type">form</field> <field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml"> - <field name="coach_id" position="after"> - <group colspan="2"> - <field name="state"/> - <button name="attendance_action_change" states="present" string="Sign Out" type="object" icon="gtk-go-forward" context="{'type':'sign_out'}" groups="base.group_hr_user"/> - <button name="attendance_action_change" states="absent" string="Sign In" type="object" icon="gtk-go-back" context="{'type':'sign_in'}" groups="base.group_hr_user"/> - </group> + <field name="active" position="before"> + <label for="state"/> + <div> + <field name="state" class="oe_inline"/> + <button class="oe_inline oe_right" name="attendance_action_change" states="present" string="Sign Out" type="object" icon="gtk-go-forward" context="{'type':'sign_out'}" groups="base.group_hr_user"/> + <button class="oe_inline oe_right" name="attendance_action_change" states="absent" string="Sign In" type="object" icon="gtk-go-back" context="{'type':'sign_in'}" groups="base.group_hr_user"/> + </div> </field> </field> </record> diff --git a/addons/hr_contract/hr_contract.py b/addons/hr_contract/hr_contract.py index 4f82d1b3014..1267f13ac04 100644 --- a/addons/hr_contract/hr_contract.py +++ b/addons/hr_contract/hr_contract.py @@ -44,7 +44,7 @@ class hr_employee(osv.osv): 'place_of_birth': fields.char('Place of Birth', size=30), 'children': fields.integer('Number of Children'), 'vehicle': fields.char('Company Vehicle', size=64), - 'vehicle_distance': fields.integer('Home-Work Distance', help="In kilometers"), + 'vehicle_distance': fields.integer('Home-Work Dist.', help="In kilometers"), 'contract_ids': fields.one2many('hr.contract', 'employee_id', 'Contracts'), 'contract_id':fields.function(_get_latest_contract, string='Contract', type='many2one', relation="hr.contract", help='Latest contract of the employee'), } diff --git a/addons/hr_contract/hr_contract_view.xml b/addons/hr_contract/hr_contract_view.xml index 11cdba387ca..ae6789ea234 100644 --- a/addons/hr_contract/hr_contract_view.xml +++ b/addons/hr_contract/hr_contract_view.xml @@ -8,30 +8,32 @@ <field name="model">hr.employee</field> <field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml"> - <page string="Personal Information" position="after"> - <page string="Miscellaneous" groups="base.group_hr_user"> - <group colspan="2" col="2"> - <separator string="Personal Info" colspan="2"/> - <field name="bank_account_id"/> - <field name="place_of_birth"/> - <field name="children"/> - </group> - <group colspan="2" col="2"> - <separator string="Job Info" colspan="2"/> - <field name="manager" /> - <field name="vehicle" /> - <field name="vehicle_distance" /> + <data> + <xpath expr="//field[@name='parent_id']" position="before"> + <field name="manager"/> + </xpath> + <xpath expr="//group[@name='active_group']" position="before"> + <group> + <field name="vehicle"/> + <field name="vehicle_distance"/> </group> - <group colspan="2" col="2"> - <separator string="Others Info" colspan="2"/> - <field name="medic_exam" /> - </group> - </page> - </page> + </xpath> + <field name="active" position="before"> + <field name="medic_exam" string="Medical Exam"/> + </field> + <field name="birthday" position="before"> + <field name="children"/> + </field> + <field name="birthday" position="after"> + <field name="place_of_birth"/> + </field> + <field name="bank_account_id" position="replace"> + <field name="bank_account_id" context="{'display_partner':True, 'partner_id':partner_id}"/> + </field> + </data> </field> </record> - <record id="hr_contract_view_search" model="ir.ui.view"> <field name="name">hr.contract.view.search</field> <field name="model">hr.contract</field> @@ -67,34 +69,44 @@ <field name="arch" type="xml"> <form string="Contract" version="7.0"> <sheet> - <group col="4"> - <field name="name" /> - <field name="employee_id" /> - <field name="job_id"/> - <field name="wage"/> - <field name="type_id"/> + <div class="oe_title"> + <h1> + <field name="name" placeholder="Contract Reference"/> + </h1> + </div> + <group> + <group> + <field name="employee_id"/> + <field name="job_id"/> + </group> + <group> + <field name="type_id"/> + </group> </group> <notebook> <page string="Information" name="information"> <group> - <group name="left_column" string="Duration"> - <field name="date_start" /> - <field name="date_end" /> - <field name="working_hours"/> - </group> - <group string="Trial Period"> - <field name="trial_date_start" /> - <field name="trial_date_end" /> + <group name="salary_and_advantages" string="Salary and Advantages"> + <field name="wage"/> + <field name="advantages" nolabel="1" placeholder="Advantages..." colspan="2"/> </group> - <group name="right_column" string="Advantages"> - <field name="advantages" nolabel="1" colspan="2"/> + <group name="duration_group" string="Duration"> + <label for="trial_date_start" string="Trial Period Duration"/> + <div> + <field name="trial_date_start" class="oe_inline"/> - <field name="trial_date_end" class="oe_inline"/> + </div> + <label for="date_start" string="Duration"/> + <div> + <field name="date_start" class="oe_inline"/> - <field name="date_end" class="oe_inline"/> + </div> + <field name="working_hours"/> </group> </group> <separator string="Notes"/> <field name="notes"/> </page> <page string="Work Permit"> - <group string="Valid for"> + <group col="4"> <field name="visa_no"/> <field name="permit_no"/> <field name="visa_expire"/> diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index e6e3dd69a26..a5efaf42347 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -28,11 +28,15 @@ <field name="arch" type="xml"> <form string="Appraisal Plan" version="7.0"> <group col="4"> - <field name="name"/> - <field name="company_id" widget="selection" groups="base.group_multi_company"/> - <field name="month_first"/> - <field name="month_next"/> - <field name="active"/> + <group> + <field name="name"/> + <field name="company_id" widget="selection" groups="base.group_multi_company"/> + <field name="active"/> + </group> + <group> + <field name="month_first"/> + <field name="month_next"/> + </group> </group> <notebook> <page string="Appraisal Phases"> @@ -133,10 +137,12 @@ <field name="model">hr.employee</field> <field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml"> - <page string="Notes" position="before"> + <page string="Personal Information" position="after"> <page string="Appraisal" groups="base.group_hr_user"> - <field name="evaluation_plan_id" on_change="onchange_evaluation_plan_id(evaluation_plan_id, evaluation_date)"/> - <field name="evaluation_date"/> + <group col="4"> + <field name="evaluation_plan_id" on_change="onchange_evaluation_plan_id(evaluation_plan_id, evaluation_date)"/> + <field name="evaluation_date"/> + </group> </page> </page> </field> @@ -157,49 +163,50 @@ <field name="state" widget="statusbar" statusbar_visible="draft,progress,wait,done" statusbar_colors='{"progress":"blue"}'/> </header> <sheet> + <label for="employee_id" class="oe_edit_only"/> + <h1><field name="employee_id" on_change="onchange_employee_id(employee_id)" class="oe_inline"/>, <field name="date" class="oe_inline"/></h1> + <label for="plan_id" class="oe_edit_only"/> + <h2><field name="plan_id"/></h2> <group> - <group string="Appraisal Data"> - <field name="employee_id" on_change="onchange_employee_id(employee_id)"/> - <field name="plan_id"/> - <field name="date"/> - </group> - <group attrs="{'invisible':['|', ('state','=','draft'), ('state', '=', 'wait')]}" string="Ending Summary"> + <group colspan="4" attrs="{'invisible':['|', ('state','=','draft'), ('state', '=', 'wait')]}"> <field name="rating" attrs="{'readonly':[('state','<>','progress')]}"/> <field name="date_close" readonly="1"/> </group> </group> - <notebook> - <page string="Appraisal" attrs="{'invisible':[('state','=','draft')]}"> - <field name="survey_request_ids"> - <form string="Interview Appraisal" version="7.0"> - <group col="4"> + <group string="Appraisal Forms" attrs="{'invisible':[('state','=','draft')]}"> + <field nolabel="1" name="survey_request_ids"> + <form string="Interview Appraisal" version="7.0"> + <div class="oe_right oe_button_box"> + <button name="%(survey.action_view_survey_question_message)d" string="Answer Survey" type="action" states="waiting_answer,done,cancel" icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response,'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/> + <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="done" icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0,}" attrs="{'readonly':[('response','=',False)]}" /> + </div> + <group> + <group> <field name="survey_id"/> - <div colspan="2"> - <button name="%(survey.action_view_survey_question_message)d" string="Answer Survey" type="action" states="waiting_answer,done,cancel" icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response,'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/> - <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="done" icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0,}" attrs="{'readonly':[('response','=',False)]}" /> - </div> - <field name="date_deadline"/> - <field name="response" readonly="1"/> <field name="user_to_review_id"/> <field name="user_id" string="Interviewer"/> </group> - <group col="4" string="Status"> - <field name="state"/> - <div> - <button string="Done" name="survey_req_done" states="waiting_answer" type="object" icon="gtk-jump-to" /> - </div> + <group> + <field name="date_deadline"/> + <field name="response" readonly="1"/> </group> - </form> - </field> - </page> - <page string="Internal Notes" attrs="{'invisible':[('state','=','draft')]}"> - <field name="note_action" - groups="base.group_hr_manager"/> - </page> - <page string="Public Notes" attrs="{'invisible':[('state','=','draft')]}"> - <field name="note_summary"/> - </page> - </notebook> + </group> + <group col="4" string="Status" invisible="1"> + <field name="state"/> + <div> + <button string="Done" name="survey_req_done" states="waiting_answer" type="object" icon="gtk-jump-to" /> + </div> + </group> + </form> + </field> + </group> + <group string="Internal Notes" attrs="{'invisible':[('state','=','draft')]}"> + <field nolabel="1" name="note_action" + groups="base.group_hr_manager" placeholder="Appraisal Summary..."/> + </group> + <group string="Public Notes" attrs="{'invisible':[('state','=','draft')]}"> + <field nolabel="1" name="note_summary" placeholder="Action Plan..."/> + </group> </sheet> </form> </field> @@ -279,13 +286,17 @@ <field name="state" widget="statusbar" statusbar_visible="waiting_answer,done"/> </header> <sheet> - <group col="4"> - <field name="user_to_review_id"/> - <field name="user_id" string="Interviewer"/> - <field name="date_deadline"/> - <field name="survey_id"/> - <field name="evaluation_id"/> - <field name="response" readonly="1"/> + <group> + <group> + <field name="survey_id"/> + <field name="user_to_review_id"/> + <field name="user_id" string="Interviewer"/> + </group> + <group> + <field name="date_deadline"/> + <field name="response" readonly="1"/> + <field name="evaluation_id" string="Appraisal Plan"/> + </group> </group> </sheet> </form> diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml index c9d51139fa7..d855e02eea7 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml +++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml @@ -90,7 +90,7 @@ <field name="search_view_id" ref="view_evaluation_report_search"/> </record> - <menuitem action="action_evaluation_report_all" id="menu_evaluation_report_all" parent="hr.menu_hr_reporting" sequence="3" groups="base.group_hr_manager"/> + <menuitem action="action_evaluation_report_all" id="menu_evaluation_report_all" parent="hr.menu_hr_reporting" sequence="2" groups="base.group_hr_manager"/> </data> </openerp> diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index 9d7ec10cc28..b1192701dfb 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -56,12 +56,12 @@ class hr_expense_expense(osv.osv): return self.pool.get('res.currency').search(cr, uid, [('rate','=',1.0)], context=context)[0] _name = "hr.expense.expense" + _inherit = ['mail.thread'] _description = "Expense" _order = "id desc" _columns = { 'name': fields.char('Description', size=128, required=True), 'id': fields.integer('Sheet ID', readonly=True), - 'ref': fields.char('Reference', size=32), 'date': fields.date('Date', select=True), 'journal_id': fields.many2one('account.journal', 'Force Journal', help = "The journal used when the expense is invoiced"), 'employee_id': fields.many2one('hr.employee', "Employee", required=True), diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index dd89a3ab57d..b8868c3319f 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -49,7 +49,6 @@ <field name="employee_id"/> <field name="date"/> <field name="department_id"/> - <field name="ref"/> <field name="name"/> <field name="amount"/> <field name="state"/> @@ -74,38 +73,44 @@ <field name="state" widget="statusbar" statusbar_visible="draft,confirm,accepted" statusbar_colors='{"confirm":"blue","cancelled":"red"}'/> </header> <sheet> - <group col="4"> - <field name="employee_id" on_change="onchange_employee_id(employee_id)"/> - <field name="name"/> - <field name="ref"/> - <field name="date"/> - <field name="currency_id"/> - <field name="department_id"/> - <field name="company_id" groups="base.group_multi_company"/> + <group> + <group> + <field name="employee_id" on_change="onchange_employee_id(employee_id)"/> + <field name="date"/> + <field name="department_id"/> + <field name="company_id" groups="base.group_multi_company"/> + </group> + <group> + <field name="name"/> + <field name="user_valid"/> + <field name="currency_id"/> + </group> </group> <notebook> <page string="Description"> <field name="line_ids" context="{'currency_id': currency_id}"> <form string="Expense Lines" version="7.0"> - <group col="6" colspan="4"> - <field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)" context="{'default_hr_expense_ok':1}"/> - <field name="name" colspan="4"/> - <newline/> - <field name="unit_amount"/> - <field name="unit_quantity"/> - <field name="uom_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)"/> - </group> - <group colspan="2" col="2" groups="analytic.group_analytic_accounting"> - <separator string="Customer Project" colspan="2"/> - <field domain="[('type','in',['normal','contract'])]" name="analytic_account"/> - </group> - <group colspan="2" col="2"> - <separator string="References" colspan="2"/> - <field name="date_value" /> - <field name="ref"/> + <group> + <group> + <field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)" context="{'default_hr_expense_ok':1}"/> + <field name="name"/> + <field name="ref"/> + <field domain="[('type','=','normal')]" name="analytic_account" groups="analytic.group_analytic_accounting"/> + </group> + <group> + <field name="unit_amount"/> + <label for="unit_quantity"/> + <div> + <field name="unit_quantity" class="oe_inline"/> + <field name="uom_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)" class="oe_inline"/> + </div> + <field name="date_value" /> + </group> </group> </form> </field> + <separator string="Notes"/> + <field name="note" placeholder="Free Notes"/> </page> <page string="Other Info"> <group> @@ -113,17 +118,13 @@ <field name="journal_id"/> <field name="invoice_id" context="{'type':'in_invoice', 'journal_type': 'purchase'}"/> </group> - <group groups="base.group_no_one" string="Validation"> - <field name="date_confirm" readonly="1"/> - <field name="date_valid" readonly="1"/> - <field name="user_valid"/> - </group> </group> - <separator string="Notes"/> - <field name="note"/> </page> </notebook> </sheet> + <footer> + <field name="message_ids" widget="mail_thread"/> + </footer> </form> </field> </record> diff --git a/addons/hr_expense/report/expense.rml b/addons/hr_expense/report/expense.rml index d0d73aa5ca4..bf456cfc4d6 100644 --- a/addons/hr_expense/report/expense.rml +++ b/addons/hr_expense/report/expense.rml @@ -160,7 +160,7 @@ <para style="terp_tblheader_General_Centre">Date</para> </td> <td> - <para style="terp_tblheader_General_Centre">Reference</para> + <para style="terp_tblheader_General_Centre">Description</para> </td> <td> <para style="terp_tblheader_General_Centre">Validated By</para> @@ -176,7 +176,7 @@ <para style="terp_default_Centre_8">[[ formatLang(o.date,date=True) ]]</para> </td> <td> - <para style="terp_default_Centre_8">[[ o.ref ]]</para> + <para style="terp_default_Centre_8">[[ o.name ]]</para> </td> <td> <para style="terp_default_Centre_8">[[ o.user_valid.name ]]</para> diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml index 1299f4e9ce5..7877edf4b3a 100644 --- a/addons/hr_expense/report/hr_expense_report_view.xml +++ b/addons/hr_expense/report/hr_expense_report_view.xml @@ -8,7 +8,6 @@ <field name="type">tree</field> <field name="arch" type="xml"> <tree colors="blue:state == 'draft';black:state in ('confirm','accepted','invoiced','paid');gray:state == 'cancelled'" string="Expenses Analysis"> - <field name="date" invisible="1"/> <field name="employee_id" invisible="1"/> <field name="user_id" invisible="1"/> <field name="year" invisible="1"/> @@ -105,7 +104,7 @@ <field name="search_view_id" ref="view_hr_expense_report_search"/> </record> - <menuitem action="action_hr_expense_report_all" id="menu_hr_expense_report_all" parent="hr.menu_hr_reporting" sequence="2"/> + <menuitem action="action_hr_expense_report_all" id="menu_hr_expense_report_all" parent="hr.menu_hr_reporting" sequence="1"/> </data> </openerp> diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index 09809e488ba..4509508b2be 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -50,7 +50,7 @@ Note that: for example, you maybe will do it for the user 'admin'. """, 'images': ['images/hr_allocation_requests.jpeg', 'images/hr_leave_requests.jpeg', 'images/leaves_analysis.jpeg'], - 'depends': ['hr', 'crm', 'process', 'resource'], + 'depends': ['hr', 'base_calendar', 'process', 'resource'], 'init_xml': [], 'update_xml': [ 'security/ir.model.access.csv', @@ -58,7 +58,6 @@ Note that: 'hr_holidays_workflow.xml', 'hr_holidays_view.xml', 'hr_holidays_data.xml', - 'hr_holidays_wizard.xml', 'hr_holidays_report.xml', 'report/hr_holidays_report_view.xml', 'report/available_holidays_view.xml', diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index a1ab0ae04f3..2a2648f1beb 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -74,7 +74,8 @@ class hr_holidays_status(osv.osv): _columns = { 'name': fields.char('Leave Type', size=64, required=True, translate=True), - 'categ_id': fields.many2one('crm.case.categ', 'Meeting', domain="[('object_id.model', '=', 'crm.meeting')]", help='If you set a meeting type, OpenERP will create a meeting in the calendar once a leave is validated.'), + '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'), '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."), @@ -128,7 +129,7 @@ class hr_holidays(osv.osv): 'notes': fields.text('Reasons',readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}), 'number_of_days_temp': fields.float('Number of Days', readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}), 'number_of_days': fields.function(_compute_number_of_days, string='Number of Days', store=True), - 'case_id': fields.many2one('crm.meeting', 'Meeting'), + 'meeting_id': fields.many2one('crm.meeting', 'Meeting'), 'type': fields.selection([('remove','Leave Request'),('add','Allocation Request')], 'Request Type', required=True, readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}, help="Choose 'Leave Request' if someone wants to take an off-day. \nChoose 'Allocation Request' if you want to increase the number of leaves available for someone", select=True), 'parent_id': fields.many2one('hr.holidays', 'Parent'), 'linked_request_ids': fields.one2many('hr.holidays', 'parent_id', 'Linked Requests',), @@ -217,19 +218,12 @@ class hr_holidays(osv.osv): } return result - def onchange_sec_id(self, cr, uid, ids, status, context=None): - warning = {} + def onchange_status_id(self, cr, uid, ids, status_id, context=None): double_validation = False - obj_holiday_status = self.pool.get('hr.holidays.status') - if status: - holiday_status = obj_holiday_status.browse(cr, uid, status, context=context) + if status_id: + holiday_status = self.pool.get('hr.holidays.status').browse(cr, uid, status_id, context=context) double_validation = holiday_status.double_validation - if holiday_status.categ_id and holiday_status.categ_id.section_id and not holiday_status.categ_id.section_id.allow_unlink: - warning = { - 'title': "Warning for ", - 'message': "You won\'t be able to cancel this leave request because the CRM Sales Team of the leave type disallows." - } - return {'warning': warning, 'value': {'double_validation': double_validation}} + return {'value': {'double_validation': double_validation}} def set_to_draft(self, cr, uid, ids, context=None): self.write(cr, uid, ids, { @@ -271,7 +265,7 @@ class hr_holidays(osv.osv): holiday_ids.append(record.id) if record.holiday_type == 'employee' and record.type == 'remove': meeting_obj = self.pool.get('crm.meeting') - vals = { + meeting_vals = { 'name': record.name, 'categ_id': record.holiday_status_id.categ_id.id, 'duration': record.number_of_days_temp * 8, @@ -280,11 +274,11 @@ class hr_holidays(osv.osv): 'date': record.date_from, 'end_date': record.date_to, 'date_deadline': record.date_to, - 'leave_id': record.id, + 'state': 'done', # to block that meeting date in the calendar } - case_id = meeting_obj.create(cr, uid, vals) + meeting_id = meeting_obj.create(cr, uid, meeting_vals) self._create_resource_leave(cr, uid, [record], context=context) - self.write(cr, uid, ids, {'case_id': case_id}) + self.write(cr, uid, ids, {'meeting_id': meeting_id}) elif record.holiday_type == 'category': emp_ids = obj_emp.search(cr, uid, [('category_ids', 'child_of', [record.category_id.id])]) leave_ids = [] @@ -330,11 +324,11 @@ class hr_holidays(osv.osv): return True def holidays_cancel(self, cr, uid, ids, context=None): - obj_crm_meeting = self.pool.get('crm.meeting') + meeting_obj = self.pool.get('crm.meeting') for record in self.browse(cr, uid, ids): # Delete the meeting - if record.case_id: - obj_crm_meeting.unlink(cr, uid, [record.case_id.id]) + if record.meeting_id: + meeting_obj.unlink(cr, uid, [record.meeting_id.id]) # If a category that created several holidays, cancel all related wf_service = netsvc.LocalService("workflow") @@ -519,10 +513,4 @@ class hr_employee(osv.osv): hr_employee() -class crm_meeting(osv.osv): - _inherit = 'crm.meeting' - _columns = { - 'leave_id': fields.many2one('hr.holidays','Leave'), - } - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 34a61654faa..c22c4add718 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -110,29 +110,39 @@ <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/> </header> <sheet string="Leave Request"> - <group col="8" colspan="4"> - <field name="name" attrs="{'readonly':[('state','!=','draft'),('state','!=','confirm')]}"/> - <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" string="Mode" groups="base.group_hr_user"/> - <group attrs="{'invisible':[('holiday_type','=','employee')]}"> - <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft'), ('state','!=','confirm')]}"/> + <group> + <group> + <field name="name" attrs="{'readonly':[('state','!=','draft'),('state','!=','confirm')]}"/> + <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" string="Mode" groups="base.group_hr_user"/> + <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')],'invisible':[('holiday_type','=','category')]}" groups="base.group_hr_user"/> + <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'invisible':[('holiday_type','=','employee')], 'readonly':[('state','!=','draft'), ('state','!=','confirm')]}"/> + <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" groups="base.group_hr_user"/> </group> - <group attrs="{'invisible':[('holiday_type','=','category')]}"> - <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')]}" groups="base.group_hr_user"/> + <group> + <field name="holiday_status_id" on_change="onchange_status_id(holiday_status_id)" context="{'employee_id':employee_id}"/> + <label for="number_of_days_temp" string="Duration"/> + <div> + <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/> - + <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/> + <div> + <field name="number_of_days_temp" class="oe_inline"/> days + </div> + </div> </group> </group> <notebook colspan="4"> <page string="General"> - <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}"/> - <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" groups="base.group_hr_user"/> - <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1"/> - <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1"/> - <field name="number_of_days_temp"/> - <field name="double_validation" invisible="1"/> + <group> + <group> + <field name="manager_id" groups="base.group_no_one"/> + <field name="double_validation" invisible="1"/> + </group> + <group> + <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}" groups="base.group_no_one"/> + </group> + </group> <newline/> - <field name="manager_id" groups="base.group_no_one"/> - <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}" groups="base.group_no_one"/> - <separator string="Reasons" colspan="4"/> - <field name="notes" nolabel="1" colspan="4"/> + <field name="notes" nolabel="1" colspan="4" placeholder="Add a reason..."/> </page> </notebook> </sheet> @@ -159,26 +169,29 @@ <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/> </header> <sheet> - <group> - <field name="name"/> - <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" string="Allocation Mode" groups="base.group_hr_manager"/> - <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')], 'invisible':[('holiday_type','=','category')]}"/> - <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft')], 'invisible':[('holiday_type','=','employee')]}"/> - </group> - <notebook> - <page string="General"> - <group col="4"> - <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}"/> + <group> + <group> + <field name="name"/> + <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" string="Allocation Mode" groups="base.group_hr_manager"/> + <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')], 'invisible':[('holiday_type','=','category')]}"/> + <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft')], 'invisible':[('holiday_type','=','employee')]}"/> <field name="department_id" attrs="{'readonly':['|', ('holiday_type','=','category'), ('state','not in' ,('draft', 'confirm'))]}"/> + </group> + <group> + <field name="holiday_status_id" on_change="onchange_status_id(holiday_status_id)" context="{'employee_id':employee_id}"/> <field name="number_of_days_temp"/> - <field name="double_validation" invisible="1"/> - <field name="manager_id"/> - <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}"/> </group> - <separator string="Reasons"/> - <field name="notes"/> - </page> - </notebook> + </group> + <notebook> + <page string="General"> + <group col="4"> + <field name="double_validation" invisible="1"/> + <field name="manager_id"/> + <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}"/> + </group> + <field name="notes" placeholder="Add a reason..."/> + </page> + </notebook> </sheet> <footer> <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/> @@ -342,7 +355,7 @@ <record model="ir.actions.act_window.view" id="action_request_approve_holidays_form"> <field name="sequence" eval="2"/> <field name="view_mode">form</field> - <field name="view_id" ref="allocation_leave_new"/> + <field name="view_id" ref="edit_holiday_new"/> <field name="act_window_id" ref="request_approve_holidays"/> </record> @@ -409,8 +422,7 @@ <form string="Leave Type" version="7.0"> <group col="4"> <field name="name"/> - <field name="color_name"/> - <field name="categ_id" widget="selection"/> + <field name="categ_id"/> </group> <notebook> <page string="Details"> @@ -420,6 +432,7 @@ <field name="limit"/> </group> <group name="second" string="Misc"> + <field name="color_name"/> <field name="active"/> </group> </group> @@ -529,8 +542,13 @@ <field name="type">form</field> <field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml"> - <field name="coach_id" position="after"> - <field name="remaining_leaves"/> + <field name="active" position="before"> + <label for="remaining_leaves"/> + <div> + <field name="remaining_leaves" class="oe_inline"/> + <label/> + <button name="%(act_hr_employee_holiday_request)d" string="Leaves" type="action" class="oe_inline oe_right"/> + </div> </field> </field> </record> diff --git a/addons/hr_holidays/hr_holidays_wizard.xml b/addons/hr_holidays/hr_holidays_wizard.xml deleted file mode 100644 index efeb8e29115..00000000000 --- a/addons/hr_holidays/hr_holidays_wizard.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" ?> -<openerp> - <data> - <menuitem - id="menu_hr_reporting_holidays" - name="Leaves" - parent="hr.menu_hr_reporting" - sequence="6"/> - </data> -</openerp> diff --git a/addons/hr_holidays/report/available_holidays_view.xml b/addons/hr_holidays/report/available_holidays_view.xml index 082bf198e34..e7441060204 100644 --- a/addons/hr_holidays/report/available_holidays_view.xml +++ b/addons/hr_holidays/report/available_holidays_view.xml @@ -17,7 +17,7 @@ name="Leaves Analysis" id="menu_hr_available_holidays_report_tree" action="action_hr_available_holidays_report" - parent="menu_hr_reporting_holidays"/> + parent="hr.menu_hr_reporting" sequence="5" /> </data> diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml b/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml index f6f5851c051..c5e408a6748 100644 --- a/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml +++ b/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml @@ -9,9 +9,8 @@ <field name="arch" type="xml"> <form string="Leaves by Department" version="7.0"> <header> - <button name="print_report" string="Print" type="object" class="oe_highlight"/> - or - <button string="Cancel" class="oe_link" special="cancel" /> + <button name="print_report" string="Print" type="object" class="oe_highlight"/> or + <button string="Cancel" special="cancel" class="oe_link"/> </header> <group> <field name="date_from" /> @@ -33,7 +32,7 @@ <menuitem name="Leaves by Department" - parent="menu_hr_reporting_holidays" + parent="hr.menu_hr_reporting_timesheet" action="action_hr_holidays_summary_dept" id="menu_account_central_journal" icon="STOCK_PRINT"/> diff --git a/addons/hr_payroll/hr_payroll_view.xml b/addons/hr_payroll/hr_payroll_view.xml index f52c420df8a..bae89ed215b 100644 --- a/addons/hr_payroll/hr_payroll_view.xml +++ b/addons/hr_payroll/hr_payroll_view.xml @@ -7,36 +7,6 @@ <menuitem id="menu_hr_root_payroll" parent="hr.menu_hr_root" name="Payroll" sequence="30"/> <menuitem id="menu_hr_payroll_reporting" parent="hr.menu_hr_reporting" name="Payroll" groups="base.group_hr_manager"/> - <!-- Employee View --> - <record id="hr_contract.hr_hr_employee_view_form2" model="ir.ui.view"> - <field name="name">hr.hr.employee.view.form2</field> - <field name="model">hr.employee</field> - <field name="inherit_id" ref="hr.view_employee_form"/> - <field name="arch" type="xml"> - <data> - <xpath expr="//page[@string='Personal Information']" position="after"> - <page string="Miscellaneous" groups="base.group_hr_user"> - <group colspan="2" col="2"> - <separator string="Personal Info" colspan="2"/> - <field name="bank_account_id" context="{'display_partner':True, 'partner_id':partner_id}"/> - <field name="place_of_birth"/> - <field name="children"/> - <!-- <field name="basic" invisible="0"/> --> - </group> - <group colspan="2" col="2"> - <separator string="Job Info" colspan="2"/> - <field name="manager" /> - <field name="vehicle" /> - <field name="vehicle_distance" /> - <field name="medic_exam" string="Medical Examination"/> - </group> - </page> - </xpath> - </data> - </field> - </record> - <!-- End Employee View --> - <!-- Contract View --> <record id="hr_contract_form_inherit" model="ir.ui.view"> <field name="name">hr.contract.view.form.inherit</field> @@ -45,8 +15,7 @@ <field name="inherit_id" ref="hr_contract.hr_contract_view_form"/> <field name="arch" type="xml"> <data> - <xpath expr="//group[@name='right_column']" position="before"> - <separator string="Payslip Info" colspan="2"/> + <xpath expr="//field[@name='wage']" position="after"> <field name="struct_id" required="1"/> </xpath> <xpath expr="//field[@name='working_hours']" position="after"> @@ -105,7 +74,7 @@ <field name="model">hr.payroll.structure</field> <field name="type">form</field> <field name="arch" type="xml"> - <form string="Employee Function"> + <form string="Employee Function" version="7.0"> <group col="4"> <field name="name"/> <field name="code"/> @@ -249,6 +218,12 @@ </tree> </field> </record> + + <act_window name="Payslip Computation Details" + context="{'default_slip_id': active_id,'search_default_slip_id': active_id}" + res_model="hr.payslip.line" + src_model="hr.payslip" + id="act_payslip_lines"/> <record id="view_hr_payslip_form" model="ir.ui.view"> <field name="name">hr.payslip.form</field> @@ -265,13 +240,18 @@ <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/> </header> <sheet> - <label for="employee_id" class="oe_edit_only"/> - <h1><field name="employee_id" on_change="onchange_employee_id(date_from, date_to, employee_id, contract_id)"/></h1> - <label for="date_from" class="oe_edit_only" string="Period"/> - <h2> - from <field name="date_from" on_change="onchange_employee_id(date_from, date_to, employee_id, contract_id)"/> - to <field name="date_to"/> - </h2> + <div class="oe_right oe_button_box"> + <button name="%(act_payslip_lines)d" string="Payslip Computation Details" type="action"/> + </div> + <div class="oe_title"> + <label for="employee_id" class="oe_edit_only"/> + <h1><field name="employee_id" on_change="onchange_employee_id(date_from, date_to, employee_id, contract_id)"/></h1> + <label for="date_from" class="oe_edit_only" string="Period"/> + <h2> + From <field name="date_from" on_change="onchange_employee_id(date_from, date_to, employee_id, contract_id)"/> + to <field name="date_to"/> + </h2> + </div> <group col="4"> <field name="contract_id" domain="[('employee_id','=',employee_id)]" on_change="onchange_contract_id(date_from, date_to, employee_id, contract_id)"/> <field name="number"/> @@ -281,6 +261,7 @@ </group> <notebook> <page string="Worked Days & Inputs"> + <separator string="Worked Days"/> <field name="worked_days_line_ids"> <tree string="Worked Days" editable="bottom"> <field name="name"/> @@ -302,6 +283,7 @@ </group> </form> </field> + <separator string="Other Inputs"/> <field name="input_line_ids" colspan="4" nolabel="1"> <tree string="Input Data" editable="bottom"> <field name="name"/> @@ -360,14 +342,18 @@ </field> </page> <page string="Other Information"> - <group col="2" string="Other Information"> - <field name="company_id" groups="base.group_multi_company" widget="selection"/> - <field name="payslip_run_id" domain="[('state','=','draft')]"/> - <field name="paid" readonly="1"/> - </group> - <group string="Notes"> - <field name="note"/> + <group> + <group string="Miscellaneous"> + <field name="company_id" groups="base.group_multi_company"/> + <field name="payslip_run_id" domain="[('state','=','draft')]"/> + </group> + <group name="accounting" string="Accounting"> + <field name="paid" readonly="1"/> + </group> </group> + <div colspan="4"> + <field name="note" Placeholder="Add an internal note..."/> + </div> </page> </notebook> </sheet> @@ -413,7 +399,27 @@ <field name="search_view_id" ref="view_hr_payslip_filter"/> </record> <menuitem action="action_view_hr_payslip_form" id="menu_department_tree" parent="menu_hr_root_payroll"/> + <act_window name="Payslips" + context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}" + res_model="hr.payslip" + src_model="hr.employee" + view_id ="view_hr_payslip_tree" + id="act_hr_employee_payslip_list" + groups="base.group_hr_manager"/> + <!-- Employee View --> + <record id="payroll_hr_employee_view_form" model="ir.ui.view"> + <field name="name">payroll.hr.employee.view.form</field> + <field name="model">hr.employee</field> + <field name="inherit_id" ref="hr.view_employee_form"/> + <field name="arch" type="xml"> + <data> + <xpath expr="//div[@name='button_box']" position="inside"> + <button name="%(act_hr_employee_payslip_list)d" string="Payslips" type="action"/> + </xpath> + </data> + </field> + </record> <!-- Salary Category--> <record id="hr_salary_rule_category_form" model="ir.ui.view"> <field name="name">hr.salary.rule.category.form</field> @@ -730,12 +736,20 @@ <field name="state" widget="statusbar"/> </header> <sheet> - <group col="4"> + <label for="name" class="oe_edit_only"/> + <h1> <field name="name"/> - <field name="credit_note"/> - <field name="date_start"/> + </h1> + <h2> + Period from + <field name="date_start"/> + to <field name="date_end"/> + </h2> + <group col="4"> + <field name="credit_note"/> </group> + <separator string="Payslips"/> <field name="slip_ids"/> </sheet> </form> diff --git a/addons/hr_payroll_account/hr_payroll_account_view.xml b/addons/hr_payroll_account/hr_payroll_account_view.xml index 8077ed88152..9e3aab3ecb6 100644 --- a/addons/hr_payroll_account/hr_payroll_account_view.xml +++ b/addons/hr_payroll_account/hr_payroll_account_view.xml @@ -2,8 +2,6 @@ <openerp> <data> - - <record model="ir.ui.view" id="view_hr_payslip_inherit_form"> <field name="name">hr.payslip.inherit.form</field> <field name="model">hr.payslip</field> @@ -27,10 +25,12 @@ <field name="arch" type="xml"> <xpath expr="/form/notebook/page[@string='Child Rules']" position="after"> <page string="Accounting"> - <field name="account_debit" /> - <field name="account_credit"/> - <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/> - <field name="account_tax_id"/> + <group colspan="4"> + <field name="account_debit" /> + <field name="account_credit"/> + <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/> + <field name="account_tax_id"/> + </group> </page> </xpath> </field> @@ -44,14 +44,15 @@ <field name="type">form</field> <field name="inherit_id" ref="hr_contract.hr_contract_view_form"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='advantages']" position="after"> - <separator colspan="4" string="Accounting"/> - <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/> - <field name="journal_id"/> + <xpath expr="//group[@name='duration_group']" position="after"> + <group string="Accounting"> + <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/> + <field name="journal_id"/> + </group> </xpath> </field> </record> - + <!-- Payslip Run View --> <record id="hr_payslip_run_search_inherit" model="ir.ui.view"> @@ -85,12 +86,11 @@ <field name="type">form</field> <field name="inherit_id" ref="hr_payroll.hr_payslip_run_form"/> <field name="arch" type="xml"> - <field name="date_end" position="after"> - <newline/> + <field name="credit_note" position="before"> <field name="journal_id"/> </field> </field> </record> - + </data> </openerp> diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py index b83a482e1c1..e5df8cf2bf3 100644 --- a/addons/hr_recruitment/__openerp__.py +++ b/addons/hr_recruitment/__openerp__.py @@ -42,11 +42,10 @@ system to store and search in your CV base. 'decimal_precision', 'hr', 'survey', - 'crm', + 'base_calendar', 'fetchmail', ], 'update_xml': [ - 'wizard/hr_recruitment_phonecall_view.xml', 'wizard/hr_recruitment_employee_hired.xml', 'wizard/hr_recruitment_create_partner_job_view.xml', 'hr_recruitment_view.xml', diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 4afb0e391a4..03b75d0901b 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -24,15 +24,10 @@ import time from datetime import datetime, timedelta from osv import fields, osv -from crm import crm import tools import collections import binascii -import tools from tools.translate import _ -from crm import wizard - -wizard.mail_compose_message.SUPPORTED_MODELS.append('hr.applicant') AVAILABLE_STATES = [ ('draft', 'New'), @@ -98,6 +93,7 @@ class hr_applicant(base_stage, osv.Model): _description = "Applicant" _order = "id desc" _inherit = ['ir.needaction_mixin', 'mail.thread'] + _mail_compose_message = True def _get_default_department_id(self, cr, uid, context=None): """ Gives default department by checking if present in the context """ @@ -181,7 +177,7 @@ class hr_applicant(base_stage, osv.Model): return res _columns = { - 'name': fields.char('Name', size=128, required=True), + 'name': fields.char('Subject', size=128, required=True), 'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the case without removing it."), 'description': fields.text('Description'), 'email_from': fields.char('Email', size=128, help="These people will receive email."), @@ -213,7 +209,7 @@ class hr_applicant(base_stage, osv.Model): 'salary_expected_extra': fields.char('Expected Salary Extra', size=100, help="Salary Expected by Applicant, extra advantages"), 'salary_proposed': fields.float('Proposed Salary', help="Salary Proposed by the Organisation"), 'salary_expected': fields.float('Expected Salary', help="Salary Expected by Applicant"), - 'availability': fields.integer('Availability (Days)'), + 'availability': fields.integer('Availability'), 'partner_name': fields.char("Applicant's Name", size=64), 'partner_phone': fields.char('Phone', size=32), 'partner_mobile': fields.char('Mobile', size=32), @@ -239,7 +235,7 @@ class hr_applicant(base_stage, osv.Model): 'stage_id': lambda s, cr, uid, c: s._get_default_stage_id(cr, uid, c), 'department_id': lambda s, cr, uid, c: s._get_default_department_id(cr, uid, c), 'priority': lambda *a: '', - 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'crm.helpdesk', context=c), + 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'hr.applicant', context=c), 'color': 0, } @@ -291,49 +287,22 @@ class hr_applicant(base_stage, osv.Model): return False def action_makeMeeting(self, cr, uid, ids, context=None): + """ This opens Meeting's calendar view to schedule meeting on current applicant + @return: Dictionary value for created Meeting view """ - This opens Meeting's calendar view to schedule meeting on current Opportunity - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of Opportunity to Meeting IDs - @param context: A standard dictionary for contextual values - - @return: Dictionary value for created Meeting view - """ - data_obj = self.pool.get('ir.model.data') - if context is None: - context = {} - value = {} - for opp in self.browse(cr, uid, ids, context=context): - # Get meeting views - search_view = data_obj.get_object(cr, uid, 'crm', 'view_crm_case_meetings_filter', context) - calendar_view = data_obj.get_object(cr, uid, 'crm', 'crm_case_calendar_view_meet', context) - form_view = data_obj.get_object(cr, uid, 'crm', 'crm_case_form_view_meet', context) - tree_view = data_obj.get_object(cr, uid, 'crm', 'crm_case_tree_view_meet', context) - category = data_obj.get_object(cr, uid, 'hr_recruitment', 'categ_meet_interview', context) - context.update({ - 'default_applicant_id': opp.id, - 'default_partner_id': opp.partner_id and opp.partner_id.id or False, - 'default_email_from': opp.email_from, - 'default_state': 'open', - 'default_categ_id': category.id, - 'default_name': opp.name, - }) - value = { - 'name': ('Meetings'), - 'domain': "[('user_id','=',%s)]" % (uid), - 'context': context, - 'view_type': 'form', - 'view_mode': 'calendar,form,tree', - 'res_model': 'crm.meeting', - 'view_id': False, - 'views': [(calendar_view.id, 'calendar'), (form_view.id, 'form'), (tree_view.id, 'tree')], - 'type': 'ir.actions.act_window', - 'search_view_id': search_view.id, - 'nodestroy': True, - } - return value + applicant = self.browse(cr, uid, ids[0], context) + category = self.pool.get('ir.model.data').get_object(cr, uid, 'hr_recruitment', 'categ_meet_interview', context) + res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'base_calendar', 'action_crm_meeting', context) + res['context'] = { + 'default_applicant_id': applicant.id, + 'default_partner_id': applicant.partner_id and applicant.partner_id.id or False, + 'default_user_id': uid, + 'default_email_from': applicant.email_from, + 'default_state': 'open', + 'default_name': applicant.name, + 'default_categ_id': category.id, + } + return res def action_print_survey(self, cr, uid, ids, context=None): """ diff --git a/addons/hr_recruitment/hr_recruitment_data.xml b/addons/hr_recruitment/hr_recruitment_data.xml index 13436bef45a..fe5d3d9969b 100644 --- a/addons/hr_recruitment/hr_recruitment_data.xml +++ b/addons/hr_recruitment/hr_recruitment_data.xml @@ -5,11 +5,9 @@ --> <data> - <!-- Case category (for interview meetings) --> - <record model="crm.case.categ" id="categ_meet_interview"> + <!-- Meeting Types (for interview meetings) --> + <record model="crm.meeting.type" id="categ_meet_interview"> <field name="name">Interview</field> - <field name="section_id" ref="crm.section_sales_department"/> - <field name="object_id" search="[('model','=','crm.meeting')]" model="ir.model"/> </record> <!-- HR Recruitment Source --> diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index ab42016c504..9dc2f527fc4 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -17,18 +17,6 @@ view_type="form"/> # ------------------------------------------------------ - # Job Categories - # ------------------------------------------------------ - - <record id="hr_job_categ_action" model="ir.actions.act_window"> - <field name="name">Applicant Categories</field> - <field name="res_model">crm.case.categ</field> - <field name="view_type">form</field> - <field name="view_id" ref="crm.crm_case_categ_tree-view"/> - <field name="domain">[('object_id.model', '=', 'hr.applicant')]</field> - <field name="context" eval="{'object_id': ref('model_hr_applicant')}"/> - </record> - # ------------------------------------------------------ # Stage # ------------------------------------------------------ <record id="hr_job_stage_act" model="ir.actions.act_window"> @@ -129,9 +117,9 @@ <button name="case_cancel" string="Refuse" type="object" states="draft,open,pending" class="oe_highlight"/> <button name="stage_previous" string="Previous" type="object" - states="open" icon="gtk-go-back"/> + states="open"/> <button name="stage_next" string="Next" type="object" - states="open" icon="gtk-go-forward"/> + states="open"/> <field name="stage_id" widget="statusbar"/> </header> <sheet> @@ -150,58 +138,58 @@ <label for="name" class="oe_edit_only"/> <h1><field name="name"/></h1> <label for="partner_name" class="oe_edit_only"/> - <h2><field name="partner_name"/></h2> - <field name="type_id" placeholder="Degree"/> + <h2> + <field name="partner_name" class="oe_inline"/> + </h2> </div> - <group> - <group> + <group string="Contact Details"> + <field name="partner_id" + on_change="onchange_partner_id(partner_id, email_from)"/> + <field name="email_from" widget="email"/> + <field name="partner_phone"/> + <field name="partner_mobile"/> + <field name="type_id" placeholder="Degree"/> + </group> + <group string="Application Followup"> <field name="user_id"/> - <field name="title_action"/> - <field name="date_action"/> + <label for="title_action"/> + <div> + <field name="date_action"/> - + <field name="title_action" class="oe_inline" placeholder="Call for proposal"/> + </div> + <field name="priority"/> + <field name="state" invisible="1"/> </group> - <group> - <field name="job_id" on_change="onchange_job(job_id)"/> - <field name="priority" string="Appreciation"/> + <group string="Job"> <field name="survey" invisible="1"/> <field name="response" invisible="1"/> - <field name="department_id" widget="selection" on_change="onchange_department_id(department_id)"/> - <field name="state" groups="base.group_no_one"/> + <field name="job_id" on_change="onchange_job(job_id)"/> + <field name="department_id" on_change="onchange_department_id(department_id)"/> + <label for="availability"/> + <div> + <field name="availability" class="oe_inline"/> <label string="Day(s)" class="oe_inline"/> + </div> + </group> + <group string="Contract"> + <label for="salary_expected"/> + <div> + <field name="salary_expected" class="oe_inline"/>, + <field name="salary_expected_extra" class="oe_inline" placeholder="Extra advantages..."/> + </div> + <label for="salary_proposed"/> + <div> + <field name="salary_proposed" class="oe_inline"/>, + <field name="salary_proposed_extra" class="oe_inline" placeholder="Extra advantages..."/> + </div> + </group> + <group string="Reference"> + <field name="source_id"/> + <field name="reference"/> </group> </group> - <notebook> - <page string="Application"> - <group> - <group string="Contact"> - <label for="partner_id"/> - <div> - <field name="partner_id" class="oe_inline" - on_change="onchange_partner_id(partner_id, email_from)"/> - <button class="oe_inline" - string="Create" help="Create a new contact for this applicant" icon="gtk-index" - name="%(action_hr_recruitment_partner_create)d" type="action" - attrs="{'invisible':[('partner_id','!=',False)]}"/> - </div> - <field name="email_from" widget="email"/> - <field name="partner_phone"/> - <field name="partner_mobile"/> - </group> - <group string="Reference"> - <field name="source_id"/> - <field name="reference"/> - </group> - <group string="Contract"> - <field name="salary_expected"/> - <field name="salary_expected_extra"/> - <field name="salary_proposed"/> - <field name="salary_proposed_extra"/> - <field name="availability"/> - </group> - </group> - <separator string="Details"/> - <field name="description"/> - </page> - </notebook> + <separator string="Application Summary"/> + <field name="description" placeholder="Feedback of interviews..."/> </sheet> <footer> <field name="message_ids" widget="mail_thread"/> @@ -371,15 +359,15 @@ <field name="type">form</field> <field name="inherit_id" ref="hr.view_hr_job_form"/> <field name="arch" type="xml"> - <field name="expected_employees" version="7.0" position="after"> - <label for="survey_id" /> - <div> - <field name="survey_id" class="oe_inline"/> - <button class="oe_inline" - string="Interview" icon="gtk-print" - name="action_print_survey" type="object" - attrs="{'invisible':[('survey_id','=',False)]}"/> - </div> + <field name="no_of_recruitment" version="7.0" position="after"> + <label for="survey_id" /> + <div> + <field name="survey_id" class="oe_inline"/> + <button class="oe_inline" + string="Interview" icon="gtk-print" + name="action_print_survey" type="object" + attrs="{'invisible':[('survey_id','=',False)]}"/> + </div> </field> </field> </record> @@ -517,21 +505,15 @@ action="hr_recruitment_source_action" sequence="10" groups="base.group_no_one"/> - <record model="ir.ui.view" id="crm_meeting_form_view"> + <record model="ir.ui.view" id="view_crm_meeting_form"> <field name="name">CRM - Meetings Form</field> <field name="model">crm.meeting</field> <field name="type">form</field> - <field name="inherit_id" ref="crm.crm_case_form_view_meet"/> + <field name="inherit_id" ref="base_calendar.view_crm_meeting_form"/> <field name="arch" type="xml"> <field name="partner_id" position="before"> <field name="applicant_id" attrs="{'invisible': [('categ_id','!=',%(hr_recruitment.categ_meet_interview)d)]}"/> </field> - <field name="partner_id" position="attributes"> - <attribute name="attrs">{'invisible': [('categ_id','=',%(hr_recruitment.categ_meet_interview)d)]}</attribute> - </field> - <field name="section_id" position="attributes"> - <attribute name="attrs">{'invisible': [('categ_id','=',%(hr_recruitment.categ_meet_interview)d)]}</attribute> - </field> </field> </record> diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml index 5ddbe5045ab..9d81d39f240 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml +++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml @@ -114,7 +114,7 @@ <field name="context">{'search_default_year':1,'search_default_month':1,'search_default_department':1,'group_by_no_leaf':1,'group_by':[]}</field> <field name="search_view_id" ref="view_hr_recruitment_report_search"/> </record> - <menuitem action="action_hr_recruitment_report_all" id="menu_hr_recruitment_report_all" parent="hr.menu_hr_reporting" sequence="1"/> + <menuitem action="action_hr_recruitment_report_all" id="menu_hr_recruitment_report_all" parent="hr.menu_hr_reporting" sequence="0"/> </data> </openerp> diff --git a/addons/hr_recruitment/security/ir.model.access.csv b/addons/hr_recruitment/security/ir.model.access.csv index 6bbc30b7b41..7d082070be5 100644 --- a/addons/hr_recruitment/security/ir.model.access.csv +++ b/addons/hr_recruitment/security/ir.model.access.csv @@ -6,7 +6,6 @@ access_hr_recruitment_degree,hr.recruitment.degree,model_hr_recruitment_degree,b access_mail_message_user,mail.message.user,mail.model_mail_message,base.group_hr_user,1,1,1,1
access_res_partner_hr_user,res.partner.user,base.model_res_partner,base.group_hr_user,1,1,1,1
access_survey_hr_user,survey.hr.user,survey.model_survey,base.group_hr_user,1,1,1,0
-access_crm_phonecall_hruser,crm.phonecall hruser,crm.model_crm_phonecall,base.group_hr_user,1,1,1,1
-access_crm_meeting_hruser,crm.meeting.hruser,crm.model_crm_meeting,base.group_hr_user,1,1,1,1
+access_crm_meeting_hruser,crm.meeting.hruser,base_calendar.model_crm_meeting,base.group_hr_user,1,1,1,1
access_hr_recruitment_source_hr_officer,hr.recruitment.source,model_hr_recruitment_source,base.group_hr_user,1,1,1,1
access_hr_recruitment_source_all,hr.recruitment.source,model_hr_recruitment_source,,1,0,0,0
diff --git a/addons/hr_recruitment/test/recruitment_process.yml b/addons/hr_recruitment/test/recruitment_process.yml index 38b84fccab2..841a49dc866 100644 --- a/addons/hr_recruitment/test/recruitment_process.yml +++ b/addons/hr_recruitment/test/recruitment_process.yml @@ -51,13 +51,6 @@ !python {model: hr.applicant}: | self.write(cr, uid, [ref('hr_case_programmer')], {'job_id':ref('hr.job_developer')}) - - I start communication with applicant, first schedule phonecall. -- - !python {model: hr.recruitment.job2phonecall}: | - context.update({'active_model': 'hr.applicant', 'active_id': ref("hr_case_programmer"), 'active_ids': [ref("hr_case_programmer")], 'survey_id': ref("survey_job_0")}) - id = self.create(cr, uid, {}, context=context) - self.make_phonecall(cr, uid, [id], context=context) -- I schedule meeting with applicant for interview. - !python {model: hr.applicant}: | diff --git a/addons/hr_recruitment/wizard/__init__.py b/addons/hr_recruitment/wizard/__init__.py index acabd219857..fde7df63456 100644 --- a/addons/hr_recruitment/wizard/__init__.py +++ b/addons/hr_recruitment/wizard/__init__.py @@ -20,7 +20,6 @@ ############################################################################## -import hr_recruitment_phonecall import hr_recruitment_create_partner_job import hr_recruitment_employee_hired diff --git a/addons/hr_recruitment/wizard/hr_recruitment_phonecall.py b/addons/hr_recruitment/wizard/hr_recruitment_phonecall.py deleted file mode 100644 index 12c294c20bc..00000000000 --- a/addons/hr_recruitment/wizard/hr_recruitment_phonecall.py +++ /dev/null @@ -1,126 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved -# $Id$ -# -# 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 <http://www.gnu.org/licenses/>. -# -############################################################################## -import time - -from osv import osv, fields -from tools.translate import _ - -class job2phonecall(osv.osv_memory): - _name = 'hr.recruitment.job2phonecall' - _description = 'Schedule Phone Call' - _columns = { - 'user_id': fields.many2one('res.users', 'Assign To'), - 'deadline': fields.datetime('Planned Date'), - 'note': fields.text('Goals'), - 'category_id': fields.many2one('crm.case.categ', 'Category', required=True), - } - - def _date_user(self, cr, uid, context=None): - case_obj = self.pool.get('hr.applicant') - if context is None: - context = {} - case = case_obj.browse(cr, uid, context.get('active_id', False), context=context) - return case.user_id and case.user_id.id or False - - def _date_category(self, cr, uid, context=None): - case_obj = self.pool.get('hr.applicant') - if context is None: - context = {} - case = case_obj.browse(cr, uid, context.get('active_id', False), context=context) - categ_id = self.pool.get('crm.case.categ').search(cr, uid, [('name','=','Outbound')], context=context) - return categ_id and categ_id[0] or case.categ_id and case.categ_id.id or False - - def _get_note(self, cr, uid, context=None): - mail_message = self.pool.get('mail.message') - if context is None: - context = {} - if context.get('active_id'): - case = self.pool.get('hr.applicant').browse(cr, uid, context['active_id'], context=context) - if case.description: - return case.description - else: - msg_ids = mail_message.search(cr, uid, [('model', '=', 'hr.applicant'), ('res_id', '=', case.id), ('email_from', '!=', ''), ('email_to', '!=', '')], limit=1) - if msg_ids: - return mail_message.browse(cr, uid, msg_ids[0], context=context).body_text - return False - - - _defaults = { - 'user_id': _date_user, - 'category_id': _date_category, - 'note': _get_note - } - - def make_phonecall(self, cr, uid, ids, context=None): - mod_obj = self.pool.get('ir.model.data') - job_case_obj = self.pool.get('hr.applicant') - data_obj = self.pool.get('ir.model.data') - phonecall_case_obj = self.pool.get('crm.phonecall') - if context is None: - context = {} - form = self.browse(cr, uid, ids, context=context)[0] - result = mod_obj._get_id(cr, uid, 'crm', 'view_crm_case_phonecalls_filter') - res = mod_obj.read(cr, uid, result, ['res_id'], context=context) - # Select the view - - id2 = data_obj._get_id(cr, uid, 'crm', 'crm_case_phone_tree_view') - id3 = data_obj._get_id(cr, uid, 'crm', 'crm_case_phone_form_view') - if id2: - id2 = data_obj.browse(cr, uid, id2, context=context).res_id - if id3: - id3 = data_obj.browse(cr, uid, id3, context=context).res_id - new_phonecall_id = [] - for job in job_case_obj.browse(cr, uid, context.get('active_ids', []), context=context): - #TODO: Take other info from job - new_phonecall_id = phonecall_case_obj.create(cr, uid, { - 'name': job.name, - 'user_id': form.user_id.id, - 'categ_id': form.category_id.id, - 'description': form.note, - 'date': form.deadline, - 'description': job.description, - 'partner_id': job.partner_id.id, - 'partner_phone': job.partner_phone, - 'partner_mobile': job.partner_mobile, - 'description': job.description, - 'date':job.date, - }, context=context) - new_phonecall = phonecall_case_obj.browse(cr, uid, new_phonecall_id, context=context) - vals = {} - job_case_obj.write(cr, uid, [job.id], vals, context=context) -# job_case_obj.case_cancel(cr, uid, [job.id]) - phonecall_case_obj.case_open(cr, uid, [new_phonecall_id]) - - return { - 'name': _('Phone Call'), - 'view_type': 'form', - 'view_mode': 'tree,form', - 'res_model': 'crm.phonecall', - 'res_id': new_phonecall_id, - 'views': [(id3,'form'), (id2,'tree'), (False,'calendar'), (False,'graph')], - 'type': 'ir.actions.act_window', - 'search_view_id': res['res_id'] - } - -job2phonecall() - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_recruitment/wizard/hr_recruitment_phonecall_view.xml b/addons/hr_recruitment/wizard/hr_recruitment_phonecall_view.xml deleted file mode 100644 index 8537186ac6f..00000000000 --- a/addons/hr_recruitment/wizard/hr_recruitment_phonecall_view.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<openerp> - <data> - - <record id="view_hr_recruitment_phonecall" model="ir.ui.view"> - <field name="name">hr.recruitment.job2phonecall.form</field> - <field name="model">hr.recruitment.job2phonecall</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Schedule Phone Call" version="7.0"> - <header> - <button name="make_phonecall" string="Schedule Phone Call" type="object" class="oe_highlight"/> - or - <button string="Cancel" class="oe_link" special="cancel" /> - </header> - <group col="4" colspan="6"> - <separator string="Phone Call Description" colspan="4" /> - <newline /> - <field name='user_id' /> - <field name='deadline' /> - <newline /> - <field name='note' colspan="4"/> - <newline /> - <field name='category_id' domain="[('object_id.model', '=', 'crm.phonecall')]"/> - </group> - </form> - </field> - </record> - - <record id="action_hr_recruitment_phonecall" model="ir.actions.act_window"> - <field name="name">Schedule Phone Call</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">hr.recruitment.job2phonecall</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - </record> - - </data> -</openerp> diff --git a/addons/hr_timesheet/hr_timesheet_report.xml b/addons/hr_timesheet/hr_timesheet_report.xml index d3d2d745183..487dcd592bd 100644 --- a/addons/hr_timesheet/hr_timesheet_report.xml +++ b/addons/hr_timesheet/hr_timesheet_report.xml @@ -1,11 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <openerp> <data> - <menuitem - id="menu_hr_reporting_timesheet" - name="Timesheet" - parent="hr.menu_hr_reporting" - sequence="5" /> <report auto="False" id="report_user_timesheet" menu="False" model="hr.employee" name="hr.analytical.timesheet" string="Employee timesheet" xsl="hr_timesheet/report/user_timesheet.xsl"/> <report auto="False" id="report_users_timesheet" menu="False" model="hr.employee" name="hr.analytical.timesheet_users" string="Employees Timesheet" xsl="hr_timesheet/report/users_timesheet.xsl"/> diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml index 45bbb6456ef..7875aff12a0 100644 --- a/addons/hr_timesheet/hr_timesheet_view.xml +++ b/addons/hr_timesheet/hr_timesheet_view.xml @@ -26,29 +26,38 @@ <field name="model">hr.analytic.timesheet</field> <field name="type">form</field> <field name="arch" type="xml"> - <form string="Timesheet Lines"> - <group col="4"> - <field name="name" colspan="4"/> - <field name="user_id" on_change="on_change_user_id(user_id)" required="1"/> - <field name="date" on_change="on_change_date(date)"/> + <form string="Timesheet Lines" version="7.0"> + <sheet> + <group> + <group> + <field name="name"/> + <field name="user_id" on_change="on_change_user_id(user_id)" required="1"/> + </group> + <group> + <field name="date" on_change="on_change_date(date)"/> + </group> </group> <notebook> <page string="Information"> - <group> - <group string="Product"> - <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" required="1" domain="[('type','=','service')]"/> - <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/> - <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/> - </group> - <group string="Accounting"> - <field domain="[('type','=','normal'),('state', '<>', 'close'),('parent_id','!=',False)]" name="account_id"/> - <field name="amount"/> - <field name="general_account_id"/> - <field name="journal_id"/> - </group> + <group> + <group string="Product"> + <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" required="1" domain="[('type','=','service')]"/> + <label string="Quantity" for="unit_amount"/> + <div> + <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" class="oe_inline"/> + <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" class="oe_inline"/> + </div> + </group> + <group string="Accounting"> + <field domain="[('type','=','normal'),('state', '<>', 'close'),('parent_id','!=',False)]" name="account_id" select="1"/> + <field name="amount"/> + <field name="general_account_id"/> + <field name="journal_id"/> </group> + </group> </page> </notebook> + </sheet> </form> </field> </record> @@ -112,10 +121,14 @@ <field name="model">hr.employee</field> <field name="inherit_id" ref="hr.view_employee_form"/> <field name="arch" type="xml"> - <page string="Categories" position="after"> + <page string="Personal Information" position="after"> <page string="Timesheets" groups="base.group_hr_user"> - <field name="product_id" domain="[('type','=','service')]"/> - <field name="journal_id" widget="selection"/> + <group> + <group col="2"> + <field name="product_id" domain="[('type','=','service')]"/> + <field name="journal_id"/> + </group> + </group> </page> </page> </field> diff --git a/addons/hr_timesheet/test/hr_timesheet_report.yml b/addons/hr_timesheet/test/hr_timesheet_report.yml index 097bf764429..ae5b294aa16 100644 --- a/addons/hr_timesheet/test/hr_timesheet_report.yml +++ b/addons/hr_timesheet/test/hr_timesheet_report.yml @@ -7,7 +7,7 @@ ctx.update({'model': 'hr.employee','active_ids': []}) data_dict = {'month': time.gmtime()[1], 'year': time.gmtime()[0], 'employee_id' : ref('hr.employee_fp')} from tools import test_reports - test_reports.try_report_action(cr, uid, 'action_hr_timesheet_my',wiz_data=data_dict, context=ctx, our_module='hr_timesheet') + test_reports.try_report_action(cr, uid, 'action_hr_timesheet_employee',wiz_data=data_dict, context=ctx, our_module='hr_timesheet') - Print the HR Timesheet By Employee report through the wizard @@ -18,4 +18,4 @@ ctx.update({'model': 'hr.employee','active_ids': []}) data_dict = {'month': time.gmtime()[1], 'year': time.gmtime()[0], 'employee_ids' : [(6,0,[ref('hr.employee_fp'),ref('hr.employee_qdp'),ref('hr.employee_al')])]} from tools import test_reports - test_reports.try_report_action(cr, uid, 'action_hr_timesheet_users',wiz_data=data_dict, context=ctx, our_module='hr_timesheet')
\ No newline at end of file + test_reports.try_report_action(cr, uid, 'action_hr_timesheet_users',wiz_data=data_dict, context=ctx, our_module='hr_timesheet') diff --git a/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml b/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml index f72ccd1fc2a..d14646b0249 100644 --- a/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml +++ b/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml @@ -34,39 +34,8 @@ <menuitem action="action_hr_timesheet_employee" id="menu_hr_timesheet_employee" - parent="menu_hr_reporting_timesheet" + parent="hr.menu_hr_reporting" sequence="2" icon="STOCK_PRINT"/> - - <!-- Print My Timesheet --> - <record id="view_hr_timesheet_my" model="ir.ui.view"> - <field name="name">hr.analytical.timesheet.my.form</field> - <field name="model">hr.analytical.timesheet.employee</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Print My Timesheet" version="7.0"> - <header> - <button string="Print" name="print_report" type="object" class="oe_highlight"/> - or - <button string="Cancel" class="oe_link" special="cancel" /> - </header> - <group colspan="4"> - <separator string="This wizard will print monthly timesheet" colspan="4"/> - <field name="month"/> - <field name="year"/> - </group> - </form> - </field> - </record> - - <record id="action_hr_timesheet_my" model="ir.actions.act_window"> - <field name="name">My Timesheet</field> - <field name="res_model">hr.analytical.timesheet.employee</field> - <field name="view_type">form</field> - <field name="view_mode">tree,form</field> - <field name="view_id" ref="view_hr_timesheet_my"/> - <field name="target">new</field> - </record> - </data> </openerp> diff --git a/addons/hr_timesheet/wizard/hr_timesheet_print_users_view.xml b/addons/hr_timesheet/wizard/hr_timesheet_print_users_view.xml index 32291489627..288a51e34cd 100644 --- a/addons/hr_timesheet/wizard/hr_timesheet_print_users_view.xml +++ b/addons/hr_timesheet/wizard/hr_timesheet_print_users_view.xml @@ -10,18 +10,21 @@ <field name="arch" type="xml"> <form string="Monthly Employees Timesheet" version="7.0"> <header> - <button string="Print" name="print_report" type="object" class="oe_highlight"/> - or - <button string="Cancel" class="oe_link" special="cancel" /> + <button string="Print" name="print_report" type="object" class="oe_highlight"/> or + <button string="Cancel" class="oe_link" special="cancel"/> </header> - <group height="260" width="460"> - <group colspan="4"> - <field name="month"/> - <field name="year"/> - <separator string="Employees" colspan="4"/> - <field name="employee_ids" colspan="4" nolabel="1"/> + <sheet> + <group> + <label for="month" string="Period"/> + <div> + <field name="month" class="oe_inline"/> + <field name="year" class="oe_inline"/> + </div> </group> - </group> + <group string="Employees"> + <field name="employee_ids" nolabel="1"/> + </group> + </sheet> </form> </field> </record> @@ -37,9 +40,8 @@ <menuitem action="action_hr_timesheet_users" id="menu_hr_timesheet_users" - parent="menu_hr_reporting_timesheet" - groups="base.group_hr_manager" sequence="3" icon="STOCK_PRINT"/> - + parent="hr.menu_hr_reporting_timesheet" + groups="base.group_hr_manager" sequence="2" icon="STOCK_PRINT"/> </data> </openerp> diff --git a/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml b/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml index c279b27498e..4e4eb7b36d2 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml @@ -7,23 +7,27 @@ <field name="model">hr.timesheet.analytic.profit</field> <field name="type">form</field> <field name="arch" type="xml"> - <form string="Timesheet Profit" version="7.0"> - <header> - <button name="print_report" string="Print" type="object" class="oe_highlight"/> - or - <button string="Cancel" class="oe_link" special="cancel" /> - </header> - <group height="420" width="370"> - <group col="4" colspan="4"> - <field name="date_from"/> - <field name="date_to"/> - <separator string="Journals" colspan="4"/> - <field name="journal_ids" colspan="4" nolabel="1"/> - <separator string="Users" colspan="4"/> - <field name="employee_ids" colspan="4" nolabel="1"/> - </group> - </group> - </form> + <form string="Timesheet Profit" version="7.0"> + <header> + <button name="print_report" string="Print" colspan="1" type="object" class="oe_highlight"/> or + <button special="cancel" string="Cancel" class="oe_link"/> + </header> + <sheet> + <group> + <label for="date_from" string="Duration" /> + <div> + <field name="date_from" nolabel="1" class="oe_inline" /> + - <field name="date_to" nolabel="1" class="oe_inline"/> + </div> + </group> + <group> + <separator string="Journals" colspan="4"/> + <field name="journal_ids" colspan="4" nolabel="1"/> + <separator string="Users" colspan="4"/> + <field name="employee_ids" colspan="4" nolabel="1"/> + </group> + </sheet> + </form> </field> </record> @@ -38,7 +42,7 @@ <menuitem action="action_hr_timesheet_analytic_profit" id="menu_hr_timesheet_analytic_profit" - parent="hr_timesheet.menu_hr_reporting_timesheet" icon="STOCK_PRINT"/> + parent="hr.menu_hr_reporting_timesheet" sequence="3" icon="STOCK_PRINT"/> </data> </openerp> diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index c43b1206541..6635c38b909 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -62,39 +62,50 @@ <label for="employee_id" class="oe_edit_only"/> <h1><field name="employee_id" on_change="onchange_employee_id(employee_id)"/></h1> <label for="date_from" class="oe_edit_only" string="Timesheet Period"/> - <h2> - From <field name="date_from"/> - to <field name="date_to"/> - </h2> - <group col="4"> - <field name="name"/> - <field name="department_id"/> - <field name="company_id" groups="base.group_multi_company"/> - <field name="user_id" invisible="1"/> + <h2>From <field name="date_from"/> to <field name="date_to"/></h2> + <group> + <group> + <field name="name"/> + <field name="department_id"/> + <field name="company_id" groups="base.group_multi_company"/> + </group> + <group> + <field name="total_attendance" widget="float_time"/> + <field name="total_timesheet" widget="float_time"/> + <field name="total_difference" widget="float_time"/> + <field name="user_id" invisible="1"/> + </group> </group> <notebook> <page string="Daily"> - <group col="6" colspan="4"> - <button name="button_dummy" string="Go to:" type="object" icon="terp-gtk-jump-to-ltr"/> - <field name="date_current" nolabel="1"/> - <label string=""/> - <button icon="terp-gtk-go-back-ltr" name="date_previous" string="" type="object"/> - <button name="date_today" string="Today" type="object" icon="terp-go-today"/> - <button icon="terp-gtk-go-back-rtl" name="date_next" string="" type="object"/> + <group> + <div> + <button name="button_dummy" class="oe_inline" string="Go to" type="object" icon="terp-gtk-jump-to-ltr"/> : + <field name="date_current" class="oe_inline"/> + </div> + <div align="right"> + <button class="oe_inline" icon="terp-gtk-go-back-ltr" name="date_previous" string="" type="object"/> + <button class="oe_inline" name="date_today" string="Today" type="object" icon="terp-go-today"/> + <button class="oe_inline" icon="terp-gtk-go-back-rtl" name="date_next" string="" type="object"/> + </div> </group> - - <field colspan="3" context="{'name':date_current,'user_id':user_id}" height="100" name="attendances_ids" nolabel="1"> - <tree string="Attendances" editable="bottom"> - <field name="name"/> - <field name="action"/> - <field invisible="1" name="employee_id"/> - </tree> - </field> - <group col="4" colspan="1"> + <group colspan="4" col="3"> + <field context="{'name':date_current,'user_id':user_id}" name="attendances_ids" nolabel="1"> + <tree string="Attendances" editable="bottom"> + <field name="name"/> + <field name="action"/> + <field invisible="1" name="employee_id"/> + </tree> + </field> + <group> + <div align="right"> + <button name="sign_in" string="Sign In" type="object" icon="terp-gtk-jump-to-ltr"/> + <button name="sign_out" string="Sign Out" type="object" icon="terp-gtk-jump-to-rtl"/> + </div> + </group> + </group> + <group col="4"> <field name="state_attendance"/> - <button name="sign_in" string="Sign In" type="object" icon="terp-gtk-jump-to-ltr"/> - <button name="sign_out" string="Sign Out" type="object" icon="terp-gtk-jump-to-rtl"/> - <field name="total_attendance_day" widget="float_time" colspan="4"/> </group> <field colspan="4" context="{'date':date_current,'user_id':user_id}" domain="[('name','=',date_current)]" name="timesheet_ids" nolabel="1"> <tree editable="top" string="Timesheet Lines"> @@ -124,8 +135,6 @@ <field name="user_id" required="1"/> </form> </field> - <field name="total_difference_day" widget="float_time"/> - <field name="total_timesheet_day" widget="float_time"/> </page> <page string="Summary"> <field colspan="4" name="period_ids" nolabel="1"> @@ -136,11 +145,6 @@ <field name="total_difference" widget="float_time"/> </tree> </field> - <group colspan="4" col="6"> - <field name="total_attendance" widget="float_time"/> - <field name="total_timesheet" widget="float_time"/> - <field name="total_difference" widget="float_time"/> - </group> </page> </notebook> </sheet> @@ -227,7 +231,7 @@ <field name="type">form</field> <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_search"/> <field name="arch" type="xml"> - <field name="user_id" position="before"> + <field name="date" position="before"> <field name="sheet_id"/> </field> </field> @@ -349,6 +353,17 @@ <act_window context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}" id="act_hr_employee_2_hr_timesheet" name="Timesheets" res_model="hr_timesheet_sheet.sheet" src_model="hr.employee"/> + + <record id="hr_timesheet_sheet_employee_extd_form" model="ir.ui.view"> + <field name="name">hr.timesheet.sheet.employee.extd_form</field> + <field name="model">hr.employee</field> + <field name="inherit_id" ref="hr_timesheet.hr_timesheet_employee_extd_form"/> + <field name="arch" type="xml"> + <xpath expr="//div[@name='button_box']" position="inside"> + <button name="%(act_hr_employee_2_hr_timesheet)d" string="Timesheets" type="action"/> + </xpath> + </field> + </record> </data> </openerp> diff --git a/addons/hr_timesheet_sheet/report/hr_timesheet_report_view.xml b/addons/hr_timesheet_sheet/report/hr_timesheet_report_view.xml index 8b102b19f72..fd5d6b0b6d1 100644 --- a/addons/hr_timesheet_sheet/report/hr_timesheet_report_view.xml +++ b/addons/hr_timesheet_sheet/report/hr_timesheet_report_view.xml @@ -82,6 +82,6 @@ <menuitem action="action_hr_timesheet_report_stat_all" id="menu_hr_timesheet_report_all" - parent="hr_timesheet.menu_hr_reporting_timesheet" sequence="0"/> + parent="hr.menu_hr_reporting" sequence="3"/> </data> </openerp> diff --git a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml index fe497b6f46c..613f92d3cf6 100644 --- a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml +++ b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml @@ -110,6 +110,6 @@ <field name="search_view_id" ref="view_timesheet_report_search"/> </record> <menuitem action="action_timesheet_report_stat_all" id="menu_timesheet_report_all" - parent="hr_timesheet.menu_hr_reporting_timesheet" sequence="1" groups="base.group_hr_manager"/> + parent="hr.menu_hr_reporting" sequence="4" groups="base.group_hr_manager"/> </data> </openerp> diff --git a/addons/import_google/__openerp__.py b/addons/import_google/__openerp__.py index 5c538e5912f..5242633747f 100644 --- a/addons/import_google/__openerp__.py +++ b/addons/import_google/__openerp__.py @@ -26,7 +26,7 @@ 'description': """The module adds google contact in partner address and add google calendar events details in Meeting""", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'depends': ['base', 'import_base', 'google_base_account','crm'], + 'depends': ['base', 'import_base', 'google_base_account', 'base_calendar'], 'init_xml': [], 'update_xml': ['security/ir.model.access.csv', 'sync_google_calendar_view.xml', diff --git a/addons/import_google/i18n/ar.po b/addons/import_google/i18n/ar.po new file mode 100644 index 00000000000..1f6bda316dc --- /dev/null +++ b/addons/import_google/i18n/ar.po @@ -0,0 +1,217 @@ +# Arabic 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 <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-07-07 15:59+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Arabic <ar@li.org>\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-08 04:41+0000\n" +"X-Generator: Launchpad (build 15558)\n" + +#. module: import_google +#: help:synchronize.google.import,group_name:0 +msgid "Choose which group to import, By default it takes all." +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "Import Google Calendar Events" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "_Import Events" +msgstr "_جلب الأحداث" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:71 +#, python-format +msgid "" +"No Google Username or password Defined for user.\n" +"Please define in user view" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:127 +#, python-format +msgid "" +"Invalid login detail !\n" +" Specify Username/Password." +msgstr "" + +#. module: import_google +#: field:synchronize.google.import,supplier:0 +msgid "Supplier" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "Import Options" +msgstr "" + +#. module: import_google +#: field:synchronize.google.import,group_name:0 +msgid "Group Name" +msgstr "" + +#. module: import_google +#: model:ir.model,name:import_google.model_crm_case_categ +msgid "Category of Case" +msgstr "" + +#. module: import_google +#: model:ir.actions.act_window,name:import_google.act_google_login_contact_form +#: model:ir.ui.menu,name:import_google.menu_sync_contact +msgid "Import Google Contacts" +msgstr "جلب اتصالات قوقل" + +#. module: import_google +#: view:google.import.message:0 +msgid "Import Google Data" +msgstr "" + +#. module: import_google +#: view:crm.meeting:0 +msgid "Meeting Type" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google.py:38 +#: code:addons/import_google/wizard/import_google_data.py:28 +#, python-format +msgid "" +"Please install gdata-python-client from http://code.google.com/p/gdata-" +"python-client/downloads/list" +msgstr "" + +#. module: import_google +#: model:ir.model,name:import_google.model_google_login +msgid "Google Contact" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "Import contacts from a google account" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:133 +#, python-format +msgid "Please specify correct user and password !" +msgstr "" + +#. module: import_google +#: field:synchronize.google.import,customer:0 +msgid "Customer" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "_Cancel" +msgstr "" + +#. module: import_google +#: model:ir.model,name:import_google.model_synchronize_google_import +msgid "synchronize.google.import" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "_Import Contacts" +msgstr "" + +#. module: import_google +#: model:ir.actions.act_window,name:import_google.act_google_login_form +#: model:ir.ui.menu,name:import_google.menu_sync_calendar +msgid "Import Google Calendar" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:50 +#, python-format +msgid "Import google" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:127 +#: code:addons/import_google/wizard/import_google_data.py:133 +#, python-format +msgid "Error" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google_data.py:71 +#, python-format +msgid "Warning !" +msgstr "" + +#. module: import_google +#: field:synchronize.google.import,create_partner:0 +msgid "Options" +msgstr "" + +#. module: import_google +#: view:google.import.message:0 +msgid "_Ok" +msgstr "" + +#. module: import_google +#: code:addons/import_google/wizard/import_google.py:38 +#: code:addons/import_google/wizard/import_google_data.py:28 +#, python-format +msgid "Google Contacts Import Error!" +msgstr "" + +#. module: import_google +#: model:ir.model,name:import_google.model_google_import_message +msgid "Import Message" +msgstr "" + +#. module: import_google +#: field:synchronize.google.import,calendar_name:0 +msgid "Calendar Name" +msgstr "" + +#. module: import_google +#: help:synchronize.google.import,supplier:0 +msgid "Check this box to set newly created partner as Supplier." +msgstr "" + +#. module: import_google +#: selection:synchronize.google.import,create_partner:0 +msgid "Import only address" +msgstr "" + +#. module: import_google +#: field:crm.case.categ,user_id:0 +msgid "User" +msgstr "" + +#. module: import_google +#: view:synchronize.google.import:0 +msgid "Partner Status for this Group:" +msgstr "" + +#. module: import_google +#: field:google.import.message,name:0 +msgid "Message" +msgstr "" + +#. module: import_google +#: selection:synchronize.google.import,create_partner:0 +msgid "Create partner for each contact" +msgstr "" + +#. module: import_google +#: help:synchronize.google.import,customer:0 +msgid "Check this box to set newly created partner as Customer." +msgstr "" diff --git a/addons/import_google/i18n/ja.po b/addons/import_google/i18n/ja.po index ad1ab085495..dad8acc1860 100644 --- a/addons/import_google/i18n/ja.po +++ b/addons/import_google/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-05-24 18:56+0000\n" +"PO-Revision-Date: 2012-07-09 04:44+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-05-25 04:40+0000\n" -"X-Generator: Launchpad (build 15288)\n" +"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: import_google #: help:synchronize.google.import,group_name:0 @@ -70,7 +70,7 @@ msgstr "グループ名" #. module: import_google #: model:ir.model,name:import_google.model_crm_case_categ msgid "Category of Case" -msgstr "ケースの分類" +msgstr "案件の分類" #. module: import_google #: model:ir.actions.act_window,name:import_google.act_google_login_contact_form diff --git a/addons/import_google/partner.py b/addons/import_google/partner.py index 232f18d06a3..e7aa4dd8ca7 100644 --- a/addons/import_google/partner.py +++ b/addons/import_google/partner.py @@ -21,11 +21,11 @@ from osv import fields,osv -class crm_case_categ(osv.osv): - """ Category of Case """ - _inherit = "crm.case.categ" +class crm_meeting_type(osv.osv): + """ Meeting Types """ + _inherit = "crm.meeting.type" _columns = { 'user_id': fields.many2one('res.users', 'User') } -crm_case_categ() + # vim:expandtab:smartindent:toabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/import_google/sync_google_calendar_view.xml b/addons/import_google/sync_google_calendar_view.xml index 84f0176c5ec..626d803d4df 100644 --- a/addons/import_google/sync_google_calendar_view.xml +++ b/addons/import_google/sync_google_calendar_view.xml @@ -1,30 +1,14 @@ <?xml version="1.0"?> <openerp> <data> - <record model="ir.ui.view" id="crm_case_form_view_meet_inherit"> + <record model="ir.ui.view" id="view_crm_meeting_form"> <field name="name">CRM - Meetings Form (Inherited)</field> <field name="model">crm.meeting</field> <field name="type">form</field> - <field name="inherit_id" ref="crm.crm_case_form_view_meet"/> + <field name="inherit_id" ref="base_calendar.view_crm_meeting_form"/> <field name="arch" type="xml"> <field name="categ_id" position="replace"> - <field name="categ_id" widget="selection" - string="Meeting Type" - domain="[('object_id.model', '=', 'crm.meeting'),('user_id','in',[uid, False])]" /> - </field> - </field> - </record> - - <record model="ir.ui.view" id="crm_case_tree_view_meet_inherit"> - <field name="name">CRM - Meetings Tree (Inherited)</field> - <field name="model">crm.meeting</field> - <field name="type">tree</field> - <field name="inherit_id" ref="crm.crm_case_tree_view_meet"/> - <field name="arch" type="xml"> - <field name="categ_id" position="replace"> - <field name="categ_id" widget="selection" - string="Meeting Type" - domain="[('object_id.model', '=', 'crm.meeting'),('user_id','in',[uid, False])]" /> + <field name="categ_id" widget="selection" domain="[('user_id', 'in', [uid, False])]"/> </field> </field> </record> diff --git a/addons/import_google/wizard/import_google.py b/addons/import_google/wizard/import_google.py index 9a9b2802826..c34a14e224d 100644 --- a/addons/import_google/wizard/import_google.py +++ b/addons/import_google/wizard/import_google.py @@ -235,10 +235,10 @@ class google_import(import_framework): def get_event_category(self, val, name): - fields = ['name', 'object_id'] - nameid = 'event_category_'+name - data = [name, 'crm.meeting'] - return self.import_object(fields, data, 'crm.case.categ', "crm_case_categ", nameid, [('name', 'ilike', name)]) + nameid = 'event_category_' + name + fields = ['name'] + data = [name] + return self.import_object(fields, data, 'crm.meeting.type', "crm_meeting_type", nameid, [('name', 'ilike', name)]) def get_rec(self, val): if val.get("recurrency"): diff --git a/addons/knowledge/res_config_view.xml b/addons/knowledge/res_config_view.xml index ad3488deb98..0cec5899c41 100644 --- a/addons/knowledge/res_config_view.xml +++ b/addons/knowledge/res_config_view.xml @@ -13,19 +13,17 @@ <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group> - <group string="Wiki"> - <field name="module_wiki_faq"/> - <field name="module_wiki_quality_manual"/> - </group> - <group string="Documents"> - <field name="module_document"/> - <field name="module_document_ftp"/> - <field name="module_document_webdav"/> - </group> + <group> + <group string="Wiki"> + <field name="module_wiki_faq"/> + <field name="module_wiki_quality_manual"/> </group> - </sheet> + <group string="Documents"> + <field name="module_document"/> + <field name="module_document_ftp"/> + <field name="module_document_webdav"/> + </group> + </group> </form> </field> </record> diff --git a/addons/l10n_be_hr_payroll/l10n_be_hr_payroll_view.xml b/addons/l10n_be_hr_payroll/l10n_be_hr_payroll_view.xml index 46caa9f6478..79c7c08ffca 100644 --- a/addons/l10n_be_hr_payroll/l10n_be_hr_payroll_view.xml +++ b/addons/l10n_be_hr_payroll/l10n_be_hr_payroll_view.xml @@ -9,23 +9,17 @@ <field name="inherit_id" ref="hr_contract.hr_contract_view_form"/> <field name="arch" type="xml"> <data> - <xpath expr="//page[@name='information']/group/group[@name='right_column']" position="before"> + <xpath expr="//field[@name='struct_id']" position="after"> <field name="travel_reimbursement_amount"/> <field name="car_company_amount"/> + <field name="car_employee_deduction"/> <field name="misc_onss_deduction"/> <field name="meal_voucher_amount"/> + <field name="meal_voucher_employee_deduction"/> <field name="misc_advantage_amount"/> - <separator string="Miscellaneous" colspan="2"/> <field name="additional_net_amount"/> <field name="retained_net_amount"/> - </xpath> - <xpath expr="//field[@name='trial_date_end']" position="after"> - <group colspan="2" col="2"> - <separator string="by Worker" colspan="2"/> - <field name="insurance_employee_deduction"/> - <field name="meal_voucher_employee_deduction"/> - <field name="car_employee_deduction"/> - </group> + <field name="insurance_employee_deduction"/> </xpath> </data> </field> diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index f501cc58d2c..e911f24e809 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -20,36 +20,41 @@ ############################################################################## { - 'name': 'Emails Management', + 'name': 'Social Network', 'version': '1.0', - 'category': 'Hidden/Dependency', + 'category':'Social Network', + "sequence": 2, 'description': """ -A generic email subsystem with message storage and queuing -========================================================== +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 +to read and send messages and emails in an unified way. -This email subsystem is not intended to be used as as standalone -application, but to provide a unified email abstraction that all -other applications can use. +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 are: - - * Relies on the global Outgoing Mail Servers configured in the - Administration menu for delivering outgoing mail - * Provides an API for sending messages and archiving them, - grouped by conversation - * Any OpenERP document can act as a conversation topic, provided - it includes the necessary support for handling incoming emails - (see the ``mail.thread`` class for more details). - * Includes queuing mechanism with automated configurable - scheduler-based processing - * Includes a generic email composition assistant, that can turn + * a clean and renewed communication history for any OpenERP + document that can act as a discussion topic, + * a discussion mean on documents, + * a subscription mechanism to be updated about new messages on + interesting documents, + * an unified feeds page to see recent messages and activity + on followed documents, + * user communication through the feeds page, + * a threaded discussion design, + * relies on the global outgoing mail server, an integrated email + management system allowing to send emails with a configurable + scheduler-based processing engine + * includes an extensible generic email composition assistant, that can turn into a mass-mailing assistant, and is capable of interpreting simple *placeholder expressions* that will be replaced with - dynamic data when each email is actually sent. - This generic assistant is easily extensible to provide advanced - features (see ``email_template`` for example, which adds email - templating features to this assistant) - + dynamic data when each email is actually sent """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', @@ -69,6 +74,7 @@ The main features are: ], 'installable': True, 'auto_install': False, + 'application':True, 'certificate': '001056784984222247309', 'images': [ 'images/customer_history.jpeg', @@ -94,6 +100,6 @@ The main features are: ], 'demo': [ 'mail_demo.xml', - ], + ], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mail/static/src/img/icon.png b/addons/mail/static/src/img/icon.png Binary files differnew file mode 100644 index 00000000000..53ccc469127 --- /dev/null +++ b/addons/mail/static/src/img/icon.png diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 3c0b61c173e..0f68a548590 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -91,7 +91,7 @@ openerp.mail = function(session) { this.params = params; this.params.parent_id = this.params.parent_id || false; this.params.thread_level = this.params.thread_level || 0; - this.params.msg_more_limit = this.params.msg_more_limit || 100; + this.params.msg_more_limit = this.params.msg_more_limit || 290; this.params.limit = this.params.limit || 100; this.params.offset = this.params.offset || 0; this.params.records = this.params.records || null; @@ -304,7 +304,6 @@ openerp.mail = function(session) { // format date according to the user timezone record.date = session.web.format_value(record.date, {type:"datetime"}); - var rendered = session.web.qweb.render('mail.Thread.message', {'record': record, 'thread': this, 'params': this.params, 'display': this.display}); $(rendered).appendTo(this.$element.children('div.oe_mail_thread_display:first')); // expand feature @@ -635,6 +634,7 @@ openerp.mail = function(session) { start: function () { this._super.apply(this, arguments); var self = this; + this.display_current_user(); // add events this.add_event_handlers(); // load mail.message search view @@ -694,6 +694,14 @@ openerp.mail = function(session) { }); }, + display_current_user: function () { + return this.$element.find('img.oe_mail_msg_image').attr('src', this.thread_get_avatar('res.users', 'avatar', this.session.uid)); + }, + + thread_get_avatar: function(model, field, id) { + return this.session.prefix + '/web/binary/image?session_id=' + this.session.session_id + '&model=' + model + '&field=' + field + '&id=' + (id || ''); + }, + /** * Initializes the wall and calls fetch_comments * @param {Number} limit: number of notifications to fetch diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 2eb3a390933..982fb8aeb2f 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -56,9 +56,7 @@ <div t-name="mail.Thread" class="oe_mail oe_mail_thread"> <div class="oe_mail_thread_action"> <img class="oe_mail_msg_image oe_left" alt="User img"/> - <div class="oe_mail_msg_content"> - <textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/> - </div> + <textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/> </div> <div class="oe_mail_thread_display"></div> <div class="oe_mail_thread_more"> diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index cb2ed1eec19..1b19a383c10 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -292,4 +292,43 @@ class mail_compose_message(osv.osv_memory): return tools.ustr(result) return template and EXPRESSION_PATTERN.sub(merge, template) + + +class mail_compose_message_extended(osv.osv_memory): + """ Extension of 'mail.compose.message' to support default field values related + to CRM-like models that follow the following conventions: + + 1. The model object must have an attribute '_mail_compose_message' equal to True. + + 2. The model should define the following fields: + - 'name' as subject of the message (required); + - 'email_from' as destination email address (required); + - 'email_cc' as cc email addresses (required); + - 'section_id.reply_to' as reply-to address (optional). + """ + _inherit = 'mail.compose.message' + + def get_value(self, cr, uid, model, res_id, context=None): + """Overrides the default implementation to provide more default field values + related to the corresponding CRM case. + """ + result = super(mail_compose_message_extended, self).get_value(cr, uid, model, res_id, context=context) + model_obj = self.pool.get(model) + if getattr(model_obj, '_mail_compose_message', False) and res_id: + data = model_obj.browse(cr, uid , res_id, context) + user = self.pool.get('res.users').browse(cr, uid, uid, context=context) + result.update({ + 'model': model, + 'res_id': res_id, + 'email_from': user.user_email or tools.config.get('email_from', False), + 'email_to': data.email_from or False, + 'email_cc': tools.ustr(data.email_cc or ''), + 'subject': data.name or False, + 'body_text': '\n' + tools.ustr(user.signature or ''), + 'subtype': 'plain', + }) + if hasattr(data, 'section_id'): + result['reply_to'] = data.section_id and data.section_id.reply_to or False + return result + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing_campaign/marketing_campaign.py b/addons/marketing_campaign/marketing_campaign.py index a6294182301..417bd694624 100644 --- a/addons/marketing_campaign/marketing_campaign.py +++ b/addons/marketing_campaign/marketing_campaign.py @@ -439,7 +439,7 @@ class marketing_campaign_activity(osv.osv): 'revenue': fields.float('Revenue', help="Set an expected revenue if you consider that every campaign item that has reached this point has generated a certain revenue. You can get revenue statistics in the Reporting section", digits_compute=dp.get_precision('Sale Price')), 'signal': fields.char('Signal', size=128, help='An activity with a signal can be called programmatically. Be careful, the workitem is always created when a signal is sent'), - 'keep_if_condition_not_met': fields.boolean("Don't delete workitems", + 'keep_if_condition_not_met': fields.boolean("Don't Delete Workitems", help="By activating this option, workitems that aren't executed because the condition is not met are marked as cancelled instead of being deleted.") } diff --git a/addons/marketing_campaign/marketing_campaign_view.xml b/addons/marketing_campaign/marketing_campaign_view.xml index 41ed78da709..6a06cb33f1d 100644 --- a/addons/marketing_campaign/marketing_campaign_view.xml +++ b/addons/marketing_campaign/marketing_campaign_view.xml @@ -9,6 +9,22 @@ Marketing Campaign ====================== --> + <act_window name="All Segments" + res_model="marketing.campaign.segment" + src_model="marketing.campaign" + view_type="form" + view_mode="tree,form" + id="act_marketing_campaing_segment_opened" + context="{'search_default_campaign_id': [active_id], 'default_campaign_id': active_id}" + /> + + <!-- Campaign Followups --> + <act_window + context="{'search_default_campaign_id': [active_id], 'default_campaign_id': active_id}" + id="act_marketing_campaing_followup" + name="Campaign Follow-up" res_model="marketing.campaign.workitem" + src_model="marketing.campaign" view_mode="tree,form" + view_type="form" /> <record model="ir.ui.view" id="view_marketing_campaign_form"> <field name="name">marketing.campaign.form</field> @@ -24,20 +40,30 @@ <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/> </header> <sheet string="Campaign"> + <div class="oe_right oe_button_box" name="button_box"> + <button type="action" + name="%(act_marketing_campaing_followup)d" + string="Follow-Up" /> + <button type="action" + name="%(act_marketing_campaing_segment_opened)d" + string="Segments" /> + </div> + <div class="oe_title"> + <label for="name" class="oe_edit_only"/> + <h1><field name="name" class="oe_inline"/></h1> + </div> <group> - <group string="Campaign"> - <field name="name"/> + <group> <field name="mode"/> + <field name="fixed_cost"/> </group> - <group string="Resource"> + <group> <field name="object_id"/> <field name="partner_field_id"/> <field name="unique_field_id"/> - </group> - <group string="Cost"> - <field name="fixed_cost"/> - </group> + </group> </group> + <separator string="Activities"/> <field name="activity_ids" context="{'default_object_id': object_id, 'default_campaign_id': active_id}" /> </sheet> </form> @@ -143,16 +169,11 @@ </header> <sheet string="Segments" > <group> - <group string="Segment"> + <group> <field name="name"/> <field name="campaign_id" on_change="onchange_campaign_id(campaign_id)"/> <field name="object_id" invisible="1"/> - </group> - <group string="Filter"> - <field name="ir_filter_id"/> - </group> - <group string="Synchronization"> - <field name="sync_mode" required="True"/> + <field name="sync_mode" required="True"/> <label for="sync_last_date"/> <div> <field name="sync_last_date" class="oe_inline"/> @@ -160,7 +181,8 @@ </div> <field name="date_next_sync"/> </group> - <group string="History"> + <group> + <field name="ir_filter_id"/> <field name="date_run" readonly="1"/> <field name="date_done" readonly="1"/> </group> @@ -243,33 +265,34 @@ <field name="arch" type="xml"> <form string="Activities" version="7.0"> <group> - <group string="Activity"> + <group> <field name="name"/> <field name="signal" groups="base.group_no_one"/> <field name="start"/> <field name="object_id" invisible="1"/> <field name="campaign_id" invisible="1"/> </group> - <group string="Cost / Revenue"> + <group> <field name="variable_cost"/> <field name="revenue"/> </group> </group> - <group string="Condition" col="4"> - <field name="condition" widget="char" colspan="4"/> - <field name="keep_if_condition_not_met"/> - </group> - <group col="4"> - <separator string="Action" colspan="4"/> - <field name="type"/> - <field name="email_template_id" attrs="{'required':[('type','=','email')], 'invisible':[('type','!=','email')]}" + <group > + <group> + <field name="condition" widget="char"/> + <field name="keep_if_condition_not_met"/> + </group> + <group> + <field name="type"/> + <field name="email_template_id" attrs="{'required':[('type','=','email')], 'invisible':[('type','!=','email')]}" context="{'default_model_id':object_id}" /> - <field name="server_action_id" attrs="{'required':[('type','=','action')],'invisible':[('type','!=','action')]}" domain="[('model_id','=',object_id)]"/> - <field name="report_id" attrs="{'required':[('type','=','report')],'invisible':[('type','!=','report')]}" context="{'object_id':object_id}"/> - <field name="report_directory_id" attrs="{'required':[('type','=','report')],'invisible':[('type','!=','report')]}"/> + <field name="server_action_id" attrs="{'required':[('type','=','action')],'invisible':[('type','!=','action')]}" domain="[('model_id','=',object_id)]"/> + <field name="report_id" attrs="{'required':[('type','=','report')],'invisible':[('type','!=','report')]}" context="{'object_id':object_id}"/> + <field name="report_directory_id" attrs="{'required':[('type','=','report')],'invisible':[('type','!=','report')]}"/> + </group> </group> - <separator string="Transitions"/> - <field name="from_ids" mode="tree,form" context="{'default_activity_to_id': active_id}"> + <separator string="Previous Activities"/> + <field name="from_ids" mode="tree" context="{'default_activity_to_id': active_id}"> <tree string="Incoming Transitions" editable="bottom"> <field name="activity_from_id" domain="[('campaign_id', '=', parent.campaign_id)]"/> <field name='trigger'/> @@ -285,7 +308,8 @@ </group> </form> </field> - <field name="to_ids" nolabel="1" mode="tree,form" context="{'default_activity_from_id': active_id}" colspan="2"> + <separator string="Next Activities"/> + <field name="to_ids" mode="tree" context="{'default_activity_from_id': active_id}"> <tree string="Outgoing Transitions" editable="bottom"> <field name="activity_to_id" domain="[('campaign_id', '=', parent.campaign_id)]"/> <field name='trigger'/> @@ -363,12 +387,13 @@ </header> <sheet> <group> - <group string="Campaign Step"> + <group> <field name="campaign_id"/> <field name="segment_id"/> <field name="activity_id" context="{'segment_id':segment_id}"/> <field name="date"/> - </group><group string="Related Resource"> + </group> + <group> <field name="object_id" readonly="True"/> <field name="res_name"/> <field name="res_id"/> diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 0b725108be4..6fe3d61a804 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -957,9 +957,8 @@ </xpath> <xpath expr="//field[@name='close_move']" position="after"> <group colspan="4" groups="product.group_mrp_properties"> - <separator colspan="4" string="Properties" /> - <field colspan="4" name="property_ids" nolabel="1"/> - </group> + <field colspan="4" name="property_ids" widget="many2many_tags"/> + </group> </xpath> </data> </field> diff --git a/addons/mrp/res_config_view.xml b/addons/mrp/res_config_view.xml index 48938972f60..db337c9b178 100644 --- a/addons/mrp/res_config_view.xml +++ b/addons/mrp/res_config_view.xml @@ -12,25 +12,23 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Manufacturing Order"> - <field name="module_mrp_operations"/> - <field name="module_stock_planning"/> - <field name="module_mrp_subproduct"/> - <field name="module_mrp_repair"/> - </group> - <group string="Logistics"> - <field name="module_mrp_jit"/> - <field name="module_stock_no_autopicking"/> - </group> - <group string="Bill Of Material"> - <field name="group_mrp_routings"/> - <field name="group_mrp_properties"/> - </group> - <group string="Products"> - <field name="module_product_manufacturer"/> - </group> - </sheet> + <group string="Manufacturing Order"> + <field name="module_mrp_operations"/> + <field name="module_stock_planning"/> + <field name="module_mrp_subproduct"/> + <field name="module_mrp_repair"/> + </group> + <group string="Logistics"> + <field name="module_mrp_jit"/> + <field name="module_stock_no_autopicking"/> + </group> + <group string="Bill Of Material"> + <field name="group_mrp_routings"/> + <field name="group_mrp_properties"/> + </group> + <group string="Products"> + <field name="module_product_manufacturer"/> + </group> </form> </field> </record> diff --git a/addons/mrp/security/ir.model.access.csv b/addons/mrp/security/ir.model.access.csv index cd6b8db2195..5d254f86b4e 100644 --- a/addons/mrp/security/ir.model.access.csv +++ b/addons/mrp/security/ir.model.access.csv @@ -80,3 +80,4 @@ access_product_pricelist_item_mrp_manager,product.pricelist.item mrp_manager,pro access_resource_calendar_manufacturinguser,resource.calendar manufacturing.user,resource.model_resource_calendar,mrp.group_mrp_user,1,0,0,0
access_account_journal_mrp_manager,account.journal mrp manager,account.model_account_journal,mrp.group_mrp_manager,1,0,0,0
access_purchase_order_stock_user,purchase.order stock user,purchase.model_purchase_order,stock.group_stock_user,1,1,1,0
+access_mrp_bom_purchase_manager,mrp.bom,model_mrp_bom,purchase.group_purchase_manager,1,0,0,0
diff --git a/addons/mrp_subproduct/security/ir.model.access.csv b/addons/mrp_subproduct/security/ir.model.access.csv index 7c012237dd6..e91c8158d19 100644 --- a/addons/mrp_subproduct/security/ir.model.access.csv +++ b/addons/mrp_subproduct/security/ir.model.access.csv @@ -1,3 +1,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_mrp_subproduct_user,mrp.subproduct,model_mrp_subproduct,mrp.group_mrp_user,1,1,1,1
-access_mrp_subproduct_manager,mrp.subproduct manager,model_mrp_subproduct,mrp.group_mrp_manager,1,0,0,0
+access_mrp_subproduct_user,mrp.subproduct,model_mrp_subproduct,mrp.group_mrp_user,1,0,0,0
+access_mrp_subproduct_manager,mrp.subproduct manager,model_mrp_subproduct,mrp.group_mrp_manager,1,1,1,1
+access_mrp_subproduct_all,mrp.subproduct,model_mrp_subproduct,base.group_user,1,0,0,0
diff --git a/addons/project/i18n/hr.po b/addons/project/i18n/hr.po index ea508ead52c..d17da5727b3 100644 --- a/addons/project/i18n/hr.po +++ b/addons/project/i18n/hr.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2010-08-03 09:16+0000\n" -"Last-Translator: Mantavya Gajjar (Open ERP) <Unknown>\n" +"PO-Revision-Date: 2012-07-06 12:24+0000\n" +"Last-Translator: Marko Carevic <Unknown>\n" "Language-Team: Vinteh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-28 04:36+0000\n" -"X-Generator: Launchpad (build 15505)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:12+0000\n" +"X-Generator: Launchpad (build 15558)\n" "Language: hr\n" #. module: project @@ -108,7 +108,7 @@ msgstr "Sati za procjenu" #. module: project #: view:project.project:0 msgid "Pending Projects" -msgstr "" +msgstr "Projekti na čekanju" #. module: project #: help:project.task,remaining_hours:0 @@ -191,7 +191,7 @@ msgstr "Tvrtka" #. module: project #: view:report.project.task.user:0 msgid "Pending tasks" -msgstr "" +msgstr "Zadaci na čekanju" #. module: project #: field:project.task.delegate,prefix:0 @@ -206,7 +206,7 @@ msgstr "" #. module: project #: model:process.transition.action,name:project.process_transition_action_openpendingtask0 msgid "Set pending" -msgstr "Postavite u tijeku" +msgstr "Staviti na čekanje" #. module: project #: selection:project.task,priority:0 @@ -281,7 +281,7 @@ msgstr "Zadatak" #. module: project #: view:project.project:0 msgid "Members" -msgstr "" +msgstr "Članovi" #. module: project #: view:board.board:0 @@ -641,7 +641,7 @@ msgstr "Srednji" #. module: project #: view:project.task:0 view:project.task.history.cumulative:0 msgid "Pending Tasks" -msgstr "" +msgstr "Zadaci na čekanju" #. module: project #: view:project.task:0 field:project.task,remaining_hours:0 @@ -705,7 +705,7 @@ msgstr "" #: selection:project.vs.hours,state:0 view:report.project.task.user:0 #: selection:report.project.task.user,state:0 selection:task.by.days,state:0 msgid "Pending" -msgstr "U toku" +msgstr "Na čekanju" #. module: project #: field:project.task.delegate,name:0 diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index f18cfe4b682..53a56735ec8 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -239,7 +239,7 @@ <t t-name="kanban-box"> <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_project oe_kanban_auto_height oe_kanban_global_click"> <div class="oe_dropdown_toggle oe_dropdown_kanban"> - <span class="oe_e">i</span> + <span class="oe_e">í</span> <ul class="oe_dropdown_menu"> <li><a type="edit">Edit...</a></li> <li><a type="delete">Delete</a></li> diff --git a/addons/project/report/project_cumulative.xml b/addons/project/report/project_cumulative.xml index 22d43237538..3f7f3b26d96 100644 --- a/addons/project/report/project_cumulative.xml +++ b/addons/project/report/project_cumulative.xml @@ -83,7 +83,7 @@ </record> <menuitem action="action_view_task_history_cumulative" id="menu_action_view_task_history_cumulative" - parent="project_report_task" /> + parent="base.menu_project_report" /> <!--<record id="action_view_task_history_burndown" model="ir.actions.act_window">--> diff --git a/addons/project/report/project_report.py b/addons/project/report/project_report.py index 30d8717efb6..36e025ab509 100644 --- a/addons/project/report/project_report.py +++ b/addons/project/report/project_report.py @@ -54,7 +54,6 @@ class report_project_task_user(osv.osv): 'state': fields.selection([('draft', 'Draft'), ('open', 'In Progress'), ('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')],'Status', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True, groups="base.group_multi_company"), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), - 'type_id': fields.many2one('project.task.type', 'Stage', readonly=True), } _order = 'name desc, project_id' diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index a5711239f87..40235ad03b7 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -5,8 +5,6 @@ <menuitem id="base.menu_project_report" name="Project" groups="project.group_project_manager" parent="base.menu_reporting" sequence="25"/> - <menuitem id="project_report_task" name="Tasks Analysis" - parent="base.menu_project_report"/> <record id="view_task_project_user_tree" model="ir.ui.view"> <field name="name">report.project.task.user.tree</field> @@ -23,7 +21,6 @@ <field name="date_end" invisible="1"/> <field name="company_id" invisible="1" groups="base.group_multi_company"/> <field name="partner_id" invisible="1"/> - <field name="type_id" invisible="1"/> <field name="day" invisible="1"/> <field name="month" invisible="1"/> <field name="year" invisible="1"/> @@ -101,7 +98,6 @@ <newline/> <group expand="0" string="Extended Filters..."> <field name="priority"/> - <field name="type_id" widget="selection"/> <separator orientation="vertical"/> <field name="company_id" groups="base.group_multi_company" widget="selection"/> </group> @@ -115,7 +111,6 @@ <separator orientation="vertical"/> <filter string="Status" icon="terp-stock_effects-object-colorize" context="{'group_by':'state'}"/> <filter string="Company" icon="terp-go-home" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> - <filter string="Stage" icon="terp-stage" context="{'group_by':'type_id'}" /> <separator orientation="vertical"/> <filter string="Day" icon="terp-go-today" context="{'group_by':'day'}" help="Creation Date"/> <filter string="Month" icon="terp-go-month" context="{'group_by':'month'}" help="Creation Date"/> @@ -135,7 +130,7 @@ <field name="help">This report allows you to analyse the performance of your projects and users. You can analyse the quantities of tasks, the hours spent compared to the planned hours, the average number of days to open or close a task, etc.</field> </record> - <menuitem action="action_project_task_user_tree" id="menu_project_task_user_tree" parent="project_report_task"/> + <menuitem action="action_project_task_user_tree" id="menu_project_task_user_tree" parent="base.menu_project_report"/> </data> </openerp> diff --git a/addons/project/res_config_view.xml b/addons/project/res_config_view.xml index ff1511d49f2..b6497e56d62 100644 --- a/addons/project/res_config_view.xml +++ b/addons/project/res_config_view.xml @@ -12,28 +12,26 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Project"> - <group> - <field name="module_project_mrp"/> - <field name="module_project_timesheet"/> - <field name="module_pad"/> - </group> - <group> - <field name="group_tasks_work_on_tasks"/> - <field name="group_time_work_estimation_tasks"/> - <field name="group_manage_delegation_task"/> - <field name="time_unit" domain="[('category_id.name','=','Working Time')]"/> - </group> + <group string="Project"> + <group> + <field name="module_project_mrp"/> + <field name="module_project_timesheet"/> + <field name="module_pad"/> </group> - <group string="Planning"> - <field name="module_project_long_term"/> + <group> + <field name="group_tasks_work_on_tasks"/> + <field name="group_time_work_estimation_tasks"/> + <field name="group_manage_delegation_task"/> + <field name="time_unit" domain="[('category_id.name','=','Working Time')]"/> </group> - <group string="Helpdesk and Support" name="support"> - <field name="module_project_issue"/> - <field name="module_project_issue_sheet"/> - </group> - </sheet> + </group> + <group string="Planning"> + <field name="module_project_long_term"/> + </group> + <group string="Helpdesk and Support" name="support"> + <field name="module_project_issue"/> + <field name="module_project_issue_sheet"/> + </group> </form> </field> </record> diff --git a/addons/project/security/ir.model.access.csv b/addons/project/security/ir.model.access.csv index 8cea913984d..b6fd90c948f 100644 --- a/addons/project/security/ir.model.access.csv +++ b/addons/project/security/ir.model.access.csv @@ -1,6 +1,8 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_project_project,project.project,model_project_project,project.group_project_user,1,1,1,1
-access_account_analytic_account,account.analytic.account,analytic.model_account_analytic_account,project.group_project_user,1,1,1,1
+access_project_project,project.project,model_project_project,project.group_project_user,1,0,0,0
+access_project_project_manager,project.project,model_project_project,project.group_project_manager,1,1,1,1
+access_account_analytic_account_user,account.analytic.account,analytic.model_account_analytic_account,project.group_project_user,1,0,0,0
+access_account_analytic_account,account.analytic.account,analytic.model_account_analytic_account,project.group_project_manager,1,1,1,1
access_project_task_type_user,project.task.type user,model_project_task_type,project.group_project_user,1,1,1,1
access_project_task,project.task,model_project_task,project.group_project_user,1,1,1,1
access_project_task_work,project.task.work,model_project_task_work,project.group_project_user,1,1,1,1
@@ -8,7 +10,9 @@ access_report_project_task_user,report.project.task.user,model_report_project_ta access_partner_task user,base.res.partner user,base.model_res_partner,project.group_project_user,1,0,0,0
access_task_on_partner,project.task on partners,model_project_task,base.group_user,1,0,0,0
access_project_on_partner,project.project on partners,model_project_project,base.group_user,1,0,0,0
-access_project_task_sale_user,project.task salesman,model_project_task,base.group_sale_salesman,1,0,0,0
+access_project_task_sale_user,project.task salesman,model_project_task,base.group_sale_salesman,1,1,1,1
+access_project_task_type_sale_user,project.task.type salesman,project.model_project_task_type,base.group_sale_salesman,1,1,1,1
+access_project_task_history_sale_user,project.task.history salesman,project.model_project_task_history,base.group_sale_salesman,1,1,1,1
access_project_project_sale_user,project.project salesman,model_project_project,base.group_sale_salesman,1,0,0,0
access_account_analytic_line_project,account.analytic.line project,analytic.model_account_analytic_line,project.group_project_manager,1,1,1,1
access_project_task_history,project.task.history project,project.model_project_task_history,project.group_project_user,1,1,1,0
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index fea7a64d2b7..5f9b0a369ca 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -27,9 +27,6 @@ from tools.translate import _ import binascii import time import tools -from crm import wizard - -wizard.mail_compose_message.SUPPORTED_MODELS.append('project.issue') class project_issue_version(osv.osv): _name = "project.issue.version" @@ -50,6 +47,7 @@ class project_issue(base_stage, osv.osv): _description = "Project Issue" _order = "priority, create_date desc" _inherit = ['ir.needaction_mixin', 'mail.thread'] + _mail_compose_message = True def _get_default_project_id(self, cr, uid, context=None): """ Gives default project by checking if present in the context """ diff --git a/addons/project_issue/security/ir.model.access.csv b/addons/project_issue/security/ir.model.access.csv index 4708a6fdcd6..789f93b5175 100644 --- a/addons/project_issue/security/ir.model.access.csv +++ b/addons/project_issue/security/ir.model.access.csv @@ -9,3 +9,5 @@ access_resource_calendar_project_manager,resource.calendar.project.manager,resou access_project_issue_report_user,project.issue.report user,model_project_issue_report,project.group_project_user,1,0,0,0
access_mail_message_issue_project_user,mail.message.user,mail.model_mail_message,project.group_project_user,1,1,1,0
access_crm_case_section,crm.case.section,crm.model_crm_case_section,project.group_project_user,1,0,0,0
+access_project_issue_salesman,project.issue,model_project_issue,base.group_sale_salesman,1,0,0,0
+access_project_issue_manager,project.issue,model_project_issue,base.group_sale_manager,1,0,0,0
diff --git a/addons/project_long_term/security/ir.model.access.csv b/addons/project_long_term/security/ir.model.access.csv index 6ca496f691d..2a00088b8f4 100644 --- a/addons/project_long_term/security/ir.model.access.csv +++ b/addons/project_long_term/security/ir.model.access.csv @@ -7,3 +7,6 @@ access_resource_resource_user,user.user user,resource.model_resource_resource,pr access_resource_calendar_leaves_user,user.calendar.leaves user,resource.model_resource_calendar_leaves,project.group_project_user,1,1,1,1
access_resource_resource_manager,user.user manager,resource.model_resource_resource,project.group_project_manager,1,1,1,1
access_project_user_allocation_manager,project.user.allocation.manager,model_project_user_allocation,project.group_project_manager,1,1,1,1
+access_project_resource_calendar_attendance,resource.calendar.attendance,resource.model_resource_calendar_attendance,project.group_project_manager,1,0,0,0
+
+
diff --git a/addons/project_timesheet/report/task_report_view.xml b/addons/project_timesheet/report/task_report_view.xml index 6bc424ce60c..7e79b3793b7 100644 --- a/addons/project_timesheet/report/task_report_view.xml +++ b/addons/project_timesheet/report/task_report_view.xml @@ -66,7 +66,7 @@ <field name="view_mode">tree,graph</field> <field name="context">{'search_default_year':1,'search_default_month':1, 'search_default_group_user_id':1}</field> </record> - <menuitem id="menu_timesheet_task_user" parent="hr_timesheet.menu_hr_reporting_timesheet" + <menuitem id="menu_timesheet_task_user" parent="hr.menu_hr_reporting_timesheet" action="action_report_timesheet_task_user" sequence="1"/> </data> diff --git a/addons/project_timesheet/security/ir.model.access.csv b/addons/project_timesheet/security/ir.model.access.csv index 85ccf63e19f..24143531f53 100644 --- a/addons/project_timesheet/security/ir.model.access.csv +++ b/addons/project_timesheet/security/ir.model.access.csv @@ -2,3 +2,5 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_report_timesheet_task_user_manager,report.timesheet.task.user.manager,model_report_timesheet_task_user,project.group_project_manager,1,1,1,1
access_hr_analytic_timesheet_user,hr.analytic.timesheet.user,hr_timesheet_sheet.model_hr_analytic_timesheet,project.group_project_user,1,1,1,0
access_hr_timesheet_sheet_sheet_user,hr.timesheet.sheet.sheet.user,hr_timesheet_sheet.model_hr_timesheet_sheet_sheet,project.group_project_user,1,1,1,0
+access_sale_order_manager,sale.order,sale.model_sale_order,project.group_project_manager,1,0,0,0
+access_sale_order_user,sale.order,sale.model_sale_order,project.group_project_user,1,0,0,0
diff --git a/addons/purchase/res_config_view.xml b/addons/purchase/res_config_view.xml index 06b06c7bae4..1e8588bf618 100644 --- a/addons/purchase/res_config_view.xml +++ b/addons/purchase/res_config_view.xml @@ -12,25 +12,23 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Invoicing"> - <field name="default_invoice_method"/> - <field name="decimal_precision"/> + <group string="Invoicing"> + <field name="default_invoice_method"/> + <field name="decimal_precision"/> + </group> + <group string="Purchase Order"> + <group> + <field name="group_purchase_pricelist"/> + <field name="group_uom"/> + <field name="group_purchase_delivery_address"/> </group> - <group string="Purchase Order"> - <group> - <field name="group_purchase_pricelist"/> - <field name="group_uom"/> - <field name="group_purchase_delivery_address"/> - </group> - <group> - <field name="module_purchase_double_validation"/> - <field name="module_purchase_requisition"/> - <field name="module_warning"/> - <field name="module_purchase_analytic_plans"/> - </group> + <group> + <field name="module_purchase_double_validation"/> + <field name="module_purchase_requisition"/> + <field name="module_warning"/> + <field name="module_purchase_analytic_plans"/> </group> - </sheet> + </group> </form> </field> </record> diff --git a/addons/purchase/security/ir.model.access.csv b/addons/purchase/security/ir.model.access.csv index b19a62bf5d1..c45b8a9b070 100644 --- a/addons/purchase/security/ir.model.access.csv +++ b/addons/purchase/security/ir.model.access.csv @@ -64,3 +64,4 @@ access_account_account_purchase_manager,account.account purchase manager,account access_account_journal_purchase_manager,account.journal purchase manager,account.model_account_journal,purchase.group_purchase_manager,1,0,0,0
access_stock_tracking_purchase_user,stock.tracking purchase.user,stock.model_stock_tracking,purchase.group_purchase_user,1,1,1,0
access_stock_location_purchase_manager,stock.location purchase manager,stock.model_stock_location,purchase.group_purchase_manager,1,0,0,0
+access_stock_warehouse_orderpoint_manager,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,purchase.group_purchase_manager,1,0,0,0
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index d5d6b5346eb..f586305573b 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -175,7 +175,6 @@ <field domain="[('parent_id','=',partner_id)]" name="partner_invoice_id" groups="sale.group_delivery_invoice_address"/> <field domain="[('parent_id','=',partner_id)]" name="partner_shipping_id" groups="sale.group_delivery_invoice_address"/> - <field domain="[('type','=','sale')]" name="pricelist_id" groups="product.group_sale_pricelist" on_change="onchange_pricelist_id(pricelist_id,order_line)"/> <field name="project_id" context="{'partner_id':partner_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="sale.group_analytic_accounting" domain="[('type','in',['view','normal','contract'])]"/> </group> <group> @@ -235,9 +234,8 @@ <field name="delay"/> <field name="th_weight"/> <field name="address_allotment_id"/> + <field name="property_ids" widget="many2many_tags"/> </group> - <separator string="Properties" colspan="2"/> - <field name="property_ids" colspan="4" nolabel="1"/> <field name="notes" groups="base.group_sale_notes_subtotal" placeholder="Add a note on order line..."/> <div groups="base.group_no_one"> <separator colspan="4" string="Invoice Lines"/> diff --git a/addons/sale/security/ir.model.access.csv b/addons/sale/security/ir.model.access.csv index 721d706a5fb..617678eccbe 100644 --- a/addons/sale/security/ir.model.access.csv +++ b/addons/sale/security/ir.model.access.csv @@ -57,4 +57,6 @@ access_product_pricelist_type_sale_manager,product.pricelist.type salemanager,pr access_product_pricelist_sale_manager,product.pricelist salemanager,product.model_product_pricelist,base.group_sale_manager,1,1,1,1
access_product_group_res_partner_sale_manager,res_partner group_sale_manager,base.model_res_partner,base.group_sale_manager,1,1,1,0
access_product_pricelist_version_sale_manager,product.pricelist.version sale_manager,product.model_product_pricelist_version,base.group_sale_manager,1,1,1,1
-access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0
\ No newline at end of file +access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0
+access_stock_warehouse_orderpoint_sale_salesman,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,base.group_sale_salesman,1,0,0,0
+access_account_move_line_salesman,account.move.line invoice,account.model_account_move_line,base.group_sale_salesman,1,0,0,0
diff --git a/addons/sale_crm/i18n/ja.po b/addons/sale_crm/i18n/ja.po index 90dee9e022a..2c6e158a939 100644 --- a/addons/sale_crm/i18n/ja.po +++ b/addons/sale_crm/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:37+0000\n" -"PO-Revision-Date: 2012-06-08 09:02+0000\n" -"Last-Translator: Tomomi Mengelberg <tomomi.mengelberg@aquasys.co.jp>\n" +"PO-Revision-Date: 2012-07-06 21:31+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-09 05:39+0000\n" -"X-Generator: Launchpad (build 15376)\n" +"X-Launchpad-Export-Date: 2012-07-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: sale_crm #: field:sale.order,categ_id:0 @@ -105,13 +105,13 @@ msgstr "オポチュニティ成立" #. module: sale_crm #: view:board.board:0 msgid "My Planned Revenues by Stage" -msgstr "状況による私の計画売上高" +msgstr "段階別私の計画売上高" #. module: sale_crm #: code:addons/sale_crm/wizard/crm_make_sale.py:110 #, python-format msgid "Opportunity '%s' is converted to Quotation." -msgstr "オポチュニティの'%s' は、見積りへ変わりました。" +msgstr "オポチュニティの'%s' は、見積に変換されました。" #. module: sale_crm #: view:sale.order:0 diff --git a/addons/sale_mrp/security/ir.model.access.csv b/addons/sale_mrp/security/ir.model.access.csv index a0f117b61e5..4f0f0f8072c 100644 --- a/addons/sale_mrp/security/ir.model.access.csv +++ b/addons/sale_mrp/security/ir.model.access.csv @@ -2,3 +2,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_mrp_bom_user,mrp.bom,mrp.model_mrp_bom,base.group_sale_salesman,1,0,0,0
access_sale_order_manufacturing_user,sale.order manufacturing.user,sale.model_sale_order,mrp.group_mrp_user,1,1,0,0
access_sale_order_line_manufacturing_user,sale.order.line manufacturing.user,sale.model_sale_order_line,mrp.group_mrp_user,1,1,0,0
+access_mrp_bom_revision_salesman,mrp.bom.revision,mrp.model_mrp_bom_revision,base.group_sale_salesman,1,0,0,0
diff --git a/addons/stock/res_config_view.xml b/addons/stock/res_config_view.xml index 64c151af33c..f6638f22002 100644 --- a/addons/stock/res_config_view.xml +++ b/addons/stock/res_config_view.xml @@ -13,38 +13,36 @@ or <button string="Cancel" type="object" name="cancel" class="oe_link"/> </header> - <sheet> - <group string="Traceability"> - <field name="group_stock_production_lot"/> - <field name="group_stock_tracking_lot"/> - <field name="module_product_expiry" - attrs="{'invisible': [('group_stock_production_lot','=',False)]}"/> + <group string="Traceability"> + <field name="group_stock_production_lot"/> + <field name="group_stock_tracking_lot"/> + <field name="module_product_expiry" + attrs="{'invisible': [('group_stock_production_lot','=',False)]}"/> + </group> + <group string="Logistics"> + <group> + <field name="group_stock_multiple_locations"/> + <field name="module_stock_invoice_directly"/> </group> - <group string="Logistics"> - <group> - <field name="group_stock_multiple_locations"/> - <field name="module_stock_invoice_directly"/> - </group> - <group> - <field name="module_stock_location"/> - <field name="decimal_precision"/> - </group> + <group> + <field name="module_stock_location"/> + <field name="decimal_precision"/> </group> - <group string="Products"> - <group> - <field name="group_stock_packaging"/> - <field name="group_uom"/> - <field name="group_uos"/> - </group> - <group> - <field name="group_stock_inventory_valuation"/> - <field name="group_product_variant"/> - </group> + </group> + <group string="Products"> + <group> + <field name="group_stock_packaging"/> + <field name="group_uom"/> + <field name="group_uos"/> </group> - <group string="Partners"> - <field name="module_claim_from_delivery"/> + <group> + <field name="group_stock_inventory_valuation"/> + <field name="group_product_variant"/> </group> - </sheet> + </group> + <group string="Partners"> + <field name="module_claim_from_delivery"/> + </group> </form> </field> </record> diff --git a/addons/stock/security/ir.model.access.csv b/addons/stock/security/ir.model.access.csv index 593dc7eb9f3..dd3e791d41a 100644 --- a/addons/stock/security/ir.model.access.csv +++ b/addons/stock/security/ir.model.access.csv @@ -22,10 +22,10 @@ access_stock_production_lot_user,stock.production.lot user,model_stock_productio access_stock_production_lot_revision,stock.production.lot.revision,model_stock_production_lot_revision,stock.group_stock_user,1,1,1,1
access_stock_move_manager,stock.move manager,model_stock_move,stock.group_stock_manager,1,1,0,0
access_stock_move_user,stock.move user,model_stock_move,stock.group_stock_user,1,0,0,0
-access_stock_inventory_user,stock.inventory user,model_stock_inventory,stock.group_stock_user,1,1,1,1
-access_stock_inventory_manager,stock.inventory manager,model_stock_inventory,stock.group_stock_manager,1,0,0,0
-access_stock_inventory_line_user,stock.inventory.line user,model_stock_inventory_line,stock.group_stock_user,1,1,1,1
-access_stock_inventory_line_manager,stock.inventory.line manager,model_stock_inventory_line,stock.group_stock_manager,1,0,0,0
+access_stock_inventory_user,stock.inventory user,model_stock_inventory,stock.group_stock_user,1,0,0,0
+access_stock_inventory_manager,stock.inventory manager,model_stock_inventory,stock.group_stock_manager,1,1,1,1
+access_stock_inventory_line_user,stock.inventory.line user,model_stock_inventory_line,stock.group_stock_user,1,0,0,0
+access_stock_inventory_line_manager,stock.inventory.line manager,model_stock_inventory_line,stock.group_stock_manager,1,1,1,1
access_stock_report_prodlots,stock.report.prodlots,model_stock_report_prodlots,stock.group_stock_manager,1,0,0,0
access_stock_location_sale_manager,stock.location sale manager,model_stock_location,base.group_sale_manager,1,0,0,0
access_stock_location_stock_manager,stock.location stock manager,model_stock_location,stock.group_stock_manager,1,0,0,0
diff --git a/addons/stock_planning/i18n/ja.po b/addons/stock_planning/i18n/ja.po index 974a89fc4d5..4e21f56fa79 100644 --- a/addons/stock_planning/i18n/ja.po +++ b/addons/stock_planning/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 00:37+0000\n" -"PO-Revision-Date: 2012-07-04 02:25+0000\n" +"PO-Revision-Date: 2012-07-04 23:38+0000\n" "Last-Translator: Akira Hiyama <Unknown>\n" "Language-Team: Japanese <ja@li.org>\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-04 04:38+0000\n" -"X-Generator: Launchpad (build 15544)\n" +"X-Launchpad-Export-Date: 2012-07-06 04:58+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: stock_planning #: code:addons/stock_planning/wizard/stock_planning_createlines.py:73 @@ -453,7 +453,7 @@ msgstr "調達履歴" msgid "" "Unit of Measure used to show the quantities of stock calculation.You can use " "units from default category or from second category (UoS category)." -msgstr "在庫計算の数量を表示するため使用する単位。デフォルト分類から、または第2分類(単位分類)から単位を使うことができます。" +msgstr "在庫計算の数量を表示するため使用する単位。デフォルト分類から、または第2分類(販売単位分類)から単位を使うことができます。" #. module: stock_planning #: view:stock.period.createlines:0 @@ -541,7 +541,7 @@ msgstr "この会社の期間5" #. module: stock_planning #: field:stock.sale.forecast,product_uom:0 msgid "Product UoM" -msgstr "" +msgstr "製品単位" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period1_per_company:0 @@ -619,7 +619,7 @@ msgstr "倉庫 " msgid "" "Unit of Measure used to show the quantities of stock calculation.You can use " "units form default category or from second category (UoS category)." -msgstr "在庫計算の数量を示すために使用される単位。デフォルト分類から、または第2分類(単位の分類)から単位を使用することができます。" +msgstr "在庫計算の数量を示すために使用される単位。デフォルト分類から、または第2分類(販売単位分類)から単位を使用することができます。" #. module: stock_planning #: view:stock.planning:0 @@ -709,7 +709,7 @@ msgstr "在庫計画行の作成" #. module: stock_planning #: view:stock.planning:0 msgid "General Info" -msgstr "" +msgstr "一般情報" #. module: stock_planning #: model:ir.actions.act_window,name:stock_planning.action_view_stock_sale_forecast_form @@ -744,14 +744,14 @@ msgstr "在庫供給場所" #. module: stock_planning #: help:stock.period.createlines,date_stop:0 msgid "Ending date for planning period." -msgstr "" +msgstr "計画期間の終了日" #. module: stock_planning #: help:stock.planning.createlines,forecasted_products:0 msgid "" "Check this box to create planning for all products having any forecast for " "selected Warehouse and Period. Product Category field will be ignored." -msgstr "" +msgstr "選択した倉庫と期間の全ての製品が任意の予測を持つための計画を作成するにはこのボックスをチェックします。製品分類項目は無視されます。" #. module: stock_planning #: code:addons/stock_planning/stock_planning.py:632 @@ -759,19 +759,19 @@ msgstr "" #: code:addons/stock_planning/stock_planning.py:702 #, python-format msgid "MPS(%s) %s" -msgstr "" +msgstr "MPS(%s)%s" #. module: stock_planning #: field:stock.planning,already_in:0 msgid "Already In" -msgstr "" +msgstr "既入庫" #. module: stock_planning #: field:stock.planning,product_uom_categ:0 #: field:stock.planning,product_uos_categ:0 #: field:stock.sale.forecast,product_uom_categ:0 msgid "Product UoM Category" -msgstr "" +msgstr "製品単位分類" #. module: stock_planning #: model:ir.actions.act_window,help:stock_planning.action_view_stock_sale_forecast_form @@ -798,6 +798,10 @@ msgid "" "can trigger the procurement of what is missing to reach your desired " "quantities" msgstr "" +"マスタ調達スケジュールは倉庫の補充のための主な操縦者になることができ、または自動MRPスケジューリング(最小在庫ルール他)を補完します。\n" +"各MPS行は現在と未来の在庫レベルを基本として、計画された在庫移動と同様、与えられた倉庫の中の与えられた在庫期間のために、与えられた製品の入庫と出庫の前も" +"って計算された概観を与えます。予測数量は手動で変更することができます。そしてシミュレート結果の在庫数量に満足したなら、希望の数量に到達しないものの調達のき" +"っかけとすることができます。" #. module: stock_planning #: code:addons/stock_planning/stock_planning.py:685 @@ -834,48 +838,48 @@ msgstr "" #: field:stock.sale.forecast,period_id:0 #: field:stock.sale.forecast.createlines,period_id:0 msgid "Period" -msgstr "" +msgstr "期間" #. module: stock_planning #: field:stock.sale.forecast,product_uos_categ:0 msgid "Product UoS Category" -msgstr "" +msgstr "製品販売単位分類" #. module: stock_planning #: field:stock.planning,active_uom:0 #: field:stock.sale.forecast,active_uom:0 msgid "Active UoM" -msgstr "" +msgstr "アクティブな単位" #. module: stock_planning #: view:stock.planning:0 msgid "Search Stock Planning" -msgstr "" +msgstr "在庫計画の検索" #. module: stock_planning #: field:stock.sale.forecast.createlines,copy_forecast:0 msgid "Copy Last Forecast" -msgstr "" +msgstr "最終予測のコピー" #. module: stock_planning #: help:stock.sale.forecast,product_id:0 msgid "Shows which product this forecast concerns." -msgstr "" +msgstr "この予測に関連する製品の表示" #. module: stock_planning #: selection:stock.planning,state:0 msgid "Done" -msgstr "" +msgstr "完了" #. module: stock_planning #: field:stock.period.createlines,period_ids:0 msgid "Periods" -msgstr "" +msgstr "期間" #. module: stock_planning #: model:ir.ui.menu,name:stock_planning.menu_stock_period_creatlines msgid "Create Stock Periods" -msgstr "" +msgstr "在庫期間の作成" #. module: stock_planning #: view:stock.period:0 @@ -883,7 +887,7 @@ msgstr "" #: view:stock.planning.createlines:0 #: view:stock.sale.forecast.createlines:0 msgid "Close" -msgstr "" +msgstr "閉じる" #. module: stock_planning #: view:stock.sale.forecast:0 @@ -895,47 +899,47 @@ msgstr "検証済" #: view:stock.period:0 #: selection:stock.period,state:0 msgid "Open" -msgstr "" +msgstr "開く" #. module: stock_planning #: help:stock.sale.forecast.createlines,copy_forecast:0 msgid "Copy quantities from last Stock and Sale Forecast." -msgstr "" +msgstr "最終在庫と受注予測から数量をコピー" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period1_per_dept:0 msgid "This Dept Period1" -msgstr "" +msgstr "この部門の期間1" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period3_per_dept:0 msgid "This Dept Period3" -msgstr "" +msgstr "この部門の期間3" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period2_per_dept:0 msgid "This Dept Period2" -msgstr "" +msgstr "この部門の期間2" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period5_per_dept:0 msgid "This Dept Period5" -msgstr "" +msgstr "この部門の期間5" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period4_per_dept:0 msgid "This Dept Period4" -msgstr "" +msgstr "この部門の期間4" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period2_per_warehouse:0 msgid "This Warehouse Period2" -msgstr "" +msgstr "この倉庫の期間2" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period3_per_warehouse:0 msgid "This Warehouse Period3" -msgstr "" +msgstr "この倉庫の期間3" #. module: stock_planning #: help:stock.planning,stock_supply_location:0 @@ -944,38 +948,39 @@ msgid "" "supply will be made from Output location of Supply Warehouse. Used in " "'Supply from Another Warehouse' with Supply Warehouse." msgstr "" +"供給倉庫の在庫場所から供給する場合はチェックします。チェックしない場合は供給倉庫の出力場所から供給されます。供給倉庫の他の倉庫場所から供給で使用されます。" #. module: stock_planning #: field:stock.sale.forecast,create_uid:0 msgid "Responsible" -msgstr "" +msgstr "担当" #. module: stock_planning #: view:stock.sale.forecast:0 msgid "Default UOM" -msgstr "" +msgstr "デフォルト単位" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period4_per_warehouse:0 msgid "This Warehouse Period4" -msgstr "" +msgstr "この倉庫の期間4" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period5_per_warehouse:0 msgid "This Warehouse Period5" -msgstr "" +msgstr "この倉庫の期間5" #. module: stock_planning #: view:stock.period:0 msgid "Current" -msgstr "" +msgstr "現在" #. module: stock_planning #: help:stock.planning,supply_warehouse_id:0 msgid "" "Warehouse used as source in supply pick move created by 'Supply from Another " "Warehouse'." -msgstr "" +msgstr "倉庫は、他の倉庫からの供給によって作成された、供給集荷移動の元として使用されます。" #. module: stock_planning #: model:ir.model,name:stock_planning.model_stock_planning @@ -993,12 +998,12 @@ msgstr "この予測がどの倉庫に関連するかを表示します。在庫 #: code:addons/stock_planning/stock_planning.py:661 #, python-format msgid "%s Procurement (%s, %s) %s %s \n" -msgstr "" +msgstr "%s 調達 (%s, %s) %s %s \n" #. module: stock_planning #: field:stock.sale.forecast,analyze_company:0 msgid "Per Company" -msgstr "" +msgstr "会社毎" #. module: stock_planning #: help:stock.planning,to_procure:0 @@ -1006,42 +1011,42 @@ msgid "" "Enter quantity which (by your plan) should come in. Change this value and " "observe Stock simulation. This value should be equal or greater than " "Confirmed In." -msgstr "" +msgstr "入庫すべき(計画による)数量を入力します。この値を変更し、在庫シミュレーションを観察します。この値は確認済入庫以上である必要があります。" #. module: stock_planning #: field:stock.sale.forecast,analyzed_period4_per_company:0 msgid "This Company Period4" -msgstr "" +msgstr "この会社の期間4" #. module: stock_planning #: help:stock.planning.createlines,period_id:0 msgid "Period which planning will concern." -msgstr "" +msgstr "計画が関連する期間" #. module: stock_planning #: field:stock.planning,already_out:0 msgid "Already Out" -msgstr "" +msgstr "既出庫" #. module: stock_planning #: help:stock.planning,product_id:0 msgid "Product which this planning is created for." -msgstr "" +msgstr "この計画が作成される対象の製品" #. module: stock_planning #: view:stock.sale.forecast:0 msgid "Per Warehouse :" -msgstr "" +msgstr "倉庫毎:" #. module: stock_planning #: field:stock.planning,history:0 msgid "Procurement History" -msgstr "" +msgstr "調達履歴" #. module: stock_planning #: help:stock.period.createlines,date_start:0 msgid "Starting date for planning period." -msgstr "" +msgstr "開始期間の開始日" #. module: stock_planning #: model:ir.actions.act_window,name:stock_planning.action_stock_period_createlines_form @@ -1051,48 +1056,48 @@ msgstr "" #: view:stock.period:0 #: view:stock.period.createlines:0 msgid "Stock Periods" -msgstr "" +msgstr "在庫期間" #. module: stock_planning #: view:stock.planning:0 msgid "Stock" -msgstr "" +msgstr "在庫" #. module: stock_planning #: help:stock.planning,incoming:0 msgid "Quantity of all confirmed incoming moves in calculated Period." -msgstr "" +msgstr "計算された期間の全ての確認済入庫移動の数量" #. module: stock_planning #: field:stock.period,date_stop:0 #: field:stock.period.createlines,date_stop:0 msgid "End Date" -msgstr "" +msgstr "終了日" #. module: stock_planning #: view:stock.planning:0 msgid "No Requisition" -msgstr "" +msgstr "命令書なし" #. module: stock_planning #: field:stock.sale.forecast,name:0 msgid "Name" -msgstr "" +msgstr "名称" #. module: stock_planning #: help:stock.sale.forecast,period_id:0 msgid "Shows which period this forecast concerns." -msgstr "" +msgstr "この予測が関連する期間を表示" #. module: stock_planning #: field:stock.planning,product_uom:0 msgid "UoM" -msgstr "" +msgstr "単位" #. module: stock_planning #: view:stock.period:0 msgid "Closed Periods" -msgstr "" +msgstr "閉鎖済期間" #. module: stock_planning #: view:stock.planning:0 @@ -1100,7 +1105,7 @@ msgstr "" #: view:stock.sale.forecast:0 #: field:stock.sale.forecast,product_id:0 msgid "Product" -msgstr "" +msgstr "製品" #. module: stock_planning #: model:ir.ui.menu,name:stock_planning.menu_stock_sale_forecast @@ -1113,13 +1118,13 @@ msgstr "受注予測" #: field:stock.planning.createlines,product_categ_id:0 #: field:stock.sale.forecast.createlines,product_categ_id:0 msgid "Product Category" -msgstr "" +msgstr "製品分類" #. module: stock_planning #: code:addons/stock_planning/stock_planning.py:672 #, python-format msgid "You must specify a Source Warehouse !" -msgstr "" +msgstr "元の倉庫を指定する必要があります。" #. module: stock_planning #: field:stock.planning,procure_to_stock:0 @@ -1136,7 +1141,7 @@ msgstr "承認" msgid "" "Period for this planning. Requisition will be created for beginning of the " "period." -msgstr "この計画の期間。申請は期間の開始時に作成されます。" +msgstr "この計画の期間。命令書は期間の開始時に作成されます。" #. module: stock_planning #: code:addons/stock_planning/stock_planning.py:631 @@ -1188,6 +1193,8 @@ msgid "" "between Planned In and Confirmed In. For current period Already In is also " "calculated. This value is used to create procurement for lacking quantity." msgstr "" +"計画された入庫数量のために残された数量。これは計画入庫と確認済入庫の間の計算された差です。現在の期間のために、既入庫も計算されます。この値は不足数量のため" +"に調達を生成するのに使用されます。" #. module: stock_planning #: help:stock.planning,outgoing_left:0 @@ -1195,7 +1202,7 @@ msgid "" "Quantity expected to go out in selected period besides Confirmed Out. As a " "difference between Planned Out and Confirmed Out. For current period Already " "Out is also calculated" -msgstr "" +msgstr "確認済出庫とは別に選択された期間に出庫すると期待される数量。計画出庫と確認済出庫の差です。現在期間の既出庫もまた計算されます。" #. module: stock_planning #: view:stock.sale.forecast:0 @@ -1209,3 +1216,5 @@ msgid "" "you only have to fill in the forecast quantities. The wizard doesn't " "duplicate the line when another one exist for the same selection." msgstr "" +"このウィザードは一度に複数の予測行を作成するのを手助けします。それが作成された後、あなたは予測数量を埋める必要があります。同じ選択に対して同じものが存在す" +"る場合、ウィザードは行を重複させません。" diff --git a/addons/survey/i18n/ja.po b/addons/survey/i18n/ja.po new file mode 100644 index 00000000000..66630dfe697 --- /dev/null +++ b/addons/survey/i18n/ja.po @@ -0,0 +1,1712 @@ +# Japanese 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 <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:37+0000\n" +"PO-Revision-Date: 2012-07-06 03:16+0000\n" +"Last-Translator: Akira Hiyama <Unknown>\n" +"Language-Team: Japanese <ja@li.org>\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-07 05:13+0000\n" +"X-Generator: Launchpad (build 15558)\n" + +#. module: survey +#: view:survey.print:0 +#: view:survey.print.answer:0 +msgid "Print Option" +msgstr "オプションの印刷" + +#. module: survey +#: code:addons/survey/survey.py:417 +#, python-format +msgid "" +"Minimum Required Answer you entered is " +"greater than the number of answer. " +"Please use a number that is smaller than %d." +msgstr "あなたが入力した最小必要回答数が回答の数よりも多くなっています。%d より小さい数を使って下さい。" + +#. module: survey +#: view:survey.question.wiz:0 +msgid "Your Messages" +msgstr "あなたのメッセージ" + +#. module: survey +#: field:survey.question,comment_valid_type:0 +#: field:survey.question,validation_type:0 +msgid "Text Validation" +msgstr "テキストの検証" + +#. module: survey +#: code:addons/survey/survey.py:429 +#, python-format +msgid "" +"Maximum Required Answer you entered for " +"your maximum is greater than the number of answer. " +" Please use a number that is smaller than %d." +msgstr "あなたが入力した最大必要回答数が回答の数よりも多くなっています。%d より小さい数を使って下さい。" + +#. module: survey +#: view:survey:0 +#: field:survey,invited_user_ids:0 +msgid "Invited User" +msgstr "招待ユーザ" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Character" +msgstr "文字" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_survey_form1 +#: model:ir.ui.menu,name:survey.menu_print_survey_form +#: model:ir.ui.menu,name:survey.menu_reporting +#: model:ir.ui.menu,name:survey.menu_survey_form +#: model:ir.ui.menu,name:survey.menu_surveys +msgid "Surveys" +msgstr "調査" + +#. module: survey +#: field:survey.question,in_visible_answer_type:0 +msgid "Is Answer Type Invisible?" +msgstr "回答タイプは非表示ですか?" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +#: view:survey.request:0 +msgid "Group By..." +msgstr "グループ化…" + +#. module: survey +#: view:survey.send.invitation.log:0 +msgid "Results :" +msgstr "結果:" + +#. module: survey +#: view:survey.request:0 +msgid "Survey Request" +msgstr "調査要求" + +#. module: survey +#: selection:survey.question,required_type:0 +msgid "A Range" +msgstr "範囲" + +#. module: survey +#: view:survey.response.line:0 +msgid "Table Answer" +msgstr "表の回答" + +#. module: survey +#: field:survey.history,date:0 +msgid "Date started" +msgstr "開始日" + +#. module: survey +#: field:survey,history:0 +msgid "History Lines" +msgstr "履歴行" + +#. module: survey +#: code:addons/survey/survey.py:443 +#, python-format +msgid "" +"You must enter one or more menu choices in " +"column heading (white spaces not allowed)" +msgstr "列見出しの中に1つ以上のメニュー選択を入力する必要があります(空白状態は許されません)。" + +#. module: survey +#: field:survey.question.column.heading,in_visible_menu_choice:0 +msgid "Is Menu Choice Invisible??" +msgstr "メニュー選択は非表示ですか?" + +#. module: survey +#: field:survey.send.invitation,mail:0 +msgid "Body" +msgstr "本文" + +#. module: survey +#: field:survey.question,allow_comment:0 +msgid "Allow Comment Field" +msgstr "コメント項目の許可" + +#. module: survey +#: selection:survey.print,paper_size:0 +#: selection:survey.print.answer,paper_size:0 +msgid "A4 (210mm x 297mm)" +msgstr "A4(210mm x 297mm)" + +#. module: survey +#: field:survey.question,comment_maximum_date:0 +#: field:survey.question,validation_maximum_date:0 +msgid "Maximum date" +msgstr "最大の日付" + +#. module: survey +#: field:survey.question,in_visible_menu_choice:0 +msgid "Is Menu Choice Invisible?" +msgstr "メニュー選択は非表示ですか?" + +#. module: survey +#: view:survey:0 +msgid "Completed" +msgstr "完了" + +#. module: survey +#: selection:survey.question,required_type:0 +msgid "Exactly" +msgstr "一致" + +#. module: survey +#: view:survey:0 +msgid "Open Date" +msgstr "開始日" + +#. module: survey +#: view:survey.request:0 +msgid "Set to Draft" +msgstr "ドラフトに設定" + +#. module: survey +#: field:survey.question,is_comment_require:0 +msgid "Add Comment Field" +msgstr "コメント項目の追加" + +#. module: survey +#: code:addons/survey/survey.py:396 +#, python-format +msgid "" +"#Required Answer you entered is greater " +"than the number of answer. Please use a " +"number that is smaller than %d." +msgstr "回答の数より入力した必要回答数が大きくなっています。%d より小さな数を使って下さい。" + +#. module: survey +#: field:survey.question,tot_resp:0 +msgid "Total Answer" +msgstr "合計回答" + +#. module: survey +#: field:survey.tbl.column.heading,name:0 +msgid "Row Number" +msgstr "行番号" + +#. module: survey +#: model:ir.model,name:survey.model_survey_name_wiz +msgid "survey.name.wiz" +msgstr "" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_survey_question_form +msgid "Survey Questions" +msgstr "調査の質問" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Matrix of Choices (Only One Answers Per Row)" +msgstr "選択の行列(1行に付き1回答)" + +#. module: survey +#: code:addons/survey/survey.py:470 +#, python-format +msgid "" +"Maximum Required Answer you entered for your maximum is greater than the " +"number of answer. Please use a number that is smaller than %d." +msgstr "回答数よりも最大値のために入力した最大必要回答数が大きくなっています。%d よりも小さな数を使用して下さい。" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_question_message +#: model:ir.model,name:survey.model_survey_question +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Survey Question" +msgstr "調査の質問" + +#. module: survey +#: view:survey.question.column.heading:0 +msgid "Use if question type is rating_scale" +msgstr "質問タイプが評価尺度の場合に使用" + +#. module: survey +#: field:survey.print,page_number:0 +#: field:survey.print.answer,page_number:0 +msgid "Include Page Number" +msgstr "ページ番号を含む" + +#. module: survey +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Ok" +msgstr "OK" + +#. module: survey +#: field:survey.page,title:0 +msgid "Page Title" +msgstr "ページタイトル" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_define_survey +msgid "Define Surveys" +msgstr "調査の定義" + +#. module: survey +#: model:ir.model,name:survey.model_survey_history +msgid "Survey History" +msgstr "調査の履歴" + +#. module: survey +#: field:survey.response.answer,comment:0 +#: field:survey.response.line,comment:0 +msgid "Notes" +msgstr "注記" + +#. module: survey +#: view:survey:0 +#: view:survey.request:0 +msgid "Search Survey" +msgstr "調査の検索" + +#. module: survey +#: field:survey.response.answer,answer:0 +#: field:survey.tbl.column.heading,value:0 +msgid "Value" +msgstr "値" + +#. module: survey +#: field:survey.question,column_heading_ids:0 +msgid " Column heading" +msgstr " 列見出し" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_run_survey_form +msgid "Answer a Survey" +msgstr "調査の回答" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:87 +#, python-format +msgid "Error!" +msgstr "エラー" + +#. module: survey +#: field:survey,tot_comp_survey:0 +msgid "Total Completed Survey" +msgstr "終了した調査の合計" + +#. module: survey +#: view:survey.response.answer:0 +msgid "(Use Only Question Type is matrix_of_drop_down_menus)" +msgstr "(質問タイプがドロップダウンメニューの行列の時のみ使用)" + +#. module: survey +#: model:ir.actions.report.xml,name:survey.survey_analysis +msgid "Survey Statistics" +msgstr "調査統計値" + +#. module: survey +#: selection:survey,state:0 +#: view:survey.request:0 +#: selection:survey.request,state:0 +msgid "Cancelled" +msgstr "キャンセル済" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Rating Scale" +msgstr "評価尺度" + +#. module: survey +#: field:survey.question,comment_field_type:0 +msgid "Comment Field Type" +msgstr "コメント項目のタイプ" + +#. module: survey +#: code:addons/survey/survey.py:370 +#: code:addons/survey/survey.py:382 +#: code:addons/survey/survey.py:396 +#: code:addons/survey/survey.py:401 +#: code:addons/survey/survey.py:411 +#: code:addons/survey/survey.py:417 +#: code:addons/survey/survey.py:423 +#: code:addons/survey/survey.py:429 +#: code:addons/survey/survey.py:433 +#: code:addons/survey/survey.py:439 +#: code:addons/survey/survey.py:443 +#: code:addons/survey/survey.py:453 +#: code:addons/survey/survey.py:457 +#: code:addons/survey/survey.py:462 +#: code:addons/survey/survey.py:468 +#: code:addons/survey/survey.py:470 +#: code:addons/survey/survey.py:472 +#: code:addons/survey/survey.py:477 +#: code:addons/survey/survey.py:479 +#: code:addons/survey/survey.py:630 +#: code:addons/survey/wizard/survey_answer.py:119 +#: code:addons/survey/wizard/survey_answer.py:126 +#: code:addons/survey/wizard/survey_answer.py:686 +#: code:addons/survey/wizard/survey_answer.py:725 +#: code:addons/survey/wizard/survey_answer.py:745 +#: code:addons/survey/wizard/survey_answer.py:774 +#: code:addons/survey/wizard/survey_answer.py:779 +#: code:addons/survey/wizard/survey_answer.py:787 +#: code:addons/survey/wizard/survey_answer.py:798 +#: code:addons/survey/wizard/survey_answer.py:807 +#: code:addons/survey/wizard/survey_answer.py:812 +#: code:addons/survey/wizard/survey_answer.py:886 +#: code:addons/survey/wizard/survey_answer.py:922 +#: code:addons/survey/wizard/survey_answer.py:940 +#: code:addons/survey/wizard/survey_answer.py:968 +#: code:addons/survey/wizard/survey_answer.py:971 +#: code:addons/survey/wizard/survey_answer.py:974 +#: code:addons/survey/wizard/survey_answer.py:986 +#: code:addons/survey/wizard/survey_answer.py:993 +#: code:addons/survey/wizard/survey_answer.py:996 +#: code:addons/survey/wizard/survey_selection.py:80 +#: code:addons/survey/wizard/survey_selection.py:83 +#: code:addons/survey/wizard/survey_send_invitation.py:74 +#, python-format +msgid "Warning !" +msgstr "警告" + +#. module: survey +#: selection:survey.question,comment_field_type:0 +msgid "Single Line Of Text" +msgstr "テキストの1行" + +#. module: survey +#: view:survey.send.invitation:0 +#: field:survey.send.invitation,send_mail_existing:0 +msgid "Send Reminder for Existing User" +msgstr "既存ユーザに注意喚起を送信" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Multiple Choice (Multiple Answer)" +msgstr "複数の選択肢(複数回答)" + +#. module: survey +#: view:survey:0 +msgid "Edit Survey" +msgstr "調査の編集" + +#. module: survey +#: view:survey.response.line:0 +msgid "Survey Answer Line" +msgstr "調査の回答行" + +#. module: survey +#: field:survey.question.column.heading,menu_choice:0 +msgid "Menu Choice" +msgstr "メニュー選択" + +#. module: survey +#: selection:survey.question,required_type:0 +msgid "At Most" +msgstr "最大" + +#. module: survey +#: view:survey:0 +msgid "My Survey(s)" +msgstr "私の調査" + +#. module: survey +#: field:survey.question,is_validation_require:0 +msgid "Validate Text" +msgstr "テキストの検証" + +#. module: survey +#: view:survey.send.invitation:0 +msgid "_Cancel" +msgstr "キャンセル" + +#. module: survey +#: field:survey.response.line,single_text:0 +msgid "Text" +msgstr "テキスト" + +#. module: survey +#: constraint:res.users:0 +msgid "The chosen company is not in the allowed companies for this user" +msgstr "選択した会社は、このユーザに許された会社ではありません。" + +#. module: survey +#: selection:survey.print,paper_size:0 +#: selection:survey.print.answer,paper_size:0 +msgid "Letter (8.5\" x 11\")" +msgstr "レター(8.5\" x 11\")" + +#. module: survey +#: view:survey:0 +#: field:survey,responsible_id:0 +msgid "Responsible" +msgstr "担当" + +#. module: survey +#: model:ir.model,name:survey.model_survey_request +msgid "survey.request" +msgstr "" + +#. module: survey +#: field:survey.send.invitation,mail_subject:0 +#: field:survey.send.invitation,mail_subject_existing:0 +msgid "Subject" +msgstr "件名" + +#. module: survey +#: field:survey.question,comment_maximum_float:0 +#: field:survey.question,validation_maximum_float:0 +msgid "Maximum decimal number" +msgstr "10進数値の最大値" + +#. module: survey +#: model:ir.model,name:survey.model_survey_tbl_column_heading +msgid "survey.tbl.column.heading" +msgstr "" + +#. module: survey +#: sql_constraint:res.users:0 +msgid "You can not have two users with the same login !" +msgstr "同じログインでは2つのユーザを持てません。" + +#. module: survey +#: field:survey.send.invitation,mail_from:0 +msgid "From" +msgstr "送信者" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Don't Validate Comment Text." +msgstr "コメントテキストを検証しない" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Must Be A Whole Number" +msgstr "整数が必須" + +#. module: survey +#: field:survey.answer,question_id:0 +#: field:survey.page,question_ids:0 +#: field:survey.question,question:0 +#: field:survey.question.column.heading,question_id:0 +#: field:survey.response.line,question_id:0 +msgid "Question" +msgstr "質問" + +#. module: survey +#: view:survey.page:0 +msgid "Search Survey Page" +msgstr "調査ページの検索" + +#. module: survey +#: field:survey.question.wiz,name:0 +msgid "Number" +msgstr "番号" + +#. module: survey +#: code:addons/survey/survey.py:439 +#, python-format +msgid "" +"You must enter one or more menu choices in " +"column heading" +msgstr "列見出しに1つ以上のメニュー選択の入力が必要です。" + +#. module: survey +#: model:ir.actions.act_window,help:survey.action_survey_form1 +msgid "" +"You can create survey for different purposes: recruitment interviews, " +"employee's periodical evaluations, marketing campaigns, etc. A survey is " +"made of pages containing questions of several types: text, multiple choices, " +"etc. You can edit survey manually or click on the 'Edit Survey' for a " +"WYSIWYG interface." +msgstr "" +"異なる目的の調査を作成することができます:採用面接、従業員の期間毎の評価、マーケティングキャンペーンなど。調査は複数のタイプの質問を含むページで作成されま" +"す:テキスト、複数選択など。調査はWYSIWYGインタフェースで手動または調査の編集をクリックすることで編集可能です。" + +#. module: survey +#: view:survey:0 +#: view:survey.request:0 +#: field:survey.request,state:0 +msgid "State" +msgstr "状態" + +#. module: survey +#: view:survey.request:0 +msgid "Evaluation Plan Phase" +msgstr "計画段階の評価" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Between" +msgstr "間" + +#. module: survey +#: view:survey.print:0 +#: view:survey.print.answer:0 +#: view:survey.print.statistics:0 +msgid "Print" +msgstr "印刷" + +#. module: survey +#: view:survey:0 +msgid "New" +msgstr "新規" + +#. module: survey +#: field:survey.question,make_comment_field:0 +msgid "Make Comment Field an Answer Choice" +msgstr "回答選択にコメント項目を作成" + +#. module: survey +#: view:survey:0 +#: field:survey,type:0 +msgid "Type" +msgstr "タイプ" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Email" +msgstr "Eメール" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_answer_surveys +msgid "Answer Surveys" +msgstr "調査の回答" + +#. module: survey +#: selection:survey.response,state:0 +msgid "Not Finished" +msgstr "未完了" + +#. module: survey +#: view:survey.print:0 +msgid "Survey Print" +msgstr "調査の印刷" + +#. module: survey +#: view:survey.send.invitation:0 +msgid "Select Partner" +msgstr "パートナの選択" + +#. module: survey +#: field:survey.question,type:0 +msgid "Question Type" +msgstr "質問タイプ" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:126 +#, python-format +msgid "You can not answer this survey more than %s times" +msgstr "%s 回以上はこの調査に回答できません。" + +#. module: survey +#: model:ir.actions.act_window,name:survey.act_survey_answer +msgid "Answers" +msgstr "回答" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:119 +#, python-format +msgid "You can not answer because the survey is not open" +msgstr "調査は開かれていないため、回答できません。" + +#. module: survey +#: selection:survey.response,response_type:0 +msgid "Link" +msgstr "リンク" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_survey_type_form +#: model:ir.model,name:survey.model_survey_type +#: view:survey.type:0 +msgid "Survey Type" +msgstr "調査タイプ" + +#. module: survey +#: field:survey.page,sequence:0 +msgid "Page Nr" +msgstr "ページ番号" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +#: field:survey.question,descriptive_text:0 +#: selection:survey.question,type:0 +msgid "Descriptive Text" +msgstr "説明文" + +#. module: survey +#: field:survey.question,minimum_req_ans:0 +msgid "Minimum Required Answer" +msgstr "最小必要回答数" + +#. module: survey +#: code:addons/survey/survey.py:479 +#, python-format +msgid "" +"You must enter one or more menu choices in column heading (white spaces not " +"allowed)" +msgstr "列見出しに1つ以上のメニュー選択の入力が必要です(空白は許されません)。" + +#. module: survey +#: field:survey.question,req_error_msg:0 +msgid "Error Message" +msgstr "エラーメッセージ" + +#. module: survey +#: code:addons/survey/survey.py:477 +#, python-format +msgid "You must enter one or more menu choices in column heading" +msgstr "列見出しに1つ以上のメニュー選択の入力が必要です。" + +#. module: survey +#: field:survey.request,date_deadline:0 +msgid "Deadline date" +msgstr "締切日" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Must Be A Date" +msgstr "日付が必須" + +#. module: survey +#: model:ir.model,name:survey.model_survey_print +msgid "survey.print" +msgstr "" + +#. module: survey +#: view:survey.question.column.heading:0 +#: field:survey.question.column.heading,title:0 +msgid "Column Heading" +msgstr "列見出し" + +#. module: survey +#: field:survey.question,is_require_answer:0 +msgid "Require Answer to Question" +msgstr "質問の回答が必要" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_survey_request_tree +#: model:ir.ui.menu,name:survey.menu_survey_type_form1 +msgid "Survey Requests" +msgstr "調査要求" + +#. module: survey +#: code:addons/survey/survey.py:370 +#: code:addons/survey/survey.py:457 +#, python-format +msgid "You must enter one or more column heading." +msgstr "1つ以上の列見出しの入力が必要です。" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:745 +#: code:addons/survey/wizard/survey_answer.py:940 +#, python-format +msgid "Please enter an integer value" +msgstr "整数値を入力して下さい。" + +#. module: survey +#: model:ir.model,name:survey.model_survey_browse_answer +msgid "survey.browse.answer" +msgstr "" + +#. module: survey +#: selection:survey.question,comment_field_type:0 +msgid "Paragraph of Text" +msgstr "テキストの段落" + +#. module: survey +#: code:addons/survey/survey.py:423 +#, python-format +msgid "" +"Maximum Required Answer you entered for " +"your maximum is greater than the number of answer. " +" Please use a number that is smaller than %d." +msgstr "最大値のためにあなたが入力した最大必要回答数が回答の数よりも多くなっています。%d より小さい数を使って下さい。" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "When the question is not answered, display this error message:" +msgstr "質問に回答されない場合に、このエラーメッセージを表示します。" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Options" +msgstr "オプション" + +#. module: survey +#: view:survey.send.invitation.log:0 +msgid "_Ok" +msgstr "OK" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_browse_survey_response +msgid "Browse Answers" +msgstr "回答のブラウズ" + +#. module: survey +#: field:survey.response.answer,comment_field:0 +#: view:survey.response.line:0 +msgid "Comment" +msgstr "コメント" + +#. module: survey +#: model:ir.model,name:survey.model_survey_answer +#: model:ir.model,name:survey.model_survey_response_answer +#: view:survey.answer:0 +#: view:survey.response:0 +#: view:survey.response.answer:0 +#: view:survey.response.line:0 +msgid "Survey Answer" +msgstr "調査の回答" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Selection" +msgstr "選択" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_browse_survey_response +#: view:survey:0 +msgid "Answer Survey" +msgstr "調査の回答" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Comment Field" +msgstr "コメント項目" + +#. module: survey +#: selection:survey.response,response_type:0 +msgid "Manually" +msgstr "手動" + +#. module: survey +#: view:survey.send.invitation:0 +msgid "_Send" +msgstr "送信" + +#. module: survey +#: help:survey,responsible_id:0 +msgid "User responsible for survey" +msgstr "調査を担当するユーザ" + +#. module: survey +#: field:survey,page_ids:0 +#: view:survey.question:0 +#: field:survey.response.line,page_id:0 +msgid "Page" +msgstr "ページ" + +#. module: survey +#: field:survey.question,comment_column:0 +msgid "Add comment column in matrix" +msgstr "行列でコメント列に追加" + +#. module: survey +#: field:survey.answer,response:0 +msgid "#Answer" +msgstr "回答番号" + +#. module: survey +#: field:survey.print,without_pagebreak:0 +#: field:survey.print.answer,without_pagebreak:0 +msgid "Print Without Page Breaks" +msgstr "改ページなしで印刷" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "When the comment is an invalid format, display this error message" +msgstr "コメントが無効なフォーマットの場合、このエラーメッセージを表示します。" + +#. module: survey +#: code:addons/survey/wizard/survey_selection.py:83 +#, python-format +msgid "" +"You can not give more response. Please contact the author of this survey for " +"further assistance." +msgstr "あなたはこれ以上多くの応答を与えることができません。これ以上のサポートが必要であれば、この調査の作者に連絡をして下さい。" + +#. module: survey +#: model:ir.actions.act_window,name:survey.act_survey_page_question +#: model:ir.actions.act_window,name:survey.act_survey_question +msgid "Questions" +msgstr "質問" + +#. module: survey +#: help:survey,response_user:0 +msgid "Set to one if you require only one Answer per user" +msgstr "1ユーザにつき1回答のみとする場合は、1を設定します。" + +#. module: survey +#: field:survey,users:0 +msgid "Users" +msgstr "ユーザ" + +#. module: survey +#: view:survey.send.invitation:0 +msgid "Message" +msgstr "メッセージ" + +#. module: survey +#: view:survey:0 +#: view:survey.request:0 +msgid "MY" +msgstr "私の" + +#. module: survey +#: field:survey.question,maximum_req_ans:0 +msgid "Maximum Required Answer" +msgstr "最大必要回答数" + +#. module: survey +#: field:survey.name.wiz,page_no:0 +msgid "Page Number" +msgstr "ページ番号" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:87 +#, python-format +msgid "Cannot locate survey for the question wizard!" +msgstr "質問ウィザードのための調査を見つけることができません。" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "and" +msgstr "かつ" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_print_statistics +#: view:survey.print.statistics:0 +msgid "Survey Print Statistics" +msgstr "調査印刷統計値" + +#. module: survey +#: field:survey.send.invitation.log,note:0 +msgid "Log" +msgstr "ログ" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "When the choices do not add up correctly, display this error message" +msgstr "選択肢を正しく追加していない場合、このエラーメッセージが表示されます。" + +#. module: survey +#: field:survey,date_close:0 +msgid "Survey Close Date" +msgstr "調査閉鎖日" + +#. module: survey +#: field:survey,date_open:0 +msgid "Survey Open Date" +msgstr "調査開設日" + +#. module: survey +#: field:survey.question.column.heading,in_visible_rating_weight:0 +msgid "Is Rating Scale Invisible ??" +msgstr "評価尺度は非表示ですか?" + +#. module: survey +#: view:survey.browse.answer:0 +#: view:survey.name.wiz:0 +msgid "Start" +msgstr "開始" + +#. module: survey +#: code:addons/survey/survey.py:472 +#, python-format +msgid "Maximum Required Answer is greater than Minimum Required Answer" +msgstr "最大必要回答数は最小必要回答数よりも大きい。" + +#. module: survey +#: field:survey.question,comment_maximum_no:0 +#: field:survey.question,validation_maximum_no:0 +msgid "Maximum number" +msgstr "最大値" + +#. module: survey +#: selection:survey.request,state:0 +#: selection:survey.response.line,state:0 +msgid "Draft" +msgstr "ドラフト" + +#. module: survey +#: model:ir.model,name:survey.model_survey_print_statistics +msgid "survey.print.statistics" +msgstr "" + +#. module: survey +#: selection:survey,state:0 +msgid "Closed" +msgstr "閉鎖" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Matrix of Drop-down Menus" +msgstr "ドロップダウンメニューの行列" + +#. module: survey +#: view:survey:0 +#: field:survey.answer,answer:0 +#: field:survey.name.wiz,response:0 +#: view:survey.page:0 +#: view:survey.print.answer:0 +#: field:survey.print.answer,response_ids:0 +#: view:survey.question:0 +#: field:survey.question,answer_choice_ids:0 +#: field:survey.request,response:0 +#: field:survey.response,question_ids:0 +#: field:survey.response.answer,answer_id:0 +#: field:survey.response.answer,response_id:0 +#: view:survey.response.line:0 +#: field:survey.response.line,response_answer_ids:0 +#: field:survey.response.line,response_id:0 +#: field:survey.response.line,response_table_ids:0 +#: field:survey.send.invitation,partner_ids:0 +#: field:survey.tbl.column.heading,response_table_id:0 +msgid "Answer" +msgstr "回答" + +#. module: survey +#: field:survey,max_response_limit:0 +msgid "Maximum Answer Limit" +msgstr "回答上限最大値" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_act_view_survey_send_invitation +msgid "Send Invitations" +msgstr "招待の送信" + +#. module: survey +#: field:survey.name.wiz,store_ans:0 +msgid "Store Answer" +msgstr "回答の保存" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Date and Time" +msgstr "日付と時間" + +#. module: survey +#: field:survey,state:0 +#: field:survey.response,state:0 +#: field:survey.response.line,state:0 +msgid "Status" +msgstr "状態" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_print +msgid "Print Survey" +msgstr "調査の印刷" + +#. module: survey +#: field:survey,send_response:0 +msgid "E-mail Notification on Answer" +msgstr "回答のEメール通知" + +#. module: survey +#: field:survey.response.answer,value_choice:0 +msgid "Value Choice" +msgstr "値の選択" + +#. module: survey +#: view:survey:0 +msgid "Started" +msgstr "開始済" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_print_answer +#: view:survey:0 +#: view:survey.print.answer:0 +msgid "Print Answer" +msgstr "回答の印刷" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Multiple Textboxes" +msgstr "複数のテキストボックス" + +#. module: survey +#: selection:survey.print,orientation:0 +#: selection:survey.print.answer,orientation:0 +msgid "Landscape(Horizontal)" +msgstr "横向き" + +#. module: survey +#: field:survey.question,no_of_rows:0 +msgid "No of Rows" +msgstr "行数" + +#. module: survey +#: view:survey:0 +#: view:survey.name.wiz:0 +msgid "Survey Details" +msgstr "調査の詳細" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Multiple Textboxes With Different Type" +msgstr "異なるタイプの複数のテキストボックス" + +#. module: survey +#: view:survey.question.column.heading:0 +msgid "Menu Choices (each choice on separate lines)" +msgstr "メニュー選択(行毎に別の選択)" + +#. module: survey +#: field:survey.response,response_type:0 +msgid "Answer Type" +msgstr "回答タイプ" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Validation" +msgstr "検証" + +#. module: survey +#: view:survey.request:0 +#: selection:survey.request,state:0 +msgid "Waiting Answer" +msgstr "回答待ち" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Must Be A Decimal Number" +msgstr "10進数値が必須" + +#. module: survey +#: field:res.users,survey_id:0 +msgid "Groups" +msgstr "グループ" + +#. module: survey +#: selection:survey.answer,type:0 +#: selection:survey.question,type:0 +msgid "Date" +msgstr "日付" + +#. module: survey +#: view:survey:0 +msgid "All New Survey" +msgstr "新規調査全て" + +#. module: survey +#: model:ir.model,name:survey.model_survey_send_invitation +msgid "survey.send.invitation" +msgstr "" + +#. module: survey +#: field:survey.history,user_id:0 +#: view:survey.request:0 +#: field:survey.request,user_id:0 +#: field:survey.response,user_id:0 +msgid "User" +msgstr "ユーザ" + +#. module: survey +#: field:survey.name.wiz,transfer:0 +msgid "Page Transfer" +msgstr "ページ転送" + +#. module: survey +#: selection:survey.response.line,state:0 +msgid "Skiped" +msgstr "スキップ済" + +#. module: survey +#: field:survey.print,paper_size:0 +#: field:survey.print.answer,paper_size:0 +msgid "Paper Size" +msgstr "用紙サイズ" + +#. module: survey +#: field:survey.response.answer,column_id:0 +#: field:survey.tbl.column.heading,column_id:0 +msgid "Column" +msgstr "列" + +#. module: survey +#: model:ir.model,name:survey.model_survey_response_line +msgid "Survey Response Line" +msgstr "調査回答行" + +#. module: survey +#: code:addons/survey/wizard/survey_selection.py:80 +#, python-format +msgid "You can not give response for this survey more than %s times" +msgstr "この調査には %s 回を超えての応答はできません。" + +#. module: survey +#: model:ir.actions.report.xml,name:survey.report_survey_form +#: model:ir.model,name:survey.model_survey +#: view:survey:0 +#: view:survey.browse.answer:0 +#: field:survey.browse.answer,survey_id:0 +#: field:survey.history,survey_id:0 +#: view:survey.name.wiz:0 +#: field:survey.name.wiz,survey_id:0 +#: view:survey.page:0 +#: field:survey.page,survey_id:0 +#: view:survey.print:0 +#: field:survey.print,survey_ids:0 +#: field:survey.print.statistics,survey_ids:0 +#: field:survey.question,survey:0 +#: view:survey.request:0 +#: field:survey.request,survey_id:0 +#: field:survey.response,survey_id:0 +msgid "Survey" +msgstr "調査" + +#. module: survey +#: field:survey.question,in_visible_rating_weight:0 +msgid "Is Rating Scale Invisible?" +msgstr "評価尺度は非表示ですか?" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Integer" +msgstr "整数" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Numerical Textboxes" +msgstr "数値のテキストボックス" + +#. module: survey +#: model:ir.model,name:survey.model_survey_question_wiz +msgid "survey.question.wiz" +msgstr "" + +#. module: survey +#: view:survey:0 +msgid "History" +msgstr "履歴" + +#. module: survey +#: view:survey.request:0 +msgid "Late" +msgstr "遅延" + +#. module: survey +#: field:survey.type,code:0 +msgid "Code" +msgstr "コード" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_print_survey_statistics +msgid "Surveys Statistics" +msgstr "" + +#. module: survey +#: field:survey.print,orientation:0 +#: field:survey.print.answer,orientation:0 +msgid "Orientation" +msgstr "向き" + +#. module: survey +#: view:survey:0 +#: view:survey.answer:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Seq" +msgstr "順序" + +#. module: survey +#: field:survey.request,email:0 +msgid "E-mail" +msgstr "Eメール" + +#. module: survey +#: field:survey.question,comment_minimum_no:0 +#: field:survey.question,validation_minimum_no:0 +msgid "Minimum number" +msgstr "最小値" + +#. module: survey +#: field:survey.question,req_ans:0 +msgid "#Required Answer" +msgstr "要求される回答数" + +#. module: survey +#: field:survey.answer,sequence:0 +#: field:survey.question,sequence:0 +msgid "Sequence" +msgstr "順序" + +#. module: survey +#: field:survey.question,comment_label:0 +msgid "Field Label" +msgstr "項目ラベル" + +#. module: survey +#: view:survey:0 +msgid "Other" +msgstr "その他" + +#. module: survey +#: view:survey.request:0 +#: selection:survey.request,state:0 +msgid "Done" +msgstr "完了" + +#. module: survey +#: view:survey:0 +msgid "Test Survey" +msgstr "テスト調査" + +#. module: survey +#: field:survey.question,rating_allow_one_column_require:0 +msgid "Allow Only One Answer per Column (Forced Ranking)" +msgstr "列毎に1個の回答のみを許可(強制ランキング)" + +#. module: survey +#: view:survey:0 +#: view:survey.browse.answer:0 +#: view:survey.name.wiz:0 +#: view:survey.print:0 +#: view:survey.print.answer:0 +#: view:survey.print.statistics:0 +msgid "Cancel" +msgstr "キャンセル" + +#. module: survey +#: view:survey:0 +msgid "Close" +msgstr "閉じる" + +#. module: survey +#: field:survey.question,comment_minimum_float:0 +#: field:survey.question,validation_minimum_float:0 +msgid "Minimum decimal number" +msgstr "最小10進数" + +#. module: survey +#: view:survey:0 +#: selection:survey,state:0 +msgid "Open" +msgstr "開く" + +#. module: survey +#: field:survey,tot_start_survey:0 +msgid "Total Started Survey" +msgstr "開始した調査合計" + +#. module: survey +#: code:addons/survey/survey.py:462 +#, python-format +msgid "" +"#Required Answer you entered is greater than the number of answer. Please " +"use a number that is smaller than %d." +msgstr "入力した要求回答数が回答の数より大きいです。%d より小さな数を使用して下さい。" + +#. module: survey +#: help:survey,max_response_limit:0 +msgid "Set to one if survey is answerable only once" +msgstr "調査が1回のみ回答可能な場合、1を設定します。" + +#. module: survey +#: selection:survey.response,state:0 +msgid "Finished " +msgstr "完了 " + +#. module: survey +#: model:ir.model,name:survey.model_survey_question_column_heading +msgid "Survey Question Column Heading" +msgstr "調査質問の列見出し" + +#. module: survey +#: field:survey.answer,average:0 +msgid "#Avg" +msgstr "平均数" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Matrix of Choices (Multiple Answers Per Row)" +msgstr "選択の行列(1行に付き複数回答)" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_name +msgid "Give Survey Answer" +msgstr "調査の回答を提供" + +#. module: survey +#: model:ir.model,name:survey.model_res_users +msgid "res.users" +msgstr "" + +#. module: survey +#: help:survey.browse.answer,response_id:0 +msgid "" +"If this field is empty, all answers of the selected survey will be print." +msgstr "この項目が空の場合、選択された調査の回答の全てが印刷されます。" + +#. module: survey +#: selection:survey.response.line,state:0 +msgid "Answered" +msgstr "回答済" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:425 +#, python-format +msgid "Complete Survey Answer" +msgstr "調査の回答の完了" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Comment/Essay Box" +msgstr "コメント / エッセイボックス" + +#. module: survey +#: field:survey.answer,type:0 +msgid "Type of Answer" +msgstr "回答のタイプ" + +#. module: survey +#: field:survey.question,required_type:0 +msgid "Respondent must answer" +msgstr "回答者の回答必須" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_send_invitation +#: view:survey.send.invitation:0 +msgid "Send Invitation" +msgstr "招待の送信" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:779 +#, python-format +msgid "You cannot select the same answer more than one time" +msgstr "複数回の同じ回答は選択できません。" + +#. module: survey +#: view:survey.question:0 +msgid "Search Question" +msgstr "質問の検索" + +#. module: survey +#: field:survey,title:0 +msgid "Survey Title" +msgstr "調査タイトル" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Single Textbox" +msgstr "単数テキストボックス" + +#. module: survey +#: view:survey:0 +#: field:survey,note:0 +#: field:survey.name.wiz,note:0 +#: view:survey.page:0 +#: field:survey.page,note:0 +#: view:survey.response.line:0 +msgid "Description" +msgstr "詳細" + +#. module: survey +#: view:survey.name.wiz:0 +msgid "Select Survey" +msgstr "調査の選択" + +#. module: survey +#: selection:survey.question,required_type:0 +msgid "At Least" +msgstr "最低" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_view_survey_send_invitation_log +#: model:ir.model,name:survey.model_survey_send_invitation_log +msgid "survey.send.invitation.log" +msgstr "" + +#. module: survey +#: selection:survey.print,orientation:0 +#: selection:survey.print.answer,orientation:0 +msgid "Portrait(Vertical)" +msgstr "縦向き" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Must Be Specific Length" +msgstr "長さ指定が必須" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: field:survey.question,page_id:0 +msgid "Survey Page" +msgstr "調査ページ" + +#. module: survey +#: view:survey:0 +#: view:survey.page:0 +#: view:survey.question:0 +msgid "Required Answer" +msgstr "必要回答数" + +#. module: survey +#: code:addons/survey/survey.py:468 +#, python-format +msgid "" +"Minimum Required Answer you entered is greater than the number of answer. " +"Please use a number that is smaller than %d." +msgstr "入力した最小必要回答数が回答数より大きくなっています。%d より小さな数を使用して下さい。" + +#. module: survey +#: code:addons/survey/survey.py:453 +#, python-format +msgid "You must enter one or more answer." +msgstr "1個以上の回答の入力が必要です。" + +#. module: survey +#: view:survey:0 +msgid "All Open Survey" +msgstr "開いている調査全て" + +#. module: survey +#: model:ir.actions.report.xml,name:survey.survey_browse_response +#: field:survey.browse.answer,response_id:0 +msgid "Survey Answers" +msgstr "調査の回答" + +#. module: survey +#: view:survey.browse.answer:0 +msgid "Select Survey and Related Answer" +msgstr "調査と関係する回答を選択" + +#. module: survey +#: model:ir.ui.menu,name:survey.menu_print_survey_answer +msgid "Surveys Answers" +msgstr "調査の回答" + +#. module: survey +#: model:ir.actions.act_window,name:survey.act_survey_pages +msgid "Pages" +msgstr "ページ" + +#. module: survey +#: code:addons/survey/survey.py:401 +#, python-format +msgid "" +"#Required Answer you entered is greater " +"than the number of answer. Please use a " +"number that is smaller than %d." +msgstr "入力した要求回答数は回答の数より大きくなっています。%d より小さな数を使用して下さい。" + +#. module: survey +#: code:addons/survey/wizard/survey_answer.py:971 +#, python-format +msgid "You cannot select same answer more than one time'" +msgstr "複数回の同じ回答は選択できません。" + +#. module: survey +#: selection:survey.print,paper_size:0 +#: selection:survey.print.answer,paper_size:0 +msgid "Legal (8.5\" x 14\")" +msgstr "リーガル(8.5\" x 14\")" + +#. module: survey +#: field:survey.type,name:0 +msgid "Name" +msgstr "名称" + +#. module: survey +#: view:survey.page:0 +msgid "#Questions" +msgstr "質問数" + +#. module: survey +#: model:ir.model,name:survey.model_survey_response +msgid "survey.response" +msgstr "" + +#. module: survey +#: field:survey.question,comment_valid_err_msg:0 +#: field:survey.question,make_comment_field_err_msg:0 +#: field:survey.question,numeric_required_sum_err_msg:0 +#: field:survey.question,validation_valid_err_msg:0 +msgid "Error message" +msgstr "エラーメッセージ" + +#. module: survey +#: view:survey.send.invitation:0 +#: field:survey.send.invitation,send_mail:0 +msgid "Send Mail for New User" +msgstr "新規ユーザのためのメール送信" + +#. module: survey +#: code:addons/survey/survey.py:382 +#, python-format +msgid "You must enter one or more Answer." +msgstr "1つ以上の回答を入力する必要があります。" + +#. module: survey +#: code:addons/survey/survey.py:411 +#, python-format +msgid "" +"Minimum Required Answer you entered is " +"greater than the number of answer. Please " +"use a number that is smaller than %d." +msgstr "入力した最小必要回答数が回答数より大きくなっています。%d より小さな数を使用して下さい。" + +#. module: survey +#: field:survey.answer,menu_choice:0 +msgid "Menu Choices" +msgstr "メニュー選択" + +#. module: survey +#: field:survey,id:0 +msgid "ID" +msgstr "" + +#. module: survey +#: code:addons/survey/survey.py:433 +#, python-format +msgid "" +"Maximum Required Answer is greater than " +"Minimum Required Answer" +msgstr "最大必要回答数は最小必要回答数よりも大きい。" + +#. module: survey +#: view:survey.send.invitation.log:0 +msgid "User creation" +msgstr "ユーザの作成" + +#. module: survey +#: selection:survey.question,required_type:0 +msgid "All" +msgstr "全て" + +#. module: survey +#: selection:survey.question,comment_valid_type:0 +#: selection:survey.question,validation_type:0 +msgid "Must Be An Email Address" +msgstr "Eメールアドレスが必須" + +#. module: survey +#: selection:survey.question,type:0 +msgid "Multiple Choice (Only One Answer)" +msgstr "複数の選択肢(回答は1つのみ)" + +#. module: survey +#: field:survey.answer,in_visible_answer_type:0 +msgid "Is Answer Type Invisible??" +msgstr "回答タイプは非表示ですか?" + +#. module: survey +#: model:ir.model,name:survey.model_survey_print_answer +msgid "survey.print.answer" +msgstr "" + +#. module: survey +#: view:survey.answer:0 +msgid "Menu Choices (each choice on separate by lines)" +msgstr "メニュー選択(行毎に別の選択)" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Float" +msgstr "実数" + +#. module: survey +#: view:survey.response.line:0 +msgid "Single Textboxes" +msgstr "単数テキストボックス" + +#. module: survey +#: code:addons/survey/wizard/survey_send_invitation.py:74 +#, python-format +msgid "%sSurvey is not in open state" +msgstr "%s 調査は開いた状態ではありません。" + +#. module: survey +#: field:survey.question.column.heading,rating_weight:0 +msgid "Weight" +msgstr "重量" + +#. module: survey +#: selection:survey.answer,type:0 +msgid "Date & Time" +msgstr "日時" + +#. module: survey +#: field:survey.response,date_create:0 +#: field:survey.response.line,date_create:0 +msgid "Create Date" +msgstr "作成日" + +#. module: survey +#: field:survey.question,column_name:0 +msgid "Column Name" +msgstr "カラム名" + +#. module: survey +#: model:ir.actions.act_window,name:survey.action_survey_page_form +#: model:ir.model,name:survey.model_survey_page +#: model:ir.ui.menu,name:survey.menu_survey_page_form1 +#: view:survey.page:0 +msgid "Survey Pages" +msgstr "調査ページ" + +#. module: survey +#: field:survey.question,numeric_required_sum:0 +msgid "Sum of all choices" +msgstr "全選択の合計" + +#. module: survey +#: selection:survey.question,type:0 +#: view:survey.response.line:0 +msgid "Table" +msgstr "表" + +#. module: survey +#: code:addons/survey/survey.py:630 +#, python-format +msgid "You cannot duplicate the resource!" +msgstr "リソースの複製はできません。" + +#. module: survey +#: field:survey.question,comment_minimum_date:0 +#: field:survey.question,validation_minimum_date:0 +msgid "Minimum date" +msgstr "最小の日付" + +#. module: survey +#: field:survey,response_user:0 +msgid "Maximum Answer per User" +msgstr "ユーザ毎の最大回答数" + +#. module: survey +#: field:survey.name.wiz,page:0 +msgid "Page Position" +msgstr "ページ位置" diff --git a/addons/web_livechat/LICENSE b/addons/web_livechat/LICENSE deleted file mode 100644 index ff64be448e9..00000000000 --- a/addons/web_livechat/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -OpenERP, Open Source Management Solution -Copyright © 2010-2011 OpenERP SA (<http://openerp.com>). - -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 Lice -along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/addons/web_livechat/__openerp__.py b/addons/web_livechat/__openerp__.py deleted file mode 100644 index 860b7b162a9..00000000000 --- a/addons/web_livechat/__openerp__.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-2011 OpenERP s.a. (<http://openerp.com>). -# -# 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 <http://www.gnu.org/licenses/>. -# -############################################################################## -{ - 'name': 'Live Chat Support', - 'version': '2.0', - 'category': 'Tools', - 'description': """ -Enable live chat support for those who have a maintenance contract. -=================================================================== - -Add "Support" button in header from where you can access OpenERP Support. - """, - 'author': 'OpenERP SA', - 'website': 'http://openerp.com', - 'depends': ['base'], - 'update_xml': [], - 'js' : [ - 'static/src/js/web_livechat.js', - ], - 'css' : [ - 'static/src/css/lc.css', - ], - 'qweb' : [ - "static/src/xml/*.xml", - ], - 'installable': True, - 'auto_install': False, - 'certificate': '0013762192410413', - 'images': ['static/src/img/web_livechat_support.jpeg'], -} - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/web_livechat/i18n/ar.po b/addons/web_livechat/i18n/ar.po deleted file mode 100644 index c4c5a7343b2..00000000000 --- a/addons/web_livechat/i18n/ar.po +++ /dev/null @@ -1,34 +0,0 @@ -# Arabic 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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-01-07 23:53+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Arabic <ar@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "ذلك العقد قد تمّ تسجيله في النظام سابقاً." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "التحدث مع الدعم الفني" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "تمكين الدعم الفني المباشر للحاصلين علي عقد دعم فني" diff --git a/addons/web_livechat/i18n/bg.po b/addons/web_livechat/i18n/bg.po deleted file mode 100644 index 16d76a8898c..00000000000 --- a/addons/web_livechat/i18n/bg.po +++ /dev/null @@ -1,34 +0,0 @@ -# Bulgarian 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-03-01 14:52+0000\n" -"Last-Translator: Dimitar Markov <dimitar.markov@gmail.com>\n" -"Language-Team: Bulgarian <bg@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Поддръжка чат на живо" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Разрешете live chat поддръжка ако имате договор за поддръжка" diff --git a/addons/web_livechat/i18n/ca.po b/addons/web_livechat/i18n/ca.po deleted file mode 100644 index 6a48c986a27..00000000000 --- a/addons/web_livechat/i18n/ca.po +++ /dev/null @@ -1,35 +0,0 @@ -# Catalan 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-03-05 23:39+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Catalan <ca@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Aquest contracte ja està registrat al sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantia.contracte" - -#~ msgid "Live Chat Support" -#~ msgstr "Xat d'assistència" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Permet suport per xat per a aquells que ja tenen contracte de manteniment" diff --git a/addons/web_livechat/i18n/cs.po b/addons/web_livechat/i18n/cs.po deleted file mode 100644 index bb1aa79d289..00000000000 --- a/addons/web_livechat/i18n/cs.po +++ /dev/null @@ -1,28 +0,0 @@ -# Czech 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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-04-06 04:48+0000\n" -"Last-Translator: Jiří Hajda <robie@centrum.cz>\n" -"Language-Team: Czech <cs@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-04-07 04:55+0000\n" -"X-Generator: Launchpad (build 15060)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Tato smlouva je již v systému registrována." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" diff --git a/addons/web_livechat/i18n/da.po b/addons/web_livechat/i18n/da.po deleted file mode 100644 index 59c10e9eac8..00000000000 --- a/addons/web_livechat/i18n/da.po +++ /dev/null @@ -1,28 +0,0 @@ -# Danish 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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-01-27 06:45+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Danish <da@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "" diff --git a/addons/web_livechat/i18n/de.po b/addons/web_livechat/i18n/de.po deleted file mode 100644 index 2d2def6b604..00000000000 --- a/addons/web_livechat/i18n/de.po +++ /dev/null @@ -1,34 +0,0 @@ -# German 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-21 20:28+0000\n" -"Last-Translator: Ferdinand @ Camptocamp <Unknown>\n" -"Language-Team: German <de@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Der Wartungsvertrag wurde bereits im System registriert." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Live Chat Unterstützung" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Live Chat für Vetragsinhaber aktivieren" diff --git a/addons/web_livechat/i18n/es.po b/addons/web_livechat/i18n/es.po deleted file mode 100644 index 2df51c832a1..00000000000 --- a/addons/web_livechat/i18n/es.po +++ /dev/null @@ -1,36 +0,0 @@ -# Spanish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-15 15:37+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Ese contrato ya está registrado en el sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantía.contrato" - -#~ msgid "Live Chat Support" -#~ msgstr "Chat de asistencia" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Permite soporte por chat para aquellos que ya tienen contrato de " -#~ "mantenimiento" diff --git a/addons/web_livechat/i18n/es_CR.po b/addons/web_livechat/i18n/es_CR.po deleted file mode 100644 index c0bba0bc3f3..00000000000 --- a/addons/web_livechat/i18n/es_CR.po +++ /dev/null @@ -1,38 +0,0 @@ -# Spanish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-02-18 23:24+0000\n" -"Last-Translator: Carlos Vásquez (CLEARCORP) " -"<carlos.vasquez@clearcorp.co.cr>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-19 05:43+0000\n" -"X-Generator: Launchpad (build 14814)\n" -"Language: es\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Ese contrato ya está registrado en el sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantía.contrato" - -#~ msgid "Live Chat Support" -#~ msgstr "Chat de asistencia" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Permite soporte por chat para aquellos que ya tienen contrato de " -#~ "mantenimiento" diff --git a/addons/web_livechat/i18n/es_MX.po b/addons/web_livechat/i18n/es_MX.po deleted file mode 100644 index 1ae99905314..00000000000 --- a/addons/web_livechat/i18n/es_MX.po +++ /dev/null @@ -1,41 +0,0 @@ -# Spanish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-11 11:16+0000\n" -"PO-Revision-Date: 2011-02-15 15:37+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-09-05 05:58+0000\n" -"X-Generator: Launchpad (build 13830)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "" -"Your publisher warranty contract is already subscribed in the system !" -msgstr "¡Su contrato de garantía del editor ya está inscrito en el sistema!" - -#. module: web_livechat -#: model:ir.module.module,shortdesc:web_livechat.module_meta_information -msgid "Live Chat Support" -msgstr "Chat de asistencia" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantía.contrato" - -#. module: web_livechat -#: model:ir.module.module,description:web_livechat.module_meta_information -msgid "Enable live chat support for whom have a maintenance contract" -msgstr "" -"Permite soporte por chat para aquellos que ya tienen contrato de " -"mantenimiento" diff --git a/addons/web_livechat/i18n/es_VE.po b/addons/web_livechat/i18n/es_VE.po deleted file mode 100644 index 1ae99905314..00000000000 --- a/addons/web_livechat/i18n/es_VE.po +++ /dev/null @@ -1,41 +0,0 @@ -# Spanish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-11 11:16+0000\n" -"PO-Revision-Date: 2011-02-15 15:37+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-09-05 05:58+0000\n" -"X-Generator: Launchpad (build 13830)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "" -"Your publisher warranty contract is already subscribed in the system !" -msgstr "¡Su contrato de garantía del editor ya está inscrito en el sistema!" - -#. module: web_livechat -#: model:ir.module.module,shortdesc:web_livechat.module_meta_information -msgid "Live Chat Support" -msgstr "Chat de asistencia" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantía.contrato" - -#. module: web_livechat -#: model:ir.module.module,description:web_livechat.module_meta_information -msgid "Enable live chat support for whom have a maintenance contract" -msgstr "" -"Permite soporte por chat para aquellos que ya tienen contrato de " -"mantenimiento" diff --git a/addons/web_livechat/i18n/fi.po b/addons/web_livechat/i18n/fi.po deleted file mode 100644 index 10b984f68ab..00000000000 --- a/addons/web_livechat/i18n/fi.po +++ /dev/null @@ -1,34 +0,0 @@ -# Finnish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-06-08 10:30+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Finnish <fi@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Sopimus on jo rekisteröity järjestelmään." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "" - -#~ msgid "Live Chat Support" -#~ msgstr "Chatin tuki" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Aloita chatti tuki ylläpitosopimuksen toimittajan kanssa" diff --git a/addons/web_livechat/i18n/fr.po b/addons/web_livechat/i18n/fr.po deleted file mode 100644 index 7a1a07f8bcf..00000000000 --- a/addons/web_livechat/i18n/fr.po +++ /dev/null @@ -1,36 +0,0 @@ -# French 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-26 09:39+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: French <fr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Ce contrat est déjà enregistré dans le système." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Support par messagerie instantanée" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Valider le support par messagerie instantanée pour les détenteurs d'un " -#~ "contrat de maintenance" diff --git a/addons/web_livechat/i18n/gl.po b/addons/web_livechat/i18n/gl.po deleted file mode 100644 index f78ff364431..00000000000 --- a/addons/web_livechat/i18n/gl.po +++ /dev/null @@ -1,35 +0,0 @@ -# Galician 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-03-05 01:41+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Galician <gl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "O contrato xa está rexistrado no sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "editor_garantía.contrato" - -#~ msgid "Live Chat Support" -#~ msgstr "Chat de asistencia" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Permitir soporte por chat para aqueles que xa teñan contrato de mantemento" diff --git a/addons/web_livechat/i18n/hr.po b/addons/web_livechat/i18n/hr.po deleted file mode 100644 index 17a5919153b..00000000000 --- a/addons/web_livechat/i18n/hr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Croatian 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-01-28 21:59+0000\n" -"Last-Translator: Goran Kliska <gkliska@gmail.com>\n" -"Language-Team: Croatian <hr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Navedeni ugovor je već registriran u sustavu." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Omogući podršku za Live Chat za one koji imaju ugovor o održavanju" - -#~ msgid "Live Chat Support" -#~ msgstr "Podrška za Live Chat" diff --git a/addons/web_livechat/i18n/it.po b/addons/web_livechat/i18n/it.po deleted file mode 100644 index 30f68ea8157..00000000000 --- a/addons/web_livechat/i18n/it.po +++ /dev/null @@ -1,35 +0,0 @@ -# Italian 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-15 15:37+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Italian <it@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Supporto live chat" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Abilita il supporto live chat per chi ha un contratto di manutenzione" diff --git a/addons/web_livechat/i18n/ja.po b/addons/web_livechat/i18n/ja.po deleted file mode 100644 index 1c50534b3ab..00000000000 --- a/addons/web_livechat/i18n/ja.po +++ /dev/null @@ -1,28 +0,0 @@ -# Japanese 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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-06-16 21:21+0000\n" -"Last-Translator: Akira Hiyama <Unknown>\n" -"Language-Team: Japanese <ja@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-17 04:35+0000\n" -"X-Generator: Launchpad (build 15419)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "この契約は既にシステムに登録されています。" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "" diff --git a/addons/web_livechat/i18n/sv.po b/addons/web_livechat/i18n/mn.po index dd3ae799443..9ab220033ae 100644 --- a/addons/web_livechat/i18n/sv.po +++ b/addons/web_livechat/i18n/mn.po @@ -1,4 +1,4 @@ -# Swedish translation for openobject-addons +# 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 <EMAIL@ADDRESS>, 2012. @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-06-04 15:38+0000\n" +"PO-Revision-Date: 2012-07-08 18:51+0000\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Swedish <sv@li.org>\n" +"Language-Team: Mongolian <mn@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-05 04:54+0000\n" -"X-Generator: Launchpad (build 15353)\n" +"X-Launchpad-Export-Date: 2012-07-09 04:51+0000\n" +"X-Generator: Launchpad (build 15558)\n" #. module: web_livechat #: sql_constraint:publisher_warranty.contract:0 msgid "That contract is already registered in the system." -msgstr "Det kontraktet har redan registrerats i systemet." +msgstr "Энэ гэрээг системд өмнө нь бүртгэгдсэн байна." #. module: web_livechat #: model:ir.model,name:web_livechat.model_publisher_warranty_contract diff --git a/addons/web_livechat/i18n/nl.po b/addons/web_livechat/i18n/nl.po deleted file mode 100644 index db490d3768d..00000000000 --- a/addons/web_livechat/i18n/nl.po +++ /dev/null @@ -1,35 +0,0 @@ -# Dutch 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-21 10:22+0000\n" -"Last-Translator: Douwe Wullink (Dypalio) <Unknown>\n" -"Language-Team: Dutch <nl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Dat contract is al geregisteerd in het systeem." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Live Chat Support" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Live chat support aanzetten voor diegenen die een onderhoudscontract hebben" diff --git a/addons/web_livechat/i18n/oc.po b/addons/web_livechat/i18n/oc.po deleted file mode 100644 index 00b746269f3..00000000000 --- a/addons/web_livechat/i18n/oc.po +++ /dev/null @@ -1,36 +0,0 @@ -# Occitan (post 1500) 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-11-20 09:29+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Occitan (post 1500) <oc@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Aqueste contracte es ja enregistrat dins lo sistèma." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Supòrt per messatjariá instantanèa" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Validar lo supòrt per messatjariá instantanèa pels detentors d'un contracte " -#~ "de mantenença" diff --git a/addons/web_livechat/i18n/pt.po b/addons/web_livechat/i18n/pt.po deleted file mode 100644 index d34c84f502b..00000000000 --- a/addons/web_livechat/i18n/pt.po +++ /dev/null @@ -1,36 +0,0 @@ -# Portuguese 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-07-31 22:18+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Portuguese <pt@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "O contrato já está registado no sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "Copy text \t publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Suporte por mensagens instantâneas (chat)" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Ativar suporte através de mensagens instantâneas para quem tenha contrato de " -#~ "suporte" diff --git a/addons/web_livechat/i18n/pt_BR.po b/addons/web_livechat/i18n/pt_BR.po deleted file mode 100644 index d914a85facd..00000000000 --- a/addons/web_livechat/i18n/pt_BR.po +++ /dev/null @@ -1,35 +0,0 @@ -# Brazilian Portuguese 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-01-18 02:51+0000\n" -"Last-Translator: Rafael Sales - http://www.tompast.com.br <Unknown>\n" -"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Esse contato já está registrado no sistema." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Ativa o suporte com conversa ao vivo para quem tem um contrato de manutenção" - -#~ msgid "Live Chat Support" -#~ msgstr "Suporte com Conversa ao Vivo" diff --git a/addons/web_livechat/i18n/ro.po b/addons/web_livechat/i18n/ro.po deleted file mode 100644 index 02d8930f340..00000000000 --- a/addons/web_livechat/i18n/ro.po +++ /dev/null @@ -1,36 +0,0 @@ -# Romanian 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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-01-08 19:46+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Romanian <ro@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Acel contract este deja inregistrat in sistem." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract (contract. garantie_editor)" - -#~ msgid "Live Chat Support" -#~ msgstr "Asistentă tehnică pentru Discutiile online" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Activează asistenta tehnică pentru discutiile online pentru cei care au un " -#~ "contract de mentenantă." diff --git a/addons/web_livechat/i18n/ru.po b/addons/web_livechat/i18n/ru.po deleted file mode 100644 index 893a8328967..00000000000 --- a/addons/web_livechat/i18n/ru.po +++ /dev/null @@ -1,36 +0,0 @@ -# Russian 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-03-09 17:08+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Russian <ru@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Договор уже зарегистрирован в системе." - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Техподдержка в режиме живого общения" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "" -#~ "Включить поддержку живого общения для тех, у кого есть договор на " -#~ "обслуживание" diff --git a/addons/web_livechat/i18n/sk.po b/addons/web_livechat/i18n/sk.po deleted file mode 100644 index 5705a692a99..00000000000 --- a/addons/web_livechat/i18n/sk.po +++ /dev/null @@ -1,34 +0,0 @@ -# Slovak 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-02-21 13:46+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Slovak <sk@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Live Chat Podpora" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Povoliť live chat podporu pre toho kto má servisnú zmluvu" diff --git a/addons/web_livechat/i18n/sl.po b/addons/web_livechat/i18n/sl.po deleted file mode 100644 index e772d67b8db..00000000000 --- a/addons/web_livechat/i18n/sl.po +++ /dev/null @@ -1,34 +0,0 @@ -# Slovenian 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-05-22 17:08+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Slovenian <sl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Ta pogodba je v sistemu že vnešena" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Pomoč v živo" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Omogoči pomoč v živo za uporabnike z vzdrževalno pogodbo" diff --git a/addons/web_livechat/i18n/sr@latin.po b/addons/web_livechat/i18n/sr@latin.po deleted file mode 100644 index 7baff43edea..00000000000 --- a/addons/web_livechat/i18n/sr@latin.po +++ /dev/null @@ -1,34 +0,0 @@ -# Serbian Latin 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-10-17 13:43+0000\n" -"Last-Translator: Milan Milosevic <Unknown>\n" -"Language-Team: Serbian Latin <sr@latin@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Omogući podršku ćaskanja uživo za one koji imaju ugovor o održavanju" - -#~ msgid "Live Chat Support" -#~ msgstr "Podrška ćaskanja uživo" diff --git a/addons/web_livechat/i18n/tr.po b/addons/web_livechat/i18n/tr.po deleted file mode 100644 index f9747e9d858..00000000000 --- a/addons/web_livechat/i18n/tr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Turkish 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-04-26 14:31+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Turkish <tr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "Bu sözleşme sistemde zaten kayıtlı !" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "Canlı Sohbet Desteği" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "Bakım sözleşmesi olanlar için canlı sohbet desteğini açar" diff --git a/addons/web_livechat/i18n/web_livechat.pot b/addons/web_livechat/i18n/web_livechat.pot deleted file mode 100644 index 1feb83270c6..00000000000 --- a/addons/web_livechat/i18n/web_livechat.pot +++ /dev/null @@ -1,46 +0,0 @@ -# #-#-#-#-# web_livechat.pot (OpenERP Server 6.1rc1) #-#-#-#-# -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * web_livechat -# -# #-#-#-#-# web_livechat.pot.web (PROJECT VERSION) #-#-#-#-# -# Translations template for PROJECT. -# Copyright (C) 2012 ORGANIZATION -# This file is distributed under the same license as the PROJECT project. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -#, fuzzy -msgid "" -msgstr "" -"#-#-#-#-# web_livechat.pot (OpenERP Server 6.1rc1) #-#-#-#-#\n" -"Project-Id-Version: OpenERP Server 6.1rc1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-02-08 00:37+0000\n" -"PO-Revision-Date: 2012-02-08 00:37+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" -"#-#-#-#-# web_livechat.pot.web (PROJECT VERSION) #-#-#-#-#\n" -"Project-Id-Version: PROJECT VERSION\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 0.9.6\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "" diff --git a/addons/web_livechat/i18n/zh_CN.po b/addons/web_livechat/i18n/zh_CN.po deleted file mode 100644 index e8ce70adad1..00000000000 --- a/addons/web_livechat/i18n/zh_CN.po +++ /dev/null @@ -1,34 +0,0 @@ -# Chinese (Simplified) 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 <EMAIL@ADDRESS>, 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2011-04-08 07:20+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Chinese (Simplified) <zh_CN@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-09 07:09+0000\n" -"X-Generator: Launchpad (build 14763)\n" - -#. module: web_livechat -#: sql_constraint:publisher_warranty.contract:0 -msgid "That contract is already registered in the system." -msgstr "该合同已登记到系统中。" - -#. module: web_livechat -#: model:ir.model,name:web_livechat.model_publisher_warranty_contract -msgid "publisher_warranty.contract" -msgstr "publisher_warranty.contract" - -#~ msgid "Live Chat Support" -#~ msgstr "支持在线交流" - -#~ msgid "Enable live chat support for whom have a maintenance contract" -#~ msgstr "其中一个维护合同支持在线交流" diff --git a/addons/web_livechat/publisher_warranty.py b/addons/web_livechat/publisher_warranty.py deleted file mode 100644 index 0328e4181a7..00000000000 --- a/addons/web_livechat/publisher_warranty.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-2011 OpenERP s.a. (<http://openerp.com>). -# -# 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 <http://www.gnu.org/licenses/>. -# -############################################################################## - -from osv import osv -from tools import cache - -def _gen_cache_clear(method): - def func(self, cr, *args, **kwargs): - s = super(publisher_warranty_contract, self) - r = getattr(s, method)(cr, *args, **kwargs) - self.is_livechat_enable.clear_cache(self) - return r - return func - -class publisher_warranty_contract(osv.osv): - _inherit = 'publisher_warranty.contract' - - create = _gen_cache_clear('create') - write = _gen_cache_clear('write') - unlink = _gen_cache_clear('unlink') - - @cache(skiparg=3, timeout=300) - def is_livechat_enable(self, cr, uid): - domain = [('state', '=', 'valid'), ('check_support', '=', True)] - return self.search_count(cr, uid, domain) != 0 - -publisher_warranty_contract() - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/web_livechat/static/src/css/lc.css b/addons/web_livechat/static/src/css/lc.css deleted file mode 100644 index 7f1876a2793..00000000000 --- a/addons/web_livechat/static/src/css/lc.css +++ /dev/null @@ -1,7 +0,0 @@ -.livechat span.online { - text-shadow: 0 0 0.2em #9a0404, 0 0 0.2em #9a0404, 0 0 0.2em #9a0404, 0 0 0.2em #9a0404; -} -.livechat img { - vertical-align: middle; - margin-right: 0.5em; -} diff --git a/addons/web_livechat/static/src/img/available.png b/addons/web_livechat/static/src/img/available.png Binary files differdeleted file mode 100644 index e9eea88ae5f..00000000000 --- a/addons/web_livechat/static/src/img/available.png +++ /dev/null diff --git a/addons/web_livechat/static/src/img/away.png b/addons/web_livechat/static/src/img/away.png Binary files differdeleted file mode 100644 index f0a0847059f..00000000000 --- a/addons/web_livechat/static/src/img/away.png +++ /dev/null diff --git a/addons/web_livechat/static/src/img/busy.png b/addons/web_livechat/static/src/img/busy.png Binary files differdeleted file mode 100644 index ddb24377f0f..00000000000 --- a/addons/web_livechat/static/src/img/busy.png +++ /dev/null diff --git a/addons/web_livechat/static/src/js/web_livechat.js b/addons/web_livechat/static/src/js/web_livechat.js deleted file mode 100644 index 540af94310f..00000000000 --- a/addons/web_livechat/static/src/js/web_livechat.js +++ /dev/null @@ -1,127 +0,0 @@ -/*############################################################################ -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2011-2012 OpenERP SA (<http://openerp.com>). -# -# 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 <http://www.gnu.org/licenses/>. -# -############################################################################*/ - -var __lc_buttons = []; - -openerp.web_livechat = function (openerp) { - -openerp.web_livechat.Livechat = openerp.web.Widget.extend({ - template: 'Systray.LiveChat', - - start: function() { - this._super(); - if (!this.session) - return; - var self = this; - var pwc = new openerp.web.Model("publisher_warranty.contract"); - pwc.get_func('is_livechat_enable')().then(function(res) { - if(res) { - self.$element.click(self.do_load_livechat); - } else { - self.$element.click(self.do_open_url); - } - }); - }, - - do_open_url: function(evt) { - evt.preventDefault(); - openerp.webclient.action_manager.do_action({type: 'ir.actions.act.url', url: 'http://www.openerp.com/support-or-publisher-warranty-contract', target: 'new'}); - }, - - do_load_livechat: function(evt) { - var self = this; - if (evt) { - evt.preventDefault(); - } - - this.$element.unbind('click', this.do_load_livechat); - - var lc_id = _.uniqueId('livechat_'); - this.$element.attr('id', lc_id); - - var pwc = new openerp.web.Model("publisher_warranty.contract"); - - pwc.get_func('is_livechat_enable')().then(function(res) { - if(!res) { - return; - } - - // connect to LiveChat - __lc_load(); - - __lc_buttons.push({ - elementId: lc_id, //'livechat_status', - language: 'en', - skill: '2', - type: 'text', - labels: { - online: '<img src="/web_livechat/static/src/img/available.png"/>', - offline: '<img src="/web_livechat/static/src/img/away.png"/>', - } - }); - }); - } -}); - -openerp.web.UserMenu.include({ - do_update: function() { - var self = this; - this._super.apply(this, arguments); - this.update_promise.then(function() { - if (self.livechat) { - self.livechat.destroy(); - } - self.livechat = new openerp.web_livechat.Livechat(self); - self.livechat.appendTo(openerp.webclient.$element.find('.oe_systray')); - }); - } -}); - -if (openerp.webclient) { - // tracking code from LiveChat - var license = '1035052', - params = '', - lang = 'en', - skill = '0'; - __lc_load = function (p) { - if (typeof __lc_loaded != 'function') - if (p) { - var d = document, - l = d.createElement('script'), - s = d.getElementsByTagName('script')[0], - a = unescape('%26'), - h = ('https:' == d.location.protocol ? 'https://' : 'http://'); - l.type = 'text/javascript'; - l.async = true; - l.src = h + 'gis' + p +'.livechatinc.com/gis.cgi?serverType=control'+a+'licenseID='+license+a+'jsonp=__lc_load'; - if (!(typeof p['server'] !== 'string' || typeof __lc_serv === 'string')) { - l.src = h + (__lc_serv = p['server']) + '/licence/'+license+'/script.cgi?lang='+lang+a+'groups='+skill; - l.src += (params == '') ? '' : a+'params='+encodeURIComponent(encodeURIComponent(params)); - s.parentNode.insertBefore(l, s); - } else - setTimeout(__lc_load, 1000); - if(typeof __lc_serv != 'string'){ - s.parentNode.insertBefore(l, s); - } - } else __lc_load(Math.ceil(Math.random()*5)); - } -} - -}; diff --git a/addons/web_livechat/static/src/xml/web_livechat.xml b/addons/web_livechat/static/src/xml/web_livechat.xml deleted file mode 100644 index 0f1bf073bc2..00000000000 --- a/addons/web_livechat/static/src/xml/web_livechat.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- vim:fdl=1: ---> -<templates id="template" xml:space="preserve"> -<t t-name="Systray.LiveChat"> - <div class="oe_systray_livechat" title="Support"> - <a href="#"><img src="/web_livechat/static/src/img/busy.png"/></a> - </div> -</t> -</templates> diff --git a/addons/web_shortcuts/static/src/css/web_shortcuts.css b/addons/web_shortcuts/static/src/css/web_shortcuts.css index e39f7870249..8424e146d06 100644 --- a/addons/web_shortcuts/static/src/css/web_shortcuts.css +++ b/addons/web_shortcuts/static/src/css/web_shortcuts.css @@ -1,6 +1,6 @@ /* Shortcuts*/ -.oe_systray_shortcuts { - margin: 3px; +.oe_systray_shortcuts .oe_star_off { + color: #eee; } .oe_shortcuts_toggle { height: 20px; diff --git a/addons/web_shortcuts/static/src/xml/web_shortcuts.xml b/addons/web_shortcuts/static/src/xml/web_shortcuts.xml index ce4d61e66bd..0b9701f9f1a 100644 --- a/addons/web_shortcuts/static/src/xml/web_shortcuts.xml +++ b/addons/web_shortcuts/static/src/xml/web_shortcuts.xml @@ -3,8 +3,8 @@ --> <templates id="template" xml:space="preserve"> <t t-name="Systray.Shortcuts"> - <div class="oe_systray_shortcuts oe_dropdown_toggle"> - <a href="#"><img src="/web_shortcuts/static/src/img/icon.png" width="22" height="22" border="0"/></a> + <div class="oe_systray_shortcuts oe_topbar_item oe_dropdown_toggle"> + <span class="oe_e oe_star_off">7</span> <ul class="oe_systray_shortcuts_items oe_dropdown_menu"/> </div> </t> |
