[MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120405165529-11wrm91tu3xi23ll
|
@ -37,4 +37,6 @@ import ir_sequence
|
|||
import company
|
||||
import res_currency
|
||||
import edi
|
||||
import res_config
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -125,6 +125,7 @@ module named account_voucher.
|
|||
'board_account_view.xml',
|
||||
"edi/invoice_action_data.xml",
|
||||
"account_bank_view.xml",
|
||||
"res_config_view.xml",
|
||||
"account_pre_install.yml"
|
||||
],
|
||||
'demo_xml': [
|
||||
|
|
|
@ -50,13 +50,5 @@
|
|||
id="menu_action_bank_tree"
|
||||
action="action_bank_tree"/>
|
||||
|
||||
|
||||
<record id="account_configuration_bank_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_bank_tree"/>
|
||||
<field name="category_id" ref="category_accounting_configuration"/>
|
||||
<field name="sequence">4</field>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -62,48 +62,5 @@
|
|||
<field name="type">automatic</field>
|
||||
</record>
|
||||
|
||||
<record id="action_view_financial_accounts_installer" model="ir.actions.act_window">
|
||||
<field name="name">Review your Financial Accounts</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'config_invisible': False}</field>
|
||||
</record>
|
||||
|
||||
<record id="view_financial_accounts_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_view_financial_accounts_installer" />
|
||||
<field name="category_id" ref="category_accounting_configuration" />
|
||||
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_user')])]" />
|
||||
</record>
|
||||
|
||||
<record id="action_review_financial_journals_installer" model="ir.actions.act_window">
|
||||
<field name="name">Review your Financial Journals</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.journal</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help">Setup your accounting journals. For bank accounts, it's better to use the 'Setup Your Bank Accounts' tool that will automatically create the accounts and journals for you.</field>
|
||||
</record>
|
||||
|
||||
<record id="review_financial_journals_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_review_financial_journals_installer" />
|
||||
<field name="category_id" ref="category_accounting_configuration" />
|
||||
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_user')])]" />
|
||||
</record>
|
||||
<record id="action_review_payment_terms_installer" model="ir.actions.act_window">
|
||||
<field name="name">Review your Payment Terms</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.payment.term</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help">Payment terms define the conditions to pay a customer or supplier invoice in one or several payments. Customers periodic reminders will use the payment terms for each letter. Each customer or supplier can be assigned to one of these payment terms.</field>
|
||||
</record>
|
||||
|
||||
<record id="review_payment_terms_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_review_payment_terms_installer" />
|
||||
<field name="category_id" ref="category_accounting_configuration" />
|
||||
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_user')])]" />
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -304,7 +304,7 @@
|
|||
<button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object" icon="terp-stock_effects-object-colorize"/>
|
||||
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','<>','paid'), ('reconciled', '=', True)]}" icon="gtk-convert" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>
|
||||
<button name="%(action_account_invoice_refund)d" type='action' string='Refund' states='open,paid' icon="gtk-execute"/>
|
||||
<button name="invoice_proforma2" states="draft" string="PRO-FORMA" icon="terp-gtk-media-pause" groups="account.group_account_user"/>
|
||||
<button name="invoice_proforma2" states="draft" string="PRO-FORMA" icon="terp-gtk-media-pause" groups="account.group_proforma_invoices"/>
|
||||
<button name="invoice_open" states="draft,proforma2" string="Validate" icon="gtk-go-forward"/>
|
||||
<button name="%(account_invoices)d" string="Print Invoice" type="action" icon="gtk-print" states="open,paid,proforma,sale,proforma2"/>
|
||||
</group>
|
||||
|
@ -352,7 +352,7 @@
|
|||
<search string="Search Invoice">
|
||||
<group>
|
||||
<filter name="draft" icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Invoices"/>
|
||||
<filter name="proforma" icon="terp-gtk-media-pause" string="Proforma" domain="[('state','=','proforma2')]" help="Proforma Invoices"/>
|
||||
<filter name="proforma" icon="terp-gtk-media-pause" string="Proforma" domain="[('state','=','proforma2')]" help="Proforma Invoices" groups="account.group_proforma_invoices"/>
|
||||
<filter name="invoices" icon="terp-dolar" string="Invoices" domain="[('state','not in',['draft','cancel'])]" help="Proforma/Open/Paid Invoices"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter name="unpaid" icon="terp-dolar_ok!" string="Unpaid" domain="[('state','=','open')]" help="Unpaid Invoices"/>
|
||||
|
|
|
@ -2505,15 +2505,6 @@ action = pool.get('res.config').next(cr, uid, [], context)
|
|||
<field name="name">New Company Financial Setting</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="menu_act_ir_actions_bleble" model="ir.ui.menu">
|
||||
<field name="name">New Company Financial Setting</field>
|
||||
<field eval="1" name="sequence"/>
|
||||
<field name="parent_id" ref="account.menu_finance_accounting"/>
|
||||
<field name="icon">STOCK_EXECUTE</field>
|
||||
<field name="action" ref="ir_actions_server_action_wizard_multi_chart"/>
|
||||
</record>
|
||||
|
||||
<record id="account_account_graph" model="ir.ui.view">
|
||||
<field name="name">account.account.graph</field>
|
||||
<field name="model">account.account</field>
|
||||
|
|
|
@ -24,6 +24,7 @@ from osv import fields, osv
|
|||
class res_company(osv.osv):
|
||||
_inherit = "res.company"
|
||||
_columns = {
|
||||
'expects_chart_of_accounts': fields.boolean('Expects a Chart of Accounts'),
|
||||
'paypal_account': fields.char("Paypal Account", size=128, help="Paypal username (usually email) for receiving online payments."),
|
||||
'overdue_msg': fields.text('Overdue Payments Message', translate=True),
|
||||
'property_reserve_and_surplus_account': fields.property(
|
||||
|
@ -37,6 +38,7 @@ class res_company(osv.osv):
|
|||
}
|
||||
|
||||
_defaults = {
|
||||
'expects_chart_of_accounts': True,
|
||||
'overdue_msg': '''Our records indicate that the following payments are still due. If the amount
|
||||
has already been paid, please disregard this notice. However, if you have any
|
||||
queries regarding your account, please contact us.
|
||||
|
|
|
@ -0,0 +1,282 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Business Applications
|
||||
# Copyright (C) 2004-2012 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import time
|
||||
import datetime
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from operator import itemgetter
|
||||
from os.path import join as opj
|
||||
|
||||
from tools.translate import _
|
||||
from osv import osv, fields
|
||||
import tools
|
||||
|
||||
class account_config_settings(osv.osv_memory):
|
||||
_name = 'account.config.settings'
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
_columns = {
|
||||
'company_id': fields.many2one('res.company', 'Company', required=True),
|
||||
'has_default_company': fields.boolean('Has default company', readonly=True),
|
||||
|
||||
'expects_chart_of_accounts': fields.related('company_id', 'expects_chart_of_accounts', type='boolean',
|
||||
string='Chart of Accounts for this Company'),
|
||||
'currency_id': fields.related('company_id', 'currency_id', type='many2one', relation='res.currency', required=True,
|
||||
string='Main currency', help="Main currency of the company."),
|
||||
'paypal_account': fields.related('company_id', 'paypal_account', type='char', size=128,
|
||||
string='Paypal account', help="Paypal account (email) for receiving online payments (credit card, etc.)"),
|
||||
'company_footer': fields.related('company_id', 'rml_footer2', type='char', size=250, readonly=True,
|
||||
string='Bank Accounts on Reports', help="Bank accounts as printed on footer of reports."),
|
||||
|
||||
'has_chart_of_accounts': fields.boolean('Company has a chart of accounts'),
|
||||
'chart_template_id': fields.many2one('account.chart.template', 'Chart Template', domain="[('visible','=', True)]"),
|
||||
'code_digits': fields.integer('# of Digits', help="No. of Digits to use for account code"),
|
||||
'seq_journal': fields.boolean('Separated Journal Sequences', help="Check this box if you want to use a different sequence for each created journal. Otherwise, all will use the same sequence."),
|
||||
'sale_tax': fields.many2one("account.tax.template", "Default Sale Tax"),
|
||||
'purchase_tax': fields.many2one("account.tax.template", "Default Purchase Tax"),
|
||||
'sale_tax_rate': fields.float('Sales Tax (%)'),
|
||||
'purchase_tax_rate': fields.float('Purchase Tax (%)'),
|
||||
'complete_tax_set': fields.boolean('Complete Set of Taxes', help='This boolean helps you to choose if you want to propose to the user to encode the sales and purchase rates or use the usual m2o fields. This last choice assumes that the set of tax defined for the chosen template is complete'),
|
||||
|
||||
'has_fiscal_year': fields.boolean('Company has a fiscal year'),
|
||||
'date_start': fields.date('Start Date', required=True),
|
||||
'date_stop': fields.date('End Date', required=True),
|
||||
'period': fields.selection([('month', 'Monthly'), ('3months','3 Monthly')], 'Periods', required=True),
|
||||
|
||||
'sale_journal_id': fields.many2one('account.journal', 'Sale Journal'),
|
||||
'sale_sequence_prefix': fields.related('sale_journal_id', 'sequence_id', 'prefix', type='char', string='Invoice Sequence'),
|
||||
'sale_sequence_next': fields.related('sale_journal_id', 'sequence_id', 'number_next', type='integer', string='Next Invoice Number'),
|
||||
'sale_refund_journal_id': fields.many2one('account.journal', 'Sale Refund Journal'),
|
||||
'sale_refund_sequence_prefix': fields.related('sale_refund_journal_id', 'sequence_id', 'prefix', type='char', string='Refund Sequence'),
|
||||
'sale_refund_sequence_next': fields.related('sale_refund_journal_id', 'sequence_id', 'number_next', type='integer', string='Next Refund Number'),
|
||||
'purchase_journal_id': fields.many2one('account.journal', 'Purchase Journal'),
|
||||
'purchase_sequence_prefix': fields.related('purchase_journal_id', 'sequence_id', 'prefix', type='char', string='Supplier Invoice Sequence'),
|
||||
'purchase_sequence_next': fields.related('purchase_journal_id', 'sequence_id', 'number_next', type='integer', string='Next Supplier Invoice Number'),
|
||||
'purchase_refund_journal_id': fields.many2one('account.journal', 'Purchase Refund Journal'),
|
||||
'purchase_refund_sequence_prefix': fields.related('purchase_refund_journal_id', 'sequence_id', 'prefix', type='char', string='Supplier Refund Sequence'),
|
||||
'purchase_refund_sequence_next': fields.related('purchase_refund_journal_id', 'sequence_id', 'number_next', type='integer', string='Next Supplier Refund Number'),
|
||||
|
||||
'module_account_check_writing': fields.boolean('Support check writings',
|
||||
help="""This allows you to check writing and printing.
|
||||
This installs the module account_check_writing."""),
|
||||
'module_account_accountant': fields.boolean('Accountant Features',
|
||||
help="""This allows you to access all the accounting features, like the journal items and the chart of accounts.
|
||||
This installs the module account_accountant."""),
|
||||
'module_account_asset': fields.boolean('Assets Management',
|
||||
help="""This allows you to manage the assets owned by a company or a person.
|
||||
It keeps track of the depreciation occurred on those assets, and creates account move for those depreciation lines.
|
||||
This installs the module account_asset."""),
|
||||
'module_account_budget': fields.boolean('Budgets Management',
|
||||
help="""This allows accountants to manage analytic and crossovered budgets.
|
||||
Once the master budgets and the budgets are defined,
|
||||
the project managers can set the planned amount on each analytic account.
|
||||
This installs the module account_budget."""),
|
||||
'module_account_payment': fields.boolean('Supplier Payment Orders',
|
||||
help="""This allows you to create and manage your payment orders, with purposes to
|
||||
* serve as base for an easy plug-in of various automated payment mechanisms, and
|
||||
* provide a more efficient way to manage invoice payments.
|
||||
This installs the module account_payment."""),
|
||||
'module_account_voucher': fields.boolean('Manage Customer Payments',
|
||||
help="""This includes all the basic requirements of voucher entries for bank, cash, sales, purchase, expense, contra, etc.
|
||||
This installs the module account_voucher."""),
|
||||
'module_account_followup': fields.boolean('Customer Follow-Ups',
|
||||
help="""This allows to automate letters for unpaid invoices, with multi-level recalls.
|
||||
This installs the module account_followup."""),
|
||||
'module_account_analytic_plans': fields.boolean('Support Multiple Analytic Plans',
|
||||
help="""This allows to use several analytic plans, according to the general journal.
|
||||
This installs the module account_analytic_plans."""),
|
||||
'module_account_analytic_default': fields.boolean('Rules for Analytic Assignation',
|
||||
help="""Set default values for your analytic accounts.
|
||||
Allows to automatically select analytic accounts based on criteria like product, partner, user, company, date.
|
||||
This installs the module account_analytic_default."""),
|
||||
'module_account_invoice_layout': fields.boolean('Allow notes and subtotals',
|
||||
help="""This provides some features to improve the layout of invoices.
|
||||
It gives you the possibility to:
|
||||
* order all the lines of an invoice
|
||||
* add titles, comment lines, sub total lines
|
||||
* draw horizontal lines and put page breaks.
|
||||
This installs the module account_invoice_layout."""),
|
||||
|
||||
'group_proforma_invoices': fields.boolean('Allow Pro-forma Invoices',
|
||||
implied_group='account.group_proforma_invoices',
|
||||
help="Allows you to put invoices in pro-forma state."),
|
||||
|
||||
'default_sale_tax': fields.many2one('account.tax', 'Default Sale Tax'),
|
||||
'default_purchase_tax': fields.many2one('account.tax', 'Default Purchase Tax'),
|
||||
}
|
||||
|
||||
def _default_company(self, cr, uid, context=None):
|
||||
user = self.pool.get('res.users').browse(cr, uid, uid, context=context)
|
||||
return user.company_id.id
|
||||
|
||||
def _default_has_default_company(self, cr, uid, context=None):
|
||||
count = self.pool.get('res.company').search_count(cr, uid, [], context=context)
|
||||
return bool(count == 1)
|
||||
|
||||
_defaults = {
|
||||
'company_id': _default_company,
|
||||
'has_default_company': _default_has_default_company,
|
||||
'seq_journal': True,
|
||||
'date_start': lambda *a: time.strftime('%Y-01-01'),
|
||||
'date_stop': lambda *a: time.strftime('%Y-12-31'),
|
||||
'period': 'month',
|
||||
}
|
||||
|
||||
def create(self, cr, uid, values, context=None):
|
||||
id = super(account_config_settings, self).create(cr, uid, values, context)
|
||||
# Hack: to avoid some nasty bug, related fields are not written upon record creation.
|
||||
# Hence we write on those fields here.
|
||||
vals = {}
|
||||
for fname, field in self._columns.iteritems():
|
||||
if isinstance(field, fields.related) and fname in values:
|
||||
vals[fname] = values[fname]
|
||||
self.write(cr, uid, [id], vals, context)
|
||||
return id
|
||||
|
||||
def onchange_company_id(self, cr, uid, ids, company_id):
|
||||
# update related fields
|
||||
company = self.pool.get('res.company').browse(cr, uid, company_id)
|
||||
has_chart_of_accounts = company_id not in self.pool.get('account.installer').get_unconfigured_cmp(cr, uid)
|
||||
fiscalyear_count = self.pool.get('account.fiscalyear').search_count(cr, uid,
|
||||
[('date_start', '<=', time.strftime('%Y-%m-%d')), ('date_stop', '>=', time.strftime('%Y-%m-%d')),
|
||||
('company_id', '=', company_id)])
|
||||
values = {
|
||||
'expects_chart_of_accounts': company.expects_chart_of_accounts,
|
||||
'currency_id': company.currency_id.id,
|
||||
'paypal_account': company.paypal_account,
|
||||
'company_footer': company.rml_footer2,
|
||||
'has_chart_of_accounts': has_chart_of_accounts,
|
||||
'has_fiscal_year': bool(fiscalyear_count),
|
||||
'chart_template_id': False,
|
||||
}
|
||||
# update journals and sequences
|
||||
for journal_type in ('sale', 'sale_refund', 'purchase', 'purchase_refund'):
|
||||
for suffix in ('_journal_id', '_sequence_prefix', '_sequence_next'):
|
||||
values[journal_type + suffix] = False
|
||||
journal_obj = self.pool.get('account.journal')
|
||||
journal_ids = journal_obj.search(cr, uid, [('company_id', '=', company_id)])
|
||||
for journal in journal_obj.browse(cr, uid, journal_ids):
|
||||
if journal.type in ('sale', 'sale_refund', 'purchase', 'purchase_refund'):
|
||||
values.update({
|
||||
journal.type + '_journal_id': journal.id,
|
||||
journal.type + '_sequence_prefix': journal.sequence_id.prefix,
|
||||
journal.type + '_sequence_next': journal.sequence_id.number_next,
|
||||
})
|
||||
# update taxes
|
||||
ir_values = self.pool.get('ir.values')
|
||||
taxes_id = ir_values.get_default(cr, uid, 'product.product', 'taxes_id', company_id=company_id)
|
||||
supplier_taxes_id = ir_values.get_default(cr, uid, 'product.product', 'supplier_taxes_id', company_id=company_id)
|
||||
values.update({
|
||||
'default_sale_tax': isinstance(taxes_id, list) and taxes_id[0] or taxes_id,
|
||||
'default_purchase_tax': isinstance(supplier_taxes_id, list) and supplier_taxes_id[0] or supplier_taxes_id,
|
||||
})
|
||||
return {'value': values}
|
||||
|
||||
def onchange_chart_template_id(self, cr, uid, ids, chart_template_id, context=None):
|
||||
tax_templ_obj = self.pool.get('account.tax.template')
|
||||
res = {'value': {
|
||||
'complete_tax_set': False, 'sale_tax': False, 'purchase_tax': False,
|
||||
'sale_tax_rate': 15, 'purchase_tax_rate': 15,
|
||||
}}
|
||||
if chart_template_id:
|
||||
# update complete_tax_set, sale_tax and purchase_tax
|
||||
chart_template = self.pool.get('account.chart.template').browse(cr, uid, chart_template_id, context=context)
|
||||
res['value'].update({'complete_tax_set': chart_template.complete_tax_set})
|
||||
if chart_template.complete_tax_set:
|
||||
# default tax is given by the lowest sequence. For same sequence we will take the latest created as it will be the case for tax created while isntalling the generic chart of account
|
||||
sale_tax_ids = tax_templ_obj.search(cr, uid,
|
||||
[("chart_template_id", "=", chart_template_id), ('type_tax_use', 'in', ('sale','all'))],
|
||||
order="sequence, id desc")
|
||||
purchase_tax_ids = tax_templ_obj.search(cr, uid,
|
||||
[("chart_template_id", "=", chart_template_id), ('type_tax_use', 'in', ('purchase','all'))],
|
||||
order="sequence, id desc")
|
||||
res['value']['sale_tax'] = sale_tax_ids and sale_tax_ids[0] or False
|
||||
res['value']['purchase_tax'] = purchase_tax_ids and purchase_tax_ids[0] or False
|
||||
if chart_template.code_digits:
|
||||
res['value']['code_digits'] = chart_template.code_digits
|
||||
return res
|
||||
|
||||
def onchange_tax_rate(self, cr, uid, ids, rate, context=None):
|
||||
return {'value': {'purchase_tax_rate': rate or False}}
|
||||
|
||||
def onchange_start_date(self, cr, uid, id, start_date):
|
||||
if start_date:
|
||||
start_date = datetime.datetime.strptime(start_date, "%Y-%m-%d")
|
||||
end_date = (start_date + relativedelta(months=12)) - relativedelta(days=1)
|
||||
return {'value': {'date_stop': end_date.strftime('%Y-%m-%d')}}
|
||||
return {}
|
||||
|
||||
def set_default_taxes(self, cr, uid, ids, context=None):
|
||||
""" set default sale and purchase taxes for products """
|
||||
ir_values = self.pool.get('ir.values')
|
||||
config = self.browse(cr, uid, ids[0], context)
|
||||
ir_values.set_default(cr, uid, 'product.product', 'taxes_id',
|
||||
config.default_sale_tax and [config.default_sale_tax.id] or False, company_id=config.company_id.id)
|
||||
ir_values.set_default(cr, uid, 'product.product', 'supplier_taxes_id',
|
||||
config.default_purchase_tax and [config.default_purchase_tax.id] or False, company_id=config.company_id.id)
|
||||
|
||||
def set_chart_of_accounts(self, cr, uid, ids, context=None):
|
||||
""" install a chart of accounts for the given company (if required) """
|
||||
config = self.browse(cr, uid, ids[0], context)
|
||||
if config.chart_template_id:
|
||||
assert config.expects_chart_of_accounts and not config.has_chart_of_accounts
|
||||
wizard = self.pool.get('wizard.multi.charts.accounts')
|
||||
wizard_id = wizard.create(cr, uid, {
|
||||
'company_id': config.company_id.id,
|
||||
'chart_template_id': config.chart_template_id.id,
|
||||
'code_digits': config.code_digits or 6,
|
||||
'seq_journal': config.seq_journal,
|
||||
'sale_tax': config.sale_tax.id,
|
||||
'purchase_tax': config.purchase_tax.id,
|
||||
'sale_tax_rate': config.sale_tax_rate,
|
||||
'purchase_tax_rate': config.purchase_tax_rate,
|
||||
'complete_tax_set': config.complete_tax_set,
|
||||
}, context)
|
||||
wizard.execute(cr, uid, [wizard_id], context)
|
||||
|
||||
def set_fiscalyear(self, cr, uid, ids, context=None):
|
||||
""" create a fiscal year for the given company (if necessary) """
|
||||
config = self.browse(cr, uid, ids[0], context)
|
||||
if config.has_chart_of_accounts or config.chart_template_id:
|
||||
fiscalyear = self.pool.get('account.fiscalyear')
|
||||
fiscalyear_count = fiscalyear.search_count(cr, uid,
|
||||
[('date_start', '<=', config.date_start), ('date_stop', '>=', config.date_stop),
|
||||
('company_id', '=', config.company_id.id)],
|
||||
context=context)
|
||||
if not fiscalyear_count:
|
||||
name = code = config.date_start[:4]
|
||||
if int(name) != int(config.date_stop[:4]):
|
||||
name = config.date_start[:4] +'-'+ config.date_stop[:4]
|
||||
code = config.date_start[2:4] +'-'+ config.date_stop[2:4]
|
||||
vals = {
|
||||
'name': name,
|
||||
'code': code,
|
||||
'date_start': config.date_start,
|
||||
'date_stop': config.date_stop,
|
||||
'company_id': config.company_id.id,
|
||||
}
|
||||
fiscalyear_id = fiscalyear.create(cr, uid, vals, context=context)
|
||||
if config.period == 'month':
|
||||
fiscalyear.create_period(cr, uid, [fiscalyear_id])
|
||||
elif config.period == '3months':
|
||||
fiscalyear.create_period3(cr, uid, [fiscalyear_id])
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="open_account_charts_modules" model="ir.actions.act_window">
|
||||
<field name="name">Chart Templates</field>
|
||||
<field name="res_model">ir.module.module</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field name="context" eval="{'search_default_category_id': ref('base.module_category_localization_account_charts')}"/>
|
||||
<field name="search_view_id" ref="base.view_module_filter"/>
|
||||
</record>
|
||||
|
||||
<record id="view_account_config_settings" model="ir.ui.view">
|
||||
<field name="name">account settings</field>
|
||||
<field name="model">account.config.settings</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Configure Accounting">
|
||||
<field name="has_default_company" invisible="1" />
|
||||
<field name="company_id" widget="selection" on_change="onchange_company_id(company_id)"
|
||||
attrs="{'invisible': [('has_default_company', '=', True)]}"/>
|
||||
<field name="expects_chart_of_accounts"/>
|
||||
|
||||
<field name="has_chart_of_accounts" invisible="1"/>
|
||||
<group string="No Chart of Accounts exists for this Company" colspan="4" attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}">
|
||||
<label string="Please select a chart template to install a chart of accounts." colspan="4"/>
|
||||
<field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
|
||||
<button string="Install More Chart Templates" icon="gtk-go-forward"
|
||||
name="%(open_account_charts_modules)d" type="action"/>
|
||||
<field name ="code_digits" groups="account.group_account_user"/>
|
||||
<field name ="seq_journal" groups="base.group_extended"/>
|
||||
<newline/>
|
||||
<field name ="complete_tax_set" invisible="1"/>
|
||||
<field name="sale_tax" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}"
|
||||
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"/>
|
||||
<field name="purchase_tax" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}"
|
||||
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"/>
|
||||
<field name ="sale_tax_rate" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}" on_change="onchange_tax_rate(sale_tax_rate)"/>
|
||||
<field name ="purchase_tax_rate" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}"/>
|
||||
</group>
|
||||
|
||||
<field name="has_fiscal_year" invisible="1"/>
|
||||
<group string="No Fiscal Year exists for this Company" colspan="4" attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_fiscal_year','=',True)]}">
|
||||
<field name="date_start" on_change="onchange_start_date(date_start)"/>
|
||||
<field name="date_stop"/>
|
||||
<field name="period" colspan="4"/>
|
||||
</group>
|
||||
|
||||
<group colspan="4">
|
||||
<separator string="Accounting Configuration" colspan="4"/>
|
||||
<field name ="complete_tax_set" invisible="1"/>
|
||||
<newline/>
|
||||
<group colspan="2" col="2">
|
||||
<field name="default_sale_tax" domain="[('type_tax_use','=','sale'), ('company_id','=',company_id)]"/>
|
||||
<field name="module_account_accountant"/>
|
||||
<field name="module_account_asset"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<field name="default_purchase_tax" domain="[('type_tax_use','=','purchase'), ('company_id','=',company_id)]"/>
|
||||
<field name="currency_id" widget="selection"/>
|
||||
<field name="module_account_budget"/>
|
||||
</group>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Customer Invoices" colspan="2"/>
|
||||
<field name="sale_journal_id" invisible="1"/>
|
||||
<field name="sale_sequence_next" attrs="{'readonly': [('sale_journal_id','=',False)]}"/>
|
||||
<field name="sale_refund_journal_id" invisible="1"/>
|
||||
<field name="sale_refund_sequence_next" attrs="{'readonly': [('sale_refund_journal_id','=',False)]}"/>
|
||||
<field name="module_account_invoice_layout"/>
|
||||
<field name="module_account_voucher"/>
|
||||
<field name="module_account_followup"/>
|
||||
<field name="group_proforma_invoices"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Supplier Invoices" colspan="2"/>
|
||||
<field name="purchase_journal_id" invisible="1"/>
|
||||
<field name="purchase_sequence_next" attrs="{'readonly': [('purchase_journal_id','=',False)]}"/>
|
||||
<field name="purchase_refund_journal_id" invisible="1"/>
|
||||
<field name="purchase_refund_sequence_next" attrs="{'readonly': [('purchase_refund_journal_id','=',False)]}"/>
|
||||
<field name="module_account_payment"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Electronic Payments" colspan="2"/>
|
||||
<field name="paypal_account"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Bank & Cash" colspan="2"/>
|
||||
<label string="Configure Bank Accounts :"/>
|
||||
<button name="%(action_bank_tree)d" string="Configure Bank Accounts" icon="gtk-go-forward" type="action"/>
|
||||
<field name="company_footer"/>
|
||||
<field name="module_account_check_writing"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Analytic Accounting" colspan="2"/>
|
||||
<group name="analytic_accounting" colspan="2"/>
|
||||
<field name="module_account_analytic_plans"/>
|
||||
<field name="module_account_analytic_default"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<label colspan="2"/>
|
||||
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
|
||||
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_config" model="ir.actions.act_window">
|
||||
<field name="name">Configure Accounting</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.config.settings</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">inline</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_config" name="Accounting" parent="base.menu_config"
|
||||
sequence="6" action="action_account_config"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
|
@ -4,18 +4,24 @@
|
|||
<record id="group_account_invoice" model="res.groups">
|
||||
<field name="name">Invoicing & Payments</field>
|
||||
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<record id="group_account_user" model="res.groups" context="{'noadmin':True}">
|
||||
<record id="group_account_user" model="res.groups">
|
||||
<field name="name">Accountant</field>
|
||||
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
||||
<field name="implied_ids" eval="[(4, ref('group_account_invoice'))]"/>
|
||||
</record>
|
||||
<record id="group_account_manager" model="res.groups" context="{'noadmin':True}">
|
||||
<record id="group_account_manager" model="res.groups">
|
||||
<field name="name">Manager</field>
|
||||
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
||||
<field name="implied_ids" eval="[(4, ref('group_account_user'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="group_proforma_invoices" model="res.groups">
|
||||
<field name="name">Pro-forma Invoices</field>
|
||||
<field name="category_id" ref="base.module_category_hidden"/>
|
||||
</record>
|
||||
|
||||
<record id="account_move_comp_rule" model="ir.rule">
|
||||
<field name="name">Account Entry</field>
|
||||
<field ref="model_account_move" name="model_id"/>
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
<data>
|
||||
|
||||
<!--
|
||||
Analytic Account form
|
||||
Analytic Account form
|
||||
|
||||
Remove information on Account data => because they move on analysis sheet
|
||||
create a page with invoicing informations
|
||||
-->
|
||||
<record id="account_analytic_account_invoice_stat_form" model="ir.ui.view">
|
||||
<field name="name">account.analytic.account.invoice.stat.form.inherit</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">account.analytic.account.invoice.stat.form.inherit</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="hr_timesheet_invoice.account_analytic_account_form_form"/>
|
||||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
|
@ -30,9 +30,9 @@
|
|||
</record>
|
||||
|
||||
<record id="hr_timesheet.account_analytic_account_form_form" model="ir.ui.view">
|
||||
<field name="name">account.analytic.account.invoice.form.inherit</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">account.analytic.account.invoice.form.inherit</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="account.view_account_analytic_account_form"/>
|
||||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
|
@ -69,7 +69,7 @@
|
|||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Stats by user">
|
||||
<page string="Stats by user">
|
||||
<field colspan="4" name="user_ids" nolabel="1">
|
||||
<tree string="Users">
|
||||
<field name="user"/>
|
||||
|
@ -97,14 +97,14 @@
|
|||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_analytic_account_tree_c2c_3" model="ir.ui.view">
|
||||
<field name="name">account.analytic.account.tree</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
|
||||
<record id="view_account_analytic_account_tree_c2c_3" model="ir.ui.view">
|
||||
<field name="name">account.analytic.account.tree</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="inherit_id" ref="account.view_account_analytic_account_list"/>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date" position="before">
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date" position="before">
|
||||
<field name="last_invoice_date"/>
|
||||
<field name="ca_to_invoice"/>
|
||||
</field>
|
||||
|
|
|
@ -71,7 +71,6 @@ of distribution models.
|
|||
'account_analytic_plans_report.xml',
|
||||
'wizard/analytic_plan_create_model_view.xml',
|
||||
'wizard/account_crossovered_analytic_view.xml',
|
||||
'account_analytic_plans_installer_view.xml'
|
||||
],
|
||||
'demo_xml': [],
|
||||
'test': ['test/acount_analytic_plans_report.yml'],
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<record model="ir.actions.act_window" id="account_analytic_plan_form_action_installer">
|
||||
<field name="name">Define your Analytic Plans</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.analytic.plan</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" eval="False"/>
|
||||
<field name="help">To setup a multiple analytic plans environment, you must define the root analytic accounts for each plan set. Then, you must attach a plan set to your account journals.</field>
|
||||
</record>
|
||||
|
||||
<record id="account_analytic_plan_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="account_analytic_plan_form_action_installer"/>
|
||||
<field name="category_id" ref="account.category_accounting_configuration"/>
|
||||
<field name="sequence">15</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
|
@ -316,18 +316,5 @@
|
|||
|
||||
<menuitem parent="menu_finance_config_assets" id="menu_action_account_asset_asset_list_normal" action="action_account_asset_asset_list_normal"/>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_account_asset_asset_form_normal">
|
||||
<field name="name">Review Asset Categories</field>
|
||||
<field name="res_model">account.asset.category</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<record id="asset_category_form_view_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_account_asset_asset_form_normal"/>
|
||||
<field name="category_id" ref="account.category_accounting_configuration"/>
|
||||
<field name="sequence">3</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -157,25 +157,5 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Configure Follow-Ups Wizard -->
|
||||
|
||||
<record id="action_view_account_followup_followup_form" model="ir.actions.act_window">
|
||||
<field name="name">Review Invoicing Follow-Ups</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account_followup.followup</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form,tree</field>
|
||||
<field name="context" eval="'{\'res_id\': %s}' % (ref('demo_followup1'),)"/>
|
||||
<field name="view_id" ref="view_account_followup_followup_form"/>
|
||||
</record>
|
||||
|
||||
<!-- register configuration wizard -->
|
||||
<record id="config_wizard_view_account_followup_followup_form" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_view_account_followup_followup_form"/>
|
||||
<field name="category_id" ref="account.category_accounting_configuration"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
<record id="group_account_payment" model="res.groups">
|
||||
<field name="name">Accounting / Payments</field>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<record id="account.group_account_invoice" model="res.groups">
|
||||
<field name="implied_ids" eval="[(4, ref('group_account_payment'))]"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||||
</record>
|
||||
|
||||
<record id="group_analytic_accounting" model="res.groups" context="{'noadmin':True}">
|
||||
<record id="group_analytic_accounting" model="res.groups">
|
||||
<field name="name">Analytic Accounting</field>
|
||||
<field name="category_id" ref="base.module_category_usability"/>
|
||||
</record>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<field name="name">Manager</field>
|
||||
<field name="category_id" ref="module_category_auction"/>
|
||||
<field name="implied_ids" eval="[(4, ref('group_auction_user'))]"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<data noupdate="0">
|
||||
<record model="res.groups" id="base.group_survey_user">
|
||||
<field name="name">Survey / User</field>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -201,4 +201,30 @@ class specify_partner_terminology(osv.osv_memory):
|
|||
self.make_translations(cr, uid, ids, act_ref, 'model', act_id.help, _case_insensitive_replace(act_id.help,'Customer',o.partner), res_id=act_id.id, context=context)
|
||||
return {}
|
||||
|
||||
|
||||
|
||||
# Preferences wizard for Sales & CRM.
|
||||
# It is defined here because it is inherited independently in modules sale, crm,
|
||||
# plugin_outlook and plugin_thunderbird.
|
||||
#
|
||||
class sale_config_settings(osv.osv_memory):
|
||||
_name = 'sale.config.settings'
|
||||
_inherit = 'res.config.settings'
|
||||
_columns = {
|
||||
'module_crm': fields.boolean('CRM'),
|
||||
'module_plugin_thunderbird': fields.boolean('Thunderbird plugin',
|
||||
help="""The plugin allows you archive email and its attachments to the selected
|
||||
OpenERP objects. You can select a partner, a task, a project, an analytical
|
||||
account, or any other object and attach the selected mail as a .eml file in
|
||||
the attachment of a selected record. You can create documents for CRM Lead,
|
||||
HR Applicant and Project Issue from the selected emails.
|
||||
This installs the module plugin_thunderbird."""),
|
||||
'module_plugin_outlook': fields.boolean('Outlook plugin',
|
||||
help="""The Outlook plugin allows you to select an object that you would like to add
|
||||
to your email and its attachments from MS Outlook. You can select a partner, a task,
|
||||
a project, an analytical account, or any other object and archive a selected
|
||||
email into an OpenERP mail message with attachments.
|
||||
This installs the module plugin_outlook."""),
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -1,21 +1,6 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- Import or create customers configartion view -->
|
||||
<record id="action_import_create_installer" model="ir.actions.act_window">
|
||||
<field name="name">Create or Import Customers</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">res.partner</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="base.view_partner_tree"/>
|
||||
<field name="help">Create or Import Customers and their contacts manually from this form or you can import your existing partners by CSV spreadsheet from "Import Data" wizard</field>
|
||||
</record>
|
||||
<record id="config_wizard_action_import_create_installer" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_import_create_installer"/>
|
||||
<field name="category_id" ref="base.category_sales_management_config"/>
|
||||
</record>
|
||||
|
||||
<!-- Define default users preferences-->
|
||||
<record id="view_user_preferences_config_form" model="ir.ui.view">
|
||||
<field name="name">Set default users preferences</field>
|
||||
|
@ -117,7 +102,7 @@
|
|||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
<!--
|
||||
<!--
|
||||
<record id="config_action_partner_terminology_config_form" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_partner_terminology_config_form"/>
|
||||
<field name="category_id" ref="base.category_administration_config"/>
|
||||
|
@ -142,5 +127,41 @@
|
|||
<field name="sequence">1</field>
|
||||
</record>
|
||||
|
||||
<record id="base.view_sale_config_settings" model="ir.ui.view">
|
||||
<field name="name">sale settings</field>
|
||||
<field name="model">sale.config.settings</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Configure Sales">
|
||||
<group name="config_sale" colspan="4"/>
|
||||
|
||||
<!-- this part is necessary to allow the plugins to extend the view -->
|
||||
<field name="module_crm" invisible="1"/>
|
||||
<group name="config_fetchmail" colspan="4" attrs="{'invisible': [('module_crm','=',False)]}">
|
||||
<separator string="Emails"/>
|
||||
</group>
|
||||
<field name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
<newline/>
|
||||
<field name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}"/>
|
||||
|
||||
<group name="config_crm" colspan="4"/>
|
||||
|
||||
<newline/>
|
||||
<label colspan="2"/>
|
||||
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
|
||||
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="base.action_sale_config" model="ir.actions.act_window">
|
||||
<field name="name">Configure Sales</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">sale.config.settings</field>
|
||||
<field name="view_id" ref="base.view_sale_config_settings"/>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">inline</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
</record>
|
||||
|
||||
<!-- set the default homepage of admin -->
|
||||
<record id="base.user_admin" model="res.users">
|
||||
<record id="base.user_root" model="res.users">
|
||||
<field name="action_id" ref="board_homepage_action"/>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ msgstr ""
|
|||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-04-04 04:41+0000\n"
|
||||
"X-Generator: Launchpad (build 15055)\n"
|
||||
"X-Launchpad-Export-Date: 2012-04-05 04:43+0000\n"
|
||||
"X-Generator: Launchpad (build 15060)\n"
|
||||
|
||||
#. module: board
|
||||
#: view:res.log.report:0
|
||||
|
|
|
@ -28,6 +28,7 @@ import crm_phonecall
|
|||
import report
|
||||
import wizard
|
||||
import res_partner
|
||||
import res_config
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
|
|
@ -106,11 +106,12 @@ Creates a dashboard for CRM that includes:
|
|||
'report/crm_phonecall_report_view.xml',
|
||||
|
||||
'process/crm_configuration_process.xml',
|
||||
'crm_installer_view.xml',
|
||||
|
||||
'res_partner_view.xml',
|
||||
'board_crm_statistical_view.xml',
|
||||
'board_crm_view.xml',
|
||||
|
||||
'res_config_view.xml',
|
||||
|
||||
],
|
||||
'demo_xml': [
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<record model="ir.actions.act_window" id="crm_case_section_view_form_installer">
|
||||
<field name="name">Define Sales Team</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">crm.case.section</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="crm.crm_case_section_view_tree"/>
|
||||
<field name="help">Define sales teams to structure your sales organization and assign users to each team. You should also define the sales stage to each team. As an example, if you use Solutions Selling techniques to track your opportunities, you can assign the following stage to the team: Territory, Qualified, Qualified Sponsors, Proposition, Negociaton, Won/Lost.</field>
|
||||
</record>
|
||||
|
||||
<record id="crm_case_section_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="crm_case_section_view_form_installer"/>
|
||||
<field name="category_id" ref="base.category_sales_management_config"/>
|
||||
<field name="sequence">10</field>
|
||||
<field name="groups_id" eval="[(6, 0, [ref('base.group_extended')])]" />
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="crm_case_stage_form_installer">
|
||||
<field name="name">Review Sales Stages</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">crm.case.stage</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'default_case_default': 1}</field>
|
||||
<field name="view_id" ref="crm.crm_case_stage_tree"/>
|
||||
<field name="help">Stages will allow salesmen to easily track how a specific opportunity is positioned in the sales cycle. In order to efficiently manage your sales pipeline, it's important to define conditions to go to the next step. Example: to set an opportunity as 'Qualified', you must set the "Expected Revenue" and the "Expected Closing Date." You should also have a look at the tooltip of the field "Change Probability Automatically".</field>
|
||||
</record>
|
||||
|
||||
<record id="crm_case_stage_installer_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="crm_case_stage_form_installer"/>
|
||||
<field name="category_id" ref="base.category_sales_management_config"/>
|
||||
<field name="sequence">9</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -0,0 +1,64 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Business Applications
|
||||
# Copyright (C) 2004-2012 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 fields, osv
|
||||
|
||||
class crm_configuration(osv.osv_memory):
|
||||
_name = 'sale.config.settings'
|
||||
_inherit = ['sale.config.settings', 'fetchmail.config.settings']
|
||||
|
||||
_columns = {
|
||||
'module_crm_caldav': fields.boolean("Caldav Synchronization",
|
||||
help="""Use protocol caldav to synchronize meetings with other calendar applications (like Sunbird).
|
||||
This installs the module crm_caldav."""),
|
||||
'fetchmail_lead': fields.boolean("Create leads from an email account",
|
||||
fetchmail_model='crm.lead', fetchmail_name='Incoming leads',
|
||||
help="""Allows you to configure your incoming mail server, and create leads from incoming emails."""),
|
||||
'lead_server': fields.char('Server', size=256),
|
||||
'lead_port': fields.integer('Port'),
|
||||
'lead_type': fields.selection([
|
||||
('pop', 'POP Server'),
|
||||
('imap', 'IMAP Server'),
|
||||
('local', 'Local Server'),
|
||||
], 'Type'),
|
||||
'lead_is_ssl': fields.boolean('SSL/TLS',
|
||||
help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP=995)"),
|
||||
'lead_user': fields.char('Username', size=256),
|
||||
'lead_password': fields.char('Password', size=1024),
|
||||
'module_import_sugarcrm': fields.boolean("SugarCRM Import",
|
||||
help="""Import SugarCRM leads, opportunities, users, accounts, contacts, employees, meetings, phonecalls, emails, project and project tasks data.
|
||||
This installs the module import_sugarcrm."""),
|
||||
'module_import_google': fields.boolean("Google Import",
|
||||
help="""Import google contact in partner address and add google calendar events details in Meeting.
|
||||
This installs the module import_google."""),
|
||||
'module_wiki_sale_faq': fields.boolean("Install a sales FAQ",
|
||||
help="""This provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki Sale FAQ.
|
||||
This installs the module wiki_sale_faq."""),
|
||||
'module_google_map': fields.boolean("Google maps on customer",
|
||||
help="""Locate customers on Google Map.
|
||||
This installs the module google_map."""),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'lead_type': 'pop',
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="view_sale_config_settings" model="ir.ui.view">
|
||||
<field name="name">crm settings</field>
|
||||
<field name="model">sale.config.settings</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.view_sale_config_settings"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="config_fetchmail" position="after">
|
||||
<field name="fetchmail_lead"/>
|
||||
<group colspan="2" attrs="{'invisible': [('fetchmail_lead','=',False)]}">
|
||||
<field name="lead_server" attrs="{'required': [('fetchmail_lead','=',True)]}"/>
|
||||
<field name="lead_type" on_change="onchange_fetchmail('lead', lead_type, lead_is_ssl)" attrs="{'required': [('fetchmail_lead','=',True)]}"/>
|
||||
<field name="lead_port" attrs="{'required': [('fetchmail_lead','=',True)]}"/>
|
||||
<field name="lead_is_ssl" on_change="onchange_fetchmail('lead', lead_type, lead_is_ssl)"/>
|
||||
<field name="lead_user" attrs="{'required': [('fetchmail_lead','=',True)]}"/>
|
||||
<field name="lead_password" password="True" attrs="{'required': [('fetchmail_lead','=',True)]}"/>
|
||||
</group>
|
||||
<newline/>
|
||||
</group>
|
||||
|
||||
<group name="config_crm" position="after">
|
||||
<separator string="Import and Synchronize data from an other application" colspan="4"/>
|
||||
<field name="module_import_sugarcrm"/>
|
||||
<field name="module_crm_caldav"/>
|
||||
<field name="module_import_google"/>
|
||||
|
||||
<separator string="Documents and Wiki" colspan="4"/>
|
||||
<field name="module_wiki_sale_faq" />
|
||||
|
||||
<separator string="Customer Form" colspan="4"/>
|
||||
<field name="module_google_map"/>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config" sequence="1" action="base.action_sale_config"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
|
@ -17,9 +17,10 @@
|
|||
<field name="name">Manager</field>
|
||||
<field name="category_id" ref="base.module_category_sales_management"/>
|
||||
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
<record model="res.users" id="base.user_admin">
|
||||
<record model="res.users" id="base.user_root">
|
||||
<field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
import crm_claim
|
||||
import report
|
||||
import res_config
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ automatically new claims based on incoming emails.
|
|||
'crm_claim_menu.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'report/crm_claim_report_view.xml',
|
||||
'res_config_view.xml',
|
||||
],
|
||||
'demo_xml': [
|
||||
'crm_claim_demo.xml',
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Business Applications
|
||||
# Copyright (C) 2004-2012 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, fields
|
||||
|
||||
class crm_claim_settings(osv.osv_memory):
|
||||
_name = 'sale.config.settings'
|
||||
_inherit = ['sale.config.settings', 'fetchmail.config.settings']
|
||||
|
||||
_columns = {
|
||||
'fetchmail_claim': fields.boolean("Create claims from an email account",
|
||||
fetchmail_model='crm.claim', fetchmail_name='Incoming claims',
|
||||
help="""Allows you to configure your incoming mail server, and create claims from incoming emails."""),
|
||||
'claim_server' : fields.char('Server', size=256),
|
||||
'claim_port' : fields.integer('Port'),
|
||||
'claim_type': fields.selection([
|
||||
('pop', 'POP Server'),
|
||||
('imap', 'IMAP Server'),
|
||||
('local', 'Local Server'),
|
||||
], 'Type'),
|
||||
'claim_is_ssl': fields.boolean('SSL/TLS', help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP=995)"),
|
||||
'claim_user' : fields.char('Username', size=256),
|
||||
'claim_password' : fields.char('Password', size=1024),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'claim_type': 'pop',
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="view_project_config_claim" model="ir.ui.view">
|
||||
<field name="name">crm_claim settings</field>
|
||||
<field name="model">sale.config.settings</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="base.view_sale_config_settings"/>
|
||||
<field name="priority" eval="12"/> <!-- to put fetchmail_lead before fetchmail_claim -->
|
||||
<field name="arch" type="xml">
|
||||
<group name="config_fetchmail" position="after">
|
||||
<field name="fetchmail_claim"/>
|
||||
<group colspan="2" attrs="{'invisible': [('fetchmail_claim','=',False)]}">
|
||||
<field name="claim_server" attrs="{'required': [('fetchmail_claim','=',True)]}"/>
|
||||
<field name="claim_type" on_change="onchange_fetchmail('claim', claim_type, claim_is_ssl)" attrs="{'required': [('fetchmail_claim','=',True)]}"/>
|
||||
<field name="claim_port" attrs="{'required': [('fetchmail_claim','=',True)]}"/>
|
||||
<field name="claim_is_ssl" on_change="onchange_fetchmail('claim', claim_type, claim_is_ssl)"/>
|
||||
<field name="claim_user" attrs="{'required': [('fetchmail_claim','=',True)]}"/>
|
||||
<field name="claim_password" password="True" attrs="{'required': [('fetchmail_claim','=',True)]}"/>
|
||||
</group>
|
||||
<newline/>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
|
@ -250,23 +250,4 @@ class delivery_grid_line(osv.osv):
|
|||
|
||||
delivery_grid_line()
|
||||
|
||||
class define_delivery_steps(osv.osv_memory):
|
||||
_name = 'delivery.define.delivery.steps.wizard'
|
||||
|
||||
_columns = {
|
||||
'picking_policy' : fields.selection([('direct', 'Deliver each product when available'), ('one', 'Deliver all products at once')], 'Picking Policy'),
|
||||
}
|
||||
_defaults = {
|
||||
'picking_policy': lambda s,c,u,ctx: s.pool.get('sale.order').default_get(c,u,['picking_policy'],context=ctx)['picking_policy']
|
||||
}
|
||||
|
||||
def apply_cb(self, cr, uid, ids, context=None):
|
||||
ir_values_obj = self.pool.get('ir.values')
|
||||
wizard = self.browse(cr, uid, ids, context=context)[0]
|
||||
ir_values_obj.set(cr, uid, 'default', False, 'picking_policy', ['sale.order'], wizard.picking_policy)
|
||||
return {'type' : 'ir.actions.act_window_close'}
|
||||
|
||||
define_delivery_steps()
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -72,15 +72,6 @@
|
|||
<field name="help">Define the delivery methods you are using and their pricing in order to reinvoice the delivery costs when you are doing invoicing based on delivery orders</field>
|
||||
</record>
|
||||
|
||||
<record id="action_delivery_carrier_form1" model="ir.actions.act_window">
|
||||
<field name="name">Define Delivery Methods</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">delivery.carrier</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help">Define your delivery methods and their pricing. The delivery costs can be added on the sale order form or in the invoice, based on the delivery orders.</field>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_delivery_carrier_form" id="menu_action_delivery_carrier_form" parent="stock.menu_stock_configuration" sequence="15"/>
|
||||
|
||||
<!-- Delivery Grids -->
|
||||
|
@ -331,41 +322,5 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<record id="delivery_method_form_view_todo" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_delivery_carrier_form1"/>
|
||||
<field name="category_id" ref="stock.category_stock_management_config" />
|
||||
<field name="sequence">10</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="define_delivery_steps_form">
|
||||
<field name="name">delivery.define_delivery_steps</field>
|
||||
<field name="model">delivery.define.delivery.steps.wizard</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Setup Your Picking Policy">
|
||||
<separator string="Choose Your Default Picking Policy" colspan="4"/>
|
||||
<field name="picking_policy" />
|
||||
<separator string="" colspan="4"/>
|
||||
<group colspan="4">
|
||||
<button string="Cancel" icon="gtk-cancel" special="cancel" />
|
||||
<button string="Apply" icon="gtk-apply" name="apply_cb" type="object" />
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_define_delivery_steps">
|
||||
<field name="name">Setup Your Picking Policy</field>
|
||||
<field name="res_model">delivery.define.delivery.steps.wizard</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.todo" id="todo_define_delivery_steps">
|
||||
<field name="action_id" ref="action_define_delivery_steps" />
|
||||
<field name="category_id" ref="base.category_sales_management_config"/>
|
||||
<field name="type">once</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -67,9 +67,9 @@
|
|||
-
|
||||
I set default delivery policy.
|
||||
-
|
||||
!record {model: delivery.define.delivery.steps.wizard, id: default_delivery_policy}:
|
||||
!record {model: sale.config.settings, id: default_delivery_policy}:
|
||||
{}
|
||||
-
|
||||
!python {model: delivery.define.delivery.steps.wizard}: |
|
||||
self.apply_cb(cr, uid, [ref('default_delivery_policy')], context=context)
|
||||
!python {model: sale.config.settings}: |
|
||||
self.execute(cr, uid, [ref('default_delivery_policy')], context=context)
|
||||
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
<data>
|
||||
<record model="res.groups" id="group_compta_user">
|
||||
<field name="name">grcompta</field>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<record model="res.groups" id="group_compta_admin">
|
||||
<field name="name">grcomptaadmin</field>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<menuitem name="Administration" groups="admin,grcomptaadmin" icon="terp-stock" id="menu_admin_compta"/>
|
||||
</data>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<record id="base.group_document_user" model="res.groups">
|
||||
<field name="name">User</field>
|
||||
<field name="category_id" ref="base.module_category_knowledge_management"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
<!-- <record id="group_document_manager" model="res.groups">-->
|
||||
|
|
|
@ -17,10 +17,7 @@
|
|||
<field name="name">Manager</field>
|
||||
<field name="category_id" ref="module_category_event_management"/>
|
||||
<field name="implied_ids" eval="[(4, ref('group_event_user'))]"/>
|
||||
</record>
|
||||
|
||||
<record model="res.users" id="base.user_admin">
|
||||
<field eval="[(4,ref('group_event_manager'))]" name="groups_id"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
<!-- Multi - Company Rules -->
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
|
||||
# mga@tinyerp.com
|
||||
#
|
||||
|
@ -21,5 +21,6 @@
|
|||
##############################################################################
|
||||
|
||||
import fetchmail
|
||||
import res_config
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Business Applications
|
||||
# Copyright (C) 2004-2012 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 fields, osv
|
||||
|
||||
class fetchmail_config_settings(osv.osv_memory):
|
||||
""" This wizard can be inherited in conjunction with 'res.config.settings', in order to
|
||||
define fields that configure a fetchmail server.
|
||||
|
||||
It relies on the following convention on a set of fields::
|
||||
|
||||
class my_config_wizard(osv.osv_memory):
|
||||
_name = 'my.settings'
|
||||
_inherits = ['res.config.settings', 'fetchmail.config.settings']
|
||||
|
||||
_columns = {
|
||||
'fetchmail_X': fields.boolean(..., fetchmail_model='my.model', fetchmail_name='Blah'),
|
||||
'X_server': fields.char('Server Name', size=256),
|
||||
'X_port': fields.integer('Port'),
|
||||
'X_type': fields.selection(
|
||||
[('pop', 'POP Server'), ('imap', 'IMAP Server'), ('local', 'Local Server')],
|
||||
'Server Type'),
|
||||
'X_is_ssl': fields.boolean('SSL/TLS'),
|
||||
'X_user': fields.char('Username', size=256),
|
||||
'X_password': fields.char('Password', size=1024),
|
||||
}
|
||||
|
||||
The method ``get_default_fetchmail_servers`` retrieves the current fetchmail configuration
|
||||
for all fields that start with 'fetchmail_'. It looks up configurations that match the
|
||||
given model name (``fetchmail_model``). The method ``set_fetchmail_servers`` updates the
|
||||
fetchmail configurations by following the same conventions. Both methods are called
|
||||
automatically by the methods of the model 'res.config.settings'.
|
||||
|
||||
The onchange method ``onchange_fetchmail`` can be used to react on changes on the fields
|
||||
'X_type' and 'X_is_ssl'. Its first parameter is the fields' prefix (here 'X').
|
||||
"""
|
||||
_name = 'fetchmail.config.settings'
|
||||
|
||||
def get_default_fetchmail_servers(self, cr, uid, fields, context=None):
|
||||
ir_model = self.pool.get('ir.model')
|
||||
fetchmail_server = self.pool.get('fetchmail.server')
|
||||
fetchmail_fields = [f for f in self._columns if f.startswith('fetchmail_')]
|
||||
res = {}
|
||||
for field in fetchmail_fields:
|
||||
model_name = self._columns[field].fetchmail_model
|
||||
model_id = ir_model.search(cr, uid, [('model', '=', model_name)])[0]
|
||||
server_ids = fetchmail_server.search(cr, uid, [('object_id', '=', model_id), ('state', '=', 'done')])
|
||||
if server_ids:
|
||||
server = fetchmail_server.browse(cr, uid, server_ids[0], context)
|
||||
prefix = field[10:]
|
||||
res.update({
|
||||
field: True,
|
||||
prefix + '_server': server.server,
|
||||
prefix + '_port': server.port,
|
||||
prefix + '_type': server.type,
|
||||
prefix + '_is_ssl': server.is_ssl,
|
||||
prefix + '_user': server.user,
|
||||
prefix + '_password': server.password,
|
||||
})
|
||||
return res
|
||||
|
||||
def set_fetchmail_servers(self, cr, uid, ids, context):
|
||||
ir_model = self.pool.get('ir.model')
|
||||
fetchmail_server = self.pool.get('fetchmail.server')
|
||||
fetchmail_fields = [f for f in self._columns if f.startswith('fetchmail_')]
|
||||
config = self.browse(cr, uid, ids[0], context)
|
||||
for field in fetchmail_fields:
|
||||
model_name = self._columns[field].fetchmail_model
|
||||
model_id = ir_model.search(cr, uid, [('model', '=', model_name)])[0]
|
||||
server_ids = fetchmail_server.search(cr, uid, [('object_id', '=', model_id), ('state', '=', 'done')])
|
||||
if config[field]:
|
||||
prefix = field[10:]
|
||||
values = {
|
||||
'server': config[prefix + '_server'],
|
||||
'port': config[prefix + '_port'],
|
||||
'type': config[prefix + '_type'],
|
||||
'is_ssl': config[prefix + '_is_ssl'],
|
||||
'user': config[prefix + '_user'],
|
||||
'password': config[prefix + '_password'],
|
||||
}
|
||||
if not server_ids:
|
||||
values.update({
|
||||
'name': getattr(self._columns[field], 'fetchmail_name', model_name),
|
||||
'object_id': model_id,
|
||||
})
|
||||
server_ids = [fetchmail_server.create(cr, uid, values, context=context)]
|
||||
else:
|
||||
server_ids = fetchmail_server.search(cr, uid, [('object_id', '=', model_id)], context=context)
|
||||
fetchmail_server.write(cr, uid, server_ids, values, context=context)
|
||||
fetchmail_server.button_confirm_login(cr, uid, server_ids, context)
|
||||
else:
|
||||
fetchmail_server.set_draft(cr, uid, server_ids, context)
|
||||
|
||||
def onchange_fetchmail(self, cr, uid, ids, prefix, server_type, ssl, context=None):
|
||||
values = {}
|
||||
if server_type == 'pop':
|
||||
values[prefix + '_port'] = ssl and 995 or 110
|
||||
elif server_type == 'imap':
|
||||
values[prefix + '_port'] = ssl and 993 or 143
|
||||
else:
|
||||
values[prefix + '_server'] = False
|
||||
values[prefix + '_port'] = 0
|
||||
return {'value': values}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,22 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,41 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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" : "eMail Gateway for Leads",
|
||||
"version" : "1.0",
|
||||
"depends" : ["fetchmail", "crm"],
|
||||
"author" : "OpenERP SA",
|
||||
"category": 'Hidden',
|
||||
"description": """
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
"installer.xml",
|
||||
],
|
||||
'demo_xml': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,36 +0,0 @@
|
|||
# German 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-02-09 15:11+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-10 04:50+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "Erzeuge Kontakte vom Email Konto"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"Sie können Ihre E-Mails mit Verkaufs-Kontakten in OpenERP verbinden. Ein "
|
||||
"Email das an dieses Konto gesendet wird, erzeugt dann automatische einen "
|
||||
"Verkaufskontakt in OpenERP. Die gesamte Kommunikation mit dem Verkäufer wird "
|
||||
"dann diesem Verkaufskontakt zugeordnet."
|
|
@ -1,36 +0,0 @@
|
|||
# Spanish 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-02-10 08:32+0000\n"
|
||||
"Last-Translator: Carlos @ smile-iberia <Unknown>\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-11 05:09+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"No puede conectar su cuenta de email con iniciativas en OpenERP. Un nuevo "
|
||||
"email enviado a esta cuenta (por ejemplo: info@miempresa.com) creará "
|
||||
"automáticamente una iniciativa en OpenERP. Toda la comunicación con el "
|
||||
"comercial será adjuntada a la iniciativa automáticamente."
|
|
@ -1,36 +0,0 @@
|
|||
# Spanish (Costa Rica) 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-02-15 21:55+0000\n"
|
||||
"Last-Translator: Freddy Gonzalez <freddy.gonzalez@clearcorp.co.cr>\n"
|
||||
"Language-Team: Spanish (Costa Rica) <es_CR@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-16 05:07+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "Crear clientes potenciales de cuentas de correo electrónico"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"No puede conectar su cuenta de email con iniciativas en OpenERP. Un nuevo "
|
||||
"email enviado a esta cuenta (por ejemplo: info@miempresa.com) creará "
|
||||
"automáticamente una iniciativa en OpenERP. Toda la comunicación con el "
|
||||
"comercial será adjuntada a la iniciativa automáticamente."
|
|
@ -1,27 +0,0 @@
|
|||
# Translation of OpenERP Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * fetchmail_crm
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 6.1rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-08 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-02-08 00:36+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "You can connect your email account with leads in OpenERP. A new email sent to this account (example: info@mycompany.com) will automatically create a lead in OpenERP. The whole communication with the salesman will be attached to the lead automatically."
|
||||
msgstr ""
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# French 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-02-10 10:36+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-11 05:09+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
|
@ -1,34 +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 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-04-01 05:43+0000\n"
|
||||
"Last-Translator: Masaki Yamaya <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-02 04:37+0000\n"
|
||||
"X-Generator: Launchpad (build 15032)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "Eメールアカウントからリードを作成"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"あなたのEメールアカウントをリードに結び付けることができます。このアカウントへ送られて来たメールは自動的にリードを作成します。セールス担当者との全ての交信"
|
||||
"は自動的にリードに添付されます。"
|
|
@ -1,36 +0,0 @@
|
|||
# Dutch 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-02-09 12:03+0000\n"
|
||||
"Last-Translator: Erwin <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-10 04:50+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "Maakt leads van een E-mail"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"Het is mogelijk om uw e-mail adres te koppelen aan leads in OpenERP. Van een "
|
||||
"nieuwe e-mail, welke naar dit adres (bijvoorbeeld: info@mijnbedrijf.com) "
|
||||
"wordt gestuurd, wordt automatisch een lead gemaakt in OPenERP. De gehele "
|
||||
"communicatie met de verkoper wordt automatisch gekoppeld aan de lead."
|
|
@ -1,36 +0,0 @@
|
|||
# Serbian Latin 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-03-19 11:45+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-03-20 04:56+0000\n"
|
||||
"X-Generator: Launchpad (build 14969)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "Napravi ovlašćenja preko email naloga"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"Možete povezati svoj email nalog sa ovlašćenjima u OpenERP-u. Novi email će "
|
||||
"biti poslat na taj nalog (npr: info@mycompany.com) i on će automatski "
|
||||
"napraviti ovlašćenje u OpenERP-u. Celokupna komunikacija sa prodavcem biće "
|
||||
"povezana s vodećom strankom automatski"
|
|
@ -1,36 +0,0 @@
|
|||
# Turkish 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-02-09 23:08+0000\n"
|
||||
"Last-Translator: Ahmet Altınışık <Unknown>\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-11 05:09+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "E-posta hesabından fırsatlar oluştur"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"E-posta hesabınız ile OpenERP fırsatlarını birbirine bağlayabilirsiniz. Bu "
|
||||
"hesaba gönderilen yeni bir e-posta (mesela: satis@mycompany.com) için "
|
||||
"otomatik olarak bir fırsat oluşturulacak ve satış temsilcisiyle yapılan "
|
||||
"bütün mesaj trafiği fırsata otomatik olarak eklenecek."
|
|
@ -1,34 +0,0 @@
|
|||
# Chinese (Simplified) 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-02-16 04:42+0000\n"
|
||||
"Last-Translator: wangsy <adminlii@hotmail.com>\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-17 05:01+0000\n"
|
||||
"X-Generator: Launchpad (build 14814)\n"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid "Create Leads from Email Account"
|
||||
msgstr "从邮件获取商机"
|
||||
|
||||
#. module: fetchmail_crm
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm.action_create_crm_leads_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with leads in OpenERP. A new email sent "
|
||||
"to this account (example: info@mycompany.com) will automatically create a "
|
||||
"lead in OpenERP. The whole communication with the salesman will be attached "
|
||||
"to the lead automatically."
|
||||
msgstr ""
|
||||
"你可以在OpenERP中连接包含商机的电子邮件账户,一封发往该账号的邮件(例如:info@mycompany.com)会自动创建一条商机。所有与该销售员的"
|
||||
"沟通会自动附加到此商机中。"
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="ir.actions.act_window" id="action_create_crm_leads_from_email_account">
|
||||
<field name="name">Create Leads from Email Account</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">fetchmail.server</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context" eval="{'default_name': 'Incoming Leads', 'default_object_id': ref('crm.model_crm_lead')}"/>
|
||||
<field name="help">You can connect your email account with leads in OpenERP. A new email sent to this account (example: info@mycompany.com) will automatically create a lead in OpenERP. The whole communication with the salesman will be attached to the lead automatically.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.todo" id="config_wizard_action_create_crm_leads_from_email_account">
|
||||
<field name="action_id" ref="action_create_crm_leads_from_email_account" />
|
||||
<field name="category_id" ref="base.category_sales_management_config" />
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -1,22 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,41 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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" : "eMail Gateway for CRM Claim",
|
||||
"version" : "1.0",
|
||||
"depends" : ["fetchmail", "crm_claim"],
|
||||
"author" : "OpenERP SA",
|
||||
'category': 'Hidden',
|
||||
"description": """
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
"installer.xml",
|
||||
],
|
||||
'demo_xml': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,36 +0,0 @@
|
|||
# German 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-02-09 15:10+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-10 04:50+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"Sie können Ihre E-Mails mit Reklamationen in OpenERP verbinden. Ein Email "
|
||||
"das an dieses Konto gesendet wird, erzeugt dann automatische eine "
|
||||
"Reklamation in OpenERP. Die gesamte Kommunikation wird dann dieser "
|
||||
"Reklamation zugeordnet."
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Erzeuge Reklamationen von diesem Mail Konto"
|
|
@ -1,32 +0,0 @@
|
|||
# Spanish 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-02-10 08:35+0000\n"
|
||||
"Last-Translator: Carlos @ smile-iberia <Unknown>\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-11 05:09+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Crear reclamaciones a partir de cuentas de email"
|
|
@ -1,37 +0,0 @@
|
|||
# Spanish (Costa Rica) 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-02-15 21:58+0000\n"
|
||||
"Last-Translator: Freddy Gonzalez <freddy.gonzalez@clearcorp.co.cr>\n"
|
||||
"Language-Team: Spanish (Costa Rica) <es_CR@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-16 05:07+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"Puedes conectar tu cuenta de correo electrónico con derechos en OpenERP. Un "
|
||||
"nuevo correo enviado a esta cuenta (por ejemplo: support@mycompany.com) "
|
||||
"creará automáticamente un reclamo para el seguimiento en OpenERP. Toda la "
|
||||
"comunicación por correo electrónico se adjuntará a la solicitud de forma "
|
||||
"automática para realizar un seguimiento de la historia."
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Crear reclamaciones a partir de cuentas de email"
|
|
@ -1,27 +0,0 @@
|
|||
# Translation of OpenERP Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * fetchmail_crm_claim
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 6.1rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-08 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-02-08 00:36+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "You can connect your email account with claims in OpenERP. A new email sent to this account (example: support@mycompany.com) will automatically create a claim for the followup in OpenERP. The whole communication by email will be attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr ""
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# French 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-02-15 19:09+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-16 05:07+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr ""
|
|
@ -1,32 +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 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-04-01 06:29+0000\n"
|
||||
"Last-Translator: Masaki Yamaya <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-02 04:37+0000\n"
|
||||
"X-Generator: Launchpad (build 15032)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Eメールアカウントからクレームを作成"
|
|
@ -1,37 +0,0 @@
|
|||
# Dutch 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-02-12 15:20+0000\n"
|
||||
"Last-Translator: Erwin <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-13 04:50+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"Het is mogelijk uw e-mail account te koppelen aan claims in OpenERP. Een "
|
||||
"nieuwe e-mail, welke wordt verzonden naar dit account (bijvoorbeeld: "
|
||||
"support@mijnbedrijf.com), zal automatisch een claim aanmaken welke kan "
|
||||
"worden opgevolgd in OpenERP. De gehele communicatie van de e-mail wordt "
|
||||
"automatisch gekoppeld aan de claim, zodat de historie getraceerd kan worden."
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Maak claims van e-mail account"
|
|
@ -1,36 +0,0 @@
|
|||
# Serbian Latin 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-03-19 11:51+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-03-20 04:56+0000\n"
|
||||
"X-Generator: Launchpad (build 14969)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"Možete povezati svoj nalog sa potraživanjima u OpenERP-u. Novi email biće "
|
||||
"poslat na taj nalog (npr:support@mycompany.com), i on će automatski "
|
||||
"napraviti potraživanje. Celokupna komunikacija biće povezana s potraživanjem "
|
||||
"automatski da bi se sačuvao pregled istorije komunikacije."
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "Napravi potraživanje preko email naloga"
|
|
@ -1,35 +0,0 @@
|
|||
# Turkish 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-02-09 23:11+0000\n"
|
||||
"Last-Translator: Ahmet Altınışık <Unknown>\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-11 05:09+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"E-posta hesabınızla OpenERP şikayetlerini bağlayabilirsiniz. Bu e-posta "
|
||||
"hesabına (örnek: sikayet@sirketim.com) gönderilen her e-posta için bir "
|
||||
"şikayet otomatik olarak oluşturulacak."
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "E-posta hesabından sikayet oluştur"
|
|
@ -1,34 +0,0 @@
|
|||
# Chinese (Simplified) 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-02-16 04:39+0000\n"
|
||||
"Last-Translator: wangsy <adminlii@hotmail.com>\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-17 05:01+0000\n"
|
||||
"X-Generator: Launchpad (build 14814)\n"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,help:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with claims in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create a "
|
||||
"claim for the followup in OpenERP. The whole communication by email will be "
|
||||
"attached to the claim automatically to keep track of the history."
|
||||
msgstr ""
|
||||
"你可以在OpenERP中连接包含支持服务的电子邮件账户,一封发往该账号的邮件(例如:support@mycompany.com)会自动创建一条跟踪服务的记"
|
||||
"录。所有电子邮件沟通将自动附加在该支持服务记录上以保留所有跟踪的过程。"
|
||||
|
||||
#. module: fetchmail_crm_claim
|
||||
#: model:ir.actions.act_window,name:fetchmail_crm_claim.action_create_crm_claims_from_email_account
|
||||
msgid "Create Claims from Email Account"
|
||||
msgstr "从电子邮件创建支持服务"
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="ir.actions.act_window" id="action_create_crm_claims_from_email_account">
|
||||
<field name="name">Create Claims from Email Account</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">fetchmail.server</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context" eval="{'default_name': 'Claims', 'default_object_id' : ref('crm_claim.model_crm_claim')}"/>
|
||||
<field name="help">You can connect your email account with claims in OpenERP. A new email sent to this account (example: support@mycompany.com) will automatically create a claim for the followup in OpenERP. The whole communication by email will be attached to the claim automatically to keep track of the history.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.todo" id="config_wizard_action_create_crm_claims_from_email_account">
|
||||
<field name="action_id" ref="action_create_crm_claims_from_email_account" />
|
||||
<field name="category_id" ref="base.category_sales_management_config" />
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -1,22 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,41 +0,0 @@
|
|||
#-*- coding:utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
|
||||
#
|
||||
# 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" : "eMail Gateway for Project Issues",
|
||||
"version" : "1.0",
|
||||
"depends" : ["fetchmail", "project_issue"],
|
||||
"author" : "OpenERP SA",
|
||||
"category": "Hidden",
|
||||
"description": """
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'init_xml': [],
|
||||
'update_xml': [
|
||||
"installer.xml",
|
||||
],
|
||||
'demo_xml': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,35 +0,0 @@
|
|||
# German 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-02-09 15:15+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-10 04:50+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "Erzeuge Fälle von Email Konto"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"Sie können Fälle von diesem Konto mit OpenERP verbinden. Ein Email das an "
|
||||
"dieses Konto gesendet wird, erzeugt dann automatische einen Fall in "
|
||||
"OpenERP. Die gesamte Kommunikation wird dann diese Fall zugeordnet."
|
|
@ -1,36 +0,0 @@
|
|||
# Spanish (Costa Rica) 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-02-15 22:03+0000\n"
|
||||
"Last-Translator: Freddy Gonzalez <freddy.gonzalez@clearcorp.co.cr>\n"
|
||||
"Language-Team: Spanish (Costa Rica) <es_CR@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-16 05:07+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "Crear problemas de la cuenta de correo electrónico"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"Puedes conectar tu cuenta de correo electrónico con asuntos en OpenERP. Un "
|
||||
"nuevo correo enviado a esta cuenta (por ejemplo: support@mycompany.com) "
|
||||
"creará automáticamente un problema. Toda la comunicación se concede a la "
|
||||
"cuestión de forma automática."
|
|
@ -1,27 +0,0 @@
|
|||
# Translation of OpenERP Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * fetchmail_project_issue
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 6.1rc1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-08 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-02-08 00:36+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "You can connect your email account with issues in OpenERP. A new email sent to this account (example: support@mycompany.com) will automatically create an issue. The whole communication will be attached to the issue automatically."
|
||||
msgstr ""
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# French 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-02-24 22: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-25 05:13+0000\n"
|
||||
"X-Generator: Launchpad (build 14860)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
|
@ -1,34 +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 00:36+0000\n"
|
||||
"PO-Revision-Date: 2012-04-01 05:57+0000\n"
|
||||
"Last-Translator: Masaki Yamaya <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-02 04:37+0000\n"
|
||||
"X-Generator: Launchpad (build 15032)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "Eメールアカウントから課題を作成"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"あなたのEメールアカウントを課題に結び付けることができます。このアカウントへ送られて来る新しいEメールは自動的に課題を作成します。全てのコミュニケーション"
|
||||
"は自動的にこの課題に帰属されます。"
|
|
@ -1,36 +0,0 @@
|
|||
# Dutch 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-02-13 14:21+0000\n"
|
||||
"Last-Translator: Erwin <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-14 05:46+0000\n"
|
||||
"X-Generator: Launchpad (build 14781)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "Maak vraagstukken van een e-mail"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"Het is mogelijk het vraagstukken e-mail account (bijvoorbeeld: "
|
||||
"vragen@mijnbedrijf.nl) te synchroniseren met OpenERP zo dat nieuwe "
|
||||
"vraagstukken automatisch worden aangemaakt in OpenERP. De gehele "
|
||||
"communicatie wordt als bijlage toegevoegd aan het vraagstuk."
|
|
@ -1,35 +0,0 @@
|
|||
# Serbian Latin 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-03-19 11:50+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-03-20 04:56+0000\n"
|
||||
"X-Generator: Launchpad (build 14969)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "Napravi izdanja preko email naloga"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"Možete povezati svoj nalog sa izdanjima u OpenERP-u. Novi email biće poslat "
|
||||
"na taj nalog (npr:support@mycompany.com), i on će automatski napraviti "
|
||||
"izdanje. Celokupna komunikacija biće povezana s izdanjem automatski."
|
|
@ -1,34 +0,0 @@
|
|||
# Chinese (Simplified) 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-02-16 04:36+0000\n"
|
||||
"Last-Translator: Jeff Wang <wjfonhand@hotmail.com>\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-17 05:01+0000\n"
|
||||
"X-Generator: Launchpad (build 14814)\n"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,name:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid "Create Issues from Email Account"
|
||||
msgstr "从邮件账号创建问题"
|
||||
|
||||
#. module: fetchmail_project_issue
|
||||
#: model:ir.actions.act_window,help:fetchmail_project_issue.action_link_issue_to_email_account
|
||||
msgid ""
|
||||
"You can connect your email account with issues in OpenERP. A new email sent "
|
||||
"to this account (example: support@mycompany.com) will automatically create "
|
||||
"an issue. The whole communication will be attached to the issue "
|
||||
"automatically."
|
||||
msgstr ""
|
||||
"你可以把你的邮件帐号与OpenERP中的问题关联。发送到这个帐号(例如:support@mycompany.com)的新邮件会自动创建一个问题。整个沟通过"
|
||||
"程会自动附加在这个问题上。"
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="ir.actions.act_window" id="action_link_issue_to_email_account">
|
||||
<field name="name">Create Issues from Email Account</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">fetchmail.server</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context" eval="{'default_name': 'Issues', 'default_object_id': ref('project_issue.model_project_issue')}"/>
|
||||
<field name="help">You can connect your email account with issues in OpenERP. A new email sent to this account (example: support@mycompany.com) will automatically create an issue. The whole communication will be attached to the issue automatically.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.todo" id="config_wizard_action_link_issue_to_email_account">
|
||||
<field name="action_id" ref="action_link_issue_to_email_account" />
|
||||
<field name="category_id" ref="project.category_project_config" />
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -11,6 +11,7 @@
|
|||
<field name="name">HR Manager</field>
|
||||
<field name="category_id" ref="base.module_category_human_resources"/>
|
||||
<field name="implied_ids" eval="[(4, ref('base.group_hr_user'))]"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<record id="hr_dept_comp_rule" model="ir.rule">
|
||||
<field name="name">Department multi company rule</field>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<group colspan="2" col="2" name="invoice_data">
|
||||
<separator colspan="2" string="Invoicing Data"/>
|
||||
<field name="to_invoice" widget="selection"/>
|
||||
<field name="pricelist_id" domain="[('type','=','sale')]" attrs="{'required':[('to_invoice','!=',False)]}"/>
|
||||
<field name="pricelist_id" groups="product.group_sale_pricelist" domain="[('type','=','sale')]" attrs="{'required':[('to_invoice','!=',False)]}"/>
|
||||
<field name="amount_max"/>
|
||||
</group>
|
||||
<group colspan="2" col="2" name="invoice_stats">
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<field name="name">Manager</field>
|
||||
<field name="category_id" ref="base.module_category_tools"/>
|
||||
<field name="implied_ids" eval="[(4, ref('base.group_tool_user'))]"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<record id="base.group_document_user" model="res.groups">
|
||||
<field name="name">User</field>
|
||||
<field name="category_id" ref="base.module_category_knowledge_management"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
After Width: | Height: | Size: 550 B |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1007 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 568 B |
After Width: | Height: | Size: 544 B |