[MERGE] from trunk

bzr revid: fva@openerp.com-20131030145903-wux05uymt1yfryq4
This commit is contained in:
Frédéric van der Essen 2013-10-30 15:59:03 +01:00
commit 7a991fbb46
114 changed files with 15424 additions and 1389 deletions

View File

@ -154,12 +154,11 @@ for a particular financial year and for preparation of vouchers there is a modul
'test/account_period_close.yml',
'test/account_use_model.yml',
'test/account_validate_account_move.yml',
'test/account_fiscalyear_close.yml',
#'test/account_bank_statement.yml',
#'test/account_cash_statement.yml',
'test/test_edi_invoice.yml',
'test/account_report.yml',
'test/account_fiscalyear_close_state.yml', #last test, as it will definitively close the demo fiscalyear
'test/account_fiscalyear_close.yml', #last test, as it will definitively close the demo fiscalyear
],
'installable': True,
'auto_install': False,

View File

@ -3047,6 +3047,20 @@ class wizard_multi_charts_accounts(osv.osv_memory):
'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'),
}
def _get_chart_parent_ids(self, cr, uid, chart_template, context=None):
""" Returns the IDs of all ancestor charts, including the chart itself.
(inverse of child_of operator)
:param browse_record chart_template: the account.chart.template record
:return: the IDS of all ancestor charts, including the chart itself.
"""
result = [chart_template.id]
while chart_template.parent_id:
chart_template = chart_template.parent_id
result.append(chart_template.id)
return result
def onchange_tax_rate(self, cr, uid, ids, rate=False, context=None):
return {'value': {'purchase_tax_rate': rate or False}}
@ -3060,12 +3074,17 @@ class wizard_multi_charts_accounts(osv.osv_memory):
res['value'].update({'complete_tax_set': data.complete_tax_set, 'currency_id': currency_id})
if data.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'].update({'sale_tax': sale_tax_ids and sale_tax_ids[0] or False, 'purchase_tax': purchase_tax_ids and purchase_tax_ids[0] or False})
chart_ids = self._get_chart_parent_ids(cr, uid, data, context=context)
base_tax_domain = [("chart_template_id", "in", chart_ids), ('parent_id', '=', False)]
sale_tax_domain = base_tax_domain + [('type_tax_use', 'in', ('sale','all'))]
purchase_tax_domain = base_tax_domain + [('type_tax_use', 'in', ('purchase','all'))]
sale_tax_ids = tax_templ_obj.search(cr, uid, sale_tax_domain, order="sequence, id desc")
purchase_tax_ids = tax_templ_obj.search(cr, uid, purchase_tax_domain, order="sequence, id desc")
res['value'].update({'sale_tax': sale_tax_ids and sale_tax_ids[0] or False,
'purchase_tax': purchase_tax_ids and purchase_tax_ids[0] or False})
res.setdefault('domain', {})
res['domain']['sale_tax'] = repr(sale_tax_domain)
res['domain']['purchase_tax'] = repr(purchase_tax_domain)
if data.code_digits:
res['value'].update({'code_digits': data.code_digits})
return res
@ -3073,6 +3092,7 @@ class wizard_multi_charts_accounts(osv.osv_memory):
def default_get(self, cr, uid, fields, context=None):
res = super(wizard_multi_charts_accounts, self).default_get(cr, uid, fields, context=context)
tax_templ_obj = self.pool.get('account.tax.template')
account_chart_template = self.pool['account.chart.template']
if 'bank_accounts_id' in fields:
res.update({'bank_accounts_id': [{'acc_name': _('Cash'), 'account_type': 'cash'},{'acc_name': _('Bank'), 'account_type': 'bank'}]})
@ -3086,23 +3106,28 @@ class wizard_multi_charts_accounts(osv.osv_memory):
currency_id = company_obj.on_change_country(cr, uid, company_id, country_id, context=context)['value']['currency_id']
res.update({'currency_id': currency_id})
ids = self.pool.get('account.chart.template').search(cr, uid, [('visible', '=', True)], context=context)
ids = account_chart_template.search(cr, uid, [('visible', '=', True)], context=context)
if ids:
#in order to set default chart which was last created set max of ids.
chart_id = max(ids)
if context.get("default_charts"):
model_data = self.pool.get('ir.model.data').search_read(cr, uid, [('model','=','account.chart.template'),('module','=',context.get("default_charts"))], ['res_id'], context=context)
if model_data:
chart_id = model_data[0]['res_id']
chart = account_chart_template.browse(cr, uid, chart_id, context=context)
chart_hierarchy_ids = self._get_chart_parent_ids(cr, uid, chart, context=context)
if 'chart_template_id' in fields:
#in order to get set default chart which was last created set max of ids.
chart_id = max(ids)
if context.get("default_charts"):
model_data = self.pool.get('ir.model.data').search_read(cr, uid, [('model','=','account.chart.template'),('module','=',context.get("default_charts"))], ['res_id'], context=context)
if model_data:
chart_id = model_data[0]['res_id']
res.update({'only_one_chart_template': len(ids) == 1, 'chart_template_id': chart_id})
res.update({'only_one_chart_template': len(ids) == 1,
'chart_template_id': chart_id})
if 'sale_tax' in fields:
sale_tax_ids = tax_templ_obj.search(cr, uid, [("chart_template_id"
, "=", ids[0]), ('type_tax_use', 'in', ('sale','all'))], order="sequence")
sale_tax_ids = tax_templ_obj.search(cr, uid, [("chart_template_id", "in", chart_hierarchy_ids),
('type_tax_use', 'in', ('sale','all'))],
order="sequence")
res.update({'sale_tax': sale_tax_ids and sale_tax_ids[0] or False})
if 'purchase_tax' in fields:
purchase_tax_ids = tax_templ_obj.search(cr, uid, [("chart_template_id"
, "=", ids[0]), ('type_tax_use', 'in', ('purchase','all'))], order="sequence")
purchase_tax_ids = tax_templ_obj.search(cr, uid, [("chart_template_id", "in", chart_hierarchy_ids),
('type_tax_use', 'in', ('purchase','all'))],
order="sequence")
res.update({'purchase_tax': purchase_tax_ids and purchase_tax_ids[0] or False})
res.update({
'purchase_tax_rate': 15.0,
@ -3370,12 +3395,7 @@ class wizard_multi_charts_accounts(osv.osv_memory):
obj_tax_temp = self.pool.get('account.tax.template')
chart_template = obj_wizard.chart_template_id
vals = {}
# get the ids of all the parents of the selected account chart template
current_chart_template = chart_template
all_parents = [current_chart_template.id]
while current_chart_template.parent_id:
current_chart_template = current_chart_template.parent_id
all_parents.append(current_chart_template.id)
all_parents = self._get_chart_parent_ids(cr, uid, chart_template, context=context)
# create tax templates and tax code templates from purchase_tax_rate and sale_tax_rate fields
if not chart_template.complete_tax_set:
value = obj_wizard.sale_tax_rate

View File

@ -463,7 +463,7 @@
<separator/>
<filter domain="[('user_id','=',uid)]" help="My Invoices"/>
<group expand="0" string="Group By...">
<filter name="partner_id" string="Partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter name="group_by_partner_id" string="Partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter name="commercial_partner_id" string="Commercial Partner" domain="[]" context="{'group_by':'commercial_partner_id'}"/>
<filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>

View File

@ -113,7 +113,8 @@ class res_partner(osv.osv):
LEFT JOIN account_account a ON (l.account_id=a.id)
WHERE a.type IN ('receivable','payable')
AND l.partner_id IN %s
AND l.reconcile_id IS NULL
AND (l.reconcile_id IS NULL OR
reconcile_id in (SELECT id FROM account_move_reconcile WHERE opening_reconciliation is TRUE))
AND """ + query + """
GROUP BY l.partner_id, a.type
""",

View File

@ -84,7 +84,7 @@ openerp.account.quickadd = function (instance) {
},
search_by_journal_period: function() {
var self = this;
var domain = ['|',['debit', '!=', 0], ['credit', '!=', 0]];
var domain = [];
if (self.current_journal !== null) domain.push(["journal_id", "=", self.current_journal]);
if (self.current_period !== null) domain.push(["period_id", "=", self.current_period]);
self.last_context["journal_id"] = self.current_journal === null ? false : self.current_journal;

View File

@ -4,20 +4,29 @@
!record {model: account.fiscalyear, id: account_fiscalyear_fiscalyear0}:
code: !eval "'FY%s'% (datetime.now().year+1)"
company_id: base.main_company
date_start: !eval "'%s-01-01' %(datetime.now().year+1)"
date_stop: !eval "'%s-12-31' %(datetime.now().year+1)"
name: !eval "'Fiscal Year %s' %(datetime.now().year+1)"
date_start: !eval "'%s-01-01' %(datetime.now().year-1)"
date_stop: !eval "'%s-12-31' %(datetime.now().year-1)"
name: !eval "'Fiscal Year %s' %(datetime.now().year-1)"
-
I create a period for the opening entries for the new fiscalyear
I generate periods for the new fiscalyear
-
!record {model: account.period, id: account_period_jan11}:
company_id: base.main_company
date_start: !eval "'%s-01-01'% (datetime.now().year+1)"
date_stop: !eval "'%s-01-01'% (datetime.now().year+1)"
fiscalyear_id: account_fiscalyear_fiscalyear0
name: !eval "'OP %s' %(datetime.now().year+1)"
special: 1
!python {model: account.fiscalyear}: |
self.create_period(cr, uid, [ref("account_fiscalyear_fiscalyear0")])
-
I create a new account invoice in the created fiscalyear
-
!record {model: account.invoice, id: account_invoice_current1}:
partner_id: base.res_partner_2
date_invoice: !eval "'%s-01-02' %(datetime.now().year-1)"
invoice_line:
- partner_id: base.res_partner_2
quantity: 1.0
price_unit: 15.00
name: Bying stuff
-
I validate the invoice
-
!workflow {model: account.invoice, action: invoice_open, ref: account.account_invoice_current1}
-
I made modification in journal so it can move entries
-
@ -31,19 +40,40 @@
company_id: base.main_company
centralisation: 1
-
I called the Generate Fiscalyear Opening Entries wizard
I call the Generate Fiscalyear Opening Entries wizard
-
!record {model: account.fiscalyear.close, id: account_fiscalyear_close_0}:
fy2_id: account_fiscalyear_fiscalyear0
fy_id: account.data_fiscalyear
fy2_id: account.data_fiscalyear
fy_id: account_fiscalyear_fiscalyear0
journal_id: account.close_journal
period_id: account_period_jan11
period_id: account.period_1
report_name: End of Fiscal Year Entry
-
I clicked on create Button
-
!python {model: account.fiscalyear.close}: |
self.data_save(cr, uid, [ref("account_fiscalyear_close_0")], {"lang": 'en_US',
"active_model": "ir.ui.menu", "active_ids": [ref("account.menu_wizard_fy_close")],
"tz": False, "active_id": ref("account.menu_wizard_fy_close"), })
"tz": False, "active_id": ref("account.menu_wizard_fy_close"), })
-
I close the previous fiscalyear
-
!record {model: account.fiscalyear.close.state, id: account_fiscalyear_close_state_0}:
fy_id: account_fiscalyear_fiscalyear0
-
I clicked on Close States Button to close fiscalyear
-
!python {model: account.fiscalyear.close.state}: |
self.data_save(cr, uid, [ref("account_fiscalyear_close_state_0")], {"lang": 'en_US',
"active_model": "ir.ui.menu", "active_ids": [ref("account.menu_wizard_fy_close_state")],
"tz": False, "active_id": ref("account.menu_wizard_fy_close_state"), })
-
I check that the fiscalyear state is now "Done"
-
!assert {model: account.fiscalyear, id: account_fiscalyear_fiscalyear0, string: Fiscal Year is in Done state}:
- state == 'done'
-
I check that the past accounts are taken into account in partner credit
-
!assert {model: res.partner, id: base.res_partner_2, string: Total Receivable does not takes unreconciled moves of previous years}:
- credit == 15.0

View File

@ -1,19 +0,0 @@
-
I run the Close a Fiscalyear wizard to close the demo fiscalyear
-
!record {model: account.fiscalyear.close.state, id: account_fiscalyear_close_state_0}:
fy_id: data_fiscalyear
-
I clicked on Close States Button to close fiscalyear
-
!python {model: account.fiscalyear.close.state}: |
self.data_save(cr, uid, [ref("account_fiscalyear_close_state_0")], {"lang": 'en_US',
"active_model": "ir.ui.menu", "active_ids": [ref("account.menu_wizard_fy_close_state")],
"tz": False, "active_id": ref("account.menu_wizard_fy_close_state"), })
-
I check that the fiscalyear state is now "Done"
-
!assert {model: account.fiscalyear, id: data_fiscalyear, string: Fiscal Year is in Done state}:
- state == 'done'

View File

@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2012-12-21 17:04+0000\n"
"PO-Revision-Date: 2013-01-30 03:58+0000\n"
"Last-Translator: Wei \"oldrev\" Li <oldrev@gmail.com>\n"
"PO-Revision-Date: 2013-10-18 02:59+0000\n"
"Last-Translator: padola <padola@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-09-12 05:47+0000\n"
"X-Generator: Launchpad (build 16761)\n"
"X-Launchpad-Export-Date: 2013-10-19 04:59+0000\n"
"X-Generator: Launchpad (build 16807)\n"
#. module: account_analytic_analysis
#: view:account.analytic.account:0
@ -67,6 +67,10 @@ msgid ""
"to\n"
" define the customer invoice price rate."
msgstr ""
"当发票符合计工单OpenERP将使用\n"
" 合同使用价目表价格\n"
" 产品设置应用到每个员工\n"
" 指定客户发票价格率。"
#. module: account_analytic_analysis
#: view:account.analytic.account:0
@ -144,6 +148,15 @@ msgid ""
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" 点击以确立一个新合同\n"
" </p><p>\n"
" 你将发现合同已经更新,由于已过期或者工作流\n"
" 授权超过最大数\n"
" </p><p>\n"
" OpenERP会自动更新挂起状态的合同,商谈结束,\n"
" 销售员必须关闭或更新挂起的合同.\n"
" "
#. module: account_analytic_analysis
#: view:account.analytic.account:0
@ -153,7 +166,7 @@ msgstr "截止日期"
#. module: account_analytic_analysis
#: view:account.analytic.account:0
msgid "Account Manager"
msgstr "会计经理"
msgstr "分管会计"
#. module: account_analytic_analysis
#: help:account.analytic.account,remaining_hours_to_invoice:0
@ -595,7 +608,7 @@ msgstr "总时间"
#: model:res.groups,comment:account_analytic_analysis.group_template_required
msgid ""
"the field template of the analytic accounts and contracts will be required."
msgstr ""
msgstr "这个分析账户和合同的字段模板是必填的"
#. module: account_analytic_analysis
#: field:account.analytic.account,invoice_on_timesheets:0

View File

@ -0,0 +1,64 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 01:22+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_product_category
msgid "Product Category"
msgstr "Kategorija proizvoda"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_account_invoice_line
msgid "Invoice Line"
msgstr "Stavka fakture"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_purchase_order
msgid "Purchase Order"
msgstr "Nabavna narudžba"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_product_template
msgid "Product Template"
msgstr "Šablon proizvoda"
#. module: account_anglo_saxon
#: field:product.category,property_account_creditor_price_difference_categ:0
#: field:product.template,property_account_creditor_price_difference:0
msgid "Price Difference Account"
msgstr "Konto razlike u cijeni"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_account_invoice
msgid "Invoice"
msgstr "Faktura"
#. module: account_anglo_saxon
#: model:ir.model,name:account_anglo_saxon.model_stock_picking
msgid "Picking List"
msgstr "Lista prikupljanja proizvoda"
#. module: account_anglo_saxon
#: help:product.category,property_account_creditor_price_difference_categ:0
#: help:product.template,property_account_creditor_price_difference:0
msgid ""
"This account will be used to value price difference between purchase price "
"and cost price."
msgstr ""
"Ovaj konto biti će korišćen da vrednuje razliku u cijeni između nabavne i "
"prodajne cijene."

View File

@ -0,0 +1,774 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:04+0000\n"
"PO-Revision-Date: 2013-10-28 09:59+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-29 04:49+0000\n"
"X-Generator: Launchpad (build 16818)\n"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Assets in draft and open states"
msgstr "Osnovno sredstvo u stanju 'u pripremi' ili 'otvoreno'"
#. module: account_asset
#: field:account.asset.category,method_end:0
#: field:account.asset.history,method_end:0
#: field:asset.modify,method_end:0
msgid "Ending date"
msgstr "Završni datum"
#. module: account_asset
#: field:account.asset.asset,value_residual:0
msgid "Residual Value"
msgstr "Preostala vrijednost"
#. module: account_asset
#: field:account.asset.category,account_expense_depreciation_id:0
msgid "Depr. Expense Account"
msgstr "Konto troška amortizacije"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Group By..."
msgstr "Grupiši po..."
#. module: account_asset
#: field:asset.asset.report,gross_value:0
msgid "Gross Amount"
msgstr "Bruto iznos"
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.depreciation.line,asset_id:0
#: field:account.asset.history,asset_id:0
#: field:account.move.line,asset_id:0
#: view:asset.asset.report:0
#: field:asset.asset.report,asset_id:0
#: model:ir.model,name:account_asset.model_account_asset_asset
msgid "Asset"
msgstr "Osnovna sredstva"
#. module: account_asset
#: help:account.asset.asset,prorata:0
#: help:account.asset.category,prorata:0
msgid ""
"Indicates that the first depreciation entry for this asset have to be done "
"from the purchase date instead of the first January"
msgstr ""
"Indicira da je prvi zapis amortizacije za ovo osnovno sredstvo mora biti "
"izvršeno od datuma nabavke umjesto prvog Januara"
#. module: account_asset
#: selection:account.asset.asset,method:0
#: selection:account.asset.category,method:0
msgid "Linear"
msgstr "Linearno"
#. module: account_asset
#: field:account.asset.asset,company_id:0
#: field:account.asset.category,company_id:0
#: view:asset.asset.report:0
#: field:asset.asset.report,company_id:0
msgid "Company"
msgstr "Kompanija"
#. module: account_asset
#: view:asset.modify:0
msgid "Modify"
msgstr "Izmijeni"
#. module: account_asset
#: selection:account.asset.asset,state:0
#: view:asset.asset.report:0
#: selection:asset.asset.report,state:0
msgid "Running"
msgstr "U toku"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Set to Draft"
msgstr "Postavi u pripremu"
#. module: account_asset
#: view:asset.asset.report:0
#: model:ir.actions.act_window,name:account_asset.action_asset_asset_report
#: model:ir.model,name:account_asset.model_asset_asset_report
#: model:ir.ui.menu,name:account_asset.menu_action_asset_asset_report
msgid "Assets Analysis"
msgstr "Analiza osnovnih sredstava"
#. module: account_asset
#: field:asset.modify,name:0
msgid "Reason"
msgstr "Razlog"
#. module: account_asset
#: field:account.asset.asset,method_progress_factor:0
#: field:account.asset.category,method_progress_factor:0
msgid "Degressive Factor"
msgstr "Silazni faktor"
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
msgid "Asset Categories"
msgstr "Grupe osnovnih sredstava"
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,account_move_line_ids:0
#: field:account.move.line,entry_ids:0
#: model:ir.actions.act_window,name:account_asset.act_entries_open
msgid "Entries"
msgstr "Zapisi"
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,depreciation_line_ids:0
msgid "Depreciation Lines"
msgstr "Stavke amortizacije"
#. module: account_asset
#: help:account.asset.asset,salvage_value:0
msgid "It is the amount you plan to have that you cannot depreciate."
msgstr "Iznos je koji planirate imati a ne možete amortizovati."
#. module: account_asset
#: help:account.asset.asset,method_period:0
msgid "The amount of time between two depreciations, in months"
msgstr "Vremenski period između dvije amortizacije , u mjesecima"
#. module: account_asset
#: field:account.asset.depreciation.line,depreciation_date:0
#: view:asset.asset.report:0
#: field:asset.asset.report,depreciation_date:0
msgid "Depreciation Date"
msgstr "Datum amortizacije"
#. module: account_asset
#: constraint:account.asset.asset:0
msgid "Error ! You cannot create recursive assets."
msgstr "Greška! Nije moguće kreirati rekurzivna osnovna sredstva."
#. module: account_asset
#: field:asset.asset.report,posted_value:0
msgid "Posted Amount"
msgstr "Proknjiženi iznos"
#. module: account_asset
#: view:account.asset.asset:0
#: view:asset.asset.report:0
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
#: model:ir.ui.menu,name:account_asset.menu_finance_assets
#: model:ir.ui.menu,name:account_asset.menu_finance_config_assets
msgid "Assets"
msgstr "Osnovna sredstva"
#. module: account_asset
#: field:account.asset.category,account_depreciation_id:0
msgid "Depreciation Account"
msgstr "Konto amortizacije"
#. module: account_asset
#: view:account.asset.asset:0
#: view:account.asset.category:0
#: view:account.asset.history:0
#: view:asset.modify:0
#: field:asset.modify,note:0
msgid "Notes"
msgstr "Zabilješke"
#. module: account_asset
#: field:account.asset.depreciation.line,move_id:0
msgid "Depreciation Entry"
msgstr "Zapis amortizacije"
#. module: account_asset
#: view:asset.asset.report:0
#: field:asset.asset.report,nbr:0
msgid "# of Depreciation Lines"
msgstr "# stavaka amortizacije"
#. module: account_asset
#: field:account.asset.asset,method_period:0
msgid "Number of Months in a Period"
msgstr "Broj mjeseci u periodu"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Assets in draft state"
msgstr "Osnovna sredstva u pripremi"
#. module: account_asset
#: field:account.asset.asset,method_end:0
#: selection:account.asset.asset,method_time:0
#: selection:account.asset.category,method_time:0
#: selection:account.asset.history,method_time:0
msgid "Ending Date"
msgstr "Završni datum"
#. module: account_asset
#: field:account.asset.asset,code:0
msgid "Reference"
msgstr "Referenca"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Account Asset"
msgstr "Konto osnovnog sredstva"
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_asset_depreciation_confirmation_wizard
#: model:ir.ui.menu,name:account_asset.menu_asset_depreciation_confirmation_wizard
msgid "Compute Assets"
msgstr "Izračunj osnovna sredstva"
#. module: account_asset
#: field:account.asset.category,method_period:0
#: field:account.asset.history,method_period:0
#: field:asset.modify,method_period:0
msgid "Period Length"
msgstr "Trajanje perioda"
#. module: account_asset
#: selection:account.asset.asset,state:0
#: view:asset.asset.report:0
#: selection:asset.asset.report,state:0
msgid "Draft"
msgstr "U pripremi"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Date of asset purchase"
msgstr "Datum nabave osnovnog sredstva"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Change Duration"
msgstr "Promjeni trajanje"
#. module: account_asset
#: help:account.asset.asset,method_number:0
#: help:account.asset.category,method_number:0
#: help:account.asset.history,method_number:0
msgid "The number of depreciations needed to depreciate your asset"
msgstr "Broj amortizacija potrebnih za amortizaciju osnovnog sredstva"
#. module: account_asset
#: view:account.asset.category:0
msgid "Analytic Information"
msgstr "Analitički podaci"
#. module: account_asset
#: field:account.asset.category,account_analytic_id:0
msgid "Analytic account"
msgstr "Analitički konto"
#. module: account_asset
#: field:account.asset.asset,method:0
#: field:account.asset.category,method:0
msgid "Computation Method"
msgstr "Metoda izračunavanja"
#. module: account_asset
#: constraint:account.asset.asset:0
msgid ""
"Prorata temporis can be applied only for time method \"number of "
"depreciations\"."
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,remaining_value:0
msgid "Next Period Depreciation"
msgstr "Sljedeći period amortizacije"
#. module: account_asset
#: help:account.asset.history,method_period:0
msgid "Time in month between two depreciations"
msgstr "Vrijeme u mjesecima između dvije amortizacije"
#. module: account_asset
#: view:asset.modify:0
#: model:ir.actions.act_window,name:account_asset.action_asset_modify
#: model:ir.model,name:account_asset.model_asset_modify
msgid "Modify Asset"
msgstr "Uredi osnovno srestvo"
#. module: account_asset
#: field:account.asset.asset,salvage_value:0
msgid "Salvage Value"
msgstr "Vrijednost likvidacije"
#. module: account_asset
#: field:account.asset.asset,category_id:0
#: view:account.asset.category:0
#: field:account.invoice.line,asset_category_id:0
#: view:asset.asset.report:0
msgid "Asset Category"
msgstr "Kategorija osnovnog sredstva"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Assets in closed state"
msgstr "Osnovna sredstva sa statusom 'zatvoreno'"
#. module: account_asset
#: field:account.asset.asset,parent_id:0
msgid "Parent Asset"
msgstr "Nadređeno osnovno sredstvo"
#. module: account_asset
#: view:account.asset.history:0
#: model:ir.model,name:account_asset.model_account_asset_history
msgid "Asset history"
msgstr "Istorija osnovnog sredstva"
#. module: account_asset
#: view:account.asset.category:0
msgid "Search Asset Category"
msgstr "Pretraži kategoriju osnovnog sredstva"
#. module: account_asset
#: view:asset.modify:0
msgid "months"
msgstr "mjeseci"
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_invoice_line
msgid "Invoice Line"
msgstr "Stavka fakture"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Depreciation Board"
msgstr "Kontrolna tabla amortizacije"
#. module: account_asset
#: field:asset.asset.report,unposted_value:0
msgid "Unposted Amount"
msgstr "Neproknjiženi iznos"
#. module: account_asset
#: field:account.asset.asset,method_time:0
#: field:account.asset.category,method_time:0
#: field:account.asset.history,method_time:0
msgid "Time Method"
msgstr "Vremenska metoda"
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
#: view:asset.modify:0
msgid "or"
msgstr "ili"
#. module: account_asset
#: field:account.asset.asset,note:0
#: field:account.asset.category,note:0
#: field:account.asset.history,note:0
msgid "Note"
msgstr "Zabilješka"
#. module: account_asset
#: help:account.asset.history,method_time:0
msgid ""
"The method to use to compute the dates and number of depreciation lines.\n"
"Number of Depreciations: Fix the number of depreciation lines and the time "
"between 2 depreciations.\n"
"Ending Date: Choose the time between 2 depreciations and the date the "
"depreciations won't go beyond."
msgstr ""
"Metoda korišćena za izračunavanje datuma i brojeva stavki amortizacije.\n"
"Broj amortizacija: Fiksni broj stavki amortizacija i vrijeme između 2 "
"amortizacije.\n"
"Datum završetka: Odaberite vrijeme između 2 amortizacije i datum "
"amortizacije koji neće ići preko."
#. module: account_asset
#: help:account.asset.asset,method_time:0
#: help:account.asset.category,method_time:0
msgid ""
"Choose the method to use to compute the dates and number of depreciation "
"lines.\n"
" * Number of Depreciations: Fix the number of depreciation lines and the "
"time between 2 depreciations.\n"
" * Ending Date: Choose the time between 2 depreciations and the date the "
"depreciations won't go beyond."
msgstr ""
"Metoda korišćena za izračunavanje datuma i brojeva stavki amortizacije.\n"
" * Broj amortizacija: Fiksni broj stavki amortizacija i vrijeme između 2 "
"amortizacije.\n"
" * Datum završetka: Odaberite vrijeme između 2 amortizacije i datum "
"amortizacije koji neće ići preko."
#. module: account_asset
#: view:asset.asset.report:0
msgid "Assets in running state"
msgstr "Osnovno sredtvo u toku"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Closed"
msgstr "Zatvoreno"
#. module: account_asset
#: help:account.asset.asset,state:0
msgid ""
"When an asset is created, the status is 'Draft'.\n"
"If the asset is confirmed, the status goes in 'Running' and the depreciation "
"lines can be posted in the accounting.\n"
"You can manually close an asset when the depreciation is over. If the last "
"line of depreciation is posted, the asset automatically goes in that status."
msgstr ""
"Kada je osnovno sredstvo kreirano, nalazi se u statusu 'U pripremi'.\n"
"Ako je osnovno sredstvo potvrđeno, status prelazi u 'U toku' i stavke "
"amortizacije mogu biti knjižene u računovodstvu.\n"
"Možete ručno da zatvorite osnovno sredstvo kada je amortizavija završena. "
"Ako je zadnja stavka amortizavije knjižena, osnovno sredstvo automatski "
"odlazi u taj status."
#. module: account_asset
#: field:account.asset.asset,state:0
#: field:asset.asset.report,state:0
msgid "Status"
msgstr "Status"
#. module: account_asset
#: field:account.asset.asset,partner_id:0
#: field:asset.asset.report,partner_id:0
msgid "Partner"
msgstr "Partner"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Posted depreciation lines"
msgstr "Proknjižene stavke amortizacije"
#. module: account_asset
#: field:account.asset.asset,child_ids:0
msgid "Children Assets"
msgstr "Podređeno osnovno sredstvo"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Date of depreciation"
msgstr "Datum amortizacije"
#. module: account_asset
#: field:account.asset.history,user_id:0
msgid "User"
msgstr "Korisnik"
#. module: account_asset
#: field:account.asset.category,account_asset_id:0
msgid "Asset Account"
msgstr "Konto osnovnog sredstva"
#. module: account_asset
#: view:asset.asset.report:0
msgid "Extended Filters..."
msgstr "Napredni filteri..."
#. module: account_asset
#: view:account.asset.asset:0
#: view:asset.depreciation.confirmation.wizard:0
msgid "Compute"
msgstr "Izračunaj"
#. module: account_asset
#: view:account.asset.history:0
msgid "Asset History"
msgstr "Istorija osnovnog sredstva"
#. module: account_asset
#: model:ir.model,name:account_asset.model_asset_depreciation_confirmation_wizard
msgid "asset.depreciation.confirmation.wizard"
msgstr "asset.depreciation.confirmation.wizard"
#. module: account_asset
#: field:account.asset.asset,active:0
msgid "Active"
msgstr "Aktivno"
#. module: account_asset
#: field:account.asset.depreciation.line,parent_state:0
msgid "State of Asset"
msgstr "Stanje osnovnog sredstva"
#. module: account_asset
#: field:account.asset.depreciation.line,name:0
msgid "Depreciation Name"
msgstr "Naziv amortizacije"
#. module: account_asset
#: view:account.asset.asset:0
#: field:account.asset.asset,history_ids:0
msgid "History"
msgstr "Istorija"
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
msgid "Compute Asset"
msgstr "Izračunaj osnovno sredstvo"
#. module: account_asset
#: field:asset.depreciation.confirmation.wizard,period_id:0
msgid "Period"
msgstr "Period"
#. module: account_asset
#: view:account.asset.asset:0
msgid "General"
msgstr "Opšte"
#. module: account_asset
#: field:account.asset.asset,prorata:0
#: field:account.asset.category,prorata:0
msgid "Prorata Temporis"
msgstr ""
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_invoice
msgid "Invoice"
msgstr "Faktura"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Set to Close"
msgstr "Postavi na zatvoreno"
#. module: account_asset
#: view:asset.depreciation.confirmation.wizard:0
#: view:asset.modify:0
msgid "Cancel"
msgstr "Otkaži"
#. module: account_asset
#: selection:account.asset.asset,state:0
#: selection:asset.asset.report,state:0
msgid "Close"
msgstr "Zatvori"
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_move_line
msgid "Journal Items"
msgstr "Stavke dnevnika"
#. module: account_asset
#: view:asset.modify:0
msgid "Asset Durations to Modify"
msgstr "Trajanje osnovnih sredstava za uređivanje"
#. module: account_asset
#: field:account.asset.asset,purchase_date:0
#: view:asset.asset.report:0
#: field:asset.asset.report,purchase_date:0
msgid "Purchase Date"
msgstr "Datum nabave"
#. module: account_asset
#: selection:account.asset.asset,method:0
#: selection:account.asset.category,method:0
msgid "Degressive"
msgstr "Silazno"
#. module: account_asset
#: help:asset.depreciation.confirmation.wizard,period_id:0
msgid ""
"Choose the period for which you want to automatically post the depreciation "
"lines of running assets"
msgstr ""
"Odaberite period za koji želite da automatski proknjižite stavke "
"amortizacija osnovnih sredstava u toku"
#. module: account_asset
#: view:account.asset.asset:0
msgid "Current"
msgstr "Trenutni"
#. module: account_asset
#: view:account.asset.category:0
msgid "Depreciation Method"
msgstr "Metoda amortizacije"
#. module: account_asset
#: field:account.asset.depreciation.line,amount:0
msgid "Current Depreciation"
msgstr "Trenutna amortizacija"
#. module: account_asset
#: field:account.asset.asset,name:0
msgid "Asset Name"
msgstr "Naziv osnovnog sredstva"
#. module: account_asset
#: field:account.asset.category,open_asset:0
msgid "Skip Draft State"
msgstr "Preskoči status u pripremi"
#. module: account_asset
#: view:account.asset.category:0
msgid "Depreciation Dates"
msgstr "Datumi amortizacije"
#. module: account_asset
#: field:account.asset.asset,currency_id:0
msgid "Currency"
msgstr "Valuta"
#. module: account_asset
#: field:account.asset.category,journal_id:0
msgid "Journal"
msgstr "Dnevnik"
#. module: account_asset
#: field:account.asset.history,name:0
msgid "History name"
msgstr "Istorijski naziv"
#. module: account_asset
#: field:account.asset.depreciation.line,depreciated_value:0
msgid "Amount Already Depreciated"
msgstr "Iznos je već amortiziran"
#. module: account_asset
#: help:account.asset.asset,method:0
#: help:account.asset.category,method:0
msgid ""
"Choose the method to use to compute the amount of depreciation lines.\n"
" * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n"
" * Degressive: Calculated on basis of: Residual Value * Degressive Factor"
msgstr ""
"Odaberite metodu za izračunavanje iznosa stavki amortizacije.\n"
" * Linearno: Izračunato na osnovu: Bruto vrijednosti / Broj amortizacija\n"
" * Silazno: Izračunato na osnovu: Preostala vrijednost * Silazni faktor"
#. module: account_asset
#: field:account.asset.depreciation.line,move_check:0
#: view:asset.asset.report:0
#: field:asset.asset.report,move_check:0
msgid "Posted"
msgstr "Proknjiženo"
#. module: account_asset
#: model:ir.actions.act_window,help:account_asset.action_asset_asset_report
msgid ""
"<p>\n"
" From this report, you can have an overview on all depreciation. "
"The\n"
" tool search can also be used to personalise your Assets reports "
"and\n"
" so, match this analysis to your needs;\n"
" </p>\n"
" "
msgstr ""
"<p>\n"
" Iz ovog izvještaja, možete pregledati sve amortizacije. Alat za "
"pretragu\n"
" također možete da koristite za personalizaciju izvještaja "
"osnovnih \n"
" srestava.\n"
" </p>\n"
" "
#. module: account_asset
#: field:account.asset.asset,purchase_value:0
msgid "Gross Value"
msgstr "Bruto vrijednost"
#. module: account_asset
#: field:account.asset.category,name:0
msgid "Name"
msgstr "Naziv"
#. module: account_asset
#: help:account.asset.category,open_asset:0
msgid ""
"Check this if you want to automatically confirm the assets of this category "
"when created by invoices."
msgstr ""
"Označite ovo ako želite da automatski potvrdite osnovna sredstva ove "
"kategorije kada su kreirani od fakture."
#. module: account_asset
#: field:asset.asset.report,name:0
msgid "Year"
msgstr "Godina"
#. module: account_asset
#: model:ir.model,name:account_asset.model_account_asset_depreciation_line
msgid "Asset depreciation line"
msgstr "Stavka amortizacije osnovnog sredstva"
#. module: account_asset
#: view:account.asset.category:0
#: field:asset.asset.report,asset_category_id:0
#: model:ir.model,name:account_asset.model_account_asset_category
msgid "Asset category"
msgstr "Kategorija osnovnog sredstva"
#. module: account_asset
#: view:asset.asset.report:0
#: field:asset.asset.report,depreciation_value:0
msgid "Amount of Depreciation Lines"
msgstr "Iznos stavki amortizacija"
#. module: account_asset
#: code:addons/account_asset/wizard/wizard_asset_compute.py:50
#, python-format
msgid "Created Asset Moves"
msgstr ""
#. module: account_asset
#: field:account.asset.depreciation.line,sequence:0
msgid "Sequence"
msgstr ""
#. module: account_asset
#: help:account.asset.category,method_period:0
msgid "State here the time between 2 depreciations, in months"
msgstr ""
#. module: account_asset
#: field:account.asset.history,date:0
msgid "Date"
msgstr ""
#. module: account_asset
#: field:account.asset.asset,method_number:0
#: selection:account.asset.asset,method_time:0
#: field:account.asset.category,method_number:0
#: selection:account.asset.category,method_time:0
#: field:account.asset.history,method_number:0
#: selection:account.asset.history,method_time:0
#: field:asset.modify,method_number:0
msgid "Number of Depreciations"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Create Move"
msgstr ""
#. module: account_asset
#: view:account.asset.asset:0
msgid "Confirm Asset"
msgstr ""
#. module: account_asset
#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_tree
#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_tree
msgid "Asset Hierarchy"
msgstr ""

View File

@ -0,0 +1,363 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-29 18:57+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-30 05:16+0000\n"
"X-Generator: Launchpad (build 16820)\n"
#. module: account_bank_statement_extensions
#: help:account.bank.statement.line.global,name:0
msgid "Originator to Beneficiary Information"
msgstr "Informacije o pokretaču i korisniku"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: selection:account.bank.statement.line,state:0
msgid "Confirmed"
msgstr "Potvrđeno"
#. module: account_bank_statement_extensions
#: view:account.bank.statement:0
#: view:account.bank.statement.line:0
msgid "Glob. Id"
msgstr "Glob. Id"
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "CODA"
msgstr "CODA"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,parent_id:0
msgid "Parent Code"
msgstr "Šifra nadređenog"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Debit"
msgstr "Duguje"
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_cancel_statement_line
#: model:ir.model,name:account_bank_statement_extensions.model_cancel_statement_line
msgid "Cancel selected statement lines"
msgstr "Otkaži odabrane stavke izvoda"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,val_date:0
msgid "Value Date"
msgstr "Datum vrijednovanja"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Group By..."
msgstr "Grupiši po..."
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: selection:account.bank.statement.line,state:0
msgid "Draft"
msgstr "U pripremi"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement"
msgstr "Izvod"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_confirm_statement_line
#: model:ir.model,name:account_bank_statement_extensions.model_confirm_statement_line
msgid "Confirm selected statement lines"
msgstr "Potvrdi odabrane stavke izvoda"
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
#: model:ir.actions.report.xml,name:account_bank_statement_extensions.bank_statement_balance_report
msgid "Bank Statement Balances Report"
msgstr "Izvještaj stanja izvoda"
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
msgid "Cancel Lines"
msgstr "Otkaži stavke"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement_line_global
msgid "Batch Payment Info"
msgstr "Informacije grupnog plaćanja"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,state:0
msgid "Status"
msgstr "Status"
#. module: account_bank_statement_extensions
#: code:addons/account_bank_statement_extensions/account_bank_statement.py:129
#, python-format
msgid ""
"Delete operation not allowed. Please go to the associated bank "
"statement in order to delete and/or modify bank statement line."
msgstr ""
"Operacija brisanja nije dozvoljena. Molimo otiđite na povezanu stavku izvoda "
"da bi ste obrisali ili uredili stavku izvoda."
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "or"
msgstr "ili"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Confirm Lines"
msgstr "Potvrdi stavke"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
msgid "Transactions"
msgstr "Transakcije"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,type:0
msgid "Type"
msgstr "Tip"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: report:bank.statement.balance.report:0
msgid "Journal"
msgstr "Dnevnik"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Confirmed Statement Lines."
msgstr "Potvrđene stavke izvoda"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Credit Transactions."
msgstr "Potražne transakcije"
#. module: account_bank_statement_extensions
#: model:ir.actions.act_window,help:account_bank_statement_extensions.action_cancel_statement_line
msgid "cancel selected statement lines."
msgstr "otkaži odabrane stavke izvoda."
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_number:0
msgid "Counterparty Number"
msgstr "Broj protupartije"
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Closing Balance"
msgstr "Završni saldo"
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Date"
msgstr "Datum"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: field:account.bank.statement.line,globalisation_amount:0
msgid "Glob. Amount"
msgstr "Glob. vrijednost"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Debit Transactions."
msgstr "Dugovne transakcije"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Extended Filters..."
msgstr "Napredni filteri..."
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Confirmed lines cannot be changed anymore."
msgstr "Potvrđene stavke se ne mogu više mjenjati."
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
msgid "Are you sure you want to cancel the selected Bank Statement lines ?"
msgstr ""
"Da li ste sigurni da želite otkazati odabrane stavke izvoda iz banke ?"
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Name"
msgstr "Naziv"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,name:0
msgid "OBI"
msgstr "JIB/JBMG"
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "ISO 20022"
msgstr "ISO 20022"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Notes"
msgstr "Zabilješke"
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "Manual"
msgstr "Ručno"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Bank Transaction"
msgstr "Bankovne transakcije"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Credit"
msgstr "Potražuje"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,amount:0
msgid "Amount"
msgstr "Iznos"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Fin.Account"
msgstr "Fin.konto"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_currency:0
msgid "Counterparty Currency"
msgstr "Valuta protupartije"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_bic:0
msgid "Counterparty BIC"
msgstr "BIC protupartije"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,child_ids:0
msgid "Child Codes"
msgstr "Šifre podređenih"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Search Bank Transactions"
msgstr "Pretraži izvode banke"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Are you sure you want to confirm the selected Bank Statement lines ?"
msgstr ""
"Da li ste sigurni da želite potvrditi odabrane stavke izvoda iz banke?"
#. module: account_bank_statement_extensions
#: help:account.bank.statement.line,globalisation_id:0
msgid ""
"Code to identify transactions belonging to the same globalisation level "
"within a batch payment"
msgstr ""
"Šifra za identifikaciju transakcije koja pripada nekom globalizacijskom "
"nivou sa grupnim plaćanjima"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Draft Statement Lines."
msgstr "Stavke izvoda u toku."
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Glob. Am."
msgstr "Glob. Vrij."
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement_line
msgid "Bank Statement Line"
msgstr "Stavka bankovnog izvoda"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,code:0
msgid "Code"
msgstr "Šifra"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_name:0
msgid "Counterparty Name"
msgstr "Naziv protupartije"
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_res_partner_bank
msgid "Bank Accounts"
msgstr "Računi banke"
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement
msgid "Bank Statement"
msgstr "Izvod banke"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement Line"
msgstr "Stavka izvoda"
#. module: account_bank_statement_extensions
#: sql_constraint:account.bank.statement.line.global:0
msgid "The code must be unique !"
msgstr "Šifra mora biti jedinstvena !"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,bank_statement_line_ids:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_bank_statement_line
#: model:ir.ui.menu,name:account_bank_statement_extensions.bank_statement_line
msgid "Bank Statement Lines"
msgstr "Stavke izvoda iz banke"
#. module: account_bank_statement_extensions
#: code:addons/account_bank_statement_extensions/account_bank_statement.py:129
#, python-format
msgid "Warning!"
msgstr "Upozorenje!"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
msgid "Child Batch Payments"
msgstr "Podređena grupna plaćanja"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Cancel"
msgstr "Otkaži"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement Lines"
msgstr "Stavke izvoda"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Total Amount"
msgstr "Ukupan Iznos"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,globalisation_id:0
msgid "Globalisation ID"
msgstr "Globalizacijski ID"

View File

@ -0,0 +1,357 @@
# Danish translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-15 00:23+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Danish <da@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-10-16 04:37+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: account_bank_statement_extensions
#: help:account.bank.statement.line.global,name:0
msgid "Originator to Beneficiary Information"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: selection:account.bank.statement.line,state:0
msgid "Confirmed"
msgstr "Bekræftet"
#. module: account_bank_statement_extensions
#: view:account.bank.statement:0
#: view:account.bank.statement.line:0
msgid "Glob. Id"
msgstr ""
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "CODA"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,parent_id:0
msgid "Parent Code"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Debit"
msgstr "Debet"
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_cancel_statement_line
#: model:ir.model,name:account_bank_statement_extensions.model_cancel_statement_line
msgid "Cancel selected statement lines"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,val_date:0
msgid "Value Date"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Group By..."
msgstr "Gruppér efter..."
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: selection:account.bank.statement.line,state:0
msgid "Draft"
msgstr "Kladde"
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement"
msgstr "Erklæring"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_confirm_statement_line
#: model:ir.model,name:account_bank_statement_extensions.model_confirm_statement_line
msgid "Confirm selected statement lines"
msgstr ""
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
#: model:ir.actions.report.xml,name:account_bank_statement_extensions.bank_statement_balance_report
msgid "Bank Statement Balances Report"
msgstr ""
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
msgid "Cancel Lines"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement_line_global
msgid "Batch Payment Info"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,state:0
msgid "Status"
msgstr "Status"
#. module: account_bank_statement_extensions
#: code:addons/account_bank_statement_extensions/account_bank_statement.py:129
#, python-format
msgid ""
"Delete operation not allowed. Please go to the associated bank "
"statement in order to delete and/or modify bank statement line."
msgstr ""
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "or"
msgstr "eller"
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Confirm Lines"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
msgid "Transactions"
msgstr "Transaktioner"
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,type:0
msgid "Type"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: report:bank.statement.balance.report:0
msgid "Journal"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Confirmed Statement Lines."
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Credit Transactions."
msgstr ""
#. module: account_bank_statement_extensions
#: model:ir.actions.act_window,help:account_bank_statement_extensions.action_cancel_statement_line
msgid "cancel selected statement lines."
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_number:0
msgid "Counterparty Number"
msgstr ""
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Closing Balance"
msgstr ""
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Date"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
#: field:account.bank.statement.line,globalisation_amount:0
msgid "Glob. Amount"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Debit Transactions."
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Extended Filters..."
msgstr ""
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Confirmed lines cannot be changed anymore."
msgstr ""
#. module: account_bank_statement_extensions
#: view:cancel.statement.line:0
msgid "Are you sure you want to cancel the selected Bank Statement lines ?"
msgstr ""
#. module: account_bank_statement_extensions
#: report:bank.statement.balance.report:0
msgid "Name"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,name:0
msgid "OBI"
msgstr ""
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "ISO 20022"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Notes"
msgstr ""
#. module: account_bank_statement_extensions
#: selection:account.bank.statement.line.global,type:0
msgid "Manual"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Bank Transaction"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Credit"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,amount:0
msgid "Amount"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Fin.Account"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_currency:0
msgid "Counterparty Currency"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_bic:0
msgid "Counterparty BIC"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,child_ids:0
msgid "Child Codes"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Search Bank Transactions"
msgstr ""
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Are you sure you want to confirm the selected Bank Statement lines ?"
msgstr ""
#. module: account_bank_statement_extensions
#: help:account.bank.statement.line,globalisation_id:0
msgid ""
"Code to identify transactions belonging to the same globalisation level "
"within a batch payment"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Draft Statement Lines."
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Glob. Am."
msgstr ""
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement_line
msgid "Bank Statement Line"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,code:0
msgid "Code"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,counterparty_name:0
msgid "Counterparty Name"
msgstr ""
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_res_partner_bank
msgid "Bank Accounts"
msgstr "Bankkonti"
#. module: account_bank_statement_extensions
#: model:ir.model,name:account_bank_statement_extensions.model_account_bank_statement
msgid "Bank Statement"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement Line"
msgstr ""
#. module: account_bank_statement_extensions
#: sql_constraint:account.bank.statement.line.global:0
msgid "The code must be unique !"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line.global,bank_statement_line_ids:0
#: model:ir.actions.act_window,name:account_bank_statement_extensions.action_bank_statement_line
#: model:ir.ui.menu,name:account_bank_statement_extensions.bank_statement_line
msgid "Bank Statement Lines"
msgstr ""
#. module: account_bank_statement_extensions
#: code:addons/account_bank_statement_extensions/account_bank_statement.py:129
#, python-format
msgid "Warning!"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line.global:0
msgid "Child Batch Payments"
msgstr ""
#. module: account_bank_statement_extensions
#: view:confirm.statement.line:0
msgid "Cancel"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Statement Lines"
msgstr ""
#. module: account_bank_statement_extensions
#: view:account.bank.statement.line:0
msgid "Total Amount"
msgstr ""
#. module: account_bank_statement_extensions
#: field:account.bank.statement.line,globalisation_id:0
msgid "Globalisation ID"
msgstr ""

View File

@ -0,0 +1,23 @@
# Estonian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 14:39+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Estonian <et@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: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: account_cancel
#: view:account.invoice:0
msgid "Cancel"
msgstr ""

View File

@ -185,7 +185,7 @@ class res_partner(osv.osv):
return {}
data['partner_ids'] = wizard_partner_ids
datas = {
'ids': [],
'ids': wizard_partner_ids,
'model': 'account_followup.followup',
'form': data
}

View File

@ -50,9 +50,9 @@ class account_followup_stat_by_partner(osv.osv):
# to send him follow-ups separately . An assumption that the number of companies will not
# reach 10 000 records is made, what should be enough for a time.
cr.execute("""
create or replace view account_followup_stat_by_partner as (
create view account_followup_stat_by_partner as (
SELECT
l.partner_id * 10000 + l.company_id as id,
l.partner_id * 10000::bigint + l.company_id as id,
l.partner_id AS partner_id,
min(l.date) AS date_move,
max(l.date) AS date_move_last,
@ -67,11 +67,10 @@ class account_followup_stat_by_partner(osv.osv):
a.active AND
a.type = 'receivable' AND
l.reconcile_id is NULL AND
l.partner_id IS NOT NULL AND
(l.blocked = False)
l.partner_id IS NOT NULL
GROUP BY
l.partner_id, l.company_id
)""") #Blocked is to take into account litigation
)""")
class account_followup_sending_results(osv.osv_memory):

View File

@ -0,0 +1,155 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-29 21:08+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-30 05:16+0000\n"
"X-Generator: Launchpad (build 16820)\n"
#. module: account_sequence
#: view:account.sequence.installer:0
#: model:ir.actions.act_window,name:account_sequence.action_account_seq_installer
msgid "Account Sequence Application Configuration"
msgstr "Konfiguracija primjene računovodstvenih sekvenci"
#. module: account_sequence
#: help:account.move,internal_sequence_number:0
#: help:account.move.line,internal_sequence_number:0
msgid "Internal Sequence Number"
msgstr "Broj internih sekvenci"
#. module: account_sequence
#: help:account.sequence.installer,number_next:0
msgid "Next number of this sequence"
msgstr "Sljedeći broj ove sekvence"
#. module: account_sequence
#: field:account.sequence.installer,number_next:0
msgid "Next Number"
msgstr "Sljedeći broj"
#. module: account_sequence
#: field:account.sequence.installer,number_increment:0
msgid "Increment Number"
msgstr "Broj uvećanja"
#. module: account_sequence
#: help:account.sequence.installer,number_increment:0
msgid "The next number of the sequence will be incremented by this number"
msgstr "Sljedeći broj sekvence će biti uvećan za ovaj broj"
#. module: account_sequence
#: view:account.sequence.installer:0
msgid "Configure Your Account Sequence Application"
msgstr "Konfigurišite primjenu vaših sekvenci računovodstva"
#. module: account_sequence
#: view:account.sequence.installer:0
msgid "Configure"
msgstr "Konfiguriši"
#. module: account_sequence
#: help:account.sequence.installer,suffix:0
msgid "Suffix value of the record for the sequence"
msgstr "Sufiks (poslije brojača) za ovu sekvencu"
#. module: account_sequence
#: field:account.sequence.installer,company_id:0
msgid "Company"
msgstr "Kompanija"
#. module: account_sequence
#: field:account.sequence.installer,padding:0
msgid "Number padding"
msgstr "Dužina cifre"
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_account_move_line
msgid "Journal Items"
msgstr "Stavke dnevnika"
#. module: account_sequence
#: field:account.move,internal_sequence_number:0
#: field:account.move.line,internal_sequence_number:0
msgid "Internal Number"
msgstr "Interni broj"
#. module: account_sequence
#: help:account.sequence.installer,padding:0
msgid ""
"OpenERP will automatically adds some '0' on the left of the 'Next Number' to "
"get the required padding size."
msgstr ""
"OpenERP će automatski dodati nekoliko '0' sa lijeve strane 'Sljedećeg broja' "
"da bi se dobio odgovarajuća dužina broja"
#. module: account_sequence
#: field:account.sequence.installer,name:0
msgid "Name"
msgstr "Naziv"
#. module: account_sequence
#: field:account.journal,internal_sequence_id:0
msgid "Internal Sequence"
msgstr "Interna sekvenca"
#. module: account_sequence
#: help:account.sequence.installer,prefix:0
msgid "Prefix value of the record for the sequence"
msgstr "Prefiks vrijednost zapisa za sekvencu"
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_account_move
msgid "Account Entry"
msgstr "Računovodstveni zapis"
#. module: account_sequence
#: field:account.sequence.installer,suffix:0
msgid "Suffix"
msgstr "Sufiks"
#. module: account_sequence
#: view:account.sequence.installer:0
msgid "title"
msgstr "naslov"
#. module: account_sequence
#: field:account.sequence.installer,prefix:0
msgid "Prefix"
msgstr "Prefiks"
#. module: account_sequence
#: help:account.journal,internal_sequence_id:0
msgid ""
"This sequence will be used to maintain the internal number for the journal "
"entries related to this journal."
msgstr ""
"Ova sekvenca će se koristiti za održavanje internog broja za dnevničke "
"zapise povezane sa ovim dnevnikom."
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_account_sequence_installer
msgid "account.sequence.installer"
msgstr ""
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_account_journal
msgid "Journal"
msgstr "Dnevnik"
#. module: account_sequence
#: view:account.sequence.installer:0
msgid "You can enhance the Account Sequence Application by installing ."
msgstr ""
"Možete da unapredite primjenu računovodstvenih sekvenci instaliranjem."

View File

@ -130,7 +130,7 @@
<separator/>
<filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('state','=','posted'), ('audit','=',False)]" help="To Review"/>
<field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/>
<field name="journal_id" context="{'journal_id': self, 'set_visible':False}" />
<field name="journal_id" widget="selection" context="{'journal_id': self, 'set_visible':False}" /> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="period_id"/>
<group expand="0" string="Group By...">
<filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>

View File

@ -12,7 +12,7 @@
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/>
<filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/>
<field name="partner_id" string="Customer" filter_domain="[('partner_id','child_of',self)]"/>
<field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/>
<field name="journal_id" widget="selection" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="period_id"/>
<group expand="0" string="Group By...">
<filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
@ -35,7 +35,7 @@
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/>
<filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/>
<field name="partner_id" string="Supplier" filter_domain="[('partner_id','child_of',self)]"/>
<field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/>
<field name="journal_id" widget="selection" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="period_id"/>
<group expand="0" string="Group By...">
<filter string="Supplier" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>

View File

@ -11,7 +11,7 @@
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/>
<filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/>
<field name="partner_id" string="Supplier" filter_domain="[('partner_id','child_of',self)]"/>
<field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('purchase','purchase_refund'))]"/>
<field name="journal_id" widget="selection" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('purchase','purchase_refund'))]"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="period_id"/>
<group expand="0" string="Group By...">
<filter string="Supplier" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
@ -33,7 +33,7 @@
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/>
<filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/>
<field name="partner_id" string="Customer" filter_domain="[('partner_id','child_of',self)]"/>
<field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('sale','sale_refund'))]"/>
<field name="journal_id" widget="selection" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('sale','sale_refund'))]"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="period_id"/>
<group expand="0" string="Group By...">
<filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>

