[group] chantier en cours de codage des droits et acces aux menus des groupes ca_lhc...
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Fri, 3 Oct 2014 10:06:58 +0000 (12:06 +0200)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Fri, 3 Oct 2014 10:06:58 +0000 (12:06 +0200)
__openerp__.py
i18n/fr.po
i18n/lhc_custom_oe.pot
security/ir.model.access.csv
view/base.xml [new file with mode: 0644]

index 31b7061..53e7e04 100644 (file)
@@ -45,6 +45,7 @@ Module pour les personnalisations de L'Heureux Cyclage
         'data/wiki.xml',
         'view/account_invoice.xml',
         'view/account.xml',
+        'view/base.xml',
         'view/filters.xml',
         'view/hr_expense.xml',
         'view/membership.xml',
index b21c4b5..445da2b 100644 (file)
@@ -1,21 +1,79 @@
 # Translation of OpenERP Server.
 # This file contains the translation of the following modules:
-#      * lhc_custom_oe
+#      * lhc_custom_oe
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: OpenERP Server 6.0.4\n"
 "Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2013-01-17 17:21+0000\n"
-"PO-Revision-Date: 2013-01-17 18:23+0100\n"
+"POT-Creation-Date: 2014-10-03 08:49+0000\n"
+"PO-Revision-Date: 2014-10-03 10:51+0100\n"
 "Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.4\n"
 
 #. module: lhc_custom_oe
 #: view:account.invoice:0
 msgid "Customer"
 msgstr "Client"
 
+#. module: lhc_custom_oe
+#: model:ir.actions.act_window,name:lhc_custom_oe.action_wiki_bequille
+msgid "Bequille Groups Wiki Pages"
+msgstr "Pages Wiki du groupe Béquille"
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_address_form
+msgid "Addresses"
+msgstr "Adresses"
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_contact_form
+msgid "Contacts"
+msgstr "Contacts"
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book_partner
+msgid "Partners"
+msgstr "Partenaires"
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_res_partner
+msgid "Address book"
+msgstr "Annuaire"
+
+#. module: lhc_custom_oe
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_admin
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_baptiste_guyomarch
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_elodie_chabert
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_julien_allaire
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_ludovic_boyer
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_ludovic_chevalier
+msgid "Ateliers anciens membres ou non membres"
+msgstr "Ateliers anciens membres ou non membres"
+
+#. module: lhc_custom_oe
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_admin
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_baptiste_guyomarch
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_elodie_chabert
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_julien_allaire
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_laura_guitot
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_ludovic_boyer
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_ludovic_chevalier
+msgid "Ateliers membres (en attente, facturés, payant ou libre)"
+msgstr "Ateliers membres (en attente, facturés, payant ou libre)"
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_rg
+msgid "Béquille"
+msgstr "Béquille"
+
+#~ msgid "Partenaires"
+#~ msgstr "Partenaires"
+
+#~ msgid "Annuaire"
+#~ msgstr "Annuaire"
index a92e6a8..8dd2ea8 100644 (file)
@@ -6,8 +6,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: OpenERP Server 6.0.4\n"
 "Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2013-01-17 17:21+0000\n"
-"PO-Revision-Date: 2013-01-17 17:21+0000\n"
+"POT-Creation-Date: 2014-10-03 08:49+0000\n"
+"PO-Revision-Date: 2014-10-03 08:49+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -20,3 +20,55 @@ msgstr ""
 msgid "Customer"
 msgstr ""
 
