diff --git a/addons/account/i18n/es.po b/addons/account/i18n/es.po index 2362401f47e..4f4a47f3117 100644 --- a/addons/account/i18n/es.po +++ b/addons/account/i18n/es.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 00:35+0000\n" -"PO-Revision-Date: 2012-02-10 17:13+0000\n" -"Last-Translator: Carlos @ smile-iberia \n" +"PO-Revision-Date: 2012-04-10 07:47+0000\n" +"Last-Translator: mikel \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 diff --git a/addons/account_budget/i18n/ja.po b/addons/account_budget/i18n/ja.po new file mode 100644 index 00000000000..c5811174091 --- /dev/null +++ b/addons/account_budget/i18n/ja.po @@ -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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \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 \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-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 はアカウントを持っていません。" diff --git a/addons/portal/portal_view.xml b/addons/portal/portal_view.xml index a6a780fdf16..c116c398497 100644 --- a/addons/portal/portal_view.xml +++ b/addons/portal/portal_view.xml @@ -69,5 +69,8 @@ the portal's users. + + + diff --git a/addons/portal_customer/__init__.py b/addons/portal_customer/__init__.py index cb65ea0b3dc..4837393f4d0 100644 --- a/addons/portal_customer/__init__.py +++ b/addons/portal_customer/__init__.py @@ -19,5 +19,4 @@ # ############################################################################## - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_customer/__openerp__.py b/addons/portal_customer/__openerp__.py index 95684874770..3db70387ff8 100644 --- a/addons/portal_customer/__openerp__.py +++ b/addons/portal_customer/__openerp__.py @@ -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, } diff --git a/addons/portal_customer/portal_customer_menu.xml b/addons/portal_customer/portal_customer_menu.xml new file mode 100644 index 00000000000..7b2907a5473 --- /dev/null +++ b/addons/portal_customer/portal_customer_menu.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Feeds + 0 + + + + + + diff --git a/addons/portal_customer/portal_customer_view.xml b/addons/portal_customer/portal_customer_view.xml index 3dfe3ef69c0..f3c3bd07783 100644 --- a/addons/portal_customer/portal_customer_view.xml +++ b/addons/portal_customer/portal_customer_view.xml @@ -1,65 +1,63 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Feeds - 0 - - + + + Delivery Orders + stock.picking + ir.actions.act_window + form + tree + [('type','=','out')] + {'default_type': 'out', 'contact_display': 'partner_address'} + + This is the list of all delivery orders that have to be prepared, according to your different sales orders and your logistics rules. + + + + Product Kanban + product.product + kanban + + + + + + + + +
+
+ +
+
+

+
    +
  • Stock on hand:
  • +
  • Stock available:
  • +
  • Price:
  • +
+
+
+ +
+
+
+
+
+
+ + + Products + ir.actions.act_window + product.product + form + kanban,tree,form + + + 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. - -
-
- diff --git a/addons/portal_customer/security/ir.model.access.csv b/addons/portal_customer/security/ir.model.access.csv index 9ba5a09311d..b34215e0e6a 100644 --- a/addons/portal_customer/security/ir.model.access.csv +++ b/addons/portal_customer/security/ir.model.access.csv @@ -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 \ No newline at end of file +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 diff --git a/addons/portal_customer/security/portal_security.xml b/addons/portal_customer/security/portal_customer_security.xml similarity index 80% rename from addons/portal_customer/security/portal_security.xml rename to addons/portal_customer/security/portal_customer_security.xml index b204107f49f..19873f23e26 100644 --- a/addons/portal_customer/security/portal_security.xml +++ b/addons/portal_customer/security/portal_customer_security.xml @@ -1,52 +1,13 @@ - + - - - - - Personal Quotations/Sales - - ['|',('partner_id.email','=',user.login),('user_id','=',False)] - - - - - Personal Delivery Orders - - [('partner_id.email','=',user.login)] - - - - - Personal Account Invoices - - [('partner_id.email','=',user.login)] - - - - - Personal Payments - - [('partner_id.email','=',user.login)] - - - - - Personal Contacts - - [('email','=',user.login)] - - + Sales Portal Group - @@ -54,6 +15,43 @@ - - \ No newline at end of file + + + + Personal Quotations/Sales + + ['|',('partner_id.email','=',user.login),('user_id','=',False)] + + + + + Personal Delivery Orders + + [('partner_id.email','=',user.login)] + + + + + Personal Account Invoices + + [('partner_id.email','=',user.login)] + + + + + Personal Payments + + [('partner_id.email','=',user.login)] + + + + + Personal Contacts + + [('email','=',user.login)] + + + + + diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml index 2309cd628e4..0cb55fb0d30 100644 --- a/addons/sale/security/sale_security.xml +++ b/addons/sale/security/sale_security.xml @@ -84,7 +84,7 @@ Personal Orders - ['|',('partner_id.email','=',user.login),('user_id','=',False)] + ['|',('user_id','=',user.id),('user_id','=',False)]