View File

@ -1,30 +1,28 @@
# Estonian translation for openobject-addons
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-03 16:03+0000\n"
"PO-Revision-Date: 2011-10-10 19:33+0000\n"
"Last-Translator: Aare Vesi <Unknown>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 14:40+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Estonian <et@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-12-04 05:53+0000\n"
"X-Generator: Launchpad (build 16335)\n"
"X-Launchpad-Export-Date: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: base_crypt
#: model:ir.model,name:base_crypt.model_res_users
#. module: auth_crypt
#: field:res.users,password_crypt:0
msgid "Encrypted Password"
msgstr "Krüpteeritud Parool"
#. module: auth_crypt
#: model:ir.model,name:auth_crypt.model_res_users
msgid "Users"
msgstr ""
#, python-format
#~ msgid "Error"
#~ msgstr "Viga"
#~ msgid "res.users"
#~ msgstr "res.users"
msgstr "Kasutajad"

View File

@ -7,8 +7,8 @@ from werkzeug.exceptions import BadRequest
import openerp
from openerp import SUPERUSER_ID
import openerp.addons.web.http as http
from openerp.addons.web.http import request
from openerp import http
from openerp.http import request
from openerp.addons.web.controllers.main import db_monodb, set_cookie_and_redirect, login_and_redirect
from openerp.modules.registry import RegistryManager

View File

@ -0,0 +1,23 @@
# Estonian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 14:34+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Estonian <et@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: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: auth_oauth_signup
#: model:ir.model,name:auth_oauth_signup.model_res_users
msgid "Users"
msgstr "Kasutajad"

View File

@ -38,8 +38,8 @@ import openerp
from openerp import SUPERUSER_ID
from openerp.modules.registry import RegistryManager
from openerp.addons.web.controllers.main import login_and_redirect, set_cookie_and_redirect
import openerp.addons.web.http as http
from openerp.addons.web.http import request
import openerp.http as http
from openerp.http import request
from .. import utils

View File