+#. module: lhc_custom_oe
+#: model:ir.actions.act_window,name:lhc_custom_oe.action_wiki_bequille
+msgid "Bequille Groups Wiki Pages"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_address_form
+msgid "Addresses"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_contact_form
+msgid "Contacts"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book_partner
+msgid "Partners"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_res_partner
+msgid "Address book"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_admin
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_baptiste_guyomarch
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_elodie_chabert
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_julien_allaire
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_ludovic_boyer
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_ludovic_chevalier
+msgid "Ateliers anciens membres ou non membres"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_admin
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_baptiste_guyomarch
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_elodie_chabert
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_julien_allaire
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_laura_guitot
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_ludovic_boyer
+#: model:ir.filters,name:lhc_custom_oe.bikecoop_actual_members_ludovic_chevalier
+msgid "Ateliers membres (en attente, facturés, payant ou libre)"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:ir.ui.menu,name:lhc_custom_oe.menu_rg
+msgid "Béquille"
+msgstr ""
+
index 61c0e09..d609d09 100644 (file)
@@ -1,20 +1,61 @@
 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_wiki_wiki_group_ca_lhc","wiki.wiki","wiki.model_wiki_wiki","group_ca_lhc",1,1,1,0
+"access_account_account_group_ca_lhc","account.account","account.model_account_account","group_ca_lhc",1,0,0,0
+"access_account_analytic_account_group_bequille","account.analytic.account","analytic.model_account_analytic_account","group_bequille",1,0,0,0
+"access_account_analytic_account_group_ca_lhc","account.analytic.account","analytic.model_account_analytic_account","group_ca_lhc",1,0,0,0
+"access_account_fiscal_year_group_ca_lhc","account.fiscalyear","account.model_account_fiscalyear","group_ca_lhc",1,0,0,0
+"access_board_board_group_bequille","board.board.board","board.model_board_board","group_bequille",1,0,0,0
+"access_board_board_group_ca_lhc","board.board.board","board.model_board_board","group_ca_lhc",1,0,0,0
+"access_board_board_line_group_ca_lhc","board.board.line","board.model_board_board_line","group_ca_lhc",1,0,0,0
+"access_crm_meeting_group_ca_lhc","crm.meeting","crm.model_crm_meeting","group_ca_lhc",1,1,1,1
+"access_crm_phonecall_group_ca_lhc","crm.phonecall","crm.model_crm_phonecall","group_ca_lhc",1,0,0,0
+"access_crm_lead_group_ca_lhc","crm.lead","crm.model_crm_lead","group_ca_lhc",1,0,0,0
+"access_mail_gateway_message_group_ca_lhc","mail_gateway.message","mail_gateway.model_mailgate_message","group_ca_lhc",1,0,0,0
+"access_stock_location_group_ca_lhc","stock.location","stock.model_stock_location","group_ca_lhc",1,0,0,0
+"access_stock_warehouse_group_ca_lhc","stock.warehouse","stock.model_stock_warehouse","group_ca_lhc",1,0,0,0
+"access_document_directory_content_type_group_ca_lhc","document.directory.content.type","document.model_document_directory_content_type","group_ca_lhc",1,0,0,0
+"access_document_directory_group_bequille","document.directory","document.model_document_directory","group_bequille",1,1,1,1
+"access_document_directory_group_ca_lhc","document.directory","document.model_document_directory","group_ca_lhc",1,1,1,1
+"access_document_storage_group_bequille","document.storage","document.model_document_storage","group_bequille",1,1,1,1
+"access_document_storage_group_ca_lhc","document.storage","document.model_document_storage","group_ca_lhc",1,1,1,1
+"access_event_event_group_ca_lhc","event.event","event.model_event_event","group_ca_lhc",1,0,0,0
+"access_event_registration_group_ca_lhc","event.registration","event.model_event_registration","group_ca_lhc",1,0,0,0
+"access_hr_employee_group_bequille","hr.employee","hr.model_hr_employee","group_bequille",1,0,0,0
+"access_hr_employee_group_ca_lhc","hr.employee","hr.model_hr_employee","group_ca_lhc",1,0,0,0
+"access_hr_job_group_ca_lhc","hr.job","hr.model_hr_job","group_ca_lhc",1,1,1,0
+"access_project_task_group_ca_lhc","project.task","project.model_project_task","group_ca_lhc",1,0,0,0
+"access_hr_expense_expense_group_bequille","hr.expense.expense","hr_expense.model_hr_expense_expense","group_bequille",1,1,1,1
+"access_hr_expense_expense_group_ca_lhc","hr.expense.expense","hr_expense.model_hr_expense_expense","group_ca_lhc",1,1,1,1
+"access_hr_expense_line_group_bequille","hr.expense.line","hr_expense.model_hr_expense_line","group_bequille",1,1,1,1
+"access_hr_expense_line_group_ca_lhc","hr.expense.line","hr_expense.model_hr_expense_line","group_ca_lhc",1,1,1,1
+"access_hr_holidays_status_group_bequille","hr.holydays.status","hr_holidays.model_hr_holidays_status","group_bequille",1,0,0,0
+"access_hr_holidays_status_group_ca_lhc","hr.holydays.status","hr_holidays.model_hr_holidays_status","group_ca_lhc",1,0,0,0
+"access_ir_attachment_group_bequille","ir.attachment","base.model_ir_attachment","group_bequille",1,1,1,1
+"access_ir_attachment_group_ca_lhc","ir.attachment","base.model_ir_attachment","group_ca_lhc",1,1,1,1
+"access_ir_property_group_ca_lhc","ir.property","base.model_ir_property","group_ca_lhc",1,0,1,0
+"access_product_price_type_group_ca_lhc","product.price.type","product.model_product_price_type","group_ca_lhc",1,0,0,0
+"access_product_pricelist_group_ca_lhc","product.pricelist","product.model_product_pricelist","group_ca_lhc",1,0,0,0
+"access_product_product_group_bequille","product.product","product.model_product_product","group_bequille",1,0,0,0
+"access_product_product_group_ca_lhc","product.product","product.model_product_product","group_ca_lhc",1,0,0,0
+"access_product_packaging_group_ca_lhc","product.packaging","product.model_product_packaging","group_ca_lhc",1,0,0,0
+"access_product_uom_group_ca_lhc","product.uom","product.model_product_uom","group_ca_lhc",1,0,0,0
+"access_product_supplierinfo_group_ca_lhc","product.product.supplierinfo","product.model_product_supplierinfo","group_ca_lhc",1,0,0,0
+"access_product_template_group_ca_lhc","product.product.template","product.model_product_template","group_ca_lhc",1,0,0,0
+"access_report_document_file_group_bequille","report.document.file","document.model_report_document_file","group_bequille",1,0,0,0
+"access_report_document_file_group_ca_lhc","report.document.file","document.model_report_document_file","group_ca_lhc",1,0,0,0
+"access_report_document_user_group_bequille","report.document.user","document.model_report_document_user","group_bequille",1,0,0,0
+"access_report_document_user_group_ca_lhc","report.document.user","document.model_report_document_user","group_ca_lhc",1,0,0,0
+"access_report_files_partner_group_bequille","report.files.partner","document.model_report_files_partner","group_bequille",1,0,0,0
+"access_report_files_partner_group_ca_lhc","report.files.partner","document.model_report_files_partner","group_ca_lhc",1,0,0,0
+"access_res_partner_address_group_ca_lhc","res.partner.address","base.model_res_partner_address","group_ca_lhc",1,0,0,0
+"access_res_partner_bank_group_ca_lhc","res.partner.bank","base.model_res_partner_bank","group_ca_lhc",1,0,0,0
+"access_res_partner_job_group_ca_lhc","res.partner.job","base_contact.model_res_partner_job","group_ca_lhc",1,0,0,0
+"access_res_partner_bank_type_group_ca_lhc","res.partner.bank.type","base.model_res_partner_bank_type","group_ca_lhc",1,0,0,0
+"access_res_partner_category_group_ca_lhc","res.partner.category","base.model_res_partner_category","group_ca_lhc",1,0,0,0
+"access_res_partner_event_group_ca_lhc","res.partner.event","base.model_res_partner_event","group_ca_lhc",1,1,1,0
+"access_res_partner_group_ca_lhc","res.partner","base.model_res_partner","group_ca_lhc",1,0,0,0
+"access_wiki_groups_group_bequille","wiki.groups","wiki.model_wiki_groups","group_bequille",1,0,0,0
 "access_wiki_groups_group_ca_lhc","wiki.groups","wiki.model_wiki_groups","group_ca_lhc",1,0,0,0
