[merge] merge with bde branch
bzr revid: mva@openerp.com-20120417074105-qblpjsghkdh6h10g
This commit is contained in:
+86
-12
@@ -7,14 +7,14 @@ msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 6.0dev\n"
|
||||
"Report-Msgid-Bugs-To: support@openerp.com\n"
|
||||
"POT-Creation-Date: 2012-02-08 00:35+0000\n"
|
||||
"PO-Revision-Date: 2012-02-10 17:13+0000\n"
|
||||
"Last-Translator: Carlos @ smile-iberia <Unknown>\n"
|
||||
"PO-Revision-Date: 2012-04-10 07:47+0000\n"
|
||||
"Last-Translator: mikel <mikel.martin@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: 2012-02-11 05:08+0000\n"
|
||||
"X-Generator: Launchpad (build 14771)\n"
|
||||
"X-Launchpad-Export-Date: 2012-04-11 04:38+0000\n"
|
||||
"X-Generator: Launchpad (build 15070)\n"
|
||||
|
||||
#. module: account
|
||||
#: view:account.invoice.report:0
|
||||
@@ -67,7 +67,7 @@ msgstr "Pendiente"
|
||||
#. module: account
|
||||
#: constraint:account.period:0
|
||||
msgid "Error ! The duration of the Period(s) is/are invalid. "
|
||||
msgstr "¡Error! La duración del periodo o periodos no es válida "
|
||||
msgstr "¡Error! La duración del periodo(s) no es válido. "
|
||||
|
||||
#. module: account
|
||||
#: field:account.analytic.line,currency_id:0
|
||||
@@ -3690,7 +3690,7 @@ msgstr "Fecha"
|
||||
#. module: account
|
||||
#: view:account.move:0
|
||||
msgid "Post"
|
||||
msgstr ""
|
||||
msgstr "Enviar"
|
||||
|
||||
#. module: account
|
||||
#: view:account.unreconcile:0
|
||||
@@ -4733,7 +4733,7 @@ msgstr "Varios"
|
||||
#. module: account
|
||||
#: model:email.template,subject:account.email_template_edi_invoice
|
||||
msgid "${object.company_id.name} Invoice (Ref ${object.number or 'n/a' })"
|
||||
msgstr ""
|
||||
msgstr "${object.company_id.name} Factura (Ref ${object.number or 'n/d' })"
|
||||
|
||||
#. module: account
|
||||
#: help:res.partner,last_reconciliation_date:0
|
||||
@@ -4982,6 +4982,9 @@ msgid ""
|
||||
"From this view, have an analysis of your treasury. It sums the balance of "
|
||||
"every accounting entries made on liquidity accounts per period."
|
||||
msgstr ""
|
||||
"En esta vista, visualice un análisis de su tesorería. El total es el balance "
|
||||
"de todos los apuntes contables realizados en cuentas de liquidez, por "
|
||||
"periodo."
|
||||
|
||||
#. module: account
|
||||
#: field:account.journal,group_invoice_lines:0
|
||||
@@ -6268,7 +6271,7 @@ msgstr "Facturas abiertas y pagadas"
|
||||
#. module: account
|
||||
#: selection:account.financial.report,display_detail:0
|
||||
msgid "Display children flat"
|
||||
msgstr ""
|
||||
msgstr "Mostrar descendientes en plano"
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/account.py:629
|
||||
@@ -6592,7 +6595,7 @@ msgstr "Sólo lectura"
|
||||
#. module: account
|
||||
#: view:account.payment.term.line:0
|
||||
msgid " Valuation: Balance"
|
||||
msgstr ""
|
||||
msgstr " Evaluación: Balance"
|
||||
|
||||
#. module: account
|
||||
#: field:account.invoice.line,uos_id:0
|
||||
@@ -8208,6 +8211,8 @@ msgid ""
|
||||
"The statement balance is incorrect !\n"
|
||||
"The expected balance (%.2f) is different than the computed one. (%.2f)"
|
||||
msgstr ""
|
||||
"El balance del asiento es incorrecto\n"
|
||||
"El balance esperado (%.2f) es diferente al calculado. (%.2f)"
|
||||
|
||||
#. module: account
|
||||
#: code:addons/account/account_bank_statement.py:353
|
||||
@@ -8498,7 +8503,7 @@ msgstr "Cuenta de la categoría de ingresos"
|
||||
#. module: account
|
||||
#: field:account.account,adjusted_balance:0
|
||||
msgid "Adjusted Balance"
|
||||
msgstr ""
|
||||
msgstr "Balance ajustado"
|
||||
|
||||
#. module: account
|
||||
#: model:ir.actions.act_window,name:account.action_account_fiscal_position_template_form
|
||||
@@ -8659,7 +8664,7 @@ msgstr "Tipos de cuentas"
|
||||
#. module: account
|
||||
#: view:account.payment.term.line:0
|
||||
msgid " Value amount: n.a"
|
||||
msgstr ""
|
||||
msgstr " Valor del importe: n.d."
|
||||
|
||||
#. module: account
|
||||
#: view:account.automatic.reconcile:0
|
||||
@@ -8755,7 +8760,7 @@ msgstr "La cuenta de la empresa utilizada para esta factura."
|
||||
#: code:addons/account/account.py:3296
|
||||
#, python-format
|
||||
msgid "Tax %.2f%%"
|
||||
msgstr ""
|
||||
msgstr "Impuestox %.2f%%"
|
||||
|
||||
#. module: account
|
||||
#: view:account.analytic.account:0
|
||||
@@ -10877,6 +10882,75 @@ msgid ""
|
||||
"% endif\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Hola${object.address_invoice_id.name and ' ' or "
|
||||
"''}${object.address_invoice_id.name or ''},\n"
|
||||
"\n"
|
||||
"Está disponible una nueva factura para ${object.partner_id.name}:\n"
|
||||
" | Nº de factura: *${object.number}*\n"
|
||||
" | Importe: *${object.amount_total} ${object.currency_id.name}*\n"
|
||||
" | Fecha: ${object.date_invoice}\n"
|
||||
" % if object.origin:\n"
|
||||
" | Referencia: ${object.origin}\n"
|
||||
" % endif\n"
|
||||
" | Su contacto: ${object.user_id.name} ${object.user_id.user_email and "
|
||||
"'<%s>'%(object.user_id.user_email) or ''}\n"
|
||||
"\n"
|
||||
"Puede ver el documento de la factura, descargarlo y pagarlo online siguiendo "
|
||||
"el enlace:\n"
|
||||
" ${ctx.get('edi_web_url_view') or 'n/a'}\n"
|
||||
"\n"
|
||||
"% if object.company_id.paypal_account and object.type in ('out_invoice', "
|
||||
"'in_refund'):\n"
|
||||
"<% \n"
|
||||
"comp_name = quote(object.company_id.name)\n"
|
||||
"inv_number = quote(object.number)\n"
|
||||
"paypal_account = quote(object.company_id.paypal_account)\n"
|
||||
"inv_amount = quote(str(object.amount_total))\n"
|
||||
"cur_name = quote(object.currency_id.name)\n"
|
||||
"paypal_url = \"https://www.paypal.com/cgi-"
|
||||
"bin/webscr?cmd=_xclick&business=%s&item_name=%s%%20Invoice%%20%s\"\\\n"
|
||||
" "
|
||||
"\"&invoice=%s&amount=%s¤cy_code=%s&button_subtype=services&no_note=1&bn"
|
||||
"=OpenERP_Invoice_PayNow_%s\" % \\\n"
|
||||
" "
|
||||
"(paypal_account,comp_name,inv_number,inv_number,inv_amount,cur_name,cur_name)"
|
||||
"\n"
|
||||
"%>\n"
|
||||
"También puede pagar directamente mediante Paypal:\n"
|
||||
" ${paypal_url}\n"
|
||||
"% endif\n"
|
||||
"\n"
|
||||
"Si tiene cualquier consulta no dude en contactarnos.\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"¡Gracia por elegir ${object.company_id.name}!\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"--\n"
|
||||
"${object.user_id.name} ${object.user_id.user_email and "
|
||||
"'<%s>'%(object.user_id.user_email) or ''}\n"
|
||||
"${object.company_id.name}\n"
|
||||
"% if object.company_id.street:\n"
|
||||
"${object.company_id.street or ''}\n"
|
||||
"% endif\n"
|
||||
"% if object.company_id.street2:\n"
|
||||
"${object.company_id.street2}\n"
|
||||
"% endif\n"
|
||||
"% if object.company_id.city or object.company_id.zip:\n"
|
||||
"${object.company_id.zip or ''} ${object.company_id.city or ''}\n"
|
||||
"% endif\n"
|
||||
"% if object.company_id.country_id:\n"
|
||||
"${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) "
|
||||
"or ''} ${object.company_id.country_id.name or ''}\n"
|
||||
"% endif\n"
|
||||
"% if object.company_id.phone:\n"
|
||||
"Phone: ${object.company_id.phone}\n"
|
||||
"% endif\n"
|
||||
"% if object.company_id.website:\n"
|
||||
"${object.company_id.website or ''}\n"
|
||||
"% endif\n"
|
||||
" "
|
||||
|
||||
#. module: account
|
||||
#: model:ir.model,name:account.model_res_partner_bank
|
||||
|
||||
@@ -0,0 +1,421 @@
|
||||
# Japanese translation for openobject-addons
|
||||
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
|
||||
# This file is distributed under the same license as the openobject-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openobject-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-08 00:35+0000\n"
|
||||
"PO-Revision-Date: 2012-04-11 02:33+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: 2012-04-11 04:38+0000\n"
|
||||
"X-Generator: Launchpad (build 15070)\n"
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget,creating_user_id:0
|
||||
msgid "Responsible User"
|
||||
msgstr "担当ユーザ"
|
||||
|
||||
#. module: account_budget
|
||||
#: selection:crossovered.budget,state:0
|
||||
msgid "Confirmed"
|
||||
msgstr "確認済み"
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.actions.act_window,name:account_budget.open_budget_post_form
|
||||
#: model:ir.ui.menu,name:account_budget.menu_budget_post_form
|
||||
msgid "Budgetary Positions"
|
||||
msgstr "予算上の見通し"
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
msgid "Printed at:"
|
||||
msgstr "印刷:"
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "Confirm"
|
||||
msgstr "確認"
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget,validating_user_id:0
|
||||
msgid "Validate User"
|
||||
msgstr "ユーザの検証"
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.actions.act_window,name:account_budget.action_account_budget_crossvered_summary_report
|
||||
msgid "Print Summary"
|
||||
msgstr "要約の印刷"
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget.lines,paid_date:0
|
||||
msgid "Paid Date"
|
||||
msgstr "支払日"
|
||||
|
||||
#. module: account_budget
|
||||
#: field:account.budget.analytic,date_to:0
|
||||
#: field:account.budget.crossvered.report,date_to:0
|
||||
#: field:account.budget.crossvered.summary.report,date_to:0
|
||||
#: field:account.budget.report,date_to:0
|
||||
msgid "End of period"
|
||||
msgstr "期末"
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
#: selection:crossovered.budget,state:0
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
msgid "at"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.report:0
|
||||
#: model:ir.actions.act_window,name:account_budget.action_account_budget_analytic
|
||||
#: model:ir.actions.act_window,name:account_budget.action_account_budget_crossvered_report
|
||||
msgid "Print Budgets"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
msgid "Currency:"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.model,name:account_budget.model_account_budget_crossvered_report
|
||||
msgid "Account Budget crossvered report"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: selection:crossovered.budget,state:0
|
||||
msgid "Validated"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget.lines,percentage:0
|
||||
msgid "Percentage"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "to"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget,state:0
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.actions.act_window,help:account_budget.act_crossovered_budget_view
|
||||
msgid ""
|
||||
"A budget is a forecast of your company's income and expenses expected for a "
|
||||
"period in the future. With a budget, a company is able to carefully look at "
|
||||
"how much money they are taking in during a given period, and figure out the "
|
||||
"best way to divide it among various categories. By keeping track of where "
|
||||
"your money goes, you may be less likely to overspend, and more likely to "
|
||||
"meet your financial goals. Forecast a budget by detailing the expected "
|
||||
"revenue per analytic account and monitor its evolution based on the actuals "
|
||||
"realised during that period."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: code:addons/account_budget/account_budget.py:119
|
||||
#, python-format
|
||||
msgid "The Budget '%s' has no accounts!"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "%"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Currency"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Total :"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:account.budget.post,company_id:0
|
||||
#: field:crossovered.budget,company_id:0
|
||||
#: field:crossovered.budget.lines,company_id:0
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "To Approve"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "Reset to Draft"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.post:0
|
||||
#: view:crossovered.budget:0
|
||||
#: field:crossovered.budget.lines,planned_amount:0
|
||||
msgid "Planned Amount"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Perc(%)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
#: selection:crossovered.budget,state:0
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Practical Amt"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.analytic.account:0
|
||||
#: view:account.budget.post:0
|
||||
#: view:crossovered.budget:0
|
||||
#: field:crossovered.budget.lines,practical_amount:0
|
||||
msgid "Practical Amount"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget,date_to:0
|
||||
#: field:crossovered.budget.lines,date_to:0
|
||||
msgid "End Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.model,name:account_budget.model_account_budget_analytic
|
||||
#: model:ir.model,name:account_budget.model_account_budget_report
|
||||
msgid "Account Budget report for analytic account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.analytic.account:0
|
||||
msgid "Theoritical Amount"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:account.budget.post,name:0
|
||||
#: field:crossovered.budget,name:0
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.model,name:account_budget.model_crossovered_budget_lines
|
||||
msgid "Budget Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.analytic.account:0
|
||||
#: view:account.budget.post:0
|
||||
msgid "Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: view:crossovered.budget:0
|
||||
#: field:crossovered.budget.lines,crossovered_budget_id:0
|
||||
#: report:crossovered.budget.report:0
|
||||
#: model:ir.actions.report.xml,name:account_budget.account_budget
|
||||
#: model:ir.model,name:account_budget.model_crossovered_budget
|
||||
msgid "Budget"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "To Approve Budgets"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: code:addons/account_budget/account_budget.py:119
|
||||
#, python-format
|
||||
msgid "Error!"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:account.budget.post,code:0
|
||||
#: field:crossovered.budget,code:0
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.analytic:0
|
||||
#: view:account.budget.crossvered.report:0
|
||||
msgid "This wizard is used to print budget"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.actions.act_window,name:account_budget.act_crossovered_budget_view
|
||||
#: model:ir.actions.act_window,name:account_budget.action_account_budget_post_tree
|
||||
#: model:ir.actions.act_window,name:account_budget.action_account_budget_report
|
||||
#: model:ir.actions.report.xml,name:account_budget.report_crossovered_budget
|
||||
#: model:ir.ui.menu,name:account_budget.menu_act_crossovered_budget_view
|
||||
#: model:ir.ui.menu,name:account_budget.menu_action_account_budget_post_tree
|
||||
#: model:ir.ui.menu,name:account_budget.next_id_31
|
||||
#: model:ir.ui.menu,name:account_budget.next_id_pos
|
||||
msgid "Budgets"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.crossvered.summary.report:0
|
||||
msgid "This wizard is used to print summary of budgets"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: selection:crossovered.budget,state:0
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "Approve"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget,date_from:0
|
||||
#: field:crossovered.budget.lines,date_from:0
|
||||
msgid "Start Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.post:0
|
||||
#: field:crossovered.budget.lines,general_budget_id:0
|
||||
#: model:ir.model,name:account_budget.model_account_budget_post
|
||||
msgid "Budgetary Position"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:account.budget.analytic,date_from:0
|
||||
#: field:account.budget.crossvered.report,date_from:0
|
||||
#: field:account.budget.crossvered.summary.report,date_from:0
|
||||
#: field:account.budget.report,date_from:0
|
||||
msgid "Start of period"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: model:ir.model,name:account_budget.model_account_budget_crossvered_summary_report
|
||||
msgid "Account Budget crossvered summary report"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Theoretical Amt"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.analytic:0
|
||||
#: view:account.budget.crossvered.report:0
|
||||
#: view:account.budget.crossvered.summary.report:0
|
||||
#: view:account.budget.report:0
|
||||
msgid "Select Dates Period"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.analytic:0
|
||||
#: view:account.budget.crossvered.report:0
|
||||
#: view:account.budget.crossvered.summary.report:0
|
||||
#: view:account.budget.report:0
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.post:0
|
||||
#: view:crossovered.budget:0
|
||||
#: field:crossovered.budget.lines,theoritical_amount:0
|
||||
msgid "Theoretical Amount"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: field:crossovered.budget.lines,analytic_account_id:0
|
||||
#: model:ir.model,name:account_budget.model_account_analytic_account
|
||||
msgid "Analytic Account"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
msgid "Budget :"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Planned Amt"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.post:0
|
||||
#: field:account.budget.post,account_ids:0
|
||||
msgid "Accounts"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.analytic.account:0
|
||||
#: field:account.analytic.account,crossovered_budget_line:0
|
||||
#: view:account.budget.post:0
|
||||
#: field:account.budget.post,crossovered_budget_line:0
|
||||
#: view:crossovered.budget:0
|
||||
#: field:crossovered.budget,crossovered_budget_line:0
|
||||
#: view:crossovered.budget.lines:0
|
||||
#: model:ir.actions.act_window,name:account_budget.act_account_analytic_account_cb_lines
|
||||
#: model:ir.actions.act_window,name:account_budget.act_crossovered_budget_lines_view
|
||||
#: model:ir.ui.menu,name:account_budget.menu_act_crossovered_budget_lines_view
|
||||
msgid "Budget Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:account.budget.analytic:0
|
||||
#: view:account.budget.crossvered.report:0
|
||||
#: view:account.budget.crossvered.summary.report:0
|
||||
#: view:account.budget.report:0
|
||||
#: view:crossovered.budget:0
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: constraint:account.analytic.account:0
|
||||
msgid "Error! You can not create recursive analytic accounts."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: report:account.budget:0
|
||||
#: report:crossovered.budget.report:0
|
||||
msgid "Analysis from"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_budget
|
||||
#: view:crossovered.budget:0
|
||||
msgid "Draft Budgets"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
#~ msgid "The General Budget '%s' has no Accounts!"
|
||||
#~ msgstr "一般的な予算 %s はアカウントを持っていません。"
|
||||
@@ -69,5 +69,8 @@ the portal's users.
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Customer Portal" id="customer_portal"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -19,5 +19,4 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
'category': 'Portal',
|
||||
'description': """
|
||||
The Portal Customer module helps customers to track their Sales Quotations, Orders, Invoices and various
|
||||
other possibilities
|
||||
other possibilities.
|
||||
""",
|
||||
'website': 'http://www.openerp.com',
|
||||
'data': [
|
||||
@@ -37,9 +37,10 @@
|
||||
"demo_xml" : [
|
||||
],
|
||||
"update_xml" : [
|
||||
"security/portal_security.xml",
|
||||
"security/portal_customer_security.xml",
|
||||
"security/ir.model.access.csv",
|
||||
"portal_customer_view.xml",
|
||||
"portal_customer_menu.xml",
|
||||
],
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<menuitem name="Address Book" id="customer_portal_address_book_main" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Contacts" id="customer_portal_address_book" parent="customer_portal_address_book_main" action="base.action_partner_form"/>
|
||||
|
||||
<menuitem name="Track Orders" id="customer_portal_track_orders" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Quotation" id="customer_portal_quotation" parent="customer_portal_track_orders" action="sale.action_order_tree5"/>
|
||||
<menuitem name="Sales Orders" id="customer_portal_sales_orders" parent="customer_portal_track_orders" action="sale.action_order_form"/>
|
||||
<menuitem name="Delivery Orders" id="customer_portal_delivery" parent="customer_portal_track_orders" action="action_picking_tree"/>
|
||||
<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>
|
||||
|
||||
<menuitem name="Invoice and Payments" id="customer_portal_invoice_payements" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Invoice" id="customer_portal_invoice" parent="customer_portal_invoice_payements" action="account.action_invoice_tree1"/>
|
||||
<menuitem name="Payments" id="customer_portal_payments" parent="customer_portal_invoice_payements" action="account_voucher.action_vendor_receipt"/>
|
||||
|
||||
<menuitem name="Services" id="customer_portal_services" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Events" id="customer_portal_events" parent="customer_portal_services"/>
|
||||
<menuitem name="Products" id="customer_portal_products" parent="customer_portal_services" action="product_normal_action"/>
|
||||
<menuitem name="Tasks" id="customer_portal_tasks" parent="customer_portal_services"/>
|
||||
|
||||
<menuitem name="After Sales Services" id="customer_portal_after_sales" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Issues" id="customer_portal_issues" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Claims" id="customer_portal_claims" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Feedback" id="customer_portal_feedback" parent="customer_portal_after_sales"/>
|
||||
|
||||
<menuitem name="Contact Us" id="customer_portal_contact" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
|
||||
<!-- Hiding Menus which are not required for Customer Portal user -->
|
||||
|
||||
<menuitem id="base.menu_partner_form" parent="base.menu_sales" action="base.action_partner_form" sequence="1" groups="base.group_sale_salesman"/>
|
||||
<menuitem id="base.menu_base_config" name="Configuration" parent="base.menu_base_partner" sequence="30" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="product.product_uom_categ_form_action" id="product.menu_product_uom_categ_form_action" parent="base.menu_base_config" sequence="25" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="sale.action_shop_form" id="sale.menu_action_shop_form" parent="base.menu_base_config" sequence="35" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="product.product_pricelist_action2" id="product.menu_product_pricelist_action2" parent="base.menu_base_config" sequence="20" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="product.product_uom_form_action" id="product.menu_product_uom_form_action" parent="base.menu_base_config" sequence="30" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="stock.action_picking_tree4" id="stock.menu_action_picking_tree4" parent="stock.menu_stock_warehouse_mgmt" sequence="1" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="stock.action_location_tree" id="stock.menu_action_location_tree" parent="stock.menu_stock_inventory_control" sequence="20" groups="stock.group_stock_user"/>
|
||||
<menuitem name="Products by Category" id="stock.menu_product_by_category_stock_form" action="product.product_category_action" parent="stock.menu_stock_product" sequence="0" groups="stock.group_stock_user"/>
|
||||
<menuitem action="product.product_normal_action" id="stock.menu_stock_products_menu" parent="stock.menu_stock_product" sequence="1" groups="stock.group_stock_user"/>
|
||||
<menuitem id="account.menu_account_customer" name="Customers" parent="account.menu_finance_receivables" action="base.action_partner_customer_form" sequence="100" groups="account.group_account_user"/>
|
||||
<menuitem action="account.action_invoice_tree2" id="account.menu_action_invoice_tree2" parent="account.menu_finance_payables" groups="account.group_account_user"/>
|
||||
<menuitem action="account.action_invoice_tree4" id="account.menu_action_invoice_tree4" parent="account.menu_finance_payables" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_account_supplier" name="Suppliers" parent="account.menu_finance_payables" action="base.action_partner_supplier_form" sequence="100" groups="account.group_account_user"/>
|
||||
<menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="product.product_normal_action_sell" id="product.menu_products" parent="base.menu_product" sequence="1" groups="base.group_sale_salesman"/>
|
||||
<menuitem id="mail.mail_feeds" name="Feeds" parent="mail.mail_feeds_main" groups="base.group_sale_salesman"/>
|
||||
<menuitem action="account.action_account_invoice_report_all" id="account.menu_action_account_invoice_report_all" parent="account.menu_finance_statistic_report_statement" sequence="0" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_finance_statistic_report_statement" name="Statistic Reports" parent="account.menu_finance_reporting" sequence="300" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_finance_reporting" name="Accounting" parent="base.menu_reporting" sequence="35" groups="account.group_account_user"/>
|
||||
<record id="mail.mail_feeds_main" model="ir.ui.menu">
|
||||
<field name="name">Feeds</field>
|
||||
<field name="sequence">0</field>
|
||||
<field name="action" ref="mail.action_mail_all_feeds"/>
|
||||
<field eval="[(4, ref('base.group_sale_salesman'))]" name="groups_id"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -1,65 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
|
||||
<data>
|
||||
<menuitem name="Customer Portal" id="customer_portal"/>
|
||||
|
||||
<menuitem name="Address Book" id="customer_portal_address_book_main" parent="customer_portal"/>
|
||||
<menuitem name="Contacts" id="customer_portal_address_book" parent="customer_portal_address_book_main" action="base.action_partner_form"/>
|
||||
|
||||
<menuitem name="Track Orders" id="customer_portal_track_orders" parent="customer_portal"/>
|
||||
|
||||
<menuitem name="Quotation" id="customer_portal_quotation" parent="customer_portal_track_orders" action="sale.action_order_tree5"/>
|
||||
<menuitem name="Sales Orders" id="customer_portal_sales_orders" parent="customer_portal_track_orders" action="sale.action_order_form"/>
|
||||
<menuitem name="Delivery Orders" id="customer_portal_delivery" parent="customer_portal_track_orders" action="stock.action_picking_tree"/>
|
||||
<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>
|
||||
|
||||
<menuitem name="Invoice and Payments" id="customer_portal_invoice_payements" parent="customer_portal"/>
|
||||
<menuitem name="Invoice" id="customer_portal_invoice" parent="customer_portal_invoice_payements" action="account.action_invoice_tree1"/>
|
||||
<menuitem name="Payments" id="customer_portal_payments" parent="customer_portal_invoice_payements" action="account_voucher.action_vendor_receipt"/>
|
||||
|
||||
<menuitem name="Services" id="customer_portal_services" parent="customer_portal"/>
|
||||
<menuitem name="Events" id="customer_portal_events" parent="customer_portal_services"/>
|
||||
<menuitem name="Products" id="customer_portal_products" parent="customer_portal_services" action="product.product_normal_action_sell"/>
|
||||
<menuitem name="Tasks" id="customer_portal_tasks" parent="customer_portal_services"/>
|
||||
|
||||
<menuitem name="After Sales Services" id="customer_portal_after_sales" parent="customer_portal"/>
|
||||
<menuitem name="Issues" id="customer_portal_issues" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Claims" id="customer_portal_claims" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Feedback" id="customer_portal_feedback" parent="customer_portal_after_sales"/>
|
||||
|
||||
<menuitem name="Contact Us" id="customer_portal_contact" parent="customer_portal"/>
|
||||
|
||||
|
||||
<menuitem id="base.menu_partner_form" parent="base.menu_sales" action="base.action_partner_form" sequence="1" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem id="base.menu_base_config" name="Configuration" parent="base.menu_base_partner" sequence="30" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="product.product_uom_categ_form_action" id="product.menu_product_uom_categ_form_action" parent="base.menu_base_config" sequence="25" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="sale.action_shop_form" id="sale.menu_action_shop_form" parent="base.menu_base_config" sequence="35" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="product.product_pricelist_action2" id="product.menu_product_pricelist_action2" parent="base.menu_base_config" sequence="20" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="product.product_uom_form_action" id="product.menu_product_uom_form_action" parent="base.menu_base_config" sequence="30" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="stock.action_picking_tree4" id="stock.menu_action_picking_tree4" parent="stock.menu_stock_warehouse_mgmt" sequence="1" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="stock.action_location_tree" id="stock.menu_action_location_tree" parent="stock.menu_stock_inventory_control" sequence="20" groups="stock.group_stock_user"/>
|
||||
<menuitem name="Products by Category" id="stock.menu_product_by_category_stock_form" action="product.product_category_action" parent="stock.menu_stock_product" sequence="0" groups="stock.group_stock_user"/>
|
||||
<menuitem action="product.product_normal_action" id="stock.menu_stock_products_menu" parent="stock.menu_stock_product" sequence="1" groups="stock.group_stock_user"/>
|
||||
<menuitem id="account.menu_account_customer" name="Customers" parent="account.menu_finance_receivables" action="base.action_partner_customer_form" sequence="100" groups="account.group_account_user"/>
|
||||
<menuitem action="account.action_invoice_tree2" id="account.menu_action_invoice_tree2" parent="account.menu_finance_payables" groups="account.group_account_user"/>
|
||||
<menuitem action="account.action_invoice_tree4" id="account.menu_action_invoice_tree4" parent="account.menu_finance_payables" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_account_supplier" name="Suppliers" parent="account.menu_finance_payables" action="base.action_partner_supplier_form" sequence="100" groups="account.group_account_user"/>
|
||||
<menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="product.product_normal_action_sell" id="product.menu_products" parent="base.menu_product" sequence="1" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem id="mail.mail_feeds" name="Feeds" parent="mail.mail_feeds_main" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem action="account.action_account_invoice_report_all" id="account.menu_action_account_invoice_report_all" parent="account.menu_finance_statistic_report_statement" sequence="0" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_finance_statistic_report_statement" name="Statistic Reports" parent="account.menu_finance_reporting" sequence="300" groups="account.group_account_user"/>
|
||||
<menuitem id="account.menu_finance_reporting" name="Accounting" parent="base.menu_reporting" sequence="35" groups="account.group_account_user"/>
|
||||
<record id="mail.mail_feeds_main" model="ir.ui.menu">
|
||||
<field name="name">Feeds</field>
|
||||
<field name="sequence">0</field>
|
||||
<field name="action" ref="mail.action_mail_all_feeds"/>
|
||||
<field eval="[(4, ref('account.group_account_user'))]" name="groups_id"/>
|
||||
|
||||
<record id="action_picking_tree" model="ir.actions.act_window">
|
||||
<field name="name">Delivery Orders</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree</field>
|
||||
<field name="domain">[('type','=','out')]</field>
|
||||
<field name="context">{'default_type': 'out', 'contact_display': 'partner_address'}</field>
|
||||
<field name="search_view_id" ref="stock.view_picking_out_search"/>
|
||||
<field name="help">This is the list of all delivery orders that have to be prepared, according to your different sales orders and your logistics rules.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="product.product_kanban_view">
|
||||
<field name="name">Product Kanban</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="type">kanban</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban>
|
||||
<field name="color"/>
|
||||
<field name="type"/>
|
||||
<field name="product_image"/>
|
||||
<field name="list_price"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div class="oe_product_vignette">
|
||||
<div class="oe_product_img">
|
||||
<a type="edit"><img t-att-src="kanban_image('product.product', 'product_image', record.id.value)" class="oe_product_photo"/></a>
|
||||
</div>
|
||||
<div class="oe_product_desc">
|
||||
<h4><a type="edit"><field name="name"></field></a></h4>
|
||||
<ul>
|
||||
<li t-if="record.type.raw_value != 'service'">Stock on hand: <field name="qty_available"/> <field name="uom_id"/></li>
|
||||
<li t-if="record.type.raw_value != 'service'">Stock available: <field name="virtual_available"/> <field name="uom_id"/></li>
|
||||
<li>Price: <field name="lst_price"></field></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('.oe_product_photo').load(function() { if($(this).width() > $(this).height()) { $(this).addClass('oe_product_photo_wide') } });
|
||||
</script>
|
||||
<div></div>
|
||||
</t>
|
||||
</templates>
|
||||
</kanban>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="product_normal_action" model="ir.actions.act_window">
|
||||
<field name="name">Products</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">product.product</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field name="view_id" ref="product.product_kanban_view"/>
|
||||
<field name="search_view_id" ref="product.product_search_form_view"/>
|
||||
<field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
|
||||
</record>
|
||||
<menuitem icon="terp-partner" id="base.menu_base_partner" name="Sales" sequence="0" groups="base.group_sale_salesman_all_leads"/>
|
||||
<menuitem id="base.menu_base_partner" action="sale.open_board_sales" name="Sales" groups="base.group_sale_salesman_all_leads"/>
|
||||
</data>
|
||||
|
||||
</openerp>
|
||||
|
||||
|
||||
@@ -1,2 +1,15 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_account_voucher,account.voucher,account_voucher.model_account_voucher,portal_customer.group_sales_portal,1,1,1,1
|
||||
access_sale_order,sale.order,sale.model_sale_order,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_sale_order_line,sale.order.line,sale.model_sale_order_line,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_stock_picking,stock.picking,stock.model_stock_picking,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_stock_move,stock.move,stock.model_stock_move,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_stock_warehouse_orderpoint,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_invoice,account.invoice,account.model_account_invoice,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_invoice_tax,account.invoice.tax,account.model_account_invoice_tax,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_invoice_line,account.invoice.line,account.model_account_invoice_line,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_journal,account.journal,account.model_account_journal,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_voucher,account.voucher,account_voucher.model_account_voucher,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_voucher_line,account.voucher.line,account_voucher.model_account_voucher_line,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_move,account.move,account.model_account_move,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_move_line,account.move.line,account.model_account_move_line,portal_customer.group_sales_portal,1,0,0,0
|
||||
access_account_move_reconcile,account.move.reconcile,account.model_account_move_reconcile,portal_customer.group_sales_portal,1,0,0,0
|
||||
|
||||
|
+41
-43
@@ -1,52 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
|
||||
<data>
|
||||
|
||||
<!--
|
||||
Sale Portal Demo
|
||||
-->
|
||||
|
||||
<record id="portal_sale_order_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Quotations/Sales</field>
|
||||
<field ref="sale.model_sale_order" name="model_id"/>
|
||||
<field name="domain_force">['|',('partner_id.email','=',user.login),('user_id','=',False)]</field>
|
||||
<field name="global" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_stock_picking_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Delivery Orders</field>
|
||||
<field ref="stock.model_stock_picking" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="global" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_account_invoice_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Account Invoices</field>
|
||||
<field ref="account.model_account_invoice" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="global" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_personal_payment" model="ir.rule">
|
||||
<field name="name">Personal Payments</field>
|
||||
<field ref="account_voucher.model_account_voucher" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="global" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_personal_contact" model="ir.rule">
|
||||
<field name="name">Personal Contacts</field>
|
||||
<field ref="base.model_res_partner" name="model_id"/>
|
||||
<field name="domain_force">[('email','=',user.login)]</field>
|
||||
<field name="global" eval="True"/>
|
||||
</record>
|
||||
<!-- Creating Portal Group -->
|
||||
|
||||
<record id="group_sales_portal" model="res.groups">
|
||||
<field name="name">Sales Portal Group</field>
|
||||
<field ref="base.module_category_sales_management" name="category_id"/>
|
||||
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
|
||||
<field name="rule_groups" eval="[(4, ref('portal_sale_order_user_rule')), (4, ref('portal_stock_picking_user_rule')), (4, ref('portal_account_invoice_user_rule'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_customer" model="res.portal">
|
||||
@@ -54,6 +15,43 @@
|
||||
<field name="group_id" ref="group_sales_portal"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
</openerp>
|
||||
<!-- Sale Portal Access Rules -->
|
||||
|
||||
<record id="portal_sale_order_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Quotations/Sales</field>
|
||||
<field ref="sale.model_sale_order" name="model_id"/>
|
||||
<field name="domain_force">['|',('partner_id.email','=',user.login),('user_id','=',False)]</field>
|
||||
<field name="groups" eval="[(4, ref('group_sales_portal'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_stock_picking_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Delivery Orders</field>
|
||||
<field ref="stock.model_stock_picking" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="groups" eval="[(4, ref('group_sales_portal'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_account_invoice_user_rule" model="ir.rule">
|
||||
<field name="name">Personal Account Invoices</field>
|
||||
<field ref="account.model_account_invoice" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="groups" eval="[(4, ref('group_sales_portal'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_personal_payment" model="ir.rule">
|
||||
<field name="name">Personal Payments</field>
|
||||
<field ref="account_voucher.model_account_voucher" name="model_id"/>
|
||||
<field name="domain_force">[('partner_id.email','=',user.login)]</field>
|
||||
<field name="groups" eval="[(4, ref('group_sales_portal'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="portal_personal_contact" model="ir.rule">
|
||||
<field name="name">Personal Contacts</field>
|
||||
<field ref="base.model_res_partner" name="model_id"/>
|
||||
<field name="domain_force">[('email','=',user.login)]</field>
|
||||
<field name="groups" eval="[(4, ref('group_sales_portal'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -84,7 +84,7 @@
|
||||
<record id="sale_order_personal_rule" model="ir.rule">
|
||||
<field name="name">Personal Orders</field>
|
||||
<field ref="model_sale_order" name="model_id"/>
|
||||
<field name="domain_force">['|',('partner_id.email','=',user.login),('user_id','=',False)]</field>
|
||||
<field name="domain_force">['|',('user_id','=',user.id),('user_id','=',False)]</field>
|
||||
<field name="groups" eval="[(4, ref('base.group_sale_salesman'))]"/>
|
||||
</record>
|
||||
<record id="sale_order_see_all" model="ir.rule">
|
||||
|
||||
Reference in New Issue
Block a user