@ -22,7 +22,7 @@
<record id="reset_password_email" model="email.template">
<field name="name">Reset Password</field>
<field name="model_id" ref="base.model_res_users"/>
<field name="email_from"><![CDATA[${object.company_id.name} <${object.company_id.email}>]]></field>
<field name="email_from"><![CDATA[${object.company_id.name} <${object.company_id.email or user.email}>]]></field>
<field name="email_to">${object.email}</field>
<field name="subject">Password reset</field>
<field name="body_html"><![CDATA[
@ -37,7 +37,7 @@
<record id="set_password_email" model="email.template">
<field name="name">OpenERP Enterprise Connection</field>
<field name="model_id" ref="base.model_res_users"/>
<field name="email_from"><![CDATA[${object.company_id.name} <${object.company_id.email}>]]></field>
<field name="email_from"><![CDATA[${object.company_id.name} <${object.company_id.email or user.email}>]]></field>
<field name="email_to">${object.email}</field>
<field name="subject"><![CDATA[${object.company_id.name} invitation to connect on OpenERP]]></field>
<field name="body_html">

View File

@ -21,10 +21,10 @@
import logging
import openerp
from openerp import http
from openerp.http import request
from openerp.modules.registry import RegistryManager
from ..res_users import SignupError
import openerp.addons.web.http as http
from openerp.addons.web.http import request
_logger = logging.getLogger(__name__)

View File

@ -63,7 +63,10 @@ class base_action_rule(osv.osv):
'sequence': fields.integer('Sequence',
help="Gives the sequence order when displaying a list of rules."),
'kind': fields.selection(
[('on_create', 'On Creation'), ('on_write', 'On Update'), ('on_time', 'Based on Timed Condition')],
[('on_create', 'On Creation'),
('on_write', 'On Update'),
('on_create_or_write', 'On Creation & Update'),
('on_time', 'Based on Timed Condition')],
string='When to Run'),
'trg_date_id': fields.many2one('ir.model.fields', string='Trigger Date',
help="When should the condition be triggered. If present, will be checked by the scheduler. If empty, will be checked at creation and update.",
@ -97,9 +100,9 @@ class base_action_rule(osv.osv):
def onchange_kind(self, cr, uid, ids, kind, context=None):
clear_fields = []
if kind == 'on_create':
if kind in ['on_create', 'on_create_or_write']:
clear_fields = ['filter_pre_id', 'trg_date_id', 'trg_date_range', 'trg_date_range_type']
elif kind == 'on_write':
elif kind in ['on_write', 'on_create_or_write']:
clear_fields = ['trg_date_id', 'trg_date_range', 'trg_date_range_type']
elif kind == 'on_time':
clear_fields = ['filter_pre_id']
@ -156,7 +159,7 @@ class base_action_rule(osv.osv):
new_id = old_create(cr, uid, vals, context=context)
# retrieve the action rules to run on creation
action_dom = [('model', '=', model), ('kind', '=', 'on_create')]
action_dom = [('model', '=', model), ('kind', 'in', ['on_create', 'on_create_or_write'])]
action_ids = self.search(cr, uid, action_dom, context=context)
# check postconditions, and execute actions on the records that satisfy them
@ -180,7 +183,7 @@ class base_action_rule(osv.osv):
ids = [ids] if isinstance(ids, (int, long, str)) else ids
# retrieve the action rules to run on update
action_dom = [('model', '=', model), ('kind', '=', 'on_write')]
action_dom = [('model', '=', model), ('kind', 'in', ['on_write', 'on_create_or_write'])]
action_ids = self.search(cr, uid, action_dom, context=context)
actions = self.browse(cr, uid, action_ids, context=context)

View File

@ -0,0 +1,257 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-25 23:23+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-26 05:46+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: base_gengo
#: view:res.company:0
msgid "Comments for Translator"
msgstr "Komentari za prevodioca"
#. module: base_gengo
#: field:ir.translation,job_id:0
msgid "Gengo Job ID"
msgstr "Id Gengo zadatka"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:114
#, python-format
msgid "This language is not supported by the Gengo translation services."
msgstr "Ovaj jezik nije podržan od strane Gengo prevodilačkog servisa."
#. module: base_gengo
#: field:res.company,gengo_comment:0
msgid "Comments"
msgstr "Komentari"
#. module: base_gengo
#: field:res.company,gengo_private_key:0
msgid "Gengo Private Key"
msgstr "Gengo privatni ključ"
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_base_gengo_translations
msgid "base.gengo.translations"
msgstr "base.gengo.translations"
#. module: base_gengo
#: help:res.company,gengo_auto_approve:0
msgid "Jobs are Automatically Approved by Gengo."
msgstr "Zadatci su automatski odobreni od strane Gengo"
#. module: base_gengo
#: field:base.gengo.translations,lang_id:0
msgid "Language"
msgstr "Jezik"
#. module: base_gengo
#: field:ir.translation,gengo_comment:0
msgid "Comments & Activity Linked to Gengo"
msgstr "Komentari i Aktivnosti povezani na Gengo"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:124
#, python-format
msgid "Gengo Sync Translation (Response)"
msgstr "Gengo sinhronizacija prevoda (Odgovor)"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:72
#, python-format
msgid ""
"Gengo `Public Key` or `Private Key` are missing. Enter your Gengo "
"authentication parameters under `Settings > Companies > Gengo Parameters`."
msgstr ""
"Gengo `Javni ključ` ili `Privatni ključ` nedostaje. Podesite svoju Gengo "
"prijavu pod `Postavke > Kompanije > Gengo parametri`."
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Translation By Machine"
msgstr "Prevod od strane mašine"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:155
#, python-format
msgid ""
"%s\n"
"\n"
"--\n"
" Commented on %s by %s."
msgstr ""
"%s\n"
"\n"
"--\n"
"Komentirano %s od strane %s."
#. module: base_gengo
#: field:ir.translation,gengo_translation:0
msgid "Gengo Translation Service Level"
msgstr "Nivo Gengo prevodilačkog servisa"
#. module: base_gengo
#: constraint:ir.translation:0
msgid ""
"The Gengo translation service selected is not supported for this language."
msgstr "Odabrani Gengo prevodilački servis nije podržan za ovaj jezik."
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Standard"
msgstr "Standardno"
#. module: base_gengo
#: help:ir.translation,gengo_translation:0
msgid ""
"You can select here the service level you want for an automatic translation "
"using Gengo."
msgstr ""
"Ovdje možete odabrati nivo servisa koji želite za automatski prevod "
"koristeći Gengo."
#. module: base_gengo
#: field:base.gengo.translations,restart_send_job:0
msgid "Restart Sending Job"
msgstr "Ponovno pokreni posao slanja"
#. module: base_gengo
#: view:ir.translation:0
msgid "To Approve In Gengo"
msgstr "Za odobrenje u Gengo"
#. module: base_gengo
#: view:res.company:0
msgid "Private Key"
msgstr "Privatni ključ"
#. module: base_gengo
#: view:res.company:0
msgid "Public Key"
msgstr "Javni ključ"
#. module: base_gengo
#: field:res.company,gengo_public_key:0
msgid "Gengo Public Key"
msgstr "Gengo javno ključ"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:123
#, python-format
msgid "Gengo Sync Translation (Request)"
msgstr "Gengo sinhronizacija prevoda (Zahtjev)"
#. module: base_gengo
#: view:ir.translation:0
msgid "Translations"
msgstr "Prevodi"
#. module: base_gengo
#: field:res.company,gengo_auto_approve:0
msgid "Auto Approve Translation ?"
msgstr "Automatski odobri prevode?"
#. module: base_gengo
#: model:ir.actions.act_window,name:base_gengo.action_wizard_base_gengo_translations
#: model:ir.ui.menu,name:base_gengo.menu_action_wizard_base_gengo_translations
msgid "Gengo: Manual Request of Translation"
msgstr "Gengo: ručni zahtjevi prevoda"
#. module: base_gengo
#: code:addons/base_gengo/ir_translation.py:62
#: code:addons/base_gengo/wizard/base_gengo_translations.py:109
#, python-format
msgid "Gengo Authentication Error"
msgstr "Gerška u autentifikaciji Gengo"
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_res_company
msgid "Companies"
msgstr "Kompanije"
#. module: base_gengo
#: view:ir.translation:0
msgid ""
"Note: If the translation state is 'In Progress', it means that the "
"translation has to be approved to be uploaded in this system. You are "
"supposed to do that directly by using your Gengo Account"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:82
#, python-format
msgid ""
"Gengo connection failed with this message:\n"
"``%s``"
msgstr ""
#. module: base_gengo
#: view:res.company:0
msgid "Gengo Parameters"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Send"
msgstr ""
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Ultra"
msgstr ""
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_ir_translation
msgid "ir.translation"
msgstr ""
#. module: base_gengo
#: view:ir.translation:0
msgid "Gengo Translation Service"
msgstr ""
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Pro"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Gengo Request Form"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:114
#, python-format
msgid "Warning"
msgstr ""
#. module: base_gengo
#: help:res.company,gengo_comment:0
msgid ""
"This comment will be automatically be enclosed in each an every request sent "
"to Gengo"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Cancel"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "or"
msgstr ""

View File

@ -0,0 +1,256 @@
# Danish translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-14 19:01+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Danish <da@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-10-15 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: base_gengo
#: view:res.company:0
msgid "Comments for Translator"
msgstr "Bemærkning til oversætter"
#. module: base_gengo
#: field:ir.translation,job_id:0
msgid "Gengo Job ID"
msgstr "Gengo Job ID"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:114
#, python-format
msgid "This language is not supported by the Gengo translation services."
msgstr "Dette sprog er ikke supporteret af Gengo oversættelses service."
#. module: base_gengo
#: field:res.company,gengo_comment:0
msgid "Comments"
msgstr "Bemærkninger"
#. module: base_gengo
#: field:res.company,gengo_private_key:0
msgid "Gengo Private Key"
msgstr "Gengo Privat nøgle"
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_base_gengo_translations
msgid "base.gengo.translations"
msgstr "base.gengo.translations"
#. module: base_gengo
#: help:res.company,gengo_auto_approve:0
msgid "Jobs are Automatically Approved by Gengo."
msgstr "Opgaver er automatisk godkendt af Gengo."
#. module: base_gengo
#: field:base.gengo.translations,lang_id:0
msgid "Language"
msgstr "Sprog"
#. module: base_gengo
#: field:ir.translation,gengo_comment:0
msgid "Comments & Activity Linked to Gengo"
msgstr "Bemærkninger og aktiviteter forbundet til Gengo"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:124
#, python-format
msgid "Gengo Sync Translation (Response)"
msgstr "Gengo synk oversættelse (Svar)"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:72
#, python-format
msgid ""
"Gengo `Public Key` or `Private Key` are missing. Enter your Gengo "
"authentication parameters under `Settings > Companies > Gengo Parameters`."
msgstr ""
"Gengo 'Offentlig nøgle' eller 'Private nøgle' mangler. Indtast din Gengo "
"godkendelses oplysninger under 'Opsætning > Firmaer > Gengo opsætning'."
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Translation By Machine"
msgstr "Maskinel oversættelse"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:155
#, python-format
msgid ""
"%s\n"
"\n"
"--\n"
" Commented on %s by %s."
msgstr ""
"%s\n"
"\n"
"--\n"
" Kommenteret på %s af %s."
#. module: base_gengo
#: field:ir.translation,gengo_translation:0
msgid "Gengo Translation Service Level"
msgstr "Gengo Oversættelses service niveau"
#. module: base_gengo
#: constraint:ir.translation:0
msgid ""
"The Gengo translation service selected is not supported for this language."
msgstr ""
"Den valgte Genko oversættelses service er ikke supporteret for dette sprog."
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Standard"
msgstr "Standard"
#. module: base_gengo
#: help:ir.translation,gengo_translation:0
msgid ""
"You can select here the service level you want for an automatic translation "
"using Gengo."
msgstr ""
#. module: base_gengo
#: field:base.gengo.translations,restart_send_job:0
msgid "Restart Sending Job"
msgstr ""
#. module: base_gengo
#: view:ir.translation:0
msgid "To Approve In Gengo"
msgstr ""
#. module: base_gengo
#: view:res.company:0
msgid "Private Key"
msgstr "Privat nøgle"
#. module: base_gengo
#: view:res.company:0
msgid "Public Key"
msgstr "Offentlig nøgle"
#. module: base_gengo
#: field:res.company,gengo_public_key:0
msgid "Gengo Public Key"
msgstr "Gengo offentlig nøgle"
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:123
#, python-format
msgid "Gengo Sync Translation (Request)"
msgstr ""
#. module: base_gengo
#: view:ir.translation:0
msgid "Translations"
msgstr "Oversættelser"
#. module: base_gengo
#: field:res.company,gengo_auto_approve:0
msgid "Auto Approve Translation ?"
msgstr ""
#. module: base_gengo
#: model:ir.actions.act_window,name:base_gengo.action_wizard_base_gengo_translations
#: model:ir.ui.menu,name:base_gengo.menu_action_wizard_base_gengo_translations
msgid "Gengo: Manual Request of Translation"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/ir_translation.py:62
#: code:addons/base_gengo/wizard/base_gengo_translations.py:109
#, python-format
msgid "Gengo Authentication Error"
msgstr ""
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_res_company
msgid "Companies"
msgstr ""
#. module: base_gengo
#: view:ir.translation:0
msgid ""
"Note: If the translation state is 'In Progress', it means that the "
"translation has to be approved to be uploaded in this system. You are "
"supposed to do that directly by using your Gengo Account"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:82
#, python-format
msgid ""
"Gengo connection failed with this message:\n"
"``%s``"
msgstr ""
#. module: base_gengo
#: view:res.company:0
msgid "Gengo Parameters"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Send"
msgstr ""
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Ultra"
msgstr ""
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_ir_translation
msgid "ir.translation"
msgstr ""
#. module: base_gengo
#: view:ir.translation:0
msgid "Gengo Translation Service"
msgstr ""
#. module: base_gengo
#: selection:ir.translation,gengo_translation:0
msgid "Pro"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Gengo Request Form"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:114
#, python-format
msgid "Warning"
msgstr ""
#. module: base_gengo
#: help:res.company,gengo_comment:0
msgid ""
"This comment will be automatically be enclosed in each an every request sent "
"to Gengo"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "Cancel"
msgstr ""
#. module: base_gengo
#: view:base.gengo.translations:0
msgid "or"
msgstr ""

View File

@ -1,12 +1,10 @@
# -*- coding: utf-8 -*-
import simplejson
import openerp
from openerp.http import Controller, route
class ImportController(openerp.addons.web.http.Controller):
_cp_path = '/base_import'
@openerp.addons.web.http.httprequest
class ImportController(Controller):
@route('/base_import/set_file')
def set_file(self, req, file, import_id, jsonp='callback'):
import_id = int(import_id)

File diff suppressed because it is too large Load Diff

View File

@ -224,12 +224,13 @@ class ir_import(orm.TransientModel):
headers, matches = self._match_headers(rows, fields, options)
# Match should have consumed the first row (iif headers), get
# the ``count`` next rows for preview
preview = itertools.islice(rows, count)
preview = list(itertools.islice(rows, count))
assert preview, "CSV file seems to have no content"
return {
'fields': fields,
'matches': matches or False,
'headers': headers or False,
'preview': list(preview),
'preview': preview,
}
except Exception, e:
# Due to lazy generators, UnicodeDecodeError (for

View File

@ -0,0 +1,185 @@
# Hindi translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 05:55+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Hindi <hi@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: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: base_report_designer
#: model:ir.model,name:base_report_designer.model_base_report_sxw
msgid "base.report.sxw"
msgstr "base.report.sxw"
#. module: base_report_designer
#: view:base_report_designer.installer:0
msgid "OpenERP Report Designer Configuration"
msgstr ""
#. module: base_report_designer
#: view:base_report_designer.installer:0
msgid ""
"This plug-in allows you to create/modify OpenERP Reports into OpenOffice "
"Writer."
msgstr ""
#. module: base_report_designer
#: view:base.report.sxw:0
msgid "Upload the modified report"
msgstr ""
#. module: base_report_designer
#: view:base.report.file.sxw:0
msgid "The .SXW report"
msgstr ""
#. module: base_report_designer
#: model:ir.model,name:base_report_designer.model_base_report_designer_installer
msgid "base_report_designer.installer"
msgstr ""
#. module: base_report_designer
#: model:ir.model,name:base_report_designer.model_base_report_rml_save
msgid "base.report.rml.save"
msgstr ""
#. module: base_report_designer
#: view:base_report_designer.installer:0
msgid "Configure"
msgstr ""
#. module: base_report_designer
#: view:base_report_designer.installer:0
msgid "title"
msgstr ""
#. module: base_report_designer
#: field:base.report.file.sxw,report_id:0
#: field:base.report.sxw,report_id:0
msgid "Report"
msgstr ""
#. module: base_report_designer
#: view:base.report.rml.save:0
msgid "The RML Report"
msgstr ""
#. module: base_report_designer
#: model:ir.ui.menu,name:base_report_designer.menu_action_report_designer_wizard
msgid "Report Designer"
msgstr ""
#. module: base_report_designer
#: field:base_report_designer.installer,name:0
msgid "File name"
msgstr ""
#. module: base_report_designer
#: view:base.report.file.sxw:0
#: view:base.report.sxw:0
msgid "Get a report"
msgstr ""
#. module: base_report_designer
#: view:base_report_designer.installer:0
#: model:ir.actions.act_window,name:base_report_designer.action_report_designer_wizard
msgid "OpenERP Report Designer"
msgstr ""
#. module: base_report_designer
#: view:base.report.sxw:0
msgid "Continue"
msgstr ""
#. module: base_report_designer
#: field:base.report.rml.save,file_rml:0
msgid "Save As"
msgstr ""
#. module: base_report_designer
#: help:base_report_designer.installer,plugin_file:0
msgid ""
"OpenObject Report Designer plug-in file. Save as this file and install this "
"plug-in in OpenOffice."
msgstr ""
#. module: base_report_designer
#: view:base.report.rml.save:0
msgid "Save RML FIle"
msgstr ""
#. module: base_report_designer
#: field:base.report.file.sxw,file_sxw:0
#: field:base.report.file.sxw,file_sxw_upload:0
msgid "Your .SXW file"
msgstr ""
#. module: base_report_designer
#: view:base_report_designer.installer:0
msgid "Installation and Configuration Steps"
msgstr ""
#. module: base_report_designer
#: field:base_report_designer.installer,description:0
msgid "Description"
msgstr ""
#. module: base_report_designer
#: view:base.report.file.sxw:0
msgid ""
"This is the template of your requested report.\n"
"Save it as a .SXW file and open it with OpenOffice.\n"
"Don't forget to install the OpenERP SA OpenOffice package to modify it.\n"
"Once it is modified, re-upload it in OpenERP using this wizard."
msgstr ""
#. module: base_report_designer
#: model:ir.actions.act_window,name:base_report_designer.action_view_base_report_sxw
msgid "Base Report sxw"
msgstr ""
#. module: base_report_designer
#: model:ir.model,name:base_report_designer.model_base_report_file_sxw
msgid "base.report.file.sxw"
msgstr ""
#. module: base_report_designer
#: field:base_report_designer.installer,plugin_file:0
msgid "OpenObject Report Designer Plug-in"
msgstr ""
#. module: base_report_designer
#: model:ir.actions.act_window,name:base_report_designer.action_report_designer_installer
msgid "OpenERP Report Designer Installation"
msgstr ""
#. module: base_report_designer
#: view:base.report.sxw:0
msgid "Cancel"
msgstr ""
#. module: base_report_designer
#: view:base.report.sxw:0
msgid "or"
msgstr ""
#. module: base_report_designer
#: model:ir.model,name:base_report_designer.model_ir_actions_report_xml
msgid "ir.actions.report.xml"
msgstr ""
#. module: base_report_designer
#: view:base.report.sxw:0
msgid "Select your report"
msgstr ""

View File

@ -26,9 +26,6 @@ from openerp.report.render.rml2pdf import customfonts
class base_config_settings(osv.osv_memory):
_name = 'base.config.settings'
_inherit = 'res.config.settings'
def _get_font(self, cr, uid, context=None):
return sorted(customfonts.RegisterCustomFonts())
_columns = {
'module_multi_company': fields.boolean('Manage multiple companies',
@ -44,11 +41,11 @@ class base_config_settings(osv.osv_memory):
'module_base_import': fields.boolean("Allow users to import data from CSV files"),
'module_google_drive': fields.boolean('Attach Google documents to any record',
help="""This installs the module google_docs."""),
'font': fields.selection(_get_font, "Select Font", help="Set the font into the report header, will be used for every RML report of the user company"),
'font': fields.many2one('res.font', string="Report Font", help="Set the font into the report header, it will be used as default font in the RML reports of the user company"),
}
_defaults= {
'font': lambda self,cr,uid,c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.font or 'Helvetica',
'font': lambda self,cr,uid,c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.font.id,
}
def open_company(self, cr, uid, ids, context=None):
@ -74,9 +71,13 @@ class base_config_settings(osv.osv_memory):
wizard = self.browse(cr, uid, ids)[0]
if wizard.font:
user = self.pool.get('res.users').browse(cr, uid, uid, context)
user.company_id.write({'font':wizard.font,'rml_header': self._change_header(user.company_id.rml_header,wizard.font), 'rml_header2': self._change_header(user.company_id.rml_header2,wizard.font), 'rml_header3': self._change_header(user.company_id.rml_header3,wizard.font)})
font_name = wizard.font.name
user.company_id.write({'font': wizard.font.id,'rml_header': self._change_header(user.company_id.rml_header,font_name), 'rml_header2': self._change_header(user.company_id.rml_header2, font_name), 'rml_header3': self._change_header(user.company_id.rml_header3, font_name)})
return {}
def act_discover_fonts(self, cr, uid, ids, context=None):
return self.pool.get("res.font").discover_fonts(cr, uid, ids, context)
# Preferences wizard for Sales & CRM.
# It is defined here because it is inherited independently in modules sale, crm,
# plugin_outlook and plugin_thunderbird.

View File

@ -90,11 +90,12 @@
</div>
</div>
</group>
<group string="Report Settings">
<label for="font" string="RML font (Header/footer)" />
<group>
<label for="font" />
<div>
<div>
<field name="font" class="oe_inline"/>
<button string="(reload fonts)" name="act_discover_fonts" type="object" class="oe_link"/>
</div>
</div>
</group>

View File

@ -4,14 +4,12 @@ from xml.etree import ElementTree
import openerp
from openerp.addons.web.controllers.main import load_actions_from_ir_values
class Board(openerp.addons.web.http.Controller):
_cp_path = '/board'
@openerp.addons.web.http.jsonrequest
def add_to_dashboard(self, req, menu_id, action_id, context_to_save, domain, view_mode, name=''):
class Board(openerp.http.Controller):
@openerp.http.route('/board/add_to_dashboard', type='json', auth='user')
def add_to_dashboard(self, menu_id, action_id, context_to_save, domain, view_mode, name=''):
req = openerp.http.request
# FIXME move this method to board.board model
dashboard_action = load_actions_from_ir_values(
req, 'action', 'tree_but_open', [('ir.ui.menu', menu_id)], False)
dashboard_action = load_actions_from_ir_values('action', 'tree_but_open', [('ir.ui.menu', menu_id)], False)
if dashboard_action:
action = dashboard_action[0][2]

View File

@ -0,0 +1,33 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 00:35+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: claim_from_delivery
#: view:stock.picking.out:0
msgid "Claims"
msgstr "Prigovori"
#. module: claim_from_delivery
#: model:res.request.link,name:claim_from_delivery.request_link_claim_from_delivery
msgid "Delivery Order"
msgstr "Nalog isporuke"
#. module: claim_from_delivery
#: model:ir.actions.act_window,name:claim_from_delivery.action_claim_from_delivery
msgid "Claim From Delivery"
msgstr "Prigovori isporuke"

View File

@ -0,0 +1,33 @@
# Estonian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 14:42+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Estonian <et@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: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: claim_from_delivery
#: view:stock.picking.out:0
msgid "Claims"
msgstr "Nõuded"
#. module: claim_from_delivery
#: model:res.request.link,name:claim_from_delivery.request_link_claim_from_delivery
msgid "Delivery Order"
msgstr "Tarnetellimus"
#. module: claim_from_delivery
#: model:ir.actions.act_window,name:claim_from_delivery.action_claim_from_delivery
msgid "Claim From Delivery"
msgstr ""

View File

@ -0,0 +1,46 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 00:38+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:50+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: contacts
#: model:ir.actions.act_window,help:contacts.action_contacts
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to add a contact in your address book.\n"
" </p><p>\n"
" OpenERP helps you easily track all activities related to\n"
" a customer; discussions, history of business opportunities,\n"
" documents, etc.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kliknite da dodate kontakt u adresar.\n"
" </p><p>\n"
" OpenERP Vam pomaže da na jednostavan način pratite sve "
"aktivnosti \n"
" vezane za kupca; diskusije, istoriju poslovnih prilika,\n"
" dokumente, itd.\n"
" </p>\n"
" "
#. module: contacts
#: model:ir.actions.act_window,name:contacts.action_contacts
#: model:ir.ui.menu,name:contacts.menu_contacts
msgid "Contacts"
msgstr "Kontakti"

View File

@ -0,0 +1,37 @@
# Japanese translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-22 03:49+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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: 2013-10-23 04:34+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: contacts
#: model:ir.actions.act_window,help:contacts.action_contacts
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to add a contact in your address book.\n"
" </p><p>\n"
" OpenERP helps you easily track all activities related to\n"
" a customer; discussions, history of business opportunities,\n"
" documents, etc.\n"
" </p>\n"
" "
msgstr ""
#. module: contacts
#: model:ir.actions.act_window,name:contacts.action_contacts
#: model:ir.ui.menu,name:contacts.menu_contacts
msgid "Contacts"
msgstr "連絡先"

View File

@ -0,0 +1,37 @@
# Latvian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-16 19:12+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Latvian <lv@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: 2013-10-17 05:33+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: contacts
#: model:ir.actions.act_window,help:contacts.action_contacts
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to add a contact in your address book.\n"
" </p><p>\n"
" OpenERP helps you easily track all activities related to\n"
" a customer; discussions, history of business opportunities,\n"
" documents, etc.\n"
" </p>\n"
" "
msgstr ""
#. module: contacts
#: model:ir.actions.act_window,name:contacts.action_contacts
#: model:ir.ui.menu,name:contacts.menu_contacts
msgid "Contacts"
msgstr "Kontakti"

View File

@ -235,9 +235,12 @@ class MergePartnerAutomatic(osv.TransientModel):
record_ids = proxy.search(cr, openerp.SUPERUSER_ID, domain, context=context)
for record in proxy.browse(cr, openerp.SUPERUSER_ID, record_ids, context=context):
proxy_model = self.pool[record.model]
field_type = proxy_model._columns.get(record.name).__class__._type
try:
proxy_model = self.pool[record.model]
field_type = proxy_model._columns[record.name].__class__._type
except KeyError:
# unknown model or field => skip
continue
if field_type == 'function':
continue

View File

@ -352,10 +352,14 @@ class crm_lead(format_address, osv.osv):
"""
if isinstance(cases, (int, long)):
cases = self.browse(cr, uid, cases, context=context)
if context is None:
context = {}
# check whether we should try to add a condition on type
avoid_add_type_term = any([term for term in domain if len(term) == 3 if term[0] == 'type'])
# collect all section_ids
section_ids = set()
types = ['both']
if not cases:
if not cases and context.get('default_type'):
ctx_type = context.get('default_type')
types += [ctx_type]
if section_id:
@ -373,7 +377,8 @@ class crm_lead(format_address, osv.osv):
search_domain.append(('section_ids', '=', section_id))
search_domain.append(('case_default', '=', True))
# AND with cases types
search_domain.append(('type', 'in', types))
if not avoid_add_type_term:
search_domain.append(('type', 'in', types))
# AND with the domain in parameter
search_domain += list(domain)
# perform search, return the first found
@ -607,10 +612,12 @@ class crm_lead(format_address, osv.osv):
opportunities = self.browse(cr, uid, ids, context=context)
sequenced_opps = []
# Sorting the leads/opps according to the confidence level of its stage, which relates to the probability of winning it
# The confidence level increases with the stage sequence, except when the stage probability is 0.0 (Lost cases)
# An Opportunity always has higher confidence level than a lead, unless its stage probability is 0.0
for opportunity in opportunities:
sequence = -1
# TDE: was "if opportunity.stage_id and opportunity.stage_id.state != 'cancel':"
if opportunity.probability == 0 and opportunity.stage_id and opportunity.stage_id.sequence != 1 and opportunity.stage_id.fold:
if opportunity.stage_id and (opportunity.stage_id.probability != 0 or opportunity.stage_id.sequence == 1):
sequence = opportunity.stage_id.sequence
sequenced_opps.append(((int(sequence != -1 and opportunity.type == 'opportunity'), sequence, -opportunity.id), opportunity))

923
addons/crm_claim/i18n/bs.po Normal file
View File

@ -0,0 +1,923 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 09:17+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: crm_claim
#: help:crm.claim.stage,fold:0
msgid ""
"This stage is not visible, for example in status bar or kanban view, when "
"there are no records in that stage to display."
msgstr ""
"Ova faza nije vidljiva, na primjer u statusnoj liniji ili kanban pogledu, "
"kada nema zapisa u toj fazi za prikaz."
#. module: crm_claim
#: field:crm.claim.report,nbr:0
msgid "# of Cases"
msgstr "# Slučajeva"
#. module: crm_claim
#: view:crm.claim:0
#: view:crm.claim.report:0
msgid "Group By..."
msgstr "Grupiši po..."
#. module: crm_claim
#: view:crm.claim:0
msgid "Responsibilities"
msgstr "Odgovornosti"
#. module: crm_claim
#: help:sale.config.settings,fetchmail_claim:0
msgid ""
"Allows you to configure your incoming mail server, and create claims from "
"incoming emails."
msgstr ""
"Dozvoljava Vam da konfigurišete vaše dolazne mail servere, i da kreirate "
"prigovore iz dolaznih poruka."
#. module: crm_claim
#: model:ir.model,name:crm_claim.model_crm_claim_stage
msgid "Claim stages"
msgstr "Faze prigovora"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "March"
msgstr "Mart"
#. module: crm_claim
#: field:crm.claim.report,delay_close:0
msgid "Delay to close"
msgstr "Odgodi zatvaranje"
#. module: crm_claim
#: field:crm.claim,message_unread:0
msgid "Unread Messages"
msgstr "Nepročitane poruke"
#. module: crm_claim
#: field:crm.claim,resolution:0
msgid "Resolution"
msgstr "Rješenje"
#. module: crm_claim
#: field:crm.claim,company_id:0
#: view:crm.claim.report:0
#: field:crm.claim.report,company_id:0
msgid "Company"
msgstr "Kompanija"
#. module: crm_claim
#: model:ir.actions.act_window,help:crm_claim.crm_claim_categ_action
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to create a claim category.\n"
" </p><p>\n"
" Create claim categories to better manage and classify your\n"
" claims. Some example of claims can be: preventive action,\n"
" corrective action.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kliknite da kreirate kategoriju prigovora.\n"
" </p><p>\n"
" Kreirajte kategorije prigovora da bi ste bolje upravljali i "
"klasifikovali\n"
" prigovore. Neki od primjera bi mogli biti: preventivne "
"akcije,\n"
" korektivne akcije.\n"
" </p>\n"
" "
#. module: crm_claim
#: view:crm.claim.report:0
msgid "#Claim"
msgstr "#Prigovora"
#. module: crm_claim
#: field:crm.claim.stage,name:0
msgid "Stage Name"
msgstr "Naziv faze"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Salesperson"
msgstr "Prodavač"
#. module: crm_claim
#: selection:crm.claim,priority:0
#: selection:crm.claim.report,priority:0
msgid "Highest"
msgstr "Najviši"
#. module: crm_claim
#: view:crm.claim.report:0
#: field:crm.claim.report,day:0
msgid "Day"
msgstr "Dan"
#. module: crm_claim
#: view:crm.claim:0
msgid "Claim Description"
msgstr "Opis prigovora"
#. module: crm_claim
#: field:crm.claim,message_ids:0
msgid "Messages"
msgstr "Poruke"
#. module: crm_claim
#: model:crm.case.categ,name:crm_claim.categ_claim1
msgid "Factual Claims"
msgstr "Činjenični prigovori"
#. module: crm_claim
#: selection:crm.claim,state:0
#: selection:crm.claim.report,state:0
#: selection:crm.claim.stage,state:0
msgid "Cancelled"
msgstr "Otkazano"
#. module: crm_claim
#: model:crm.case.resource.type,name:crm_claim.type_claim2
msgid "Preventive"
msgstr "Preventivno"
#. module: crm_claim
#: help:crm.claim,message_unread:0
msgid "If checked new messages require your attention."
msgstr "Ako je označeno, nove poruke će zahtjevati vašu pažnju."
#. module: crm_claim
#: field:crm.claim.report,date_closed:0
msgid "Close Date"
msgstr "Datum zatvaranja"
#. module: crm_claim
#: view:res.partner:0
msgid "False"
msgstr "Netačno"
#. module: crm_claim
#: field:crm.claim,ref:0
msgid "Reference"
msgstr "Referenca"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Date of claim"
msgstr "Datum prigovora"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "# Mails"
msgstr "# Mail-ova"
#. module: crm_claim
#: help:crm.claim,message_summary:0
msgid ""
"Holds the Chatter summary (number of messages, ...). This summary is "
"directly in html format in order to be inserted in kanban views."
msgstr ""
"Sadrži sažetak konverzacije (broj poruka,..). Ovaj sažetak je u html formatu "
"da bi mogao biti ubačen u kanban pogled."
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,date_deadline:0
#: field:crm.claim.report,date_deadline:0
msgid "Deadline"
msgstr "Rok izvršenja"
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,partner_id:0
#: view:crm.claim.report:0
#: field:crm.claim.report,partner_id:0
#: model:ir.model,name:crm_claim.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: crm_claim
#: view:crm.claim:0
msgid "Follow Up"
msgstr "Praćenje"
#. module: crm_claim
#: selection:crm.claim,type_action:0
#: selection:crm.claim.report,type_action:0
msgid "Preventive Action"
msgstr "Preventivna akcija"
#. module: crm_claim
#: field:crm.claim.report,section_id:0
msgid "Section"
msgstr "Odjel"
#. module: crm_claim
#: view:crm.claim:0
msgid "Root Causes"
msgstr "Osnovni uzroci"
#. module: crm_claim
#: field:crm.claim,user_fault:0
msgid "Trouble Responsible"
msgstr "Odgovoran"
#. module: crm_claim
#: field:crm.claim,priority:0
#: view:crm.claim.report:0
#: field:crm.claim.report,priority:0
msgid "Priority"
msgstr "Prioritet"
#. module: crm_claim
#: field:crm.claim.stage,fold:0
msgid "Hide in Views when Empty"
msgstr "Ne prikazuj u pogledima kada je prazno"
#. module: crm_claim
#: field:crm.claim,message_follower_ids:0
msgid "Followers"
msgstr "Pratioci"
#. module: crm_claim
#: view:crm.claim:0
#: selection:crm.claim,state:0
#: view:crm.claim.report:0
#: model:crm.claim.stage,name:crm_claim.stage_claim1
#: selection:crm.claim.stage,state:0
msgid "New"
msgstr "Novi"
#. module: crm_claim
#: field:crm.claim.stage,section_ids:0
msgid "Sections"
msgstr "Odjeljenja"
#. module: crm_claim
#: field:crm.claim,email_from:0
msgid "Email"
msgstr "E-Mail"
#. module: crm_claim
#: selection:crm.claim,priority:0
#: selection:crm.claim.report,priority:0
msgid "Lowest"
msgstr "Najniži"
#. module: crm_claim
#: field:crm.claim,action_next:0
msgid "Next Action"
msgstr "Sljedeća akcija"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "My Sales Team(s)"
msgstr "Moj(i) prodajni tim(ovi)"
#. module: crm_claim
#: field:crm.claim,create_date:0
msgid "Creation Date"
msgstr "Datum kreiranja"
#. module: crm_claim
#: field:crm.claim,name:0
msgid "Claim Subject"
msgstr "Naslov prigovora"
#. module: crm_claim
#: model:crm.claim.stage,name:crm_claim.stage_claim3
msgid "Rejected"
msgstr "Odbijeno"
#. module: crm_claim
#: field:crm.claim,date_action_next:0
msgid "Next Action Date"
msgstr "Datum sljedeće akcije"
#. module: crm_claim
#: model:ir.actions.act_window,help:crm_claim.action_report_crm_claim
msgid ""
"Have a general overview of all claims processed in the system by sorting "
"them with specific criteria."
msgstr ""
"Imajte opšti uvid u sve prigovore obrađene u sistemu sortirajući ih po "
"specifičnim kriterijumima."
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "July"
msgstr "Jul"
#. module: crm_claim
#: view:crm.claim.stage:0
#: model:ir.actions.act_window,name:crm_claim.crm_claim_stage_act
msgid "Claim Stages"
msgstr "Faze prigovora"
#. module: crm_claim
#: model:ir.ui.menu,name:crm_claim.menu_crm_case_claim-act
msgid "Categories"
msgstr "Kategorije"
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,stage_id:0
#: view:crm.claim.report:0
#: field:crm.claim.report,stage_id:0
msgid "Stage"
msgstr "Faza"
#. module: crm_claim
#: view:crm.claim:0
msgid "Dates"
msgstr "Datumi"
#. module: crm_claim
#: help:crm.claim,email_from:0
msgid "Destination email for email gateway."
msgstr "Odredištni email za mrežni prolaz email-a."
#. module: crm_claim
#: code:addons/crm_claim/crm_claim.py:194
#, python-format
msgid "No Subject"
msgstr "Bez naslova"
#. module: crm_claim
#: help:crm.claim.stage,state:0
msgid ""
"The related status for the stage. The status of your document will "
"automatically change regarding the selected stage. For example, if a stage "
"is related to the status 'Close', when your document reaches this stage, it "
"will be automatically have the 'closed' status."
msgstr ""
"Povezani status Faze. Status vašeg dokumenta će se automatski pormjeniti u "
"odnosu na odabranu fazu. Na primjer, ako je povezano sa statusom 'Zatvoren', "
"kada Vaš dokument dosegne ovaj status, automatski će imati 'Zatvoren' status."
#. module: crm_claim
#: view:crm.claim:0
msgid "Settle"
msgstr ""
#. module: crm_claim
#: model:ir.ui.menu,name:crm_claim.menu_claim_stage_view
msgid "Stages"
msgstr "Faze"
#. module: crm_claim
#: model:ir.actions.act_window,name:crm_claim.action_report_crm_claim
#: model:ir.ui.menu,name:crm_claim.menu_report_crm_claim_tree
msgid "Claims Analysis"
msgstr "Analiza prigovora"
#. module: crm_claim
#: help:crm.claim.report,delay_close:0
msgid "Number of Days to close the case"
msgstr "Broj dana za zatvaranje slučaja"
#. module: crm_claim
#: model:ir.model,name:crm_claim.model_crm_claim_report
msgid "CRM Claim Report"
msgstr "Izvještaj o prigovorima CRM"
#. module: crm_claim
#: view:sale.config.settings:0
msgid "Configure"
msgstr "Konfiguriši"
#. module: crm_claim
#: model:crm.case.resource.type,name:crm_claim.type_claim1
msgid "Corrective"
msgstr "Korektivni"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "September"
msgstr "Septembar"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "December"
msgstr "Decembar"
#. module: crm_claim
#: view:crm.claim.report:0
#: field:crm.claim.report,month:0
msgid "Month"
msgstr "Mjesec"
#. module: crm_claim
#: field:crm.claim,type_action:0
#: view:crm.claim.report:0
#: field:crm.claim.report,type_action:0
msgid "Action Type"
msgstr "Tip akcije"
#. module: crm_claim
#: field:crm.claim,write_date:0
msgid "Update Date"
msgstr "Datum ažuriranja"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Year of claim"
msgstr "Godina prigovora"
#. module: crm_claim
#: help:crm.claim.stage,case_default:0
msgid ""
"If you check this field, this stage will be proposed by default on each "
"sales team. It will not assign this stage to existing teams."
msgstr ""
"Ako označite ovo polje, faza će biti predložena svakom prodajnom timu. Ova "
"faza neće biti dodijeljena postojećim timovima."
#. module: crm_claim
#: field:crm.claim,categ_id:0
#: view:crm.claim.report:0
#: field:crm.claim.report,categ_id:0
msgid "Category"
msgstr "Kategorija"
#. module: crm_claim
#: model:crm.case.categ,name:crm_claim.categ_claim2
msgid "Value Claims"
msgstr "Prigovori na vrijednost"
#. module: crm_claim
#: view:crm.claim:0
msgid "Responsible User"
msgstr "Odgovorni korisnik"
#. module: crm_claim
#: field:crm.claim,email_cc:0
msgid "Watchers Emails"
msgstr "Emailovi posmatrača"
#. module: crm_claim
#: help:crm.claim,email_cc:0
msgid ""
"These email addresses will be added to the CC field of all inbound and "
"outbound emails for this record before being sent. Separate multiple email "
"addresses with a comma"
msgstr ""
"Ove adrese e-pošte će biti dodane u CC polja svih ulaznih i izlaznih e-"
"poruka ovog zapisa prije slanja. Više adresa odvojite zarezom."
#. module: crm_claim
#: selection:crm.claim.report,state:0
msgid "Draft"
msgstr "U pripremi"
#. module: crm_claim
#: selection:crm.claim,priority:0
#: selection:crm.claim.report,priority:0
msgid "Low"
msgstr "Niski"
#. module: crm_claim
#: field:crm.claim,date_closed:0
#: selection:crm.claim,state:0
#: selection:crm.claim.report,state:0
#: selection:crm.claim.stage,state:0
msgid "Closed"
msgstr "Zatvoreno"
#. module: crm_claim
#: view:crm.claim:0
msgid "Reject"
msgstr "Odbaci"
#. module: crm_claim
#: view:res.partner:0
msgid "Partners Claim"
msgstr "Prigovori partnera"
#. module: crm_claim
#: view:crm.claim.stage:0
msgid "Claim Stage"
msgstr "Faza prigovora"
#. module: crm_claim
#: view:crm.claim:0
#: selection:crm.claim,state:0
#: view:crm.claim.report:0
#: selection:crm.claim.report,state:0
#: selection:crm.claim.stage,state:0
msgid "Pending"
msgstr "Na čekanju"
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,state:0
#: view:crm.claim.report:0
#: field:crm.claim.report,state:0
#: field:crm.claim.stage,state:0
msgid "Status"
msgstr "Status"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "August"
msgstr "Avgust"
#. module: crm_claim
#: selection:crm.claim,priority:0
#: selection:crm.claim.report,priority:0
msgid "Normal"
msgstr "Normalni"
#. module: crm_claim
#: help:crm.claim.stage,sequence:0
msgid "Used to order stages. Lower is better."
msgstr "Koristi za poredak faza. Niže je bolje."
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "June"
msgstr "Jun"
#. module: crm_claim
#: field:crm.claim,id:0
msgid "ID"
msgstr "ID"
#. module: crm_claim
#: field:crm.claim,partner_phone:0
msgid "Phone"
msgstr "Telefon"
#. module: crm_claim
#: field:crm.claim,message_is_follower:0
msgid "Is a Follower"
msgstr "Je pratilac"
#. module: crm_claim
#: field:crm.claim.report,user_id:0
msgid "User"
msgstr "Korisnik"
#. module: crm_claim
#: model:ir.actions.act_window,help:crm_claim.crm_claim_stage_act
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to setup a new stage in the processing of the claims. "
"\n"
" </p><p>\n"
" You can create claim stages to categorize the status of "
"every\n"
" claim entered in the system. The stages define all the "
"steps\n"
" required for the resolution of a claim.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kliknite da postavite novu fazu u obradi prigovora. \n"
" </p><p>\n"
" Možete da kreirate faze prigovora da kategorizujete status \n"
" svakog prigovora unesenog u sistem. Faze definišu sve "
"korake\n"
" potrebne za rješavanje prigovora.\n"
" </p>\n"
" "
#. module: crm_claim
#: help:crm.claim,state:0
msgid ""
"The status is set to 'Draft', when a case is created. "
"If the case is in progress the status is set to 'Open'. "
"When the case is over, the status is set to 'Done'. If "
"the case needs to be reviewed then the status is set "
"to 'Pending'."
msgstr ""
"Status je postavljen na 'U pripremi' kada je kreiran slučaj. Kada je slučaj "
"u tijeku status se mijenja u 'Otvoreno', Kad je slujčaj završen, status "
"prelazi u 'Gotovo'. Ukoliko slučaj treba biti ponovo pregledan, status "
"prelazi u 'Na čekanju'"
#. module: crm_claim
#: field:crm.claim,active:0
msgid "Active"
msgstr "Aktivno"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "November"
msgstr "Novembar"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Extended Filters..."
msgstr "Napredni filteri..."
#. module: crm_claim
#: view:crm.claim:0
msgid "Closure"
msgstr "Zatvaranje"
#. module: crm_claim
#: help:crm.claim,section_id:0
msgid ""
"Responsible sales team. Define Responsible user and Email account for mail "
"gateway."
msgstr ""
"Odgovoran prodajni tim. Definirajte odgovorne korisnike i e-mail račune za e-"
"mail gateway."
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "October"
msgstr "Oktobar"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "January"
msgstr "Januar"
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,date:0
msgid "Claim Date"
msgstr "Datum prigovora"
#. module: crm_claim
#: field:crm.claim,message_summary:0
msgid "Summary"
msgstr "Rezime"
#. module: crm_claim
#: model:ir.actions.act_window,name:crm_claim.crm_claim_categ_action
msgid "Claim Categories"
msgstr "Grupe prigovora"
#. module: crm_claim
#: field:crm.claim.stage,case_default:0
msgid "Common to All Teams"
msgstr "Zajedničko za sve timove"
#. module: crm_claim
#: view:crm.claim:0
#: view:crm.claim.report:0
#: model:ir.actions.act_window,name:crm_claim.act_claim_partner
#: model:ir.actions.act_window,name:crm_claim.crm_case_categ_claim0
#: model:ir.ui.menu,name:crm_claim.menu_crm_case_claims
#: view:res.partner:0
#: field:res.partner,claims_ids:0
msgid "Claims"
msgstr "Prigovori"
#. module: crm_claim
#: selection:crm.claim,type_action:0
#: selection:crm.claim.report,type_action:0
msgid "Corrective Action"
msgstr "Korektivne akcije"
#. module: crm_claim
#: model:crm.case.categ,name:crm_claim.categ_claim3
msgid "Policy Claims"
msgstr "Prigovori na politiku"
#. module: crm_claim
#: view:crm.claim:0
msgid "Date Closed"
msgstr "Datum zatvaranja"
#. module: crm_claim
#: view:crm.claim:0
#: model:ir.model,name:crm_claim.model_crm_claim
#: model:ir.ui.menu,name:crm_claim.menu_config_claim
msgid "Claim"
msgstr "Prigovor"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "My Company"
msgstr "Moja kompanija"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Done"
msgstr "Gotovo"
#. module: crm_claim
#: view:crm.claim:0
msgid "Claim Reporter"
msgstr "Prigovor prijavio"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Cancel"
msgstr "Otkaži"
#. module: crm_claim
#: view:crm.claim.report:0
#: selection:crm.claim.report,state:0
msgid "Open"
msgstr "Otvori"
#. module: crm_claim
#: view:crm.claim:0
msgid "New Claims"
msgstr "Novi prigovori"
#. module: crm_claim
#: view:crm.claim:0
#: selection:crm.claim,state:0
#: model:crm.claim.stage,name:crm_claim.stage_claim5
#: selection:crm.claim.stage,state:0
msgid "In Progress"
msgstr "U Toku"
#. module: crm_claim
#: view:crm.claim:0
#: field:crm.claim,user_id:0
msgid "Responsible"
msgstr "Odgovoran"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Search"
msgstr "Traži"
#. module: crm_claim
#: view:crm.claim:0
msgid "Unassigned Claims"
msgstr "Neraspoređeni prigovori"
#. module: crm_claim
#: field:crm.claim.report,delay_expected:0
msgid "Overpassed Deadline"
msgstr "Prekoračen rok"
#. module: crm_claim
#: field:crm.claim,cause:0
msgid "Root Cause"
msgstr "Glavni uzrok"
#. module: crm_claim
#: view:crm.claim:0
msgid "Claim/Action Description"
msgstr "Opis prigovora/akcije"
#. module: crm_claim
#: field:crm.claim,description:0
msgid "Description"
msgstr "Opis"
#. module: crm_claim
#: view:crm.claim:0
msgid "Search Claims"
msgstr "Traži prigovore"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "May"
msgstr "Maj"
#. module: crm_claim
#: view:crm.claim:0
#: view:crm.claim.report:0
msgid "Type"
msgstr "Tip"
#. module: crm_claim
#: view:crm.claim:0
msgid "Resolution Actions"
msgstr "Akcije rješavanja"
#. module: crm_claim
#: field:crm.claim.stage,case_refused:0
msgid "Refused stage"
msgstr "Odbijena faza"
#. module: crm_claim
#: model:ir.actions.act_window,help:crm_claim.crm_case_categ_claim0
msgid ""
"Record and track your customers' claims. Claims may be linked to a sales "
"order or a lot. You can send emails with attachments and keep the full "
"history for a claim (emails sent, intervention type and so on). Claims may "
"automatically be linked to an email address using the mail gateway module."
msgstr ""
#. module: crm_claim
#: field:crm.claim.report,email:0
msgid "# Emails"
msgstr "#E-mail-ova"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "Month of claim"
msgstr "Mjesec prigovora"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "February"
msgstr "Februar"
#. module: crm_claim
#: model:ir.model,name:crm_claim.model_sale_config_settings
msgid "sale.config.settings"
msgstr ""
#. module: crm_claim
#: view:crm.claim.report:0
#: field:crm.claim.report,name:0
msgid "Year"
msgstr "Godina"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "My company"
msgstr "Moja kompanija"
#. module: crm_claim
#: selection:crm.claim.report,month:0
msgid "April"
msgstr "April"
#. module: crm_claim
#: view:crm.claim.report:0
msgid "My Case(s)"
msgstr "Moji slučajevi"
#. module: crm_claim
#: model:crm.claim.stage,name:crm_claim.stage_claim2
msgid "Settled"
msgstr ""
#. module: crm_claim
#: help:crm.claim,message_ids:0
msgid "Messages and communication history"
msgstr "Poruke i istorija komunikacije"
#. module: crm_claim
#: field:sale.config.settings,fetchmail_claim:0
msgid "Create claims from incoming mails"
msgstr "Kreiraj prigovore iz dolaznih emailova"
#. module: crm_claim
#: field:crm.claim.stage,sequence:0
msgid "Sequence"
msgstr "Sekvenca"
#. module: crm_claim
#: view:crm.claim:0
msgid "Actions"
msgstr "Akcije"
#. module: crm_claim
#: selection:crm.claim,priority:0
#: selection:crm.claim.report,priority:0
msgid "High"
msgstr "Visoki"
#. module: crm_claim
#: field:crm.claim,section_id:0
#: view:crm.claim.report:0
msgid "Sales Team"
msgstr "Prodajni tim"
#. module: crm_claim
#: field:crm.claim.report,create_date:0
msgid "Create Date"
msgstr "Datum kreiranja"
#. module: crm_claim
#: view:crm.claim:0
msgid "In Progress Claims"
msgstr "Prigovori u toku"
#. module: crm_claim
#: help:crm.claim.stage,section_ids:0
msgid ""
"Link between stages and sales teams. When set, this limitate the current "
"stage to the selected sales teams."
msgstr ""
"Poveznica između faza i prodajnih timova. Kada je postavljeno, ograničava "
"trenutnu fazu odabranim timovima."
#. module: crm_claim
#: help:crm.claim.stage,case_refused:0
msgid "Refused stages are specific stages for done."
msgstr "Odbijene faze su specifična faza za gotove."

View File

@ -0,0 +1,742 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 09:40+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,delay_close:0
msgid "Delay to Close"
msgstr "Odgoda do zatvaranja"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,nbr:0
msgid "# of Cases"
msgstr "# Slučajeva"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: view:crm.helpdesk.report:0
msgid "Group By..."
msgstr "Grupiši po..."
#. module: crm_helpdesk
#: help:crm.helpdesk,email_from:0
msgid "Destination email for email gateway"
msgstr "Odredišni e-mail za e-mail gateway"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "March"
msgstr "Mart"
#. module: crm_helpdesk
#: field:crm.helpdesk,message_unread:0
msgid "Unread Messages"
msgstr "Nepročitane poruke"
#. module: crm_helpdesk
#: field:crm.helpdesk,company_id:0
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,company_id:0
msgid "Company"
msgstr "Kompanija"
#. module: crm_helpdesk
#: field:crm.helpdesk,email_cc:0
msgid "Watchers Emails"
msgstr "Emailovi posmatrača"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Salesperson"
msgstr "Prodavač"
#. module: crm_helpdesk
#: selection:crm.helpdesk,priority:0
#: selection:crm.helpdesk.report,priority:0
msgid "Highest"
msgstr "Najviši"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,day:0
msgid "Day"
msgstr "Dan"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Date of helpdesk requests"
msgstr "Datum helpdesk zahtjeva"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Notes"
msgstr "Zabilješke"
#. module: crm_helpdesk
#: field:crm.helpdesk,message_ids:0
msgid "Messages"
msgstr "Poruke"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "My company"
msgstr "Moja kompanija"
#. module: crm_helpdesk
#: selection:crm.helpdesk,state:0
#: selection:crm.helpdesk.report,state:0
msgid "Cancelled"
msgstr "Otkazano"
#. module: crm_helpdesk
#: help:crm.helpdesk,message_unread:0
msgid "If checked new messages require your attention."
msgstr "Ako je označeno, nove poruke će zahtjevati vašu pažnju."
#. module: crm_helpdesk
#: model:ir.actions.act_window,name:crm_helpdesk.action_report_crm_helpdesk
#: model:ir.ui.menu,name:crm_helpdesk.menu_report_crm_helpdesks_tree
msgid "Helpdesk Analysis"
msgstr "Analiza helpdeska"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,date_closed:0
msgid "Close Date"
msgstr "Datum zatvaranja"
#. module: crm_helpdesk
#: field:crm.helpdesk,ref:0
msgid "Reference"
msgstr "Referenca"
#. module: crm_helpdesk
#: field:crm.helpdesk,date_action_next:0
msgid "Next Action"
msgstr "Sljedeća akcija"
#. module: crm_helpdesk
#: help:crm.helpdesk,message_summary:0
msgid ""
"Holds the Chatter summary (number of messages, ...). This summary is "
"directly in html format in order to be inserted in kanban views."
msgstr ""
"Sadrži sažetak konverzacije (broj poruka,..). Ovaj sažetak je u html formatu "
"da bi mogao biti ubačen u kanban pogled."
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Helpdesk Supports"
msgstr "Podrške helpdeska"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Extra Info"
msgstr "Dodatne informacije"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,partner_id:0
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,partner_id:0
msgid "Partner"
msgstr "Partner"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Estimates"
msgstr "Procjene"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,section_id:0
msgid "Section"
msgstr "Odjel"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,priority:0
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,priority:0
msgid "Priority"
msgstr "Prioritet"
#. module: crm_helpdesk
#: field:crm.helpdesk,message_follower_ids:0
msgid "Followers"
msgstr "Pratioci"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: selection:crm.helpdesk,state:0
#: view:crm.helpdesk.report:0
msgid "New"
msgstr "Novi"
#. module: crm_helpdesk
#: model:ir.model,name:crm_helpdesk.model_crm_helpdesk_report
msgid "Helpdesk report after Sales Services"
msgstr "Izvještaj heldeska nakon usluga prodaje"
#. module: crm_helpdesk
#: field:crm.helpdesk,email_from:0
msgid "Email"
msgstr "E-Mail"
#. module: crm_helpdesk
#: field:crm.helpdesk,channel_id:0
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,channel_id:0
msgid "Channel"
msgstr "Kanal"
#. module: crm_helpdesk
#: selection:crm.helpdesk,priority:0
#: selection:crm.helpdesk.report,priority:0
msgid "Lowest"
msgstr "Najniži"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "# Mails"
msgstr "# Mail-ova"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "My Sales Team(s)"
msgstr "Moj(i) prodajni tim(ovi)"
#. module: crm_helpdesk
#: field:crm.helpdesk,create_date:0
#: field:crm.helpdesk.report,create_date:0
msgid "Creation Date"
msgstr "Datum kreiranja"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Reset to Draft"
msgstr "Vrati u pripremu"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,date_deadline:0
#: field:crm.helpdesk.report,date_deadline:0
msgid "Deadline"
msgstr "Rok izvršenja"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "July"
msgstr "Jul"
#. module: crm_helpdesk
#: model:ir.actions.act_window,name:crm_helpdesk.crm_helpdesk_categ_action
msgid "Helpdesk Categories"
msgstr "Kategorije korisničke podrške"
#. module: crm_helpdesk
#: model:ir.ui.menu,name:crm_helpdesk.menu_crm_case_helpdesk-act
msgid "Categories"
msgstr "Kategorije"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "New Helpdesk Request"
msgstr "Novi heldesk zahtjev"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Dates"
msgstr "Datumi"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Month of helpdesk requests"
msgstr "Mjesec helpdesk zahtjeva"
#. module: crm_helpdesk
#: code:addons/crm_helpdesk/crm_helpdesk.py:104
#, python-format
msgid "No Subject"
msgstr "Bez naslova"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid ""
"Helpdesk requests that are assigned to me or to one of the sale teams I "
"manage"
msgstr ""
"Heldesk zahtjevi dodijeljeni meni ili jednom od prodajnih timova koje ja "
"vodim"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "#Helpdesk"
msgstr "# Helpdesk"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "All pending Helpdesk Request"
msgstr "Svi heldesk zahtjevi na čekanju"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Year of helpdesk requests"
msgstr "Godina heldesk zahtjeva"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "September"
msgstr "Septembar"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "December"
msgstr "Decembar"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,month:0
msgid "Month"
msgstr "Mjesec"
#. module: crm_helpdesk
#: field:crm.helpdesk,write_date:0
msgid "Update Date"
msgstr "Datum ažuriranja"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Query"
msgstr "Upit"
#. module: crm_helpdesk
#: field:crm.helpdesk,ref2:0
msgid "Reference 2"
msgstr "Referenca 2"
#. module: crm_helpdesk
#: field:crm.helpdesk,categ_id:0
#: field:crm.helpdesk.report,categ_id:0
msgid "Category"
msgstr "Kategorija"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Responsible User"
msgstr "Odgovorni korisnik"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Helpdesk Support"
msgstr "Helpdesk podrška"
#. module: crm_helpdesk
#: field:crm.helpdesk,planned_cost:0
#: field:crm.helpdesk.report,planned_cost:0
msgid "Planned Costs"
msgstr "Planirani troškovi"
#. module: crm_helpdesk
#: help:crm.helpdesk,channel_id:0
msgid "Communication channel."
msgstr "Kanal komunikacije"
#. module: crm_helpdesk
#: help:crm.helpdesk,email_cc:0
msgid ""
"These email addresses will be added to the CC field of all inbound and "
"outbound emails for this record before being sent. Separate multiple email "
"addresses with a comma"
msgstr ""
"Ove adrese e-pošte će biti dodane u CC polja svih ulaznih i izlaznih e-"
"poruka ovog zapisa prije slanja. Više adresa odvojite zarezom."
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Search Helpdesk"
msgstr "Pretraži helpdesk"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,state:0
msgid "Draft"
msgstr "U pripremi"
#. module: crm_helpdesk
#: selection:crm.helpdesk,priority:0
#: selection:crm.helpdesk.report,priority:0
msgid "Low"
msgstr "Niski"
#. module: crm_helpdesk
#: field:crm.helpdesk,date_closed:0
#: selection:crm.helpdesk,state:0
#: view:crm.helpdesk.report:0
#: selection:crm.helpdesk.report,state:0
msgid "Closed"
msgstr "Zatvoreno"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: selection:crm.helpdesk,state:0
#: selection:crm.helpdesk.report,state:0
msgid "Pending"
msgstr "Na čekanju"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,state:0
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,state:0
msgid "Status"
msgstr "Status"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "August"
msgstr "Avgust"
#. module: crm_helpdesk
#: selection:crm.helpdesk,priority:0
#: selection:crm.helpdesk.report,priority:0
msgid "Normal"
msgstr "Normalni"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Escalate"
msgstr "Eskaliraj"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "June"
msgstr "Jun"
#. module: crm_helpdesk
#: field:crm.helpdesk,id:0
msgid "ID"
msgstr "ID"
#. module: crm_helpdesk
#: model:ir.actions.act_window,help:crm_helpdesk.crm_case_helpdesk_act111
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to create a new request. \n"
" </p><p>\n"
" Helpdesk and Support allow you to track your interventions.\n"
" </p><p>\n"
" Use the OpenERP Issues system to manage your support\n"
" activities. Issues can be connected to the email gateway: "
"new\n"
" emails may create issues, each of them automatically gets "
"the\n"
" history of the conversation with the customer.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kliknite za kreiranje novog zahtjeva. \n"
" </p><p>\n"
" Helpdesk i Podrška Vam dozvoljava da pratite svoje "
"intervencije.\n"
" </p><p>\n"
" Koristite OpenERP sistem Prijave da upravljate vašim "
"aktivnostima\n"
" podrške. Prijave mogu biti spojene na mrežni prolaz email-a: "
"novi\n"
" emailovi mogu kreirati prijave, svaki od njih automatski "
"dobiva\n"
" istoriju konverzacije sa kupcem.\n"
" </p>\n"
" "
#. module: crm_helpdesk
#: field:crm.helpdesk,planned_revenue:0
msgid "Planned Revenue"
msgstr "Planirani prihod"
#. module: crm_helpdesk
#: field:crm.helpdesk,message_is_follower:0
msgid "Is a Follower"
msgstr "Je pratilac"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,user_id:0
msgid "User"
msgstr "Korisnik"
#. module: crm_helpdesk
#: field:crm.helpdesk,active:0
msgid "Active"
msgstr "Aktivno"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "November"
msgstr "Novembar"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Extended Filters..."
msgstr "Napredni filteri..."
#. module: crm_helpdesk
#: model:ir.actions.act_window,name:crm_helpdesk.crm_case_helpdesk_act111
msgid "Helpdesk Requests"
msgstr "Helpdesk zahtjevi"
#. module: crm_helpdesk
#: help:crm.helpdesk,section_id:0
msgid ""
"Responsible sales team. Define Responsible user and Email account for mail "
"gateway."
msgstr ""
"Odgovoran prodajni tim. Definirajte odgovorne korisnike i e-mail račune za e-"
"mail gateway."
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "October"
msgstr "Oktobar"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "January"
msgstr "Januar"
#. module: crm_helpdesk
#: field:crm.helpdesk,message_summary:0
msgid "Summary"
msgstr "Rezime"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,date:0
msgid "Date"
msgstr "Datum"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Misc"
msgstr "Razno"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "My Company"
msgstr "Moja kompanija"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "General"
msgstr "Opšte"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "References"
msgstr "Reference"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Communication"
msgstr "Komunikacija"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Cancel"
msgstr ""
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Close"
msgstr ""
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: view:crm.helpdesk.report:0
#: selection:crm.helpdesk.report,state:0
msgid "Open"
msgstr "Otvori"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Helpdesk Support Tree"
msgstr "Drvo Helpdesk podrške"
#. module: crm_helpdesk
#: selection:crm.helpdesk,state:0
msgid "In Progress"
msgstr "U Toku"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Categorization"
msgstr "Kategorizacija"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
#: model:ir.model,name:crm_helpdesk.model_crm_helpdesk
#: model:ir.ui.menu,name:crm_helpdesk.menu_config_helpdesk
msgid "Helpdesk"
msgstr "Helpdesk"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,user_id:0
msgid "Responsible"
msgstr "Odgovoran"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "Search"
msgstr "Traži"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,delay_expected:0
msgid "Overpassed Deadline"
msgstr "Prekoračen rok"
#. module: crm_helpdesk
#: field:crm.helpdesk,description:0
msgid "Description"
msgstr "Opis"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "May"
msgstr "Maj"
#. module: crm_helpdesk
#: field:crm.helpdesk,probability:0
msgid "Probability (%)"
msgstr "Vjerovatnoća (%)"
#. module: crm_helpdesk
#: field:crm.helpdesk.report,email:0
msgid "# Emails"
msgstr "#E-mail-ova"
#. module: crm_helpdesk
#: model:ir.actions.act_window,help:crm_helpdesk.action_report_crm_helpdesk
msgid ""
"Have a general overview of all support requests by sorting them with "
"specific criteria such as the processing time, number of requests answered, "
"emails sent and costs."
msgstr ""
"Općeniti pregled svih zahtjeva za podrškom tako da ih sortirate po određenim "
"kriterijima kao što su vrijeme obrade, broj odgovorenih zahtjeva, poslanih e-"
"mailova i troškova."
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "February"
msgstr "Februar"
#. module: crm_helpdesk
#: field:crm.helpdesk,name:0
msgid "Name"
msgstr "Naziv"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
#: field:crm.helpdesk.report,name:0
msgid "Year"
msgstr "Godina"
#. module: crm_helpdesk
#: model:ir.ui.menu,name:crm_helpdesk.menu_help_support_main
msgid "Helpdesk and Support"
msgstr "Helpdesk i Podrška"
#. module: crm_helpdesk
#: selection:crm.helpdesk.report,month:0
msgid "April"
msgstr "April"
#. module: crm_helpdesk
#: view:crm.helpdesk.report:0
msgid "My Case(s)"
msgstr "Moji slučajevi"
#. module: crm_helpdesk
#: help:crm.helpdesk,state:0
msgid ""
"The status is set to 'Draft', when a case is created. "
" \n"
"If the case is in progress the status is set to 'Open'. "
" \n"
"When the case is over, the status is set to 'Done'. "
" \n"
"If the case needs to be reviewed then the status is set to 'Pending'."
msgstr ""
"Status je postavljen na 'U toku', kada je slučaj kreiran. "
" \n"
"Ako je slučaj u toku status je 'U toku'. \n"
"Kada je slučaj završen status je 'Gotovo'. "
"\n"
"Ako slučaj treba da se provjeri status je 'Na čekanju'."
#. module: crm_helpdesk
#: help:crm.helpdesk,message_ids:0
msgid "Messages and communication history"
msgstr "Poruke i istorija komunikacije"
#. module: crm_helpdesk
#: model:ir.actions.act_window,help:crm_helpdesk.crm_helpdesk_categ_action
msgid ""
"Create and manage helpdesk categories to better manage and classify your "
"support requests."
msgstr ""
"Kreirajte i upravljajte kategorijama helpdesk-a da bolje upravljate i "
"klasifikujete svoje zahtjeve podrške."
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Request Date"
msgstr "Datum zahtjeva"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Open Helpdesk Request"
msgstr "Otvori Helpdesk zahtjev"
#. module: crm_helpdesk
#: selection:crm.helpdesk,priority:0
#: selection:crm.helpdesk.report,priority:0
msgid "High"
msgstr "Visoki"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
#: field:crm.helpdesk,section_id:0
#: view:crm.helpdesk.report:0
msgid "Sales Team"
msgstr "Prodajni tim"
#. module: crm_helpdesk
#: field:crm.helpdesk,date_action_last:0
msgid "Last Action"
msgstr "Posljednja akcija"
#. module: crm_helpdesk
#: view:crm.helpdesk:0
msgid "Assigned to Me or My Sales Team(s)"
msgstr "Dodjeljeno meni ili mojem prodajnom timu (timovima)"
#. module: crm_helpdesk
#: field:crm.helpdesk,duration:0
msgid "Duration"
msgstr "Trajanje"

View File

@ -8,7 +8,7 @@
<field name="arch" type="xml">
<data>
<xpath expr="//notebook/page[@string='Lead']" position="after">
<page string="Assigned Partner" groups="base.group_sale_manager">
<page string="Assigned Partner" groups="base.group_sale_salesman">
<group name="partner_assign_group">
<group string="Partner Assignation" col="3" colspan="1">
<label for="partner_latitude" string="Geolocation" />
@ -78,7 +78,7 @@
<field name="arch" type="xml">
<data>
<xpath expr="//notebook/page[@string='Extra Info']" position="after">
<page string="Assigned Partner" groups="base.group_sale_manager">
<page string="Assigned Partner" groups="base.group_sale_salesman">
<group name="partner_assign_group">
<group string="Partner Assignation" col="3">
<label for="partner_latitude" string="Geolocation" />

View File

@ -59,6 +59,10 @@
<field name="description" nolabel="1" colspan="2"/>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread" readonly="1"/>
</div>
</form>
</field>
</record>
@ -145,6 +149,10 @@
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread" readonly="1"/>
</div>
</form>
</field>
</record>

View File

@ -0,0 +1,943 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 09:53+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,delay_close:0
msgid "Delay to Close"
msgstr "Odgoda do zatvaranja"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,author_id:0
msgid "Author"
msgstr "Autor"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,planned_revenue:0
msgid "Planned Revenue"
msgstr "Planirani prihod"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,type:0
msgid ""
"Message type: email for email message, notification for system message, "
"comment for other messages such as user replies"
msgstr ""
"Vrsta poruke: e-mail za e-mail poruke, obavjest za sistemske poruke, "
"komentari za druge poruke poput korisničkih odgovora"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,nbr:0
msgid "# of Cases"
msgstr "# Slučajeva"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: view:crm.partner.report.assign:0
msgid "Group By..."
msgstr "Grupiši po..."
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,body:0
msgid "Automatically sanitized HTML contents"
msgstr "Automatski počišćen HTML sadržaj"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Forward"
msgstr "Naprijed"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Geo Localize"
msgstr "Geo lokalizacija"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,starred:0
msgid "Starred"
msgstr "Sa zvjezdicom"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
msgid "Body"
msgstr "Tijelo poruke"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,email_from:0
msgid ""
"Email address of the sender. This field is set when no matching partner is "
"found for incoming emails."
msgstr ""
"Email adresa pošiljatelja. Ovo se polje postavlja kada nije pronađen partner "
"za dolazni email."
#. module: crm_partner_assign
#: view:crm.partner.report.assign:0
msgid "Date Partnership"
msgstr "Datum partnerstva"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,type:0
msgid "Lead"
msgstr "Potencijal"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Delay to close"
msgstr "Odgodi zatvaranje"
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,history_mode:0
msgid "Whole Story"
msgstr "Cijela priča"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,company_id:0
msgid "Company"
msgstr "Kompanija"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,notification_ids:0
msgid "Notifications"
msgstr "Obavještenja"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,date_assign:0
msgid "Partner Date"
msgstr "Partnerov datum"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: view:crm.partner.report.assign:0
#: view:res.partner:0
msgid "Salesperson"
msgstr "Prodavač"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,priority:0
msgid "Highest"
msgstr "Najviši"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,day:0
msgid "Day"
msgstr "Dan"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,message_id:0
msgid "Message unique identifier"
msgstr "Jedinstveni identifikator poruke"
#. module: crm_partner_assign
#: field:res.partner,date_review_next:0
msgid "Next Partner Review"
msgstr "Sljedeća ocjena partnera"
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,history_mode:0
msgid "Latest email"
msgstr "Zadnji email"
#. module: crm_partner_assign
#: field:crm.lead,partner_latitude:0
#: field:res.partner,partner_latitude:0
msgid "Geo Latitude"
msgstr "Geo širina"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,state:0
msgid "Cancelled"
msgstr "Otkazano"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Geo Assignation"
msgstr "Geo dodjeljivanje"
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_crm_lead_forward_to_partner
msgid "Email composition wizard"
msgstr "Čarobnjak sastavljanja email-a"
#. module: crm_partner_assign
#: field:crm.partner.report.assign,turnover:0
msgid "Turnover"
msgstr "Obrtana zarada"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,date_closed:0
msgid "Close Date"
msgstr "Datum zatvaranja"
#. module: crm_partner_assign
#: help:res.partner,partner_weight:0
msgid ""
"Gives the probability to assign a lead to this partner. (0 means no "
"assignation.)"
msgstr ""
"Vjerojatnost za dodjeljivanje prilike ovom partneru (0 = nema dodjeljivanja)"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Partner Activation"
msgstr "Aktivacija partnera"
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,type:0
msgid "System notification"
msgstr "Sistemska obavijest"
#. module: crm_partner_assign
#: code:addons/crm_partner_assign/wizard/crm_forward_to_partner.py:74
#, python-format
msgid "Lead forward"
msgstr "Prosljeđivanje potencijalnog kontakta"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,probability:0
msgid "Avg Probability"
msgstr "Prosječna vjerojatnost"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Previous"
msgstr "Prethodni"
#. module: crm_partner_assign
#: code:addons/crm_partner_assign/partner_geo_assign.py:36
#, python-format
msgid "Network error"
msgstr "Greška u mreži"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,email_from:0
msgid "From"
msgstr "Od"
#. module: crm_partner_assign
#: model:ir.actions.act_window,name:crm_partner_assign.res_partner_grade_action
#: model:ir.ui.menu,name:crm_partner_assign.menu_res_partner_grade_action
#: view:res.partner.grade:0
msgid "Partner Grade"
msgstr "Ocjena partnera"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: view:crm.partner.report.assign:0
msgid "Section"
msgstr "Odjel"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
msgid "Send"
msgstr "Pošalji"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Next"
msgstr "Sljedeći"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,priority:0
msgid "Priority"
msgstr "Prioritet"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,delay_expected:0
msgid "Overpassed Deadline"
msgstr "Prekoračen rok"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,type:0
#: field:crm.lead.report.assign,type:0
msgid "Type"
msgstr "Tip"
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,type:0
msgid "Email"
msgstr "E-Mail"
#. module: crm_partner_assign
#: help:crm.lead,partner_assigned_id:0
msgid "Partner this case has been forwarded/assigned to."
msgstr "Partner kojemu je ovaj slučaj proslijeđen/dodjeljen."
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,priority:0
msgid "Lowest"
msgstr "Najniži"
#. module: crm_partner_assign
#: view:crm.partner.report.assign:0
msgid "Date Invoice"
msgstr "Datum fakture"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,template_id:0
msgid "Template"
msgstr "Predložak"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Assign Date"
msgstr "Dodjeljeni datum"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Leads Analysis"
msgstr "Analiza CRM potencijala"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,creation_date:0
msgid "Creation Date"
msgstr "Datum kreiranja"
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_res_partner_activation
msgid "res.partner.activation"
msgstr ""
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,parent_id:0
msgid "Parent Message"
msgstr "Nadređena poruka"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,res_id:0
msgid "Related Document ID"
msgstr "Povezani ID dokumenta"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,state:0
msgid "Pending"
msgstr "Na čekanju"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Partner Assignation"
msgstr "Pridruživanje partnera"
#. module: crm_partner_assign
#: help:crm.lead.report.assign,type:0
msgid "Type is used to separate Leads and Opportunities"
msgstr "Tip se koristi za razlikovanje potencijala od prilika."
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "July"
msgstr "Jul"
#. module: crm_partner_assign
#: view:crm.partner.report.assign:0
msgid "Date Review"
msgstr "Datum provjere"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,stage_id:0
msgid "Stage"
msgstr "Faza"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,state:0
msgid "Status"
msgstr "Status"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,to_read:0
msgid "To read"
msgstr "Za čitanje"
#. module: crm_partner_assign
#: code:addons/crm_partner_assign/wizard/crm_forward_to_partner.py:74
#, python-format
msgid "Fwd"
msgstr "Proslijedi"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Geo Localization"
msgstr "Geo lokalizacija"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: view:crm.partner.report.assign:0
msgid "Opportunities Assignment Analysis"
msgstr "Analiza dodjeljivanja prilika"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
#: view:res.partner:0
msgid "Cancel"
msgstr "Otkaži"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,history_mode:0
msgid "Send history"
msgstr "Istorija slanja"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Close"
msgstr "Zatvoreno"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "March"
msgstr "Mart"
#. module: crm_partner_assign
#: model:ir.actions.act_window,name:crm_partner_assign.action_report_crm_opportunity_assign
#: model:ir.ui.menu,name:crm_partner_assign.menu_report_crm_opportunities_assign_tree
msgid "Opp. Assignment Analysis"
msgstr "Analiza dodjeljivanja prilika"
#. module: crm_partner_assign
#: help:crm.lead.report.assign,delay_close:0
msgid "Number of Days to close the case"
msgstr "Broj dana za zatvaranje slučaja"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,notified_partner_ids:0
msgid ""
"Partners that have a notification pushing this message in their mailboxes"
msgstr "Poruka za partnere koji imaju obavjesti."
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,type:0
msgid "Comment"
msgstr "Komentar"
#. module: crm_partner_assign
#: field:res.partner,partner_weight:0
msgid "Weight"
msgstr "Težina"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "April"
msgstr "April"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,grade_id:0
#: view:crm.partner.report.assign:0
#: field:crm.partner.report.assign,grade_id:0
msgid "Grade"
msgstr "Ocjena"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "December"
msgstr "Decembar"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,vote_user_ids:0
msgid "Users that voted for this message"
msgstr "Korisnici koji su glasali za ovu poruku"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,month:0
msgid "Month"
msgstr "Mjesec"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,opening_date:0
msgid "Opening Date"
msgstr "Datum otvaranja"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,child_ids:0
msgid "Child Messages"
msgstr "Podređene poruke"
#. module: crm_partner_assign
#: field:crm.partner.report.assign,date_review:0
#: field:res.partner,date_review:0
msgid "Latest Partner Review"
msgstr "Posljednja ocjena partnera"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,subject:0
msgid "Subject"
msgstr "Tema"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
msgid "or"
msgstr "ili"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,body:0
msgid "Contents"
msgstr "Sadržaji"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,vote_user_ids:0
msgid "Votes"
msgstr "Glasovi"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "#Opportunities"
msgstr "# Prilika"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,starred:0
msgid "Current user has a starred notification linked to this message"
msgstr "Trenutni korisnik ima označenu obavijest povezanu sa ovom porukom."
#. module: crm_partner_assign
#: field:crm.partner.report.assign,date_partnership:0
#: field:res.partner,date_partnership:0
msgid "Partnership Date"
msgstr "Datum partnerstva"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Team"
msgstr "Tim"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,state:0
msgid "Draft"
msgstr "U pripremi"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,priority:0
msgid "Low"
msgstr "Niski"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: selection:crm.lead.report.assign,state:0
msgid "Closed"
msgstr "Zatvoreno"
#. module: crm_partner_assign
#: model:ir.actions.act_window,name:crm_partner_assign.action_crm_send_mass_forward
msgid "Mass forward to partner"
msgstr "Masovno prosljeđivanje partneru"
#. module: crm_partner_assign
#: view:res.partner:0
#: field:res.partner,opportunity_assigned_ids:0
msgid "Assigned Opportunities"
msgstr "Dodjeljene prilike"
#. module: crm_partner_assign
#: field:crm.lead,date_assign:0
msgid "Assignation Date"
msgstr "Datum dodjeljivanja"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,probability_max:0
msgid "Max Probability"
msgstr "Najveća vjerovatnost"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "August"
msgstr "Avgust"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,record_name:0
msgid "Name get of the related document."
msgstr "Ime prezueto iz povezanog dokumenta"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,priority:0
msgid "Normal"
msgstr "Normalni"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Escalate"
msgstr "Eskaliraj"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "June"
msgstr "Jun"
#. module: crm_partner_assign
#: help:crm.lead.report.assign,delay_open:0
msgid "Number of Days to open the case"
msgstr "Broj danas za otvaranje slučaja"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,delay_open:0
msgid "Delay to Open"
msgstr "Odgoda do otvaranja"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,user_id:0
#: field:crm.partner.report.assign,user_id:0
msgid "User"
msgstr "Korisnik"
#. module: crm_partner_assign
#: field:res.partner.grade,active:0
msgid "Active"
msgstr "Aktivan"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "November"
msgstr "Novembar"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Extended Filters..."
msgstr "Napredni filteri..."
#. module: crm_partner_assign
#: field:crm.lead,partner_longitude:0
#: field:res.partner,partner_longitude:0
msgid "Geo Longitude"
msgstr "Geo dužina"
#. module: crm_partner_assign
#: field:crm.partner.report.assign,opp:0
msgid "# of Opportunity"
msgstr "# Prilika"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Lead Assign"
msgstr "Dodjeljivanje potencijala"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "October"
msgstr "Oktobar"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Assignation"
msgstr "Dodjeljivanje"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "January"
msgstr "Januar"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
msgid "Send Mail"
msgstr "Pošalji email"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,date:0
msgid "Date"
msgstr "Datum"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Planned Revenues"
msgstr "Planirani prihodi"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Partner Review"
msgstr "Ocjena partnera"
#. module: crm_partner_assign
#: field:crm.partner.report.assign,period_id:0
msgid "Invoice Period"
msgstr "Razdoblje računa"
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_res_partner_grade
msgid "res.partner.grade"
msgstr ""
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,message_id:0
msgid "Message-Id"
msgstr "Id-poruke"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
#: field:crm.lead.forward.to.partner,attachment_ids:0
msgid "Attachments"
msgstr "Prilozi"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,record_name:0
msgid "Message Record Name"
msgstr "Naziv zapisa poruke"
#. module: crm_partner_assign
#: field:res.partner.activation,sequence:0
#: field:res.partner.grade,sequence:0
msgid "Sequence"
msgstr "Sekvenca"
#. module: crm_partner_assign
#: code:addons/crm_partner_assign/partner_geo_assign.py:37
#, python-format
msgid ""
"Cannot contact geolocation servers. Please make sure that your internet "
"connection is up and running (%s)."
msgstr ""
"Niej moguće uspostaviti vezu sa geolokacijskim serverima. Provjerite "
"internet vezu (%s)."
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "September"
msgstr "Septembar"
#. module: crm_partner_assign
#: field:res.partner.grade,name:0
msgid "Grade Name"
msgstr "Naziv ocjene"
#. module: crm_partner_assign
#: help:crm.lead,date_assign:0
msgid "Last date this case was forwarded/assigned to a partner"
msgstr "Posljednji datum prosljeđivanja/dodjeljivanja ovog slučaja partneru."
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,state:0
#: view:res.partner:0
msgid "Open"
msgstr "Otvoren"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,subtype_id:0
msgid "Subtype"
msgstr "Podtip"
#. module: crm_partner_assign
#: field:res.partner,date_localization:0
msgid "Geo Localization Date"
msgstr "Datum Geo lokalizacije"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Current"
msgstr "Trenutni"
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Potencijal/Prilika"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,notified_partner_ids:0
msgid "Notified partners"
msgstr "Obaviješteni partneri"
#. module: crm_partner_assign
#: view:crm.lead.forward.to.partner:0
#: model:ir.actions.act_window,name:crm_partner_assign.crm_lead_forward_to_partner_act
msgid "Forward to Partner"
msgstr "Proslijedi partneru"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,section_id:0
#: field:crm.partner.report.assign,section_id:0
msgid "Sales Team"
msgstr "Prodajni tim"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "May"
msgstr "Maj"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,probable_revenue:0
msgid "Probable Revenue"
msgstr "Očekivani Prihod"
#. module: crm_partner_assign
#: view:crm.partner.report.assign:0
#: field:crm.partner.report.assign,activation:0
#: view:res.partner:0
#: field:res.partner,activation:0
#: view:res.partner.activation:0
msgid "Activation"
msgstr "Aktivacija"
#. module: crm_partner_assign
#: view:crm.lead:0
#: field:crm.lead,partner_assigned_id:0
msgid "Assigned Partner"
msgstr "Dodjeljeni partner"
#. module: crm_partner_assign
#: field:res.partner,grade_id:0
msgid "Partner Level"
msgstr "Razina partnera"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,to_read:0
msgid "Current user has an unread notification linked to this message"
msgstr ""
"Trenutni korisnik ima nepročitane obavijesti povezane sa ovom porukom"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,type:0
msgid "Opportunity"
msgstr "Prilika"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,partner_id:0
msgid "Customer"
msgstr "Kupac"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,month:0
msgid "February"
msgstr "Februar"
#. module: crm_partner_assign
#: field:res.partner.activation,name:0
msgid "Name"
msgstr "Naziv"
#. module: crm_partner_assign
#: model:ir.actions.act_window,name:crm_partner_assign.res_partner_activation_act
#: model:ir.ui.menu,name:crm_partner_assign.res_partner_activation_config_mi
msgid "Partner Activations"
msgstr "Aktivacije partnera"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,country_id:0
#: view:crm.partner.report.assign:0
#: field:crm.partner.report.assign,country_id:0
msgid "Country"
msgstr "Država"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,year:0
msgid "Year"
msgstr "Godina"
#. module: crm_partner_assign
#: view:res.partner:0
msgid "Convert to Opportunity"
msgstr "Pretvori u priliku"
#. module: crm_partner_assign
#: view:crm.lead:0
msgid "Geo Assign"
msgstr "Geo dodjeljivanje"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
msgid "Delay to open"
msgstr "Odgoda otvaranja"
#. module: crm_partner_assign
#: model:ir.actions.act_window,name:crm_partner_assign.action_report_crm_partner_assign
#: model:ir.ui.menu,name:crm_partner_assign.menu_report_crm_partner_assign_tree
msgid "Partnership Analysis"
msgstr "Analiza partnerstva"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,notification_ids:0
msgid ""
"Technical field holding the message notifications. Use notified_partner_ids "
"to access notified partners."
msgstr ""
"Tehničko polje koje sadrži obavijesti poruke. Koristite notified_partner_ids "
"za pristupanje obaviještenim partnerima."
#. module: crm_partner_assign
#: view:crm.partner.report.assign:0
msgid "Partner assigned Analysis"
msgstr "Analiza dodjeljena partneru"
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_crm_lead_report_assign
msgid "CRM Lead Report"
msgstr "Izvještaj CRM prilika"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,composition_mode:0
msgid "Composition mode"
msgstr "Mod sastavljanja"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,model:0
msgid "Related Document Model"
msgstr "Povezani model dokumenta"
#. module: crm_partner_assign
#: selection:crm.lead.forward.to.partner,history_mode:0
msgid "Case Information"
msgstr "Potvrda slučaja"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,author_id:0
msgid ""
"Author of the message. If not set, email_from may hold an email address that "
"did not match any partner."
msgstr ""
"Autor poruke. Ako nije postavljen, email_from može sadržavati adresu e-pošte "
"koja nije odgovarala niti jednom partneru."
#. module: crm_partner_assign
#: model:ir.model,name:crm_partner_assign.model_crm_partner_report_assign
msgid "CRM Partner Report"
msgstr "CRM Partner izvještaj"
#. module: crm_partner_assign
#: selection:crm.lead.report.assign,priority:0
msgid "High"
msgstr "Visoki"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,partner_ids:0
msgid "Additional contacts"
msgstr "Dodatni kontakti"
#. module: crm_partner_assign
#: help:crm.lead.forward.to.partner,parent_id:0
msgid "Initial thread message."
msgstr "Inicijalna nit poruke"
#. module: crm_partner_assign
#: field:crm.lead.report.assign,create_date:0
msgid "Create Date"
msgstr "Datum kreiranja"
#. module: crm_partner_assign
#: field:crm.lead.forward.to.partner,filter_id:0
msgid "Filters"
msgstr "Filteri"
#. module: crm_partner_assign
#: view:crm.lead.report.assign:0
#: field:crm.lead.report.assign,partner_assigned_id:0
#: view:crm.partner.report.assign:0
#: field:crm.partner.report.assign,partner_id:0
#: model:ir.model,name:crm_partner_assign.model_res_partner
msgid "Partner"
msgstr "Partner"

View File

@ -138,6 +138,7 @@
<field name="create_date"/>
<field name="name"/>
<field name="type"/>
<field name="probability" invisible="1"/>
<field name="stage_id"/>
<field name="section_id"
invisible="context.get('invisible_section', True)"
@ -146,7 +147,8 @@
<button string="Convert to Opportunity"
name="convert_opportunity"
type="object"
attrs="{'invisible':[('type','=','opportunity'),('probability', '=', 100)]}" />
icon="gtk-convert"
attrs="{'invisible':[('type','=','opportunity')]}" />
<button name="case_escalate" string="Escalate"
type="object"
icon="gtk-go-up"

View File

@ -0,0 +1,85 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 09:15+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: crm_todo
#: model:ir.model,name:crm_todo.model_project_task
msgid "Task"
msgstr "Zadatak"
#. module: crm_todo
#: view:crm.lead:0
msgid "Timebox"
msgstr ""
#. module: crm_todo
#: view:crm.lead:0
msgid "Lead"
msgstr "Potencijal"
#. module: crm_todo
#: view:crm.lead:0
msgid "For cancelling the task"
msgstr "Za otkazivanje zadatka"
#. module: crm_todo
#: view:crm.lead:0
msgid "Next"
msgstr "Slijedeće"
#. module: crm_todo
#: model:ir.actions.act_window,name:crm_todo.crm_todo_action
#: model:ir.ui.menu,name:crm_todo.menu_crm_todo
msgid "My Tasks"
msgstr "Moji zadaci"
#. module: crm_todo
#: view:crm.lead:0
#: field:crm.lead,task_ids:0
msgid "Tasks"
msgstr "Zadaci"
#. module: crm_todo
#: view:crm.lead:0
msgid "Done"
msgstr "Gotovo"
#. module: crm_todo
#: view:crm.lead:0
msgid "Cancel"
msgstr "Otkaži"
#. module: crm_todo
#: model:ir.model,name:crm_todo.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Potencijal/Prilika"
#. module: crm_todo
#: field:project.task,lead_id:0
msgid "Lead / Opportunity"
msgstr "Potencijal / Prilika"
#. module: crm_todo
#: view:crm.lead:0
msgid "For changing to done state"
msgstr "Za promjenu u status: Gotovo"
#. module: crm_todo
#: view:crm.lead:0
msgid "Previous"
msgstr "Prethodno"

View File

@ -0,0 +1,85 @@
# Estonian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-09 15:39+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Estonian <et@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: 2013-10-10 04:41+0000\n"
"X-Generator: Launchpad (build 16799)\n"
#. module: crm_todo
#: model:ir.model,name:crm_todo.model_project_task
msgid "Task"
msgstr "Ülesanne"
#. module: crm_todo
#: view:crm.lead:0
msgid "Timebox"
msgstr "Ajalahter"
#. module: crm_todo
#: view:crm.lead:0
msgid "Lead"
msgstr ""
#. module: crm_todo
#: view:crm.lead:0
msgid "For cancelling the task"
msgstr "Ülesande katkestamiseks"
#. module: crm_todo
#: view:crm.lead:0
msgid "Next"
msgstr "Järgmine"
#. module: crm_todo
#: model:ir.actions.act_window,name:crm_todo.crm_todo_action
#: model:ir.ui.menu,name:crm_todo.menu_crm_todo
msgid "My Tasks"
msgstr "Minu ülesanded"
#. module: crm_todo
#: view:crm.lead:0
#: field:crm.lead,task_ids:0
msgid "Tasks"
msgstr "Ülesanded"
#. module: crm_todo
#: view:crm.lead:0
msgid "Done"
msgstr "Valmis"
#. module: crm_todo
#: view:crm.lead:0
msgid "Cancel"
msgstr "Katkesta"
#. module: crm_todo
#: model:ir.model,name:crm_todo.model_crm_lead
msgid "Lead/Opportunity"
msgstr ""
#. module: crm_todo
#: field:project.task,lead_id:0
msgid "Lead / Opportunity"
msgstr ""
#. module: crm_todo
#: view:crm.lead:0
msgid "For changing to done state"
msgstr ""
#. module: crm_todo
#: view:crm.lead:0
msgid "Previous"
msgstr "Eelmine"

View File

@ -0,0 +1,49 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-10-26 10:53+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-27 05:49+0000\n"
"X-Generator: Launchpad (build 16810)\n"
#. module: decimal_precision
#: field:decimal.precision,digits:0
msgid "Digits"
msgstr "Znamenki"
#. module: decimal_precision
#: model:ir.actions.act_window,name:decimal_precision.action_decimal_precision_form
#: model:ir.ui.menu,name:decimal_precision.menu_decimal_precision_form
msgid "Decimal Accuracy"
msgstr "Tačnost decimala"
#. module: decimal_precision
#: field:decimal.precision,name:0
msgid "Usage"
msgstr "Upotreba"
#. module: decimal_precision
#: sql_constraint:decimal.precision:0
msgid "Only one value can be defined for each given usage!"
msgstr "Samo jedna vrijednost može biti definirana za svaku upotrebu"
#. module: decimal_precision
#: view:decimal.precision:0
msgid "Decimal Precision"
msgstr "Decimalna preciznost"
#. module: decimal_precision
#: model:ir.model,name:decimal_precision.model_decimal_precision
msgid "decimal.precision"
msgstr ""

View File

@ -1,15 +1,15 @@
import simplejson
import urllib
import openerp.addons.web.http as openerpweb
import openerp
import openerp.addons.web.controllers.main as webmain
class EDI(openerpweb.Controller):
# http://hostname:8069/edi/import_url?url=URIEncodedURL
_cp_path = "/edi"
class EDI(openerp.http.Controller):
@openerpweb.httprequest
def import_url(self, req, url):
@openerp.http.route('/edi/import_url', type='http', auth='none')
def import_url(self, url):
# http://hostname:8069/edi/import_url?url=URIEncodedURL
req = openerp.http.request
modules = webmain.module_boot(req) + ['edi']
modules_str = ','.join(modules)
modules_json = simplejson.dumps(modules)
@ -26,8 +26,9 @@ class EDI(openerpweb.Controller):
'init': 's.edi.edi_import("%s");' % safe_url,
}
@openerpweb.jsonrequest
def import_edi_url(self, req, url):
@openerp.http.route('/edi/import_edi_url', type='http', auth='none')
def import_edi_url(self, url):
req = openerp.http.request
result = req.session.proxy('edi').import_edi_url(req.session._db, req.session._uid, req.session._password, url)
if len(result) == 1:
return {"action": webmain.clean_action(req, result[0][2])}

View File

@ -53,7 +53,6 @@ def exp_import_edi_document(db_name, uid, passwd, edi_document, context=None):
def exp_import_edi_url(db_name, uid, passwd, edi_url, context=None):
return _edi_dispatch(db_name, 'import_edi', uid, None, edi_url)
@openerp.http.rpc('edi')
def dispatch(method, params):
if method in ['import_edi_document', 'import_edi_url']:
(db, uid, passwd) = params[0:3]
@ -63,4 +62,6 @@ def dispatch(method, params):
fn = globals()['exp_' + method]
return fn(*params)
openerp.service.wsgi_server.register_rpc_endpoint('edi', dispatch)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -32,23 +32,22 @@ class google_service(osv.osv_memory):
_name = 'google.service'
def generate_refresh_token(self, cr, uid, service, authorization_code, context=None):
if authorization_code:
ir_config = self.pool['ir.config_parameter']
client_id = ir_config.get_param(cr, SUPERUSER_ID, 'google_%s_client_id' % service)
client_secret = ir_config.get_param(cr, SUPERUSER_ID, 'google_%s_client_secret' % service)
redirect_uri = ir_config.get_param(cr, SUPERUSER_ID, 'google_redirect_uri')
ir_config = self.pool['ir.config_parameter']
client_id = ir_config.get_param(cr, SUPERUSER_ID, 'google_%s_client_id' % service)
client_secret = ir_config.get_param(cr, SUPERUSER_ID, 'google_%s_client_secret' % service)
redirect_uri = ir_config.get_param(cr, SUPERUSER_ID, 'google_redirect_uri')
#Get the Refresh Token From Google And store it in ir.config_parameter
headers = {"Content-type": "application/x-www-form-urlencoded"}
data = dict(code=authorization_code, client_id=client_id, client_secret=client_secret, redirect_uri=redirect_uri, grant_type="authorization_code")
data = urllib.urlencode(data)
try:
req = urllib2.Request("https://accounts.google.com/o/oauth2/token", data, headers)
content = urllib2.urlopen(req).read()
except urllib2.HTTPError:
raise self.pool.get('res.config.settings').get_config_warning(cr, _("Something went wrong during your token generation. Maybe your Authorization Code is invalid or already expired"), context=context)
#Get the Refresh Token From Google And store it in ir.config_parameter
headers = {"Content-type": "application/x-www-form-urlencoded"}
data = dict(code=authorization_code, client_id=client_id, client_secret=client_secret, redirect_uri=redirect_uri, grant_type="authorization_code")
data = urllib.urlencode(data)
try:
req = urllib2.Request("https://accounts.google.com/o/oauth2/token", data, headers)
content = urllib2.urlopen(req).read()
except urllib2.HTTPError:
raise self.pool.get('res.config.settings').get_config_warning(cr, _("Something went wrong during your token generation. Maybe your Authorization Code is invalid or already expired"), context=context)
content = simplejson.loads(content)
content = simplejson.loads(content)
return content.get('refresh_token')
def _get_google_token_uri(self, cr, uid, service, scope, context=None):

View File

@ -31,7 +31,7 @@ import re
_logger = logging.getLogger(__name__)
class config(osv.osv):
class config(osv.Model):
_name = 'google.drive.config'
_description = "Google Drive templates config"
@ -116,8 +116,26 @@ class config(osv.osv):
attach_pool = self.pool.get("ir.attachment")
attach_vals = {'res_model': res_model, 'name': name_gdocs, 'res_id': res_id, 'type': 'url', 'url': content['alternateLink']}
res['id'] = attach_pool.create(cr, uid, attach_vals)
# Commit in order to attach the document to the current object instance, even if the permissions has not been written.
cr.commit()
res['url'] = content['alternateLink']
return res
key = self._get_key_from_url(res['url'])
request_url = "https://www.googleapis.com/drive/v2/files/%s/permissions?emailMessage=This+is+a+drive+file+created+by+OpenERP&sendNotificationEmails=false&access_token=%s" % (key, access_token)
data = {'role': 'reader', 'type': 'anyone', 'value': '', 'withLink': True}
try:
req = urllib2.Request(request_url, json.dumps(data), headers)
urllib2.urlopen(req)
except urllib2.HTTPError:
raise self.pool.get('res.config.settings').get_config_warning(cr, _("The permission 'reader' for 'anyone with the link' has not been written on the document"), context=context)
user = self.pool['res.users'].browse(cr, uid, uid, context=context)
if user.email:
data = {'role': 'writer', 'type': 'user', 'value': user.email}
try:
req = urllib2.Request(request_url, json.dumps(data), headers)
urllib2.urlopen(req)
except urllib2.HTTPError:
raise self.pool.get('res.config.settings').get_config_warning(cr, _("The permission 'writer' for your email '%s' has not been written on the document. Is this email a valid Google Account ?" % user.email), context=context)
return res
def get_google_drive_config(self, cr, uid, res_model, res_id, context=None):
'''
@ -151,12 +169,18 @@ class config(osv.osv):
configs.append({'id': config.id, 'name': config.name})
return configs
def _get_key_from_url(self, url):
mo = re.search("(key=|/d/)([A-Za-z0-9-_]+)", url)
if mo:
return mo.group(2)
return None
def _resource_get(self, cr, uid, ids, name, arg, context=None):
result = {}
for data in self.browse(cr, uid, ids, context):
mo = re.search("(key=|/d/)([A-Za-z0-9-_]+)", data.google_drive_template_url)
mo = self._get_key_from_url(data.google_drive_template_url)
if mo:
result[data.id] = mo.group(2)
result[data.id] = mo
else:
raise osv.except_osv(_('Incorrect URL!'), _("Please enter a valid Google Document URL."))
return result
@ -205,12 +229,10 @@ class config(osv.osv):
]
def get_google_scope(self):
return 'https://www.googleapis.com/auth/drive'
config()
return 'https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.file'
class base_config_settings(osv.osv):
class base_config_settings(osv.TransientModel):
_inherit = "base.config.settings"
_columns = {
@ -219,9 +241,14 @@ class base_config_settings(osv.osv):
}
_defaults = {
'google_drive_uri': lambda s, cr, uid, c: s.pool['google.service']._get_google_token_uri(cr, uid, 'drive', scope=s.pool['google.drive.config'].get_google_scope(), context=c),
'google_drive_authorization_code': lambda s, cr, uid, c: s.pool['ir.config_parameter'].get_param(cr, uid, 'google_drive_authorization_code', context=c),
}
def set_google_authorization_code(self, cr, uid, ids, context=None):
ir_config_param = self.pool['ir.config_parameter']
config = self.browse(cr, uid, ids[0], context)
refresh_token = self.pool['google.service'].generate_refresh_token(cr, uid, 'drive', config.google_drive_authorization_code, context=context)
self.pool['ir.config_parameter'].set_param(cr, uid, 'google_drive_refresh_token', refresh_token)
auth_code = config.google_drive_authorization_code
if auth_code and auth_code != ir_config_param.get_param(cr, uid, 'google_drive_authorization_code', context=context):
refresh_token = self.pool['google.service'].generate_refresh_token(cr, uid, 'drive', config.google_drive_authorization_code, context=context)
ir_config_param.set_param(cr, uid, 'google_drive_authorization_code', auth_code)
ir_config_param.set_param(cr, uid, 'google_drive_refresh_token', refresh_token)

View File

@ -60,7 +60,7 @@ class config(osv.osv):
user = self.pool['res.users'].read(cr, uid, uid, ['login', 'password'], context=context)
username = user['login']
password = user['password']
if self.pool['ir.module.module'].search_count(cr, SUPERUSER_ID, ['&', ('name', '=', 'auth_crypt'), ('state', '=', 'installed')]) == 1:
if not password:
config_formula = '=oe_settings("%s";"%s")' % (url, dbname)
else:
config_formula = '=oe_settings("%s";"%s";"%s";"%s")' % (url, dbname, username, password)

View File

@ -135,6 +135,7 @@
<record model="ir.ui.view" id="hr_kanban_view_employees">
<field name="name">HR - Employess Kanban</field>
<field name="model">hr.employee</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<kanban>
<field name="last_login"/>

View File

@ -26,6 +26,7 @@ import math
import time
from operator import attrgetter
from openerp.exceptions import Warning
from openerp import tools
from openerp.osv import fields, osv
from openerp.tools.translate import _
@ -149,6 +150,8 @@ class hr_holidays(osv.osv):
return False
return True
_check_holidays = lambda self, cr, uid, ids, context=None: self.check_holidays(cr, uid, ids, context=context)
_columns = {
'name': fields.char('Description', size=64),
'state': fields.selection([('draft', 'To Submit'), ('cancel', 'Cancelled'),('confirm', 'To Approve'), ('refuse', 'Refused'), ('validate1', 'Second Approval'), ('validate', 'Approved')],
@ -188,6 +191,7 @@ class hr_holidays(osv.osv):
}
_constraints = [
(_check_date, 'You can not have 2 leaves that overlaps on same day!', ['date_from','date_to']),
(_check_holidays, 'The number of remaining leaves is not sufficient for this leave type', ['state','number_of_days_temp'])
]
_sql_constraints = [
@ -314,7 +318,6 @@ class hr_holidays(osv.osv):
context = {}
context = dict(context, mail_create_nolog=True)
hol_id = super(hr_holidays, self).create(cr, uid, values, context=context)
self.check_holidays(cr, uid, [hol_id], context=context)
return hol_id
def holidays_reset(self, cr, uid, ids, context=None):
@ -333,7 +336,6 @@ class hr_holidays(osv.osv):
return True
def holidays_first_validate(self, cr, uid, ids, context=None):
self.check_holidays(cr, uid, ids, context=context)
obj_emp = self.pool.get('hr.employee')
ids2 = obj_emp.search(cr, uid, [('user_id', '=', uid)])
manager = ids2 and ids2[0] or False
@ -341,7 +343,6 @@ class hr_holidays(osv.osv):
return self.write(cr, uid, ids, {'state':'validate1', 'manager_id': manager})
def holidays_validate(self, cr, uid, ids, context=None):
self.check_holidays(cr, uid, ids, context=context)
obj_emp = self.pool.get('hr.employee')
ids2 = obj_emp.search(cr, uid, [('user_id', '=', uid)])
manager = ids2 and ids2[0] or False
@ -393,7 +394,6 @@ class hr_holidays(osv.osv):
return True
def holidays_confirm(self, cr, uid, ids, context=None):
self.check_holidays(cr, uid, ids, context=context)
for record in self.browse(cr, uid, ids, context=context):
if record.employee_id and record.employee_id.parent_id and record.employee_id.parent_id.user_id:
self.message_subscribe_users(cr, uid, [record.id], user_ids=[record.employee_id.parent_id.user_id.id], context=context)
@ -429,12 +429,10 @@ class hr_holidays(osv.osv):
if record.holiday_type != 'employee' or record.type != 'remove' or not record.employee_id or record.holiday_status_id.limit:
continue
leave_days = self.pool.get('hr.holidays.status').get_days(cr, uid, [record.holiday_status_id.id], record.employee_id.id, context=context)[record.holiday_status_id.id]
if leave_days['remaining_leaves'] < record.number_of_days_temp:
raise osv.except_osv(_('Warning!'),
_('There are not enough remaining days available in %s for employee %s.') % (record.holiday_status_id.name, record.employee_id.name))
if leave_days['virtual_remaining_leaves'] < record.number_of_days_temp:
raise osv.except_osv(_('Warning!'),
_('Other pending requests already book too much days in %s for employee %s.') % (record.holiday_status_id.name, record.employee_id.name))
if leave_days['remaining_leaves'] < 0 or leave_days['virtual_remaining_leaves'] < 0:
# Raising a warning gives a more user-friendly feedback than the default constraint error
raise Warning(_('The number of remaining leaves is not sufficient for this leave type.\n'
'Please verify also the leaves waiting for validation.'))
return True
# -----------------------------

View File

@ -23,6 +23,7 @@
<record model="workflow.activity" id="act_draft"> <!-- draft -->
<field name="wkf_id" ref="wkf_holidays" />
<field name="name">draft</field>
<field name="flow_start" eval="False"/>
<field name="kind">function</field>
<field name="action">holidays_reset()</field>
</record>
@ -30,7 +31,7 @@
<record model="workflow.activity" id="act_confirm"> <!-- submitted -->
<field name="wkf_id" ref="wkf_holidays" />
<field name="name">confirm</field>
<field name="flow_start">True</field>
<field name="flow_start" eval="True"/>
<field name="kind">function</field>
<field name="action">holidays_confirm()</field>
<field name="split_mode">OR</field>

View File

@ -23,6 +23,7 @@ from datetime import datetime
from dateutil.relativedelta import relativedelta
from openerp.addons.hr_holidays.tests.common import TestHrHolidaysBase
from openerp.exceptions import Warning
from openerp.osv.orm import except_orm
from openerp.tools import mute_logger
@ -203,5 +204,5 @@ class TestHolidaysFlow(TestHrHolidaysBase):
'date_to': (datetime.today() + relativedelta(days=7)),
'number_of_days_temp': 4,
})
with self.assertRaises(except_orm):
with self.assertRaises(Warning):
self.hr_holidays.signal_confirm(cr, self.user_hrmanager_id, [hol2_id])

View File

@ -79,7 +79,15 @@
I click on "Create Invoice" button of "Invoice analytic Line" wizard to create invoice.
-
!python {model: hr.timesheet.invoice.create}: |
self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_0")], {"active_ids": [ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule0")]})
action_result = self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_0")], {
"active_ids": [ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule0")]
})
invoice_pool = self.pool.get('account.invoice')
invoice_domain = action_result['domain']
invoice_ids = invoice_pool.search(cr, uid, invoice_domain)
invoice_pool.write(cr, uid, invoice_ids, {'origin': 'test-hrtsic0_id_'+str( ref("hr_timesheet_invoice_create_0")) \
+ '_aaldyfhrm0_id_'+str( ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule0") ) })
-
I check that Invoice is created for this timesheet.
-
@ -90,7 +98,9 @@
partner = aline.account_id.partner_id.id
invoice_obj = self.pool.get('account.invoice')
invoice_ids = invoice_obj.search(cr, uid, [('partner_id', '=', partner)])
invoice_ids = invoice_obj.search(cr, uid, [('partner_id', '=', partner),
('origin', '=', 'test-hrtsic0_id_'+str( ref("hr_timesheet_invoice_create_0")) + '_aaldyfhrm0_id_'+str( ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule0") ))
])
invoice_id = invoice_obj.browse(cr, uid, invoice_ids)[0]
for invoice in invoice_id.invoice_line:
@ -102,4 +112,4 @@
assert aline.invoice_id, "Invoice created, but analytic line wasn't updated."
assert aline.invoice_id == invoice_id, "Invoice doesn't match the one at analytic line"
assert invoice_id.amount_untaxed == 187.5, "Invoice amount mismatch: %s" % invoice_id.amount_untaxed
assert invoice_id.amount_tax == 50, "Invoice tax mismatch: %s" % invoice_id.amount_tax
assert invoice_id.amount_tax == 50, "Invoice tax mismatch: %s" % invoice_id.amount_tax

View File

@ -78,7 +78,14 @@
I click on "Create Invoice" button of "Invoice analytic Line" wizard to create invoice.
-
!python {model: hr.timesheet.invoice.create}: |
self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_0")], {"active_ids": [ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule1")]})
action_result = self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_0")], {
"active_ids": [ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule1")]
})
invoice_pool = self.pool.get('account.invoice')
invoice_domain = action_result['domain']
invoice_ids = invoice_pool.search(cr, uid, invoice_domain)
invoice_pool.write(cr, uid, invoice_ids, {'origin': 'test-hrtsic0_id_'+str( ref("hr_timesheet_invoice_create_0"))\
+ '_aaldyfhrm1_id_'+str( ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule1") ) })
-
I check that Invoice is created for this timesheet.
-
@ -89,7 +96,10 @@
partner = aline.account_id.partner_id.id
invoice_obj = self.pool.get('account.invoice')
invoice_ids = invoice_obj.search(cr, uid, [('partner_id', '=', partner)])
invoice_ids = invoice_obj.search(cr, uid, [('partner_id', '=', partner),
('origin', '=', 'test-hrtsic0_id_'+str( ref("hr_timesheet_invoice_create_0")) + '_aaldyfhrm1_id_'+str( ref("hr_timesheet_invoice.account_analytic_line_developyamlforhrmodule1") ))
])
invoice_id = invoice_obj.browse(cr, uid, invoice_ids)[0]
for invoice in invoice_id.invoice_line:
@ -101,4 +111,4 @@
assert aline.invoice_id, "Invoice created, but analytic line wasn't updated."
assert aline.invoice_id == invoice_id, "Invoice doesn't match the one at analytic line"
assert invoice_id.amount_untaxed == 187.5, "Invoice amount mismatch: %s" % invoice_id.amount_untaxed
assert invoice_id.amount_tax == 40, "Invoice tax mismatch: %s" % invoice_id.amount_tax
assert invoice_id.amount_tax == 40, "Invoice tax mismatch: %s" % invoice_id.amount_tax

View File

@ -18,19 +18,19 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import datetime
import json
import logging
import select
import time
import openerp
import openerp.tools.config
import openerp.modules.registry
import openerp.addons.web.http as http
from openerp.addons.web.http import request
from openerp.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
import datetime
from openerp import http
from openerp.http import request
from openerp.osv import osv, fields
import time
import logging
import json
import select
from openerp.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
_logger = logging.getLogger(__name__)

View File

@ -19,15 +19,16 @@
#
##############################################################################
import openerp
import openerp.addons.im.im as im
import json
import random
import jinja2
import openerp
import openerp.addons.im.im as im
from openerp.osv import osv, fields
from openerp import tools
import openerp.addons.web.http as http
from openerp.addons.web.http import request
from openerp import http
from openerp.http import request
env = jinja2.Environment(
loader=jinja2.PackageLoader('openerp.addons.im_livechat', "."),

View File

@ -242,6 +242,22 @@
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_out_ipi24" model="account.tax.template">
<field name="description">IPI 24%</field>
<field name="name">IPI Saída 24%</field>
<field name="amount">0.24</field>
<field name="type_tax_use">sale</field>
<field ref="account_template_201010301" name="account_collected_id"/>
<field ref="account_template_101050502" name="account_paid_id"/>
<field eval="0" name="price_include"/>
<field eval="0" name="tax_discount"/>
<field ref="l10n_br_account_chart_template" name="chart_template_id"/>
<field ref="tax_code_template_ipi" name="base_code_id"/>
<field ref="tax_code_template_ipi" name="tax_code_id"/>
<field ref="tax_code_template_ipi" name="ref_base_code_id"/>
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_out_ipi25" model="account.tax.template">
<field name="description">IPI 25%</field>
<field name="name">IPI Saída 25%</field>
@ -386,6 +402,22 @@
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_out_ipi300" model="account.tax.template">
<field name="description">IPI 300%</field>
<field name="name">IPI Saída 300%</field>
<field name="amount">3.00</field>
<field name="type_tax_use">sale</field>
<field ref="account_template_201010301" name="account_collected_id"/>
<field ref="account_template_101050502" name="account_paid_id"/>
<field eval="0" name="price_include"/>
<field eval="0" name="tax_discount"/>
<field ref="l10n_br_account_chart_template" name="chart_template_id"/>
<field ref="tax_code_template_ipi" name="base_code_id"/>
<field ref="tax_code_template_ipi" name="tax_code_id"/>
<field ref="tax_code_template_ipi" name="ref_base_code_id"/>
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_out_ipi330" model="account.tax.template">
<field name="description">IPI 330%</field>
<field name="name">IPI Saída 330%</field>
@ -642,6 +674,22 @@
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_in_ipi24" model="account.tax.template">
<field name="description">IPI 24%</field>
<field name="name">IPI Entrada 24%</field>
<field name="amount">0.24</field>
<field name="type_tax_use">purchase</field>
<field ref="account_template_101050502" name="account_collected_id"/>
<field ref="account_template_201010301" name="account_paid_id"/>
<field eval="0" name="price_include"/>
<field eval="0" name="tax_discount"/>
<field ref="l10n_br_account_chart_template" name="chart_template_id"/>
<field ref="tax_code_template_ipi" name="base_code_id"/>
<field ref="tax_code_template_ipi" name="tax_code_id"/>
<field ref="tax_code_template_ipi" name="ref_base_code_id"/>
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_in_ipi25" model="account.tax.template">
<field name="description">IPI 25%</field>
<field name="name">IPI Entrada 25%</field>
@ -786,6 +834,22 @@
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_in_ipi300" model="account.tax.template">
<field name="description">IPI 300%</field>
<field name="name">IPI Entrada 300%</field>
<field name="amount">3.00</field>
<field name="type_tax_use">purchase</field>
<field ref="account_template_101050502" name="account_collected_id"/>
<field ref="account_template_201010301" name="account_paid_id"/>
<field eval="0" name="price_include"/>
<field eval="0" name="tax_discount"/>
<field ref="l10n_br_account_chart_template" name="chart_template_id"/>
<field ref="tax_code_template_ipi" name="base_code_id"/>
<field ref="tax_code_template_ipi" name="tax_code_id"/>
<field ref="tax_code_template_ipi" name="ref_base_code_id"/>
<field ref="tax_code_template_ipi" name="ref_tax_code_id"/>
</record>
<record id="tax_template_in_ipi330" model="account.tax.template">
<field name="description">IPI 330%</field>
<field name="name">IPI Entrada 330%</field>

View File

@ -2,6 +2,12 @@
<openerp>
<data>
<!-- To solve bug 1240265, we have to delete all fiscal position templates before each update.
The valid ones will be re-created later during the update.
/!\ This must be executed *before* loading the fiscal position templates!! -->
<delete model="account.fiscal.position.template" search="[('chart_template_id','=',ref('l10n_fr_pcg_chart_template'))]"/>
<!-- = = = = = = = = = = = = = = = -->
<!-- Fiscal Position Templates -->
<!-- = = = = = = = = = = = = = = = -->
@ -28,38 +34,53 @@
<!-- Zone Intracommunautaire B2B -->
<!-- ventes -->
<!-- 19,6% -->
<!-- Taux Normal -->
<record id="fp_tax_template_intraeub2b_vt_normale" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_normale" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- 8,5% -->
<record id="fp_tax_template_intraeub2b_vt_normale_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_normale_temp" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- Taux DOM-TOM -->
<record id="fp_tax_template_intraeub2b_vt_specifique" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_specifique" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- 7% -->
<record id="fp_tax_template_intraeub2b_vt_specifique_1" model="account.fiscal.position.tax.template">
<!-- Taux Intermédiaire -->
<record id="fp_tax_template_intraeub2b_vt_intermediaire" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_specifique_1" />
<field name="tax_src_id" ref="tva_intermediaire" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- 5,5% -->
<record id="fp_tax_template_intraeub2b_vt_intermediaire_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_intermediaire_temp" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- Taux réduit -->
<record id="fp_tax_template_intraeub2b_vt_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_reduite" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- 2,1% -->
<record id="fp_tax_template_intraeub2b_vt_reduite_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_reduite_temp" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- Taux super réduit -->
<record id="fp_tax_template_intraeub2b_vt_super_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_super_reduite" />
<field name="tax_dest_id" ref="tva_intra_0" />
</record>
<!-- achats -->
<!-- 19,6% -->
<!-- Taux Normal -->
<record id="fp_tax_template_intraeub2b_ha_normale_deduc" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_normale" />
@ -70,7 +91,18 @@
<field name="tax_src_id" ref="tva_acq_normale" />
<field name="tax_dest_id" ref="tva_acq_intra_normale" />
</record>
<!-- 8,5% -->
<record id="fp_tax_template_intraeub2b_ha_normale_deduc_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_normale_temp" />
<field name="tax_dest_id" ref="tva_intra_normale_temp" />
</record>
<record id="fp_tax_template_intraeub2b_ha_normale_acq_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_normale_temp" />
<field name="tax_dest_id" ref="tva_acq_intra_normale_temp" />
</record>
<!-- Taux DOM-TOM -->
<record id="fp_tax_template_intraeub2b_ha_specifique_deduc" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_specifique" />
@ -81,18 +113,29 @@
<field name="tax_src_id" ref="tva_acq_specifique" />
<field name="tax_dest_id" ref="tva_acq_intra_specifique" />
</record>
<!-- 7% -->
<record id="fp_tax_template_intraeub2b_ha_specifique_1_deduc" model="account.fiscal.position.tax.template">
<!-- Taux Intermédiaire -->
<record id="fp_tax_template_intraeub2b_ha_intermediaire_deduc" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_specifique_1" />
<field name="tax_dest_id" ref="tva_intra_specifique_1" />
<field name="tax_src_id" ref="tva_acq_intermediaire" />
<field name="tax_dest_id" ref="tva_intra_intermediaire" />
</record>
<record id="fp_tax_template_intraeub2b_ha_specifique_1_acq" model="account.fiscal.position.tax.template">
<record id="fp_tax_template_intraeub2b_ha_intermediaire_acq" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_specifique_1" />
<field name="tax_dest_id" ref="tva_acq_intra_specifique_1" />
<field name="tax_src_id" ref="tva_acq_intermediaire" />
<field name="tax_dest_id" ref="tva_acq_intra_intermediaire" />
</record>
<!-- 5,5% -->
<record id="fp_tax_template_intraeub2b_ha_intermediaire_deduc_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_intermediaire_temp" />
<field name="tax_dest_id" ref="tva_intra_intermediaire_temp" />
</record>
<record id="fp_tax_template_intraeub2b_ha_intermediaire_acq_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_intermediaire_temp" />
<field name="tax_dest_id" ref="tva_acq_intra_intermediaire_temp" />
</record>
<!-- Taux réduit -->
<record id="fp_tax_template_intraeub2b_ha_reduite_deduc" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_reduite" />
@ -103,7 +146,18 @@
<field name="tax_src_id" ref="tva_acq_reduite" />
<field name="tax_dest_id" ref="tva_acq_intra_reduite" />
</record>
<!-- 2,1% -->
<record id="fp_tax_template_intraeub2b_ha_reduite_deduc_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_reduite_temp" />
<field name="tax_dest_id" ref="tva_intra_reduite_temp" />
</record>
<record id="fp_tax_template_intraeub2b_ha_reduite_acq_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_reduite_temp" />
<field name="tax_dest_id" ref="tva_acq_intra_reduite_temp" />
</record>
<!-- Taux super réduit -->
<record id="fp_tax_template_intraeub2b_ha_super_reduite_deduc" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_intraeub2b" />
<field name="tax_src_id" ref="tva_acq_super_reduite" />
@ -117,31 +171,46 @@
<!-- Import/Export + DOM/TOM -->
<!-- ventes -->
<!-- 19,6% -->
<!-- Taux Normal -->
<record id="fp_tax_template_impexp_vt_normale" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_normale" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- 8,5% -->
<record id="fp_tax_template_impexp_vt_normale_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_normale_temp" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- Taux DOM-TOM -->
<record id="fp_tax_template_impexp_vt_specifique" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_specifique" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- 7% -->
<record id="fp_tax_template_impexp_vt_specifique_1" model="account.fiscal.position.tax.template">
<!-- Taux Intermédiare -->
<record id="fp_tax_template_impexp_vt_intermediaire" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_specifique_1" />
<field name="tax_src_id" ref="tva_intermediaire" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- 5,5% -->
<record id="fp_tax_template_impexp_vt_intermediaire_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_intermediaire_temp" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- Taux Réduit -->
<record id="fp_tax_template_impexp_vt_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_reduite" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- 2,1% -->
<record id="fp_tax_template_impexp_vt_reduite_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_reduite_temp" />
<field name="tax_dest_id" ref="tva_export_0" />
</record>
<!-- Taux super réduit -->
<record id="fp_tax_template_impexp_vt_super_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_super_reduite" />
@ -149,31 +218,47 @@
</record>
<!-- achats -->
<!-- 19,6% -->
<!-- Taux Normal -->
<record id="fp_tax_template_impexp_ha_normale" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_normale" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- 8,5% -->
<record id="fp_tax_template_impexp_ha_normale_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_normale_temp" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- Taux DOM-TOM -->
<record id="fp_tax_template_impexp_ha_specifique" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_specifique" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- 7% -->
<record id="fp_tax_template_impexp_ha_specifique_1" model="account.fiscal.position.tax.template">
<!-- Taux Intermédiare -->
<record id="fp_tax_template_impexp_ha_intermediaire" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_specifique_1" />
<field name="tax_src_id" ref="tva_acq_intermediaire" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- 5,5% -->
<record id="fp_tax_template_impexp_ha_intermediaire_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_intermediaire_temp" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- Taux Réduit -->
<record id="fp_tax_template_impexp_ha_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_reduite" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- 2,1% -->
<record id="fp_tax_template_impexp_ha_reduite_temp" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_reduite_temp" />
<field name="tax_dest_id" ref="tva_import_0" />
</record>
<!-- Taux super réduit -->
<record id="fp_tax_template_impexp_ha_super_reduite" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_import_export" />
<field name="tax_src_id" ref="tva_acq_super_reduite" />

View File

@ -4,11 +4,11 @@
<!--
Définition des Tax Codes
Version du fichier : 07-05-2012
Version du fichier : 30-09-2013
-->
<!--
Tax Code Configuration (version générique)
Tax Code Configuration
-->
<record id="vat_code_chart_root" model="account.tax.code.template">
<field name="name">Plan de Taxes France</field>
@ -20,24 +20,42 @@
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
<record model="account.tax.code.template" id="tax_col_200_ht">
<field name="name">Base H.T. 20.0%</field>
<field name="code">TVA collectée 20.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_196_ht">
<field name="name">Base H.T. 19.6%</field>
<field name="code">TVA collectée 19.6% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
</record>
<record model="account.tax.code.template" id="tax_col_85_ht">
<field name="name">Base H.T. 8.5%</field>
<field name="code">TVA collectée 8.5% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_100_ht">
<field name="name">Base H.T. 10.0%</field>
<field name="code">TVA collectée 10.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_70_ht">
<field name="name">Base H.T. 7.0%</field>
<field name="code">TVA collectée 7.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_50_ht">
<field name="name">Base H.T. 5.0%</field>
<field name="code">TVA collectée 5.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_col_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_55_ht">
<field name="name">Base H.T. 5.5%</field>
<field name="code">TVA collectée 5.5% (Base H.T.)</field>
@ -57,6 +75,12 @@
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
<record model="account.tax.code.template" id="tax_col_200">
<field name="name">TVA 20.0%</field>
<field name="code">TVA collectée 20.0%</field>
<field name="parent_id" ref="tax_col"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_196">
<field name="name">TVA 19.6%</field>
<field name="code">TVA collectée 19.6%</field>
@ -68,6 +92,12 @@
<field name="code">TVA collectée 8.5%</field>
<field name="parent_id" ref="tax_col"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_100">
<field name="name">TVA 10.0%</field>
<field name="code">TVA collectée 10.0%</field>
<field name="parent_id" ref="tax_col"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_70">
<field name="name">TVA 7.0%</field>
@ -75,6 +105,12 @@
<field name="parent_id" ref="tax_col"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_50">
<field name="name">TVA 5.0%</field>
<field name="code">TVA collectée 5.0%</field>
<field name="parent_id" ref="tax_col"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_col_55">
<field name="name">TVA 5.5%</field>
<field name="code">TVA collectée 5.5%</field>
@ -88,14 +124,18 @@
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_ht">
<field name="name">Base H.T. TVA acquittée</field>
<field name="code">c)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
<record model="account.tax.code.template" id="tax_acq_200_ht">
<field name="name">Base H.T. 20.0%</field>
<field name="code">TVA acquittée 20.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_196_ht">
<field name="name">Base H.T. 19.6%</field>
<field name="code">TVA acquittée 19.6% (Base H.T.)</field>
@ -108,12 +148,24 @@
<field name="parent_id" ref="tax_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_100_ht">
<field name="name">Base H.T. 10.0%</field>
<field name="code">TVA acquittée 10.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_70_ht">
<field name="name">Base H.T. 7.0%</field>
<field name="code">TVA acquittée 7.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_50_ht">
<field name="name">Base H.T. 5.0%</field>
<field name="code">TVA acquittée 5.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_55_ht">
<field name="name">Base H.T. 5.5%</field>
<field name="code">TVA acquittée 5.5% (Base H.T.)</field>
@ -133,6 +185,12 @@
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
<record model="account.tax.code.template" id="tax_acq_200">
<field name="name">TVA 20.0%</field>
<field name="code">TVA acquittée 20.0%</field>
<field name="parent_id" ref="tax_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_196">
<field name="name">TVA 19.6%</field>
<field name="code">TVA acquittée 19.6%</field>
@ -145,12 +203,24 @@
<field name="parent_id" ref="tax_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_100">
<field name="name">TVA 10.0%</field>
<field name="code">TVA acquittée 10.0%</field>
<field name="parent_id" ref="tax_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_70">
<field name="name">TVA 7.0%</field>
<field name="code">TVA acquittée 7.0%</field>
<field name="parent_id" ref="tax_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_50">
<field name="name">TVA 5.0%</field>
<field name="code">TVA acquittée 5.0%</field>
<field name="parent_id" ref="tax_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_acq_55">
<field name="name">TVA 5.5%</field>
<field name="code">TVA acquittée 5.5%</field>
@ -171,7 +241,13 @@
<field name="code">e)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_imm_200_ht">
<field name="name">Base H.T. 20.0%</field>
<field name="code">TVA acquittée sur immobilisations 20.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_imm_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_196_ht">
<field name="name">Base H.T. 19.6%</field>
<field name="code">TVA acquittée sur immobilisations 19.6% (Base H.T.)</field>
@ -184,12 +260,24 @@
<field name="parent_id" ref="tax_imm_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_100_ht">
<field name="name">Base H.T. 10.0%</field>
<field name="code">TVA acquittée sur immobilisations 10.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_imm_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_70_ht">
<field name="name">Base H.T. 7.0%</field>
<field name="code">TVA acquittée sur immobilisations 7.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_imm_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_50_ht">
<field name="name">Base H.T. 5.0%</field>
<field name="code">TVA acquittée sur immobilisations 5.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_imm_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_55_ht">
<field name="name">Base H.T. 5.5%</field>
<field name="code">TVA acquittée sur immobilisations 5.5% (Base H.T.)</field>
@ -209,7 +297,13 @@
<field name="code">f)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_imm_200">
<field name="name">TVA 20.0%</field>
<field name="code">TVA acquittée sur immobilisations 20.0%</field>
<field name="parent_id" ref="tax_imm"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_196">
<field name="name">TVA 19.6%</field>
<field name="code">TVA acquittée sur immobilisations 19.6%</field>
@ -222,12 +316,24 @@
<field name="parent_id" ref="tax_imm"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_100">
<field name="name">TVA 10.0%</field>
<field name="code">TVA acquittée sur immobilisations 10.0%</field>
<field name="parent_id" ref="tax_imm"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_70">
<field name="name">TVA 7.0%</field>
<field name="code">TVA acquittée sur immobilisations 7.0%</field>
<field name="parent_id" ref="tax_imm"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_50">
<field name="name">TVA 5.0%</field>
<field name="code">TVA acquittée sur immobilisations 5.0%</field>
<field name="parent_id" ref="tax_imm"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_imm_55">
<field name="name">TVA 5.5%</field>
<field name="code">TVA acquittée sur immobilisations 5.5%</field>
@ -246,7 +352,13 @@
<field name="code">g)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_intra_200_ht">
<field name="name">Base H.T. 20.0%</field>
<field name="code">TVA due intracommunautaire 20.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_196_ht">
<field name="name">Base H.T. 19.6%</field>
<field name="code">TVA due intracommunautaire 19.6% (Base H.T.)</field>
@ -259,12 +371,24 @@
<field name="parent_id" ref="tax_intra_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_100_ht">
<field name="name">Base H.T. 10.0%</field>
<field name="code">TVA due intracommunautaire 10.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_70_ht">
<field name="name">Base H.T. 7.0%</field>
<field name="code">TVA due intracommunautaire 7.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_50_ht">
<field name="name">Base H.T. 5.0%</field>
<field name="code">TVA due intracommunautaire 5.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_55_ht">
<field name="name">Base H.T. 5.5%</field>
<field name="code">TVA due intracommunautaire 5.5% (Base H.T.)</field>
@ -283,7 +407,13 @@
<field name="code">h)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_intra_200">
<field name="name">TVA 20.0%</field>
<field name="code">TVA due intracommunautaire 20.0%</field>
<field name="parent_id" ref="tax_intra"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_196">
<field name="name">TVA 19.6%</field>
<field name="code">TVA due intracommunautaire 19.6%</field>
@ -296,12 +426,24 @@
<field name="parent_id" ref="tax_intra"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_100">
<field name="name">TVA 10.0%</field>
<field name="code">TVA due intracommunautaire 10.0%</field>
<field name="parent_id" ref="tax_intra"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_70">
<field name="name">TVA 7.0%</field>
<field name="code">TVA due intracommunautaire 7.0%</field>
<field name="parent_id" ref="tax_intra"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_50">
<field name="name">TVA 5.0%</field>
<field name="code">TVA due intracommunautaire 5.0%</field>
<field name="parent_id" ref="tax_intra"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_55">
<field name="name">TVA 5.5%</field>
<field name="code">TVA due intracommunautaire 5.5%</field>
@ -321,7 +463,13 @@
<field name="code">i)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_200_ht">
<field name="name">Base H.T. 20.0%</field>
<field name="code">TVA déductible intracommunautaire 20.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_196_ht">
<field name="name">Base H.T. 19.6%</field>
<field name="code">TVA déductible intracommunautaire 19.6% (Base H.T.)</field>
@ -334,12 +482,24 @@
<field name="parent_id" ref="tax_intra_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_100_ht">
<field name="name">Base H.T. 10.0%</field>
<field name="code">TVA déductible intracommunautaire 10.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_70_ht">
<field name="name">Base H.T. 7.0%</field>
<field name="code">TVA déductible intracommunautaire 7.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_50_ht">
<field name="name">Base H.T. 5.0%</field>
<field name="code">TVA déductible intracommunautaire 5.0% (Base H.T.)</field>
<field name="parent_id" ref="tax_intra_acq_ht"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_55_ht">
<field name="name">Base H.T. 5.5%</field>
<field name="code">TVA déductible intracommunautaire 5.5% (Base H.T.)</field>
@ -358,7 +518,13 @@
<field name="code">j)</field>
<field name="sign">1.00</field>
<field name="parent_id" ref="vat_code_chart_root"/>
</record>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_200">
<field name="name">TVA 20.0%</field>
<field name="code">TVA déductible intracommunautaire 20.0%</field>
<field name="parent_id" ref="tax_intra_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_196">
<field name="name">TVA 19.6%</field>
<field name="code">TVA déductible intracommunautaire 19.6%</field>
@ -371,12 +537,24 @@
<field name="parent_id" ref="tax_intra_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_100">
<field name="name">TVA 10.0%</field>
<field name="code">TVA déductible intracommunautaire 10.0%</field>
<field name="parent_id" ref="tax_intra_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_70">
<field name="name">TVA 7.0%</field>
<field name="code">TVA déductible intracommunautaire 7.0%</field>
<field name="parent_id" ref="tax_intra_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_50">
<field name="name">TVA 5.0%</field>
<field name="code">TVA déductible intracommunautaire 5.0%</field>
<field name="parent_id" ref="tax_intra_acq"/>
<field name="sign">1.00</field>
</record>
<record model="account.tax.code.template" id="tax_intra_acq_55">
<field name="name">TVA 5.5%</field>
<field name="code">TVA déductible intracommunautaire 5.5%</field>

View File

@ -9,6 +9,28 @@
<!-- VENTES Tax excluded from price -->
<record model="account.tax.template" id="tva_normale">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 20,0%</field>
<field name="description">20.0</field>
<field name="amount" eval="0.200"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_col_200_ht"/>
<field name="base_sign" eval="1"/>
<field name="tax_code_id" ref="tax_col_200"/>
<field name="tax_sign" eval="1"/>
<field name="account_collected_id" ref="pcg_445711"/>
<field name="account_paid_id" ref="pcg_445711"/>
<field name="ref_base_code_id" ref="tax_col_200_ht"/>
<field name="ref_base_sign" eval="-1"/>
<field name="ref_tax_code_id" ref="tax_col_200"/>
<field name="ref_tax_sign" eval="-1"/>
<field name="sequence" eval="1"/>
<field name="type_tax_use">sale</field>
</record>
<record model="account.tax.template" id="tva_normale_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 19,6%</field>
<field name="description">19.6</field>
@ -26,7 +48,7 @@
<field name="ref_base_sign" eval="-1"/>
<field name="ref_tax_code_id" ref="tax_col_196"/>
<field name="ref_tax_sign" eval="-1"/>
<field name="sequence" eval="0"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">sale</field>
</record>
@ -52,7 +74,29 @@
<field name="type_tax_use">sale</field>
</record>
<record model="account.tax.template" id="tva_specifique_1">
<record model="account.tax.template" id="tva_intermediaire">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 10,0%</field>
<field name="description">10.0</field>
<field name="amount" eval="0.10"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_col_100_ht"/>
<field name="base_sign" eval="1"/>
<field name="tax_code_id" ref="tax_col_100"/>
<field name="tax_sign" eval="1"/>
<field name="account_collected_id" ref="pcg_445712"/>
<field name="account_paid_id" ref="pcg_445712"/>
<field name="ref_base_code_id" ref="tax_col_100_ht"/>
<field name="ref_base_sign" eval="-1"/>
<field name="ref_tax_code_id" ref="tax_col_100"/>
<field name="ref_tax_sign" eval="-1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">sale</field>
</record>
<record model="account.tax.template" id="tva_intermediaire_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 7,0%</field>
<field name="description">7.0</field>
@ -63,8 +107,8 @@
<field name="tax_code_id" ref="tax_col_70"/>
<field name="tax_sign" eval="1"/>
<field name="account_collected_id" ref="pcg_445713"/>
<field name="account_paid_id" ref="pcg_445713"/>
<field name="account_collected_id" ref="pcg_445712"/>
<field name="account_paid_id" ref="pcg_445712"/>
<field name="ref_base_code_id" ref="tax_col_70_ht"/>
<field name="ref_base_sign" eval="-1"/>
@ -75,6 +119,28 @@
</record>
<record model="account.tax.template" id="tva_reduite">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 5,0%</field>
<field name="description">5.0</field>
<field name="amount" eval="0.050"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_col_50_ht"/>
<field name="base_sign" eval="1"/>
<field name="tax_code_id" ref="tax_col_50"/>
<field name="tax_sign" eval="1"/>
<field name="account_collected_id" ref="pcg_445713"/>
<field name="account_paid_id" ref="pcg_445713"/>
<field name="ref_base_code_id" ref="tax_col_50_ht"/>
<field name="ref_base_sign" eval="-1"/>
<field name="ref_tax_code_id" ref="tax_col_50"/>
<field name="ref_tax_sign" eval="-1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">sale</field>
</record>
<record model="account.tax.template" id="tva_reduite_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA collectée (vente) 5,5%</field>
<field name="description">5.5</field>
@ -85,8 +151,8 @@
<field name="tax_code_id" ref="tax_col_55"/>
<field name="tax_sign" eval="1"/>
<field name="account_collected_id" ref="pcg_445712"/>
<field name="account_paid_id" ref="pcg_445712"/>
<field name="account_collected_id" ref="pcg_445713"/>
<field name="account_paid_id" ref="pcg_445713"/>
<field name="ref_base_code_id" ref="tax_col_55_ht"/>
<field name="ref_base_sign" eval="-1"/>
@ -121,6 +187,28 @@
<!-- ACHATS Tax excluded from price -->
<record model="account.tax.template" id="tva_acq_normale">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 20,0%</field>
<field name="description">ACH-20.0</field>
<field name="amount" eval="0.200"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_200_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_200"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_200_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_200"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="1"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_normale_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 19,6%</field>
<field name="description">ACH-19.6</field>
@ -138,7 +226,7 @@
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_196"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="0"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
@ -164,7 +252,29 @@
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_specifique_1">
<record model="account.tax.template" id="tva_acq_intermediaire">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 10,0%</field>
<field name="description">ACH-10.0</field>
<field name="amount" eval="0.10"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_100_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_100"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_100_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_100"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intermediaire_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 7,0%</field>
<field name="description">ACH-7.0</field>
@ -187,6 +297,28 @@
</record>
<record model="account.tax.template" id="tva_acq_reduite">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 5,0%</field>
<field name="description">ACH-5.0</field>
<field name="amount" eval="0.050"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_50_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_50"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_50_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_50"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_reduite_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 5,5%</field>
<field name="description">ACH-5.5</field>
@ -233,6 +365,29 @@
<!-- ACHATS Tax included in price -->
<record model="account.tax.template" id="tva_acq_normale_TTC">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 20,0% TTC</field>
<field name="description">ACH-20.0-TTC</field>
<field name="price_include" eval="1"/>
<field name="amount" eval="0.200"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_200_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_200"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_200_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_200"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_normale_TTC_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 19,6% TTC</field>
<field name="description">ACH-19.6-TTC</field>
@ -278,7 +433,30 @@
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_specifique_1_TTC">
<record model="account.tax.template" id="tva_acq_intermediaire_TTC">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 10,0% TTC</field>
<field name="description">ACH-10.0-TTC</field>
<field name="price_include" eval="1"/>
<field name="amount" eval="0.10"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_100_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_100"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_100_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_100"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intermediaire_TTC_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 7,0% TTC</field>
<field name="description">ACH-7.0-TTC</field>
@ -302,6 +480,29 @@
</record>
<record model="account.tax.template" id="tva_acq_reduite_TTC">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 5,0% TTC</field>
<field name="description">ACH-5.0-TTC</field>
<field name="price_include" eval="1"/>
<field name="amount" eval="0.050"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_acq_50_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_acq_50"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44566"/>
<field name="account_paid_id" ref="pcg_44566"/>
<field name="ref_base_code_id" ref="tax_acq_50_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_acq_50"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_reduite_TTC_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déductible (achat) 5,5% TTC</field>
<field name="description">ACH-5.5-TTC</field>
@ -351,6 +552,28 @@
<!-- ImmoBILISATIONS (achats) -->
<record model="account.tax.template" id="tva_imm_normale">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 20,0%</field>
<field name="description">IMMO-20.0</field>
<field name="amount" eval="0.200"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_imm_200_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_imm_200"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44562"/>
<field name="account_paid_id" ref="pcg_44562"/>
<field name="ref_base_code_id" ref="tax_imm_200_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_imm_200"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_imm_normale_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 19,6%</field>
<field name="description">IMMO-19.6</field>
@ -394,7 +617,29 @@
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_imm_specifique_1">
<record model="account.tax.template" id="tva_imm_intermediaire">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 10,0%</field>
<field name="description">IMMO-10.0</field>
<field name="amount" eval="0.10"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_imm_100_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_imm_100"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44562"/>
<field name="account_paid_id" ref="pcg_44562"/>
<field name="ref_base_code_id" ref="tax_imm_100_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_imm_100"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_imm_intermediaire_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 7,0%</field>
<field name="description">IMMO-7.0</field>
@ -417,6 +662,28 @@
</record>
<record model="account.tax.template" id="tva_imm_reduite">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 5,0%</field>
<field name="description">IMMO-5.0</field>
<field name="amount" eval="0.050"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_imm_50_ht"/>
<field name="base_sign" eval="-1"/>
<field name="tax_code_id" ref="tax_imm_50"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_44562"/>
<field name="account_paid_id" ref="pcg_44562"/>
<field name="ref_base_code_id" ref="tax_imm_50_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_imm_50"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_imm_reduite_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd./immobilisation (achat) 5,5%</field>
<field name="description">IMMO-5.5</field>
@ -463,6 +730,28 @@
<!-- VENTES INTRACOMMUNAUTAIRE -->
<record model="account.tax.template" id="tva_intra_normale">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 20,0%</field> <!-- ventes -->
<field name="description">ACH_UE_due-20.0</field>
<field name="amount" eval="-0.200"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_intra_200_ht"/>
<field name="base_sign" eval="-1" />
<field name="tax_code_id" ref="tax_intra_200"/>
<field name="tax_sign" eval="-1" />
<field name="account_collected_id" ref="pcg_445201"/>
<field name="account_paid_id" ref="pcg_445201"/>
<field name="ref_base_code_id" ref="tax_intra_200_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_intra_200"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_intra_normale_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 19,6%</field> <!-- ventes -->
<field name="description">ACH_UE_due-19.6</field>
@ -506,7 +795,29 @@
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_intra_specifique_1">
<record model="account.tax.template" id="tva_intra_intermediaire">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 10,0%</field>
<field name="description">ACH_UE_due-10.0</field>
<field name="amount" eval="-0.10"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_intra_100_ht"/>
<field name="base_sign" eval="-1" />
<field name="tax_code_id" ref="tax_intra_100"/>
<field name="tax_sign" eval="-1" />
<field name="account_collected_id" ref="pcg_445202"/>
<field name="account_paid_id" ref="pcg_445202"/>
<field name="ref_base_code_id" ref="tax_intra_100_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_intra_100"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_intra_intermediaire_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 7,0%</field>
<field name="description">ACH_UE_due-7.0</field>
@ -517,8 +828,8 @@
<field name="tax_code_id" ref="tax_intra_70"/>
<field name="tax_sign" eval="-1" />
<field name="account_collected_id" ref="pcg_445203"/>
<field name="account_paid_id" ref="pcg_445203"/>
<field name="account_collected_id" ref="pcg_445202"/>
<field name="account_paid_id" ref="pcg_445202"/>
<field name="ref_base_code_id" ref="tax_intra_70_ht"/>
<field name="ref_base_sign" eval="1"/>
@ -529,6 +840,28 @@
</record>
<record model="account.tax.template" id="tva_intra_reduite">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 5,0%</field>
<field name="description">ACH_UE_due-5.0</field>
<field name="amount" eval="-0.050"/>
<field name="type">percent</field>
<field name="base_code_id" ref="tax_intra_50_ht"/>
<field name="base_sign" eval="-1" />
<field name="tax_code_id" ref="tax_intra_50"/>
<field name="tax_sign" eval="-1" />
<field name="account_collected_id" ref="pcg_445203"/>
<field name="account_paid_id" ref="pcg_445203"/>
<field name="ref_base_code_id" ref="tax_intra_50_ht"/>
<field name="ref_base_sign" eval="1"/>
<field name="ref_tax_code_id" ref="tax_intra_50"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_intra_reduite_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA due s/ acq. intracommunautaire (achat) 5,5%</field>
<field name="description">ACH_UE_due-5.5</field>
@ -539,8 +872,8 @@
<field name="tax_code_id" ref="tax_intra_55"/>
<field name="tax_sign" eval="-1" />
<field name="account_collected_id" ref="pcg_445202"/>
<field name="account_paid_id" ref="pcg_445202"/>
<field name="account_collected_id" ref="pcg_445203"/>
<field name="account_paid_id" ref="pcg_445203"/>
<field name="ref_base_code_id" ref="tax_intra_55_ht"/>
<field name="ref_base_sign" eval="1"/>
@ -575,6 +908,24 @@
<!-- ACHATS INTRACOMMUNAUTAIRE -->
<record model="account.tax.template" id="tva_acq_intra_normale">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 20,0%</field>
<field name="description">ACH_UE_ded.-20.0</field>
<field name="amount" eval="0.200"/>
<field name="type">percent</field>
<field name="tax_code_id" ref="tax_intra_acq_200"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_445662"/>
<field name="account_paid_id" ref="pcg_445662"/>
<field name="ref_tax_code_id" ref="tax_intra_acq_200"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intra_normale_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 19,6%</field>
<field name="description">ACH_UE_ded.-19.6</field>
@ -610,7 +961,25 @@
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intra_specifique_1">
<record model="account.tax.template" id="tva_acq_intra_intermediaire">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 10,0%</field>
<field name="description">ACH_UE_ded.-10.0</field>
<field name="amount" eval="0.10"/>
<field name="type">percent</field>
<field name="tax_code_id" ref="tax_intra_acq_100"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_445662"/>
<field name="account_paid_id" ref="pcg_445662"/>
<field name="ref_tax_code_id" ref="tax_intra_acq_100"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intra_intermediaire_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 7,0%</field>
<field name="description">ACH_UE_ded.-7.0</field>
@ -629,6 +998,24 @@
</record>
<record model="account.tax.template" id="tva_acq_intra_reduite">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 5,0%</field>
<field name="description">ACH_UE_ded.-5.0</field>
<field name="amount" eval="0.050"/>
<field name="type">percent</field>
<field name="tax_code_id" ref="tax_intra_acq_50"/>
<field name="tax_sign" eval="-1"/>
<field name="account_collected_id" ref="pcg_445662"/>
<field name="account_paid_id" ref="pcg_445662"/>
<field name="ref_tax_code_id" ref="tax_intra_acq_50"/>
<field name="ref_tax_sign" eval="1"/>
<field name="sequence" eval="10"/>
<field name="type_tax_use">purchase</field>
</record>
<record model="account.tax.template" id="tva_acq_intra_reduite_temp">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">TVA déd. s/ acq. intracommunautaire (achat) 5,5%</field>
<field name="description">ACH_UE_ded.-5.5</field>

View File

@ -3584,7 +3584,7 @@
</record>
<record id="pcg_445201" model="account.account.template">
<field name="name">TVA due intracommunautaire 19,6%</field>
<field name="name">TVA due intracommunautaire (Taux Normal)</field>
<field name="code">445201</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>
@ -3592,7 +3592,7 @@
</record>
<record id="pcg_445202" model="account.account.template">
<field name="name">TVA due intracommunautaire 5,5%</field>
<field name="name">TVA due intracommunautaire (Taux Intermédiaire)</field>
<field name="code">445202</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>
@ -3600,7 +3600,7 @@
</record>
<record id="pcg_445203" model="account.account.template">
<field name="name">TVA due intracommunautaire (autre taux)</field>
<field name="name">TVA due intracommunautaire (Autre taux)</field>
<field name="code">445203</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>
@ -3712,7 +3712,7 @@
</record>
<record id="pcg_445711" model="account.account.template">
<field name="name">TVA collectée 19,6%</field>
<field name="name">TVA collectée (Taux Normal)</field>
<field name="code">445711</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>
@ -3720,7 +3720,7 @@
</record>
<record id="pcg_445712" model="account.account.template">
<field name="name">TVA collectée 5,5%</field>
<field name="name">TVA collectée (Taux Intermédiaire)</field>
<field name="code">445712</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>
@ -3728,7 +3728,7 @@
</record>
<record id="pcg_445713" model="account.account.template">
<field name="name">TVA collectée (autre taux)</field>
<field name="name">TVA collectée (Autre taux)</field>
<field name="code">445713</field>
<field name="type">other</field>
<field name="user_type" ref="account.data_account_type_liability"/>

View File

@ -75,3 +75,21 @@ IVC21Idet40,template_impcode_pagata_21det40,IVA a credito 21% detraibile 40% (im
IVC21det50,template_ivacode_pagata_21det50,IVA a credito 21% detraibile 50%,template_ivacode_pagata
IVC21Ndet50,template_ivacode_pagata_21det50ind,IVA a credito 21% detraibile 50% (indetraibile),template_ivacode_pagata_ind
IVC21Idet50,template_impcode_pagata_21det50,IVA a credito 21% detraibile 50% (imponibile),template_impcode_pagata
IVC22,template_ivacode_pagata_22,IVA a credito 22%,template_ivacode_pagata
IVC22I,template_impcode_pagata_22,IVA a credito 22% (imponibile),template_impcode_pagata
IVD22,template_ivacode_riscossa_22,IVA a debito 22%,template_ivacode_riscossa
IVD22I,template_impcode_riscossa_22,IVA a debito 22% (imponibile),template_impcode_riscossa
IVC22ind,template_ivacode_pagata_22ind,IVA a credito 22% indetraibile,template_ivacode_pagata_ind
IVC22Iind,template_impcode_pagata_22ind,IVA a credito 22% indetraibile (imponibile),template_impcode_pagata
IVC22det10,template_ivacode_pagata_22det10,IVA a credito 22% detraibile 10%,template_ivacode_pagata
IVC22Ndet10,template_ivacode_pagata_22det10ind,IVA a credito 22% detraibile 10% (indetraibile),template_ivacode_pagata_ind
IVC22Idet10,template_impcode_pagata_22det10,IVA a credito 22% detraibile 10% (imponibile),template_impcode_pagata
IVC22det15,template_ivacode_pagata_22det15,IVA a credito 22% detraibile 15%,template_ivacode_pagata
IVC22Ndet15,template_ivacode_pagata_22det15ind,IVA a credito 22% detraibile 15% (indetraibile),template_ivacode_pagata_ind
IVC22Idet15,template_impcode_pagata_22det15,IVA a credito 22% detraibile 15% (imponibile),template_impcode_pagata
IVC22det40,template_ivacode_pagata_22det40,IVA a credito 22% detraibile 40%,template_ivacode_pagata
IVC22Ndet40,template_ivacode_pagata_22det40ind,IVA a credito 22% detraibile 40% (indetraibile),template_ivacode_pagata_ind
IVC22Idet40,template_impcode_pagata_22det40,IVA a credito 22% detraibile 40% (imponibile),template_impcode_pagata
IVC22det50,template_ivacode_pagata_22det50,IVA a credito 22% detraibile 50%,template_ivacode_pagata
IVC22Ndet50,template_ivacode_pagata_22det50ind,IVA a credito 22% detraibile 50% (indetraibile),template_ivacode_pagata_ind
IVC22Idet50,template_impcode_pagata_22det50,IVA a credito 22% detraibile 50% (imponibile),template_impcode_pagata

1 code id name parent_id:id
75 IVC21det50 template_ivacode_pagata_21det50 IVA a credito 21% detraibile 50% template_ivacode_pagata
76 IVC21Ndet50 template_ivacode_pagata_21det50ind IVA a credito 21% detraibile 50% (indetraibile) template_ivacode_pagata_ind
77 IVC21Idet50 template_impcode_pagata_21det50 IVA a credito 21% detraibile 50% (imponibile) template_impcode_pagata
78 IVC22 template_ivacode_pagata_22 IVA a credito 22% template_ivacode_pagata
79 IVC22I template_impcode_pagata_22 IVA a credito 22% (imponibile) template_impcode_pagata
80 IVD22 template_ivacode_riscossa_22 IVA a debito 22% template_ivacode_riscossa
81 IVD22I template_impcode_riscossa_22 IVA a debito 22% (imponibile) template_impcode_riscossa
82 IVC22ind template_ivacode_pagata_22ind IVA a credito 22% indetraibile template_ivacode_pagata_ind
83 IVC22Iind template_impcode_pagata_22ind IVA a credito 22% indetraibile (imponibile) template_impcode_pagata
84 IVC22det10 template_ivacode_pagata_22det10 IVA a credito 22% detraibile 10% template_ivacode_pagata
85 IVC22Ndet10 template_ivacode_pagata_22det10ind IVA a credito 22% detraibile 10% (indetraibile) template_ivacode_pagata_ind
86 IVC22Idet10 template_impcode_pagata_22det10 IVA a credito 22% detraibile 10% (imponibile) template_impcode_pagata
87 IVC22det15 template_ivacode_pagata_22det15 IVA a credito 22% detraibile 15% template_ivacode_pagata
88 IVC22Ndet15 template_ivacode_pagata_22det15ind IVA a credito 22% detraibile 15% (indetraibile) template_ivacode_pagata_ind
89 IVC22Idet15 template_impcode_pagata_22det15 IVA a credito 22% detraibile 15% (imponibile) template_impcode_pagata
90 IVC22det40 template_ivacode_pagata_22det40 IVA a credito 22% detraibile 40% template_ivacode_pagata
91 IVC22Ndet40 template_ivacode_pagata_22det40ind IVA a credito 22% detraibile 40% (indetraibile) template_ivacode_pagata_ind
92 IVC22Idet40 template_impcode_pagata_22det40 IVA a credito 22% detraibile 40% (imponibile) template_impcode_pagata
93 IVC22det50 template_ivacode_pagata_22det50 IVA a credito 22% detraibile 50% template_ivacode_pagata
94 IVC22Ndet50 template_ivacode_pagata_22det50ind IVA a credito 22% detraibile 50% (indetraibile) template_ivacode_pagata_ind
95 IVC22Idet50 template_impcode_pagata_22det50 IVA a credito 22% detraibile 50% (imponibile) template_impcode_pagata

View File

@ -1,6 +1,8 @@
id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depend,type,account_collected_id:id,account_paid_id:id,type_tax_use,base_code_id:id,tax_code_id:id,ref_base_code_id:id,ref_tax_code_id:id,ref_base_sign,ref_tax_sign,price_include,base_sign,tax_sign
21v,21v,l10n_it_chart_template_generic,Iva al 21% (debito),1,0.21,,False,percent,2601,2601,sale,template_impcode_riscossa_21,template_ivacode_riscossa_21,template_impcode_riscossa_21,template_ivacode_riscossa_21,-1,-1,False,1,1
21a,21a,l10n_it_chart_template_generic,Iva al 21% (credito),2,0.21,,False,percent,1601,1601,purchase,template_impcode_pagata_21,template_ivacode_pagata_21,template_impcode_pagata_21,template_ivacode_pagata_21,1,1,False,-1,-1
22v,22v,l10n_it_chart_template_generic,Iva al 22% (debito),1,0.22,,False,percent,2601,2601,sale,template_impcode_riscossa_22,template_ivacode_riscossa_22,template_impcode_riscossa_22,template_ivacode_riscossa_22,-1,-1,False,1,1
22a,22a,l10n_it_chart_template_generic,Iva al 22% (credito),2,0.22,,False,percent,1601,1601,purchase,template_impcode_pagata_22,template_ivacode_pagata_22,template_impcode_pagata_22,template_ivacode_pagata_22,1,1,False,-1,-1
21v,21v,l10n_it_chart_template_generic,Iva al 21% (debito),3,0.21,,False,percent,2601,2601,sale,template_impcode_riscossa_21,template_ivacode_riscossa_21,template_impcode_riscossa_21,template_ivacode_riscossa_21,-1,-1,False,1,1
21a,21a,l10n_it_chart_template_generic,Iva al 21% (credito),4,0.21,,False,percent,1601,1601,purchase,template_impcode_pagata_21,template_ivacode_pagata_21,template_impcode_pagata_21,template_ivacode_pagata_21,1,1,False,-1,-1
20v,20v,l10n_it_chart_template_generic,Iva al 20% (debito),3,0.2,,False,percent,2601,2601,sale,template_impcode_riscossa_20,template_ivacode_riscossa_20,template_impcode_riscossa_20,template_ivacode_riscossa_20,-1,-1,False,1,1
20a,20a,l10n_it_chart_template_generic,Iva al 20% (credito),4,0.2,,False,percent,1601,1601,purchase,template_impcode_pagata_20,template_ivacode_pagata_20,template_impcode_pagata_20,template_ivacode_pagata_20,1,1,False,-1,-1
10v,10v,l10n_it_chart_template_generic,Iva al 10% (debito),5,0.1,,False,percent,2601,2601,sale,template_impcode_riscossa_10,template_ivacode_riscossa_10,template_impcode_riscossa_10,template_ivacode_riscossa_10,-1,-1,False,1,1
@ -25,8 +27,8 @@ id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depe
20I5,20I5,l10n_it_chart_template_generic,IVA al 20% detraibile al 50%,14,0.2,,True,percent,,,purchase,template_impcode_pagata_20det50,,template_impcode_pagata_20det50,,1,1,False,-1,-1
20I5b,20I5b,l10n_it_chart_template_generic,IVA al 20% detraibile al 50% (D),200,0,20I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_20det50,,template_ivacode_pagata_20det50,1,1,False,-1,-1
20I5a,20I5a,l10n_it_chart_template_generic,IVA al 20% detraibile al 50% (I),100,0.5,20I5,False,percent,,,purchase,,template_ivacode_pagata_20det50ind,,template_ivacode_pagata_20det50ind,1,1,False,-1,-1
22v,22v,l10n_it_chart_template_generic,Iva 2% (debito),15,0.02,,False,percent,2601,2601,sale,template_impcode_riscossa_2,template_ivacode_riscossa_2,template_impcode_riscossa_2,template_ivacode_riscossa_2,-1,-1,False,1,1
22a,22a,l10n_it_chart_template_generic,Iva 2% (credito),16,0.02,,False,percent,1601,1601,purchase,template_impcode_pagata_2,template_ivacode_pagata_2,template_impcode_pagata_2,template_ivacode_pagata_2,1,1,False,-1,-1
2v,2v,l10n_it_chart_template_generic,Iva 2% (debito),15,0.02,,False,percent,2601,2601,sale,template_impcode_riscossa_2,template_ivacode_riscossa_2,template_impcode_riscossa_2,template_ivacode_riscossa_2,-1,-1,False,1,1
2a,2a,l10n_it_chart_template_generic,Iva 2% (credito),16,0.02,,False,percent,1601,1601,purchase,template_impcode_pagata_2,template_ivacode_pagata_2,template_impcode_pagata_2,template_ivacode_pagata_2,1,1,False,-1,-1
4v,4v,l10n_it_chart_template_generic,Iva 4% (debito),17,0.04,,False,percent,2601,2601,sale,template_impcode_riscossa_4,template_ivacode_riscossa_4,template_impcode_riscossa_4,template_ivacode_riscossa_4,-1,-1,False,1,1
4a,4a,l10n_it_chart_template_generic,Iva 4% (credito),18,0.04,,False,percent,1601,1601,purchase,template_impcode_pagata_4,template_ivacode_pagata_4,template_impcode_pagata_4,template_ivacode_pagata_4,1,1,False,-1,-1
4AO,4AO,l10n_it_chart_template_generic,Iva al 4% indetraibile,19,0.04,,True,percent,,,purchase,template_impcode_pagata_4ind,,template_impcode_pagata_4ind,,1,1,False,-1,-1
@ -42,11 +44,12 @@ id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depe
00a,00a,l10n_it_chart_template_generic,Fuori Campo IVA (credito),23,0,,False,percent,1601,1601,purchase,template_impcode_pagata_0,template_ivacode_pagata_0,template_impcode_pagata_0,template_ivacode_pagata_0,1,1,False,-1,-1
00art15v,00art15v,l10n_it_chart_template_generic,Imponibile Escluso Art.15 (debito),22,0,,False,percent,2601,2601,sale,template_impcode_riscossa_art15,template_ivacode_riscossa_art15,template_impcode_riscossa_art15,template_ivacode_riscossa_art15,-1,-1,False,1,1
00art15a,00art15a,l10n_it_chart_template_generic,Imponibile Escluso Art.15 (credito),23,0,,False,percent,1601,1601,purchase,template_impcode_pagata_art15,template_ivacode_pagata_art15,template_impcode_pagata_art15,template_ivacode_pagata_art15,1,1,False,-1,-1
21v INC,21v INC,l10n_it_chart_template_generic,Iva al 21% (debito) INC,24,0.21,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,-1,-1,True,1,1
22v INC,22v INC,l10n_it_chart_template_generic,Iva al 22% (debito) INC,24,0.22,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_22,l10n_it.template_ivacode_riscossa_22,l10n_it.template_impcode_riscossa_22,l10n_it.template_ivacode_riscossa_22,-1,-1,True,1,1
21v INC,21v INC,l10n_it_chart_template_generic,Iva al 21% (debito) INC,25,0.21,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,l10n_it.template_impcode_riscossa_21,l10n_it.template_ivacode_riscossa_21,-1,-1,True,1,1
20v INC,20v INC,l10n_it_chart_template_generic,Iva al 20% (debito) INC,25,0.2,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_20,l10n_it.template_ivacode_riscossa_20,l10n_it.template_impcode_riscossa_20,l10n_it.template_ivacode_riscossa_20,-1,-1,True,1,1
10v INC,10v INC,l10n_it_chart_template_generic,Iva al 10% (debito) INC,26,0.1,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_10,l10n_it.template_ivacode_riscossa_10,l10n_it.template_impcode_riscossa_10,l10n_it.template_ivacode_riscossa_10,-1,-1,True,1,1
12v INC,12v INC,l10n_it_chart_template_generic,Iva 12% (debito) INC,27,0.12,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_12,l10n_it.template_ivacode_riscossa_12,l10n_it.template_impcode_riscossa_12,l10n_it.template_ivacode_riscossa_12,-1,-1,True,1,1
22v INC,22v INC,l10n_it_chart_template_generic,Iva 2% (debito) INC,28,0.02,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,-1,-1,True,1,1
2v INC,2v INC,l10n_it_chart_template_generic,Iva 2% (debito) INC,28,0.02,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,l10n_it.template_impcode_riscossa_2,l10n_it.template_ivacode_riscossa_2,-1,-1,True,1,1
4v INC,4v INC,l10n_it_chart_template_generic,Iva 4% (debito) INC,29,0.04,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_4,l10n_it.template_ivacode_riscossa_4,l10n_it.template_impcode_riscossa_4,l10n_it.template_ivacode_riscossa_4,-1,-1,True,1,1
00v INC,00v INC,l10n_it_chart_template_generic,Fuori Campo IVA (debito) INC,30,0,,False,percent,l10n_it.2601,l10n_it.2601,sale,l10n_it.template_impcode_riscossa_0,l10n_it.template_ivacode_riscossa_0,l10n_it.template_impcode_riscossa_0,l10n_it.template_ivacode_riscossa_0,-1,-1,True,1,1
2110,2110,l10n_it_chart_template_generic,Iva al 21% detraibile 10%,31,0.21,,True,percent,,,purchase,template_impcode_pagata_21det10,,template_impcode_pagata_21det10,,1,1,False,-1,-1
@ -64,3 +67,18 @@ id,description,chart_template_id:id,name,sequence,amount,parent_id:id,child_depe
21I5,21I5,l10n_it_chart_template_generic,IVA al 21% detraibile al 50%,35,0.21,,True,percent,,,purchase,template_impcode_pagata_21det50,,template_impcode_pagata_21det50,,1,1,False,-1,-1
21I5b,21I5b,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (D),200,0,21I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_21det50,,template_ivacode_pagata_21det50,1,1,False,-1,-1
21I5a,21I5a,l10n_it_chart_template_generic,IVA al 21% detraibile al 50% (I),100,0.5,21I5,False,percent,,,purchase,,template_ivacode_pagata_21det50ind,,template_ivacode_pagata_21det50ind,1,1,False,-1,-1
2210,2210,l10n_it_chart_template_generic,Iva al 22% detraibile 10%,31,0.22,,True,percent,,,purchase,template_impcode_pagata_22det10,,template_impcode_pagata_22det10,,1,1,False,-1,-1
2210b,2210b,l10n_it_chart_template_generic,Iva al 22% detraibile 10% (D),200,0,2210,False,balance,1601,1601,purchase,,template_ivacode_pagata_22det10,,template_ivacode_pagata_22det10,1,1,False,-1,-1
2210a,2210a,l10n_it_chart_template_generic,Iva al 22% detraibile 10% (I),100,0.9,2210,False,percent,,,purchase,,template_ivacode_pagata_22det10ind,,template_ivacode_pagata_22det10ind,1,1,False,-1,-1
2215,2215,l10n_it_chart_template_generic,Iva al 22% detraibile 15%,32,0.22,,True,percent,,,purchase,template_impcode_pagata_22det15,,template_impcode_pagata_22det15,,1,1,False,-1,-1
2215b,2215b,l10n_it_chart_template_generic,Iva al 22% detraibile 15% (D),200,0,2215,False,balance,1601,1601,purchase,,template_ivacode_pagata_22det15,,template_ivacode_pagata_22det15,1,1,False,-1,-1
2215a,2215a,l10n_it_chart_template_generic,Iva al 22% detraibile 15% (I),100,0.85,2215,False,percent,,,purchase,,template_ivacode_pagata_22det15ind,,template_ivacode_pagata_22det15ind,1,1,False,-1,-1
2240,2240,l10n_it_chart_template_generic,Iva al 22% detraibile 40%,33,0.22,,True,percent,,,purchase,template_impcode_pagata_22det40,,template_impcode_pagata_22det40,,1,1,False,-1,-1
2240b,2240b,l10n_it_chart_template_generic,Iva al 22% detraibile 40% (D),200,0,2240,False,balance,1601,1601,purchase,,template_ivacode_pagata_22det40,,template_ivacode_pagata_22det40,1,1,False,-1,-1
2240a,2240a,l10n_it_chart_template_generic,Iva al 22% detraibile 40% (I),100,0.6,2240,False,percent,,,purchase,,template_ivacode_pagata_22det40ind,,template_ivacode_pagata_22det40ind,1,1,False,-1,-1
22AO,22AO,l10n_it_chart_template_generic,Iva al 22% indetraibile,34,0.22,,True,percent,,,purchase,template_impcode_pagata_22ind,,template_impcode_pagata_22ind,,1,1,False,-1,-1
22AOb,22AOb,l10n_it_chart_template_generic,Iva al 22% indetraibile (D),200,0,22AO,False,balance,1601,1601,purchase,,template_ivacode_pagata_22ind,,template_ivacode_pagata_22ind,1,1,False,-1,-1
22AOa,22AOa,l10n_it_chart_template_generic,Iva al 22% indetraibile (I),100,1,22AO,False,percent,,,purchase,,template_ivacode_pagata_22ind,,template_ivacode_pagata_22ind,1,1,False,-1,-1
22I5,22I5,l10n_it_chart_template_generic,IVA al 22% detraibile al 50%,35,0.22,,True,percent,,,purchase,template_impcode_pagata_22det50,,template_impcode_pagata_22det50,,1,1,False,-1,-1
22I5b,22I5b,l10n_it_chart_template_generic,IVA al 22% detraibile al 50% (D),200,0,22I5,False,balance,1601,1601,purchase,,template_ivacode_pagata_22det50,,template_ivacode_pagata_22det50,1,1,False,-1,-1
22I5a,22I5a,l10n_it_chart_template_generic,IVA al 22% detraibile al 50% (I),100,0.5,22I5,False,percent,,,purchase,,template_ivacode_pagata_22det50ind,,template_ivacode_pagata_22det50ind,1,1,False,-1,-1

1 id description chart_template_id:id name sequence amount parent_id:id child_depend type account_collected_id:id account_paid_id:id type_tax_use base_code_id:id tax_code_id:id ref_base_code_id:id ref_tax_code_id:id ref_base_sign ref_tax_sign price_include base_sign tax_sign
2 21v 22v 21v 22v l10n_it_chart_template_generic Iva al 21% (debito) Iva al 22% (debito) 1 0.21 0.22 False percent 2601 2601 sale template_impcode_riscossa_21 template_impcode_riscossa_22 template_ivacode_riscossa_21 template_ivacode_riscossa_22 template_impcode_riscossa_21 template_impcode_riscossa_22 template_ivacode_riscossa_21 template_ivacode_riscossa_22 -1 -1 False 1 1
3 21a 22a 21a 22a l10n_it_chart_template_generic Iva al 21% (credito) Iva al 22% (credito) 2 0.21 0.22 False percent 1601 1601 purchase template_impcode_pagata_21 template_impcode_pagata_22 template_ivacode_pagata_21 template_ivacode_pagata_22 template_impcode_pagata_21 template_impcode_pagata_22 template_ivacode_pagata_21 template_ivacode_pagata_22 1 1 False -1 -1
4 21v 21v l10n_it_chart_template_generic Iva al 21% (debito) 3 0.21 False percent 2601 2601 sale template_impcode_riscossa_21 template_ivacode_riscossa_21 template_impcode_riscossa_21 template_ivacode_riscossa_21 -1 -1 False 1 1
5 21a 21a l10n_it_chart_template_generic Iva al 21% (credito) 4 0.21 False percent 1601 1601 purchase template_impcode_pagata_21 template_ivacode_pagata_21 template_impcode_pagata_21 template_ivacode_pagata_21 1 1 False -1 -1
6 20v 20v l10n_it_chart_template_generic Iva al 20% (debito) 3 0.2 False percent 2601 2601 sale template_impcode_riscossa_20 template_ivacode_riscossa_20 template_impcode_riscossa_20 template_ivacode_riscossa_20 -1 -1 False 1 1
7 20a 20a l10n_it_chart_template_generic Iva al 20% (credito) 4 0.2 False percent 1601 1601 purchase template_impcode_pagata_20 template_ivacode_pagata_20 template_impcode_pagata_20 template_ivacode_pagata_20 1 1 False -1 -1
8 10v 10v l10n_it_chart_template_generic Iva al 10% (debito) 5 0.1 False percent 2601 2601 sale template_impcode_riscossa_10 template_ivacode_riscossa_10 template_impcode_riscossa_10 template_ivacode_riscossa_10 -1 -1 False 1 1
27 20I5 20I5 l10n_it_chart_template_generic IVA al 20% detraibile al 50% 14 0.2 True percent purchase template_impcode_pagata_20det50 template_impcode_pagata_20det50 1 1 False -1 -1
28 20I5b 20I5b l10n_it_chart_template_generic IVA al 20% detraibile al 50% (D) 200 0 20I5 False balance 1601 1601 purchase template_ivacode_pagata_20det50 template_ivacode_pagata_20det50 1 1 False -1 -1
29 20I5a 20I5a l10n_it_chart_template_generic IVA al 20% detraibile al 50% (I) 100 0.5 20I5 False percent purchase template_ivacode_pagata_20det50ind template_ivacode_pagata_20det50ind 1 1 False -1 -1
30 22v 2v 22v 2v l10n_it_chart_template_generic Iva 2% (debito) 15 0.02 False percent 2601 2601 sale template_impcode_riscossa_2 template_ivacode_riscossa_2 template_impcode_riscossa_2 template_ivacode_riscossa_2 -1 -1 False 1 1
31 22a 2a 22a 2a l10n_it_chart_template_generic Iva 2% (credito) 16 0.02 False percent 1601 1601 purchase template_impcode_pagata_2 template_ivacode_pagata_2 template_impcode_pagata_2 template_ivacode_pagata_2 1 1 False -1 -1
32 4v 4v l10n_it_chart_template_generic Iva 4% (debito) 17 0.04 False percent 2601 2601 sale template_impcode_riscossa_4 template_ivacode_riscossa_4 template_impcode_riscossa_4 template_ivacode_riscossa_4 -1 -1 False 1 1
33 4a 4a l10n_it_chart_template_generic Iva 4% (credito) 18 0.04 False percent 1601 1601 purchase template_impcode_pagata_4 template_ivacode_pagata_4 template_impcode_pagata_4 template_ivacode_pagata_4 1 1 False -1 -1
34 4AO 4AO l10n_it_chart_template_generic Iva al 4% indetraibile 19 0.04 True percent purchase template_impcode_pagata_4ind template_impcode_pagata_4ind 1 1 False -1 -1
44 00a 00a l10n_it_chart_template_generic Fuori Campo IVA (credito) 23 0 False percent 1601 1601 purchase template_impcode_pagata_0 template_ivacode_pagata_0 template_impcode_pagata_0 template_ivacode_pagata_0 1 1 False -1 -1
45 00art15v 00art15v l10n_it_chart_template_generic Imponibile Escluso Art.15 (debito) 22 0 False percent 2601 2601 sale template_impcode_riscossa_art15 template_ivacode_riscossa_art15 template_impcode_riscossa_art15 template_ivacode_riscossa_art15 -1 -1 False 1 1
46 00art15a 00art15a l10n_it_chart_template_generic Imponibile Escluso Art.15 (credito) 23 0 False percent 1601 1601 purchase template_impcode_pagata_art15 template_ivacode_pagata_art15 template_impcode_pagata_art15 template_ivacode_pagata_art15 1 1 False -1 -1
47 21v INC 22v INC 21v INC 22v INC l10n_it_chart_template_generic Iva al 21% (debito) INC Iva al 22% (debito) INC 24 0.21 0.22 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_21 l10n_it.template_impcode_riscossa_22 l10n_it.template_ivacode_riscossa_21 l10n_it.template_ivacode_riscossa_22 l10n_it.template_impcode_riscossa_21 l10n_it.template_impcode_riscossa_22 l10n_it.template_ivacode_riscossa_21 l10n_it.template_ivacode_riscossa_22 -1 -1 True 1 1
48 21v INC 21v INC l10n_it_chart_template_generic Iva al 21% (debito) INC 25 0.21 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_21 l10n_it.template_ivacode_riscossa_21 l10n_it.template_impcode_riscossa_21 l10n_it.template_ivacode_riscossa_21 -1 -1 True 1 1
49 20v INC 20v INC l10n_it_chart_template_generic Iva al 20% (debito) INC 25 0.2 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_20 l10n_it.template_ivacode_riscossa_20 l10n_it.template_impcode_riscossa_20 l10n_it.template_ivacode_riscossa_20 -1 -1 True 1 1
50 10v INC 10v INC l10n_it_chart_template_generic Iva al 10% (debito) INC 26 0.1 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_10 l10n_it.template_ivacode_riscossa_10 l10n_it.template_impcode_riscossa_10 l10n_it.template_ivacode_riscossa_10 -1 -1 True 1 1
51 12v INC 12v INC l10n_it_chart_template_generic Iva 12% (debito) INC 27 0.12 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_12 l10n_it.template_ivacode_riscossa_12 l10n_it.template_impcode_riscossa_12 l10n_it.template_ivacode_riscossa_12 -1 -1 True 1 1
52 22v INC 2v INC 22v INC 2v INC l10n_it_chart_template_generic Iva 2% (debito) INC 28 0.02 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_2 l10n_it.template_ivacode_riscossa_2 l10n_it.template_impcode_riscossa_2 l10n_it.template_ivacode_riscossa_2 -1 -1 True 1 1
53 4v INC 4v INC l10n_it_chart_template_generic Iva 4% (debito) INC 29 0.04 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_4 l10n_it.template_ivacode_riscossa_4 l10n_it.template_impcode_riscossa_4 l10n_it.template_ivacode_riscossa_4 -1 -1 True 1 1
54 00v INC 00v INC l10n_it_chart_template_generic Fuori Campo IVA (debito) INC 30 0 False percent l10n_it.2601 l10n_it.2601 sale l10n_it.template_impcode_riscossa_0 l10n_it.template_ivacode_riscossa_0 l10n_it.template_impcode_riscossa_0 l10n_it.template_ivacode_riscossa_0 -1 -1 True 1 1
55 2110 2110 l10n_it_chart_template_generic Iva al 21% detraibile 10% 31 0.21 True percent purchase template_impcode_pagata_21det10 template_impcode_pagata_21det10 1 1 False -1 -1
67 21I5 21I5 l10n_it_chart_template_generic IVA al 21% detraibile al 50% 35 0.21 True percent purchase template_impcode_pagata_21det50 template_impcode_pagata_21det50 1 1 False -1 -1
68 21I5b 21I5b l10n_it_chart_template_generic IVA al 21% detraibile al 50% (D) 200 0 21I5 False balance 1601 1601 purchase template_ivacode_pagata_21det50 template_ivacode_pagata_21det50 1 1 False -1 -1
69 21I5a 21I5a l10n_it_chart_template_generic IVA al 21% detraibile al 50% (I) 100 0.5 21I5 False percent purchase template_ivacode_pagata_21det50ind template_ivacode_pagata_21det50ind 1 1 False -1 -1
70 2210 2210 l10n_it_chart_template_generic Iva al 22% detraibile 10% 31 0.22 True percent purchase template_impcode_pagata_22det10 template_impcode_pagata_22det10 1 1 False -1 -1
71 2210b 2210b l10n_it_chart_template_generic Iva al 22% detraibile 10% (D) 200 0 2210 False balance 1601 1601 purchase template_ivacode_pagata_22det10 template_ivacode_pagata_22det10 1 1 False -1 -1
72 2210a 2210a l10n_it_chart_template_generic Iva al 22% detraibile 10% (I) 100 0.9 2210 False percent purchase template_ivacode_pagata_22det10ind template_ivacode_pagata_22det10ind 1 1 False -1 -1
73 2215 2215 l10n_it_chart_template_generic Iva al 22% detraibile 15% 32 0.22 True percent purchase template_impcode_pagata_22det15 template_impcode_pagata_22det15 1 1 False -1 -1
74 2215b 2215b l10n_it_chart_template_generic Iva al 22% detraibile 15% (D) 200 0 2215 False balance 1601 1601 purchase template_ivacode_pagata_22det15 template_ivacode_pagata_22det15 1 1 False -1 -1
75 2215a 2215a l10n_it_chart_template_generic Iva al 22% detraibile 15% (I) 100 0.85 2215 False percent purchase template_ivacode_pagata_22det15ind template_ivacode_pagata_22det15ind 1 1 False -1 -1
76 2240 2240 l10n_it_chart_template_generic Iva al 22% detraibile 40% 33 0.22 True percent purchase template_impcode_pagata_22det40 template_impcode_pagata_22det40 1 1 False -1 -1
77 2240b 2240b l10n_it_chart_template_generic Iva al 22% detraibile 40% (D) 200 0 2240 False balance 1601 1601 purchase template_ivacode_pagata_22det40 template_ivacode_pagata_22det40 1 1 False -1 -1
78 2240a 2240a l10n_it_chart_template_generic Iva al 22% detraibile 40% (I) 100 0.6 2240 False percent purchase template_ivacode_pagata_22det40ind template_ivacode_pagata_22det40ind 1 1 False -1 -1
79 22AO 22AO l10n_it_chart_template_generic Iva al 22% indetraibile 34 0.22 True percent purchase template_impcode_pagata_22ind template_impcode_pagata_22ind 1 1 False -1 -1
80 22AOb 22AOb l10n_it_chart_template_generic Iva al 22% indetraibile (D) 200 0 22AO False balance 1601 1601 purchase template_ivacode_pagata_22ind template_ivacode_pagata_22ind 1 1 False -1 -1
81 22AOa 22AOa l10n_it_chart_template_generic Iva al 22% indetraibile (I) 100 1 22AO False percent purchase template_ivacode_pagata_22ind template_ivacode_pagata_22ind 1 1 False -1 -1
82 22I5 22I5 l10n_it_chart_template_generic IVA al 22% detraibile al 50% 35 0.22 True percent purchase template_impcode_pagata_22det50 template_impcode_pagata_22det50 1 1 False -1 -1
83 22I5b 22I5b l10n_it_chart_template_generic IVA al 22% detraibile al 50% (D) 200 0 22I5 False balance 1601 1601 purchase template_ivacode_pagata_22det50 template_ivacode_pagata_22det50 1 1 False -1 -1
84 22I5a 22I5a l10n_it_chart_template_generic IVA al 22% detraibile al 50% (I) 100 0.5 22I5 False percent purchase template_ivacode_pagata_22det50ind template_ivacode_pagata_22det50ind 1 1 False -1 -1

View File

@ -3,15 +3,16 @@ import psycopg2
import openerp
from openerp import SUPERUSER_ID
import openerp.addons.web.http as http
from openerp import http
from openerp.addons.web.controllers.main import content_disposition
class MailController(http.Controller):
_cp_path = '/mail'
@http.httprequest
@http.route('/mail/download_attachment', type='http', auth='user')
def download_attachment(self, req, model, id, method, attachment_id, **kw):
# FIXME use /web/binary/saveas directly
Model = req.session.model(model)
res = getattr(Model, method)(int(id), int(attachment_id))
if res:
@ -20,10 +21,10 @@ class MailController(http.Controller):
if filecontent and filename:
return req.make_response(filecontent,
headers=[('Content-Type', 'application/octet-stream'),
('Content-Disposition', content_disposition(filename, req))])
('Content-Disposition', content_disposition(filename))])
return req.not_found()
@http.jsonrequest
@http.route('/mail/receive', type='json', auth='none')
def receive(self, req):
""" End-point to receive mail from an external SMTP server. """
dbs = req.jsonrequest.get('databases')

File diff suppressed because it is too large Load Diff

View File

@ -157,9 +157,9 @@ class mail_mail(osv.Model):
'action': 'mail.action_mail_redirect',
}
if mail.notification:
fragment.update({
'message_id': mail.mail_message_id.id,
})
fragment['message_id'] = mail.mail_message_id.id
elif mail.model and mail.res_id:
fragment.update(model=mail.model, res_id=mail.res_id)
url = urljoin(base_url, "?%s#%s" % (urlencode(query), urlencode(fragment)))
return _("""<small>Access your messages and documents <a style='color:inherit' href="%s">in OpenERP</a></small>""") % url
else:

View File

@ -566,29 +566,37 @@ class mail_thread(osv.AbstractModel):
self.pool.get('res.users').browse(cr, SUPERUSER_ID, uid, context=context)
act_model, act_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, *self._get_inbox_action_xml_id(cr, uid, context=context))
action = self.pool.get(act_model).read(cr, uid, act_id, [])
params = context.get('params')
msg_id = model = res_id = None
# if msg_id specified: try to redirect to the document or fallback on the Inbox
msg_id = context.get('params', {}).get('message_id')
if not msg_id:
if params:
msg_id = params.get('message_id')
model = params.get('model')
res_id = params.get('res_id')
if not msg_id and not (model and res_id):
return action
msg = self.pool.get('mail.message').browse(cr, uid, msg_id, context=context)
if msg.model and msg.res_id:
action.update({
'context': {
'search_default_model': msg.model,
'search_default_res_id': msg.res_id,
}
})
if self.pool.get(msg.model).check_access_rights(cr, uid, 'read', raise_exception=False):
if msg_id and not (model and res_id):
msg = self.pool.get('mail.message').browse(cr, uid, msg_id, context=context)
model, res_id = msg.model, msg.res_id
# if model + res_id found: try to redirect to the document or fallback on the Inbox
if model and res_id:
model_obj = self.pool.get(model)
if model_obj.check_access_rights(cr, uid, 'read', raise_exception=False):
try:
model_obj = self.pool.get(msg.model)
model_obj.check_access_rule(cr, uid, [msg.res_id], 'read', context=context)
model_obj.check_access_rule(cr, uid, [res_id], 'read', context=context)
if not hasattr(model_obj, '_get_formview_action'):
action = self.pool.get('mail.thread')._get_formview_action(cr, uid, msg.res_id, model=msg.model, context=context)
action = self.pool.get('mail.thread')._get_formview_action(cr, uid, res_id, model=model, context=context)
else:
action = model_obj._get_formview_action(cr, uid, msg.res_id, context=context)
action = model_obj._get_formview_action(cr, uid, res_id, context=context)
except (osv.except_osv, orm.except_orm):
pass
action.update({
'context': {
'search_default_model': model,
'search_default_res_id': res_id,
}
})
return action
#------------------------------------------------------
@ -1175,7 +1183,7 @@ class mail_thread(osv.AbstractModel):
# get partner info from email
partner_info = self.message_partner_info_from_emails(cr, uid, obj.id, [email], context=context)[0]
if partner_info.get('partner_id'):
partner = self.pool.get('res.partner').browse(cr, SUPERUSER_ID, [partner_info.get('partner_id')], context=context)[0]
partner = self.pool.get('res.partner').browse(cr, SUPERUSER_ID, [partner_info['partner_id']], context=context)[0]
if email and email in [val[1] for val in result[obj.id]]: # already existing email -> skip
return result
if partner and partner in obj.message_follower_ids: # recipient already in the followers -> skip

View File

@ -151,7 +151,7 @@ openerp_mail_followers = function(session, mail) {
},
fetch_followers: function (value_) {
this.value = value_ || {};
this.value = value_ || [];
return this.ds_model.call('read_followers_data', [this.value])
.then(this.proxy('display_followers'), this.proxy('fetch_generic'))
.then(this.proxy('display_buttons'))

View File

@ -231,6 +231,8 @@ class test_mail(TestMail):
def test_11_notification_url(self):
""" Tests designed to test the URL added in notification emails. """
cr, uid, group_pigs = self.cr, self.uid, self.group_pigs
# Test URL formatting
base_url = self.registry('ir.config_parameter').get_param(cr, uid, 'web.base.url')
# Partner data
partner_raoul = self.res_partner.browse(cr, uid, self.partner_raoul_id)
@ -243,19 +245,59 @@ class test_mail(TestMail):
# Test: link for nobody -> None
url = mail_mail._get_partner_access_link(self.mail_mail, cr, uid, mail)
self.assertEqual(url, None,
'notification email: mails not send to a specific partner should not have any URL')
'notification email: mails not send to a specific partner should not have any URL')
# Test: link for partner -> None
url = mail_mail._get_partner_access_link(self.mail_mail, cr, uid, mail, partner=partner_bert)
self.assertEqual(url, None,
'notification email: mails send to a not-user partner should not have any URL')
'notification email: mails send to a not-user partner should not have any URL')
# Test: link for user -> signin
url = mail_mail._get_partner_access_link(self.mail_mail, cr, uid, mail, partner=partner_raoul)
self.assertIn(base_url, url,
'notification email: link should contain web.base.url')
self.assertIn('db=%s' % cr.dbname, url,
'notification email: link should contain database name')
self.assertIn('action=mail.action_mail_redirect', url,
'notification email: link should contain the redirect action')
'notification email: link should contain the redirect action')
self.assertIn('login=%s' % partner_raoul.user_ids[0].login, url,
'notification email: link should contain the user login')
'notification email: link should contain the user login')
# Test: link for user -> with model and res_id
mail_mail_id = self.mail_mail.create(cr, uid, {'model': 'mail.group', 'res_id': group_pigs.id})
mail = self.mail_mail.browse(cr, uid, mail_mail_id)
url = mail_mail._get_partner_access_link(self.mail_mail, cr, uid, mail, partner=partner_raoul)
self.assertIn(base_url, url,
'notification email: link should contain web.base.url')
self.assertIn('db=%s' % cr.dbname, url,
'notification email: link should contain database name')
self.assertIn('action=mail.action_mail_redirect', url,
'notification email: link should contain the redirect action')
self.assertIn('login=%s' % partner_raoul.user_ids[0].login, url,
'notification email: link should contain the user login')
self.assertIn('model=mail.group', url,
'notification email: link should contain the model when having not notification email on a record')
self.assertIn('res_id=%s' % group_pigs.id, url,
'notification email: link should contain the res_id when having not notification email on a record')
# Test: link for user -> with model and res_id
mail_mail_id = self.mail_mail.create(cr, uid, {'notification': True, 'model': 'mail.group', 'res_id': group_pigs.id})
mail = self.mail_mail.browse(cr, uid, mail_mail_id)
url = mail_mail._get_partner_access_link(self.mail_mail, cr, uid, mail, partner=partner_raoul)
self.assertIn(base_url, url,
'notification email: link should contain web.base.url')
self.assertIn('db=%s' % cr.dbname, url,
'notification email: link should contain database name')
self.assertIn('action=mail.action_mail_redirect', url,
'notification email: link should contain the redirect action')
self.assertIn('login=%s' % partner_raoul.user_ids[0].login, url,
'notification email: link should contain the user login')
self.assertIn('message_id=%s' % mail.mail_message_id.id, url,
'notification email: link based on message should contain the mail_message id')
self.assertNotIn('model', url,
'notification email: link based on message should not contain model')
self.assertNotIn('res_id', url,
'notification email: link based on message should not contain res_id')
@mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')
def test_12_inbox_redirection(self):
@ -267,24 +309,54 @@ class test_mail(TestMail):
# No specific parameters -> should redirect to Inbox
action = mail_thread.message_redirect_action(self.mail_thread, cr, self.user_raoul_id, {'params': {}})
self.assertEqual(action.get('type'), 'ir.actions.client',
'URL redirection: action without parameters should redirect to client action Inbox')
self.assertEqual(action.get('id'), act_id,
'URL redirection: action without parameters should redirect to client action Inbox')
self.assertEqual(
action.get('type'), 'ir.actions.client',
'URL redirection: action without parameters should redirect to client action Inbox'
)
self.assertEqual(
action.get('id'), act_id,
'URL redirection: action without parameters should redirect to client action Inbox'
)
# Bert has read access to Pigs -> should redirect to form view of Pigs
# Raoul has read access to Pigs -> should redirect to form view of Pigs
action = mail_thread.message_redirect_action(self.mail_thread, cr, self.user_raoul_id, {'params': {'message_id': msg_id}})
self.assertEqual(action.get('type'), 'ir.actions.act_window',
'URL redirection: action with message_id for read-accredited user should redirect to Pigs')
self.assertEqual(action.get('res_id'), group_pigs.id,
'URL redirection: action with message_id for read-accredited user should redirect to Pigs')
self.assertEqual(
action.get('type'), 'ir.actions.act_window',
'URL redirection: action with message_id for read-accredited user should redirect to Pigs'
)
self.assertEqual(
action.get('res_id'), group_pigs.id,
'URL redirection: action with message_id for read-accredited user should redirect to Pigs'
)
action = mail_thread.message_redirect_action(self.mail_thread, cr, self.user_raoul_id, {'params': {'model': 'mail.group', 'res_id': group_pigs.id}})
self.assertEqual(
action.get('type'), 'ir.actions.act_window',
'URL redirection: action with message_id for read-accredited user should redirect to Pigs'
)
self.assertEqual(
action.get('res_id'), group_pigs.id,
'URL redirection: action with message_id for read-accredited user should redirect to Pigs'
)
# Bert has no read access to Pigs -> should redirect to Inbox
action = mail_thread.message_redirect_action(self.mail_thread, cr, self.user_bert_id, {'params': {'message_id': msg_id}})
self.assertEqual(action.get('type'), 'ir.actions.client',
'URL redirection: action without parameters should redirect to client action Inbox')
self.assertEqual(action.get('id'), act_id,
'URL redirection: action without parameters should redirect to client action Inbox')
self.assertEqual(
action.get('type'), 'ir.actions.client',
'URL redirection: action without parameters should redirect to client action Inbox'
)
self.assertEqual(
action.get('id'), act_id,
'URL redirection: action without parameters should redirect to client action Inbox'
)
action = mail_thread.message_redirect_action(self.mail_thread, cr, self.user_bert_id, {'params': {'model': 'mail.group', 'res_id': group_pigs.id}})
self.assertEqual(
action.get('type'), 'ir.actions.client',
'URL redirection: action without parameters should redirect to client action Inbox'
)
self.assertEqual(
action.get('id'), act_id,
'URL redirection: action without parameters should redirect to client action Inbox'
)
def test_20_message_post(self):
""" Tests designed for message_post. """

View File

@ -6,8 +6,8 @@ import urllib
import urllib2
import openerp
from openerp import release
from openerp.osv import fields, osv
from openerp import release, SUPERUSER_ID
from openerp.osv import osv
from openerp.tools.translate import _
from openerp.tools.safe_eval import safe_eval
from openerp.tools.config import config
@ -86,25 +86,26 @@ class publisher_warranty_contract(osv.osv):
try:
try:
result = get_sys_logs(self, cr, uid)
except Exception, ex:
except Exception:
if cron_mode: # we don't want to see any stack trace in cron
return False
_logger.debug("Exception while sending a get logs messages", exc_info=1)
raise osv.except_osv(_("Error"), _("Error during communication with the publisher warranty server."))
limit_date = (datetime.datetime.now() - _PREVIOUS_LOG_CHECK).strftime(misc.DEFAULT_SERVER_DATETIME_FORMAT)
# old behavior based on res.log; now on mail.message, that is not necessarily installed
proxy = self.pool.get('mail.message')
model, res_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'mail', 'group_all_employees')
IMD = self.pool['ir.model.data']
user = self.pool['res.users'].browse(cr, SUPERUSER_ID, SUPERUSER_ID)
try:
poster = IMD.get_object(cr, SUPERUSER_ID, 'mail', 'group_all_employees')
except ValueError:
# Cannot found group, post the message on the wall of the admin
poster = user
if not poster.exists():
return True
for message in result["messages"]:
values = {
'body' : message,
'model' : 'mail.group',
'res_id' : res_id,
'user_id' : False,
}
proxy.create(cr, uid, values, context=context)
try:
poster.message_post(body=message, subtype='mt_comment', partner_ids=[user.partner_id.id])
except Exception:
_logger.warning('Cannot send ping message', exc_info=True)
except Exception:
if cron_mode:
return False # we don't want to see any stack trace in cron

View File

@ -13,8 +13,17 @@
<field name="res_id" invisible="1"/>
<field name="parent_id" invisible="1"/>
<field name="mail_server_id" invisible="1"/>
<!-- Various warnings -->
<field name="use_active_domain" invisible="1"/>
<field name="active_domain" invisible="1"/>
<div colspan="2" class="oe_form_box_info oe_text_center"
attrs="{'invisible': [('use_active_domain', '!=', True)]}">
<p>
<strong>All records matching your current search filter will be mailed,
not only the ids selected in the list view.</strong><br />
If you want to work only with selected ids, please uncheck the
list header checkbox.
</p>
</div>
<!-- visible wizard -->
<field name="email_from"
attrs="{'invisible':[('composition_mode', '!=', 'mass_mail')]}"/>

View File

@ -1,7 +1,6 @@
import openerp.addons.web.http as http
from openerp.addons.web.http import request
from openerp import http
from openerp.http import request
class MassMailController(http.Controller):
@http.route('/mail/track/<int:mail_id>/blank.gif', type='http', auth='admin')

View File

@ -19,11 +19,6 @@
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<!-- restrict access to menu -->
<record model='ir.ui.menu' id="mrp_Sched_all">
<field eval="[(6,0,[ref('group_mrp_manager')])]" name="groups_id"/>
</record>
</data>
<data noupdate="1">
<!-- Multi -->

View File

@ -518,8 +518,9 @@ class mrp_repair(osv.osv):
'location_dest_id': move.location_dest_id.id,
'tracking_id': False,
'prodlot_id': move.prodlot_id and move.prodlot_id.id or False,
'state': 'done',
'state': 'assigned',
})
move_obj.action_done(cr, uid, [move_id], context=context)
repair_line_obj.write(cr, uid, [move.id], {'move_id': move_id, 'state': 'done'}, context=context)
if repair.deliver_bool:
pick_name = seq_obj.get(cr, uid, 'stock.picking.out')

View File

@ -19,6 +19,7 @@
#
##############################################################################
from openerp import SUPERUSER_ID
from openerp.osv import osv, fields
from openerp.tools import html2plaintext
@ -188,18 +189,15 @@ class res_users(osv.Model):
_inherit = ['res.users']
def create(self, cr, uid, data, context=None):
user_id = super(res_users, self).create(cr, uid, data, context=context)
user = self.browse(cr, uid, uid, context=context)
note_obj = self.pool.get('note.stage')
data_obj = self.pool.get('ir.model.data')
model_id = data_obj.get_object_reference(cr, uid, 'base', 'group_user') #Employee Group
group_id = model_id and model_id[1] or False
if group_id in [x.id for x in user.groups_id]:
for note_xml_id in ['note_stage_00','note_stage_01','note_stage_02','note_stage_03','note_stage_04']:
note_obj = self.pool['note.stage']
data_obj = self.pool['ir.model.data']
is_employee = self.has_group(cr, user_id, 'base.group_user')
if is_employee:
for n in range(5):
xmlid = 'note_stage_%02d' % (n,)
try:
data_id = data_obj._get_id(cr, uid, 'note', note_xml_id)
_model, stage_id = data_obj.get_object_reference(cr, SUPERUSER_ID, 'note', xmlid)
except ValueError:
continue
stage_id = data_obj.browse(cr, uid, data_id, context=context).res_id
note_obj.copy(cr, uid, stage_id, default = {
'user_id': user_id}, context=context)
note_obj.copy(cr, SUPERUSER_ID, stage_id, default={'user_id': user_id}, context=context)
return user_id

View File

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (c) 2013-TODAY 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 . import test_note
checks = [
test_note,
]
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -0,0 +1,43 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (c) 2013-TODAY 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 openerp.tests import common
class TestNote(common.TransactionCase):
def test_bug_lp_1156215(self):
"""ensure any users can create new users"""
cr, uid = self.cr, self.uid
IMD = self.registry('ir.model.data')
Users = self.registry('res.users')
_, demo_user = IMD.get_object_reference(cr, uid, 'base', 'user_demo')
_, group_id = IMD.get_object_reference(cr, uid, 'base', 'group_erp_manager')
Users.write(cr, uid, [demo_user], {
'groups_id': [(4, group_id)],
})
# must not fail
Users.create(cr, demo_user, {
'name': 'test bug lp:1156215',
'login': 'lp_1156215',
})

View File

@ -6,8 +6,8 @@ import openerp
import time
import random
from openerp.addons.web import http
from openerp.addons.web.http import request
from openerp import http
from openerp.http import request
from openerp.addons.web.controllers.main import manifest_list, module_boot, html_template
_logger = logging.getLogger(__name__)

View File

@ -280,7 +280,7 @@ class pos_session(osv.osv):
# open if there is no session in 'opening_control', 'opened', 'closing_control' for one user
domain = [
('state', 'not in', ('closed','closing_control')),
('user_id', '=', uid)
('user_id', '=', session.user_id.id)
]
count = self.search_count(cr, uid, domain, context=context)
if count>1:

View File

@ -35,7 +35,7 @@ class mail_message(osv.Model):
group_ids = self.pool.get('res.users').browse(cr, uid, uid, context=context).groups_id
group_user_id = self.pool.get("ir.model.data").get_object_reference(cr, uid, 'base', 'group_user')[1]
if group_user_id not in [group.id for group in group_ids]:
args = ['&', '|', ('type', '!=', 'comment'), ('subtype_id', '!=', False)] + list(args)
args = [('subtype_id', '!=', False)] + list(args)
return super(mail_message, self)._search(cr, uid, args, offset=offset, limit=limit, order=order,
context=context, count=False, access_rights_uid=access_rights_uid)

View File

@ -210,11 +210,11 @@ class test_portal(TestMail):
msg2_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body2', type='comment', subtype='mail.mt_group_public')
msg3_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body3', type='comment', subtype='mail.mt_comment')
msg4_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body4', type='comment')
msg5_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body5', type='notification')
# msg5_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body5', type='notification')
# Do: Chell search messages: should not see internal notes (comment without subtype)
msg_ids = self.mail_message.search(cr, self.user_chell_id, [('model', '=', 'mail.group'), ('res_id', '=', group_port_id)])
self.assertEqual(set(msg_ids), set([msg1_id, msg2_id, msg3_id, msg5_id]),
self.assertEqual(set(msg_ids), set([msg1_id, msg2_id, msg3_id]),
'mail_message: portal user has access to messages he should not read')
# Do: Chell read messages she can read

View File

@ -33,8 +33,9 @@
</record>
<record model="ir.ui.view" id="portal_hr_kanban_view_employees">
<field name="name">HR - Employees Kanban</field>
<field name="name">HR - Employees Kanban (Portal)</field>
<field name="model">hr.employee</field>
<field name="priority">32</field>
<field name="inherit_id" eval="False"/>
<field name="arch" type="xml">
<kanban create="false">

File diff suppressed because it is too large Load Diff

View File

@ -127,6 +127,22 @@ class procurement_order(osv.osv):
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'procurement.order', context=c)
}
def message_track(self, cr, uid, ids, tracked_fields, initial_values, context=None):
""" Overwrite message_track to avoid tracking more than once the confirm-exception loop
Add '_first_pass_done_' to the note field only the first time stuck in exception state
Will avoid getting furthur confirmed and exception change of state messages
TODO: this hack is necessary for a stable version but should be avoided for the next release.
Instead find a more elegant way to prevent redundant messages or entirely stop tracking states on procurement orders
"""
for proc in self.browse(cr, uid, ids, context=context):
if not proc.note or '_first_pass_done_' not in proc.note or proc.state not in ('confirmed', 'exception'):
super(procurement_order, self).message_track(cr, uid, [proc.id], tracked_fields, initial_values, context=context)
if proc.state == 'exception':
cr.execute("""UPDATE procurement_order set note = TRIM(both E'\n' FROM COALESCE(note, '') || %s) WHERE id = %s""", ('\n\n_first_pass_done_',proc.id))
return True
def unlink(self, cr, uid, ids, context=None):
procurements = self.read(cr, uid, ids, ['state'], context=context)
unlink_ids = []
@ -371,7 +387,6 @@ class procurement_order(osv.osv):
ctx_wkf = dict(context or {})
ctx_wkf['workflow.trg_write.%s' % self._name] = False
self.write(cr, uid, [procurement.id], {'message': message},context=ctx_wkf)
self.message_post(cr, uid, [procurement.id], body=message, context=context)
return ok
def step_workflow(self, cr, uid, ids, context=None):

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@
<filter string="Can be Sold" name="filter_to_sell" icon="terp-accessories-archiver-minus" domain="[('sale_ok','=',1)]"/>
<field name="categ_id"/>
<group expand="0" string="Context...">
<field name="pricelist_id" context="{'pricelist': self}" filter_domain="[]" groups="product.group_sale_pricelist"/>
<field name="pricelist_id" widget="selection" context="{'pricelist': self}" filter_domain="[]" groups="product.group_sale_pricelist"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<field name="company_id" groups="base.group_multi_company"/>
</group>
<group expand='0' string='Group by...'>

View File

@ -0,0 +1,164 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-10-29 22:09+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-30 05:16+0000\n"
"X-Generator: Launchpad (build 16820)\n"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_from_product_template
msgid "Ham"
msgstr "Šunka"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_lait_product_template
msgid "Cow milk"
msgstr "Kravlje mlijeko"
#. module: product_expiry
#: field:product.product,life_time:0
msgid "Product Life Time"
msgstr "Vrijeme trajanja proizvoda"
#. module: product_expiry
#: help:stock.production.lot,removal_date:0
msgid ""
"This is the date on which the goods with this Serial Number should be "
"removed from the stock."
msgstr ""
"Ovo je datum kada roba sa ovim serijskim brojem bi trebala biti uklonjena sa "
"zalihe."
#. module: product_expiry
#: help:product.product,removal_time:0
msgid ""
"When a new a Serial Number is issued, this is the number of days before the "
"goods should be removed from the stock."
msgstr ""
"Kada je novi serijski broj izdan, ovo je broj dana prije nego bi roba "
"trebala biti uklonjena sa zalihe."
#. module: product_expiry
#: field:product.product,use_time:0
msgid "Product Use Time"
msgstr "Vrijeme korišćenja proizvoda"
#. module: product_expiry
#: model:ir.model,name:product_expiry.model_product_product
msgid "Product"
msgstr "Proizvod"
#. module: product_expiry
#: help:product.product,use_time:0
msgid ""
"When a new a Serial Number is issued, this is the number of days before the "
"goods starts deteriorating, without being dangerous yet."
msgstr ""
"Kada je novi serijski broj izdan, ovo je broj dana prije nego će roba početi "
"da propada, a da još nije opasno."
#. module: product_expiry
#: field:product.product,removal_time:0
msgid "Product Removal Time"
msgstr "Vrijeme uklanjanja proizvoda"
#. module: product_expiry
#: help:stock.production.lot,alert_date:0
msgid ""
"This is the date on which an alert should be notified about the goods with "
"this Serial Number."
msgstr ""
"Ovo je datum kada bi trebalo obavjestiti alarmom o robi sa ovim serijskim "
"brojem."
#. module: product_expiry
#: model:ir.model,name:product_expiry.model_stock_production_lot
msgid "Serial Number"
msgstr "Serijski broj"
#. module: product_expiry
#: help:product.product,alert_time:0
msgid ""
"When a new a Serial Number is issued, this is the number of days before an "
"alert should be notified."
msgstr ""
"Kada je novi serijski broj izdan, ovo je broj dana prije obavjesti alarma."
#. module: product_expiry
#: field:stock.production.lot,removal_date:0
msgid "Removal Date"
msgstr "Datum uklanjanja"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_pain_product_template
msgid "Bread"
msgstr "Hljeb"
#. module: product_expiry
#: view:product.product:0
msgid "Dates"
msgstr "Datumi"
#. module: product_expiry
#: field:stock.production.lot,life_date:0
msgid "End of Life Date"
msgstr "Kraj života proizvoda"
#. module: product_expiry
#: field:stock.production.lot,use_date:0
msgid "Best before Date"
msgstr "Najbolje prije"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_jambon_product_template
msgid "French cheese Camenbert"
msgstr "Francuski sir Camembert"
#. module: product_expiry
#: help:product.product,life_time:0
msgid ""
"When a new a Serial Number is issued, this is the number of days before the "
"goods may become dangerous and must not be consumed."
msgstr ""
"Kada je novi serijski broj izdan, ovo je broj dana prije nego roba postane "
"opasna i ne smije se konzumirati."
#. module: product_expiry
#: field:stock.production.lot,alert_date:0
msgid "Alert Date"
msgstr "Datum alarma"
#. module: product_expiry
#: help:stock.production.lot,use_date:0
msgid ""
"This is the date on which the goods with this Serial Number start "
"deteriorating, without being dangerous yet."
msgstr ""
"Ovo je datum kada roba sa ovim serijskim brojem počinje da propada, ali još "
"nije opasna."
#. module: product_expiry
#: help:stock.production.lot,life_date:0
msgid ""
"This is the date on which the goods with this Serial Number may become "
"dangerous and must not be consumed."
msgstr ""
"Ovo je datum kada roba sa ovim serijskim brojem može postati opasna i ne "
"smije biti konzumirana."
#. module: product_expiry
#: field:product.product,alert_time:0
msgid "Product Alert Time"
msgstr "Vrijeme alarma proizvoda"

View File

@ -0,0 +1,72 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-10-30 00:09+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-30 05:16+0000\n"
"X-Generator: Launchpad (build 16820)\n"
#. module: product_manufacturer
#: field:product.product,manufacturer_pref:0
msgid "Manufacturer Product Code"
msgstr "Proizvođačka šifra artikla"
#. module: product_manufacturer
#: model:ir.model,name:product_manufacturer.model_product_product
#: field:product.manufacturer.attribute,product_id:0
msgid "Product"
msgstr "Proizvod"
#. module: product_manufacturer
#: view:product.manufacturer.attribute:0
msgid "Product Template Name"
msgstr "Naziv predloška proizvoda"
#. module: product_manufacturer
#: model:ir.model,name:product_manufacturer.model_product_manufacturer_attribute
msgid "Product attributes"
msgstr "Atributi proizvoda"
#. module: product_manufacturer
#: view:product.manufacturer.attribute:0
#: view:product.product:0
msgid "Product Attributes"
msgstr "Atributi proizvoda"
#. module: product_manufacturer
#: field:product.manufacturer.attribute,name:0
msgid "Attribute"
msgstr "Atribut"
#. module: product_manufacturer
#: field:product.manufacturer.attribute,value:0
msgid "Value"
msgstr "Vrijednost"
#. module: product_manufacturer
#: view:product.product:0
#: field:product.product,attribute_ids:0
msgid "Attributes"
msgstr "Atributi"
#. module: product_manufacturer
#: field:product.product,manufacturer_pname:0
msgid "Manufacturer Product Name"
msgstr "Proizvođački naziv proizvoda"
#. module: product_manufacturer
#: view:product.product:0
#: field:product.product,manufacturer:0
msgid "Manufacturer"
msgstr "Proizvođač"

View File

@ -0,0 +1,62 @@
# Bosnian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-10-30 00:22+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bosnian <bs@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: 2013-10-30 05:16+0000\n"
"X-Generator: Launchpad (build 16820)\n"
#. module: product_visible_discount
#: code:addons/product_visible_discount/product_visible_discount.py:149
#, python-format
msgid "No Sale Pricelist Found!"
msgstr "Nije pronađen prodajni cijenovnik!"
#. module: product_visible_discount
#: field:product.pricelist,visible_discount:0
msgid "Visible Discount"
msgstr "Vidljiv popust"
#. module: product_visible_discount
#: code:addons/product_visible_discount/product_visible_discount.py:141
#, python-format
msgid "No Purchase Pricelist Found!"
msgstr "Nije pronađen nabavni cijenovnik!"
#. module: product_visible_discount
#: model:ir.model,name:product_visible_discount.model_account_invoice_line
msgid "Invoice Line"
msgstr "Stavka fakture"
#. module: product_visible_discount
#: model:ir.model,name:product_visible_discount.model_product_pricelist
msgid "Pricelist"
msgstr "Cjenovnik"
#. module: product_visible_discount
#: code:addons/product_visible_discount/product_visible_discount.py:141
#, python-format
msgid "You must first define a pricelist on the supplier form!"
msgstr "Prvo morate definisati cijenovnik na formi dobavljača!"
#. module: product_visible_discount
#: model:ir.model,name:product_visible_discount.model_sale_order_line
msgid "Sales Order Line"
msgstr "Stavka prodajne narudžbe"
#. module: product_visible_discount
#: code:addons/product_visible_discount/product_visible_discount.py:149
#, python-format
msgid "You must first define a pricelist on the customer form!"
msgstr "Prvo definišite cijenovnik na formi kupca!"

View File

@ -407,6 +407,16 @@ class project_issue(osv.Model):
task = self.pool.get('project.task').browse(cr, uid, task_id, context=context)
return {'value': {'user_id': task.user_id.id, }}
def onchange_partner_id(self, cr, uid, ids, partner_id, context=None):
""" This function returns value of partner email address based on partner
:param part: Partner's id
"""
result = {}
if partner_id:
partner = self.pool['res.partner'].browse(cr, uid, partner_id, context)
result['email_from'] = partner.email
return {'value': result}
def get_empty_list_help(self, cr, uid, help, context=None):
context['empty_list_help_model'] = 'project.project'
context['empty_list_help_id'] = context.get('default_project_id')

View File

@ -65,7 +65,7 @@
<group>
<field name="user_id"
context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_user']}"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
<field name="email_from"/>
<label for="project_id"/>
<div>

View File

@ -0,0 +1,72 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-10-20 08:52+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-10-21 04:36+0000\n"
"X-Generator: Launchpad (build 16807)\n"
#. module: project_issue_sheet
#: code:addons/project_issue_sheet/project_issue_sheet.py:57
#, python-format
msgid "The Analytic Account is pending !"
msgstr ""
#. module: project_issue_sheet
#: model:ir.model,name:project_issue_sheet.model_account_analytic_line
msgid "Analytic Line"
msgstr ""
#. module: project_issue_sheet
#: model:ir.model,name:project_issue_sheet.model_project_issue
msgid "Project Issue"
msgstr ""
#. module: project_issue_sheet
#: model:ir.model,name:project_issue_sheet.model_hr_analytic_timesheet
msgid "Timesheet Line"
msgstr ""
#. module: project_issue_sheet
#: view:project.issue:0
msgid "on_change_project(project_id)"
msgstr ""
#. module: project_issue_sheet
#: code:addons/project_issue_sheet/project_issue_sheet.py:57
#: field:project.issue,analytic_account_id:0
#, python-format
msgid "Analytic Account"
msgstr ""
#. module: project_issue_sheet
#: view:project.issue:0
msgid "Worklogs"
msgstr ""
#. module: project_issue_sheet
#: field:account.analytic.line,create_date:0
msgid "Create Date"
msgstr ""
#. module: project_issue_sheet
#: view:project.issue:0
#: field:project.issue,timesheet_ids:0
msgid "Timesheets"
msgstr ""
#. module: project_issue_sheet
#: field:hr.analytic.timesheet,issue_id:0
msgid "Issue"
msgstr ""

Some files were not shown because too many files have changed in this diff Show More