+"access_wiki_history_group_bequille","wiki.wiki.history","wiki.model_wiki_wiki_history","group_bequille",1,1,1,0
 "access_wiki_history_group_ca_lhc","wiki.wiki.history","wiki.model_wiki_wiki_history","group_ca_lhc",1,1,1,0
 "access_wiki_wiki_group_bequille","wiki.wiki","wiki.model_wiki_wiki","group_bequille",1,1,1,0
-"access_wiki_groups_group_bequille","wiki.groups","wiki.model_wiki_groups","group_bequille",1,0,0,0
-"access_wiki_history_group_bequille","wiki.wiki.history","wiki.model_wiki_wiki_history","group_bequille",1,1,1,0
-"access_report_document_user_group_bequille","report.document.user","document.model_report_document_user","group_bequille",1,0,0,0
-"access_report_document_file_group_bequille","report.document.file","document.model_report_document_file","group_bequille",1,0,0,0
-"access_report_files_partner_group_bequille","report.files.partner","document.model_report_files_partner","group_bequille",1,0,0,0
-"access_ir_attachment_group_bequille","ir.attachment","base.model_ir_attachment","group_bequille",1,1,1,1
-"access_document_directory_group_bequille","document.directory","document.model_document_directory","group_bequille",1,1,1,1
-"access_document_storage_group_bequille","document.storage","document.model_document_storage","group_bequille",1,1,1,1
-"access_board_board_group_bequille","board.board.board","board.model_board_board","group_bequille",1,0,0,0
-"access_hr_expense_expense_group_bequille","hr.expense.expense group_bequille","hr_expense.model_hr_expense_expense","group_bequille",1,1,1,1
-"access_product_product_hr_expense_group_bequille","product.product.hr.expense group_bequille","product.model_product_product","group_bequille",1,0,0,0
-"access_hr_holidays_status_group_bequille","hr.holydays.status group_bequille","hr_holidays.model_hr_holidays_status","group_bequille",1,0,0,0
-"access_hr_employee_group_bequille","hr.employee group_bequille","hr.model_hr_employee","group_bequille",1,0,0,0
-"access_hr_expense_line_group_bequille","hr.expense.line group_bequille","hr_expense.model_hr_expense_line","group_bequille",1,1,1,1
-"access_account_analytic_account_group_bequille","account.analytic.account group_bequille","analytic.model_account_analytic_account","group_bequille",1,0,0,0
+"access_wiki_wiki_group_ca_lhc","wiki.wiki","wiki.model_wiki_wiki","group_ca_lhc",1,1,1,0
diff --git a/view/base.xml b/view/base.xml
new file mode 100644 (file)
index 0000000..5e7a008
--- /dev/null
@@ -0,0 +1,35 @@
+<openerp>
+    <data>
+        <menuitem id="menu_res_partner"
+            sequence="9"
+            web_icon="knowledge,images/knowledge.png"
+            web_icon_hover="knowledge,images/knowledge-hover.png"
+            name="Address book"
+            action="base.action_partner_form"
+            groups="group_ca_lhc,base.group_user,group_bequille"/>
+
+        <menuitem id="menu_address_book"
+            name="Partners"
+            parent="menu_res_partner"
+            action="base.action_partner_form"
+            sequence="2"/>
+
+        <menuitem id="menu_address_book_partner"
+            name="Partners"
+            parent="menu_address_book"
+            action="base.action_partner_form"
+            sequence="10"/>
+
+        <menuitem id="menu_partner_address_form"
+            action="base.action_partner_address_form"
+            parent="menu_address_book"
+            sequence="20"/>
+
+        <menuitem id="menu_partner_contact_form"
+            action="base_contact.action_partner_contact_form"
+            parent="menu_address_book"
+            name="Contacts"
+            sequence="30"/>
+
+    </data>
+</openerp>