forked from Yaltik/golem
[MIG]GOLEM Family to v10
This commit is contained in:
parent
068c327efd
commit
193c24e2b7
@ -23,8 +23,8 @@
|
||||
'author': 'Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
'application': False,
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
'depends': ['golem_member'],
|
||||
'data': ['security/ir.model.access.csv', 'views/golem_family_view.xml',
|
||||
'views/golem_member_view.xml', 'views/res_partner_view.xml']
|
||||
'data': ['security/ir.model.access.csv', 'views/golem_family_views.xml',
|
||||
'views/golem_member_views.xml', 'views/res_partner_views.xml']
|
||||
}
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-09-09 09:06+0000\n"
|
||||
"PO-Revision-Date: 2016-09-09 09:06+0000\n"
|
||||
"POT-Creation-Date: 2017-06-05 10:02+0000\n"
|
||||
"PO-Revision-Date: 2017-06-05 10:02+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -17,107 +17,109 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.family_tree
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_tree
|
||||
msgid "# Members"
|
||||
msgstr "# de membres"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "0000000000"
|
||||
msgstr "0000000000"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Address"
|
||||
msgstr "Addresse"
|
||||
msgstr "Adresse"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_filter
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_search
|
||||
msgid "By city"
|
||||
msgstr "Par ville"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,city:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_city
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "City"
|
||||
msgstr "Ville"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Communication"
|
||||
msgstr "Communication"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,count:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_count
|
||||
msgid "Count"
|
||||
msgstr "Nombre"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,country_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_country_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Country"
|
||||
msgstr "Pays"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,create_uid:0
|
||||
#: field:golem.family.role,create_uid:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_create_uid
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_create_uid
|
||||
msgid "Created by"
|
||||
msgstr "Créé par"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,create_date:0
|
||||
#: field:golem.family.role,create_date:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_create_date
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_create_date
|
||||
msgid "Created on"
|
||||
msgstr "Créé le"
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_last_post:0
|
||||
msgid "Date of the last message posted on the record."
|
||||
msgstr "Date du dernier message posté sur l'enregistrement."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,display_name:0
|
||||
#: field:golem.family.role,display_name:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_display_name
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Nom affiché"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,email:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_email
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
msgstr "Courriel"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.menu,name:golem_family.family_menu_list
|
||||
#: model:ir.ui.menu,name:golem_family.golem_family_menu
|
||||
msgid "Families"
|
||||
msgstr "Familles"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.member,family_id:0
|
||||
#: field:res.partner,family_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family"
|
||||
msgstr "Famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.member,family_count:0
|
||||
#: field:res.partner,family_count:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_count
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_count
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_count
|
||||
msgid "Family Count"
|
||||
msgstr "Somme des membres de la famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: code:addons/golem_family/models/golem_family.py:33
|
||||
#: code:addons/golem_family/models/golem_family.py:46
|
||||
#: code:addons/golem_family/models/golem_family.py:36
|
||||
#: code:addons/golem_family/models/golem_family.py:59
|
||||
#, python-format
|
||||
msgid "Family Members"
|
||||
msgstr "Membres de la famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.menu,name:golem_family.family_role_menu_list
|
||||
#: model:ir.ui.menu,name:golem_family.golem_family_role_menu
|
||||
msgid "Family Roles"
|
||||
msgstr "Rôles familiaux"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family form"
|
||||
msgstr "Family form"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family members"
|
||||
msgstr "Membres de la famille"
|
||||
|
||||
@ -126,18 +128,13 @@ msgstr "Membres de la famille"
|
||||
msgid "Family role must be unique."
|
||||
msgstr "Les rôles familiaux doivent être uniques."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_follower_ids:0
|
||||
msgid "Followers"
|
||||
msgstr "Abonnés"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.model,name:golem_family.model_golem_family
|
||||
msgid "GOLEM Family Entity"
|
||||
msgstr "GOLEM : famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.actions.act_window,name:golem_family.family_action_list
|
||||
#: model:ir.actions.act_window,name:golem_family.golem_family_action_list
|
||||
msgid "GOLEM Family List"
|
||||
msgstr "GOLEM : liste des familles"
|
||||
|
||||
@ -147,7 +144,7 @@ msgid "GOLEM Family Role"
|
||||
msgstr "Rôle dans la famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.actions.act_window,name:golem_family.family_role_action
|
||||
#: model:ir.actions.act_window,name:golem_family.golem_family_role_action
|
||||
msgid "GOLEM Family Role List"
|
||||
msgstr "GOLEM : liste des rôles familiaux"
|
||||
|
||||
@ -157,87 +154,57 @@ msgid "GOLEM Member"
|
||||
msgstr "GOLEM : Adhérent"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_filter
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_search
|
||||
msgid "Group By"
|
||||
msgstr "Grouper par"
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,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 "Contient le résumé des discussions (nombre de message...). Ce résumé peut être directement inséré dans les vues par cartes."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,id:0
|
||||
#: field:golem.family.role,id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_unread:0
|
||||
msgid "If checked new messages require your attention."
|
||||
msgstr "Si coché, les nouveaux messages vous seront notifiés."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_is_follower:0
|
||||
msgid "Is a Follower"
|
||||
msgstr "Is a Follower"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_last_post:0
|
||||
msgid "Last Message Date"
|
||||
msgstr "Last Message Date"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,__last_update:0
|
||||
#: field:golem.family.role,__last_update:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family___last_update
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Dernière modification le"
|
||||
msgstr "Dernière Modification le"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,write_uid:0
|
||||
#: field:golem.family.role,write_uid:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_write_uid
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr "Dernière modification par"
|
||||
msgstr "Dernière mise à jour par"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,write_date:0
|
||||
#: field:golem.family.role,write_date:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_write_date
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_write_date
|
||||
msgid "Last Updated on"
|
||||
msgstr "Dernière modification le"
|
||||
msgstr "Dernière mise à jour le"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,member_ids:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_member_ids
|
||||
msgid "Members"
|
||||
msgstr "Adhérents"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_ids:0
|
||||
msgid "Messages"
|
||||
msgstr "Messages"
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_ids:0
|
||||
msgid "Messages and communication history"
|
||||
msgstr "Messages historique des communications"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,mobile:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_mobile
|
||||
msgid "Mobile"
|
||||
msgstr "Mobile"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,name:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_name
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,note:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_note
|
||||
msgid "Note"
|
||||
msgstr "Note"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Others"
|
||||
msgstr "Autres"
|
||||
|
||||
@ -247,86 +214,77 @@ msgid "Partner"
|
||||
msgstr "Partenaire"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,phone:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_phone
|
||||
msgid "Phone"
|
||||
msgstr "Téléphone"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Put an internal note..."
|
||||
msgstr "Rédigez une note interne..."
|
||||
msgstr "Écrivez une note interne..."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family.role,name:0
|
||||
#: field:golem.member,family_role:0
|
||||
#: field:res.partner,family_role:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_name
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_role
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_role
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_role
|
||||
msgid "Role"
|
||||
msgstr "Rôle"
|
||||
msgstr "Role"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,state_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_state_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "State"
|
||||
msgstr "Région"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,street:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_street
|
||||
msgid "Street"
|
||||
msgstr "Rue"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Street..."
|
||||
msgstr "Rue..."
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,street2:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_street2
|
||||
msgid "Street2"
|
||||
msgstr "Complément de rue"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_summary:0
|
||||
msgid "Summary"
|
||||
msgstr "Résumé"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_unread:0
|
||||
msgid "Unread Messages"
|
||||
msgstr "Messages non lus"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,website:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_website
|
||||
msgid "Website"
|
||||
msgstr "Site Web"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "ZIP"
|
||||
msgstr "Code postal"
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,zip:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_zip
|
||||
msgid "Zip"
|
||||
msgstr "Code postal"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "e.g. www.odoo.com"
|
||||
msgstr "par exemple www.yaltik.com"
|
||||
msgstr "e.g. www.yaltik.com"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.member:golem_family.golem_member_family_smartbtn_add
|
||||
#: view:res.partner:golem_family.res_partner_family_smartbtn_add
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_member_form_inherit_golem_family
|
||||
#: model:ir.ui.view,arch_db:golem_family.res_partner_form_inherit_golem_family
|
||||
msgid "family members"
|
||||
msgstr "famille"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.family_kanban
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_kanban
|
||||
msgid "members"
|
||||
msgstr "membres"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "name@example.org"
|
||||
msgstr "nom@exemple.ext"
|
||||
msgstr "name@example.org"
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-09-09 09:06+0000\n"
|
||||
"PO-Revision-Date: 2016-09-09 09:06+0000\n"
|
||||
"POT-Creation-Date: 2017-06-05 10:02+0000\n"
|
||||
"PO-Revision-Date: 2017-06-05 10:02+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -16,107 +16,109 @@ msgstr ""
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.family_tree
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_tree
|
||||
msgid "# Members"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "0000000000"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Address"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_filter
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_search
|
||||
msgid "By city"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,city:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_city
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "City"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Communication"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,count:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_count
|
||||
msgid "Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,country_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_country_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Country"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,create_uid:0
|
||||
#: field:golem.family.role,create_uid:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_create_uid
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_create_uid
|
||||
msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,create_date:0
|
||||
#: field:golem.family.role,create_date:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_create_date
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_create_date
|
||||
msgid "Created on"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_last_post:0
|
||||
msgid "Date of the last message posted on the record."
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,display_name:0
|
||||
#: field:golem.family.role,display_name:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_display_name
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,email:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_email
|
||||
msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.menu,name:golem_family.family_menu_list
|
||||
#: model:ir.ui.menu,name:golem_family.golem_family_menu
|
||||
msgid "Families"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.member,family_id:0
|
||||
#: field:res.partner,family_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.member,family_count:0
|
||||
#: field:res.partner,family_count:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_count
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_count
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_count
|
||||
msgid "Family Count"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: code:addons/golem_family/models/golem_family.py:33
|
||||
#: code:addons/golem_family/models/golem_family.py:53
|
||||
#: code:addons/golem_family/models/golem_family.py:36
|
||||
#: code:addons/golem_family/models/golem_family.py:59
|
||||
#, python-format
|
||||
msgid "Family Members"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.menu,name:golem_family.family_role_menu_list
|
||||
#: model:ir.ui.menu,name:golem_family.golem_family_role_menu
|
||||
msgid "Family Roles"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family form"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Family members"
|
||||
msgstr ""
|
||||
|
||||
@ -125,18 +127,13 @@ msgstr ""
|
||||
msgid "Family role must be unique."
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_follower_ids:0
|
||||
msgid "Followers"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.model,name:golem_family.model_golem_family
|
||||
msgid "GOLEM Family Entity"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.actions.act_window,name:golem_family.family_action_list
|
||||
#: model:ir.actions.act_window,name:golem_family.golem_family_action_list
|
||||
msgid "GOLEM Family List"
|
||||
msgstr ""
|
||||
|
||||
@ -146,7 +143,7 @@ msgid "GOLEM Family Role"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: model:ir.actions.act_window,name:golem_family.family_role_action
|
||||
#: model:ir.actions.act_window,name:golem_family.golem_family_role_action
|
||||
msgid "GOLEM Family Role List"
|
||||
msgstr ""
|
||||
|
||||
@ -156,87 +153,57 @@ msgid "GOLEM Member"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_filter
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_search
|
||||
msgid "Group By"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,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 ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,id:0
|
||||
#: field:golem.family.role,id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_id
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_unread:0
|
||||
msgid "If checked new messages require your attention."
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_is_follower:0
|
||||
msgid "Is a Follower"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_last_post:0
|
||||
msgid "Last Message Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,__last_update:0
|
||||
#: field:golem.family.role,__last_update:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family___last_update
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,write_uid:0
|
||||
#: field:golem.family.role,write_uid:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_write_uid
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,write_date:0
|
||||
#: field:golem.family.role,write_date:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_write_date
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_write_date
|
||||
msgid "Last Updated on"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,member_ids:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_member_ids
|
||||
msgid "Members"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_ids:0
|
||||
msgid "Messages"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: help:golem.family,message_ids:0
|
||||
msgid "Messages and communication history"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,mobile:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_mobile
|
||||
msgid "Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,name:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_name
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,note:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_note
|
||||
msgid "Note"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Others"
|
||||
msgstr ""
|
||||
|
||||
@ -246,86 +213,77 @@ msgid "Partner"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,phone:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_phone
|
||||
msgid "Phone"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Put an internal note..."
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family.role,name:0
|
||||
#: field:golem.member,family_role:0
|
||||
#: field:res.partner,family_role:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_role_name
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_role
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_role
|
||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_role
|
||||
msgid "Role"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: field:golem.family,state_id:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_state_id
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,street:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_street
|
||||
msgid "Street"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "Street..."
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,street2:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_street2
|
||||
msgid "Street2"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_summary:0
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,message_unread:0
|
||||
msgid "Unread Messages"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,website:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_website
|
||||
msgid "Website"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "ZIP"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: field:golem.family,zip:0
|
||||
#: model:ir.model.fields,field_description:golem_family.field_golem_family_zip
|
||||
msgid "Zip"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "e.g. www.odoo.com"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.member:golem_family.golem_member_family_smartbtn_add
|
||||
#: view:res.partner:golem_family.res_partner_family_smartbtn_add
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_member_form_inherit_golem_family
|
||||
#: model:ir.ui.view,arch_db:golem_family.res_partner_form_inherit_golem_family
|
||||
msgid "family members"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.family_kanban
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_kanban
|
||||
msgid "members"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_family
|
||||
#: view:golem.family:golem_family.view_form
|
||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||
msgid "name@example.org"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
|
||||
# Copyright 2017 Fabien Bourgeois <fabien@yaltik.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
|
||||
@ -15,12 +15,14 @@
|
||||
# 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/>.
|
||||
|
||||
""" GOLEM Families """
|
||||
|
||||
from odoo import models, fields, api, _
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
""" Partner adaptations """
|
||||
_inherit = 'res.partner'
|
||||
_description = 'GOLEM Partner Family'
|
||||
|
||||
family_id = fields.Many2one('golem.family', string='Family', index=True)
|
||||
family_role = fields.Many2one('golem.family.role', string='Role',
|
||||
@ -29,6 +31,7 @@ class ResPartner(models.Model):
|
||||
|
||||
@api.multi
|
||||
def button_family_members(self):
|
||||
""" Go to family view, from partner """
|
||||
self.ensure_one()
|
||||
return {'name': _('Family Members'),
|
||||
'type': 'ir.actions.act_window',
|
||||
@ -38,26 +41,30 @@ class ResPartner(models.Model):
|
||||
|
||||
|
||||
class GolemMember(models.Model):
|
||||
""" Member adaptations """
|
||||
_inherit = 'golem.member'
|
||||
|
||||
@api.onchange('family_id')
|
||||
def onchange_family(self):
|
||||
""" Sets lastname as family name if there was no precedence """
|
||||
for p in self:
|
||||
if not p.lastname:
|
||||
p.lastname = self.family_id.name
|
||||
for member in self:
|
||||
if not member.lastname:
|
||||
member.lastname = member.family_id.name
|
||||
|
||||
@api.multi
|
||||
def button_family_members(self):
|
||||
""" Go to family view, from member """
|
||||
self.ensure_one()
|
||||
member = self[0]
|
||||
return {'name': _('Family Members'),
|
||||
'type': 'ir.actions.act_window',
|
||||
'res_model': 'golem.family',
|
||||
'view_mode': 'form',
|
||||
'res_id': self.family_id.id}
|
||||
'res_id': member.family_id.id}
|
||||
|
||||
|
||||
class GolemFamily(models.Model):
|
||||
""" GOLEM Family Entity """
|
||||
_name = 'golem.family'
|
||||
_description = 'GOLEM Family Entity'
|
||||
_inherit = 'mail.thread'
|
||||
@ -86,13 +93,14 @@ class GolemFamily(models.Model):
|
||||
note = fields.Text('Note')
|
||||
count = fields.Integer('Count', compute='_compute_count', store=True)
|
||||
|
||||
@api.one
|
||||
@api.depends('member_ids')
|
||||
def _compute_count(self):
|
||||
self.count = len(self.member_ids)
|
||||
for family in self:
|
||||
family.count = len(family.member_ids)
|
||||
|
||||
|
||||
class GolemFamilyRole(models.Model):
|
||||
""" GOLEM Family Role """
|
||||
_name = 'golem.family.role'
|
||||
_description = 'GOLEM Family Role'
|
||||
_sql_constraints = [('golem_family_role_name_uniq',
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
|
||||
Copyright 2017 Fabien Bourgeois <fabien@yaltik.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
|
||||
@ -20,16 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Forms -->
|
||||
<record id="view_form" model="ir.ui.view">
|
||||
<record id="golem_family_form" model="ir.ui.view">
|
||||
<field name="name">GOLEM Family Form</field>
|
||||
<field name="model">golem.family</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<div colspan="2"
|
||||
style="background-color: #ccc; color: #fff; font-size: 150%; font-weight: bold; padding: 0.5%; text-align: center; margin-bottom: 1%;">Family form</div>
|
||||
<group>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<label for="name" string="Family" />
|
||||
<label for="name" string="Family" class="oe_edit_only" />
|
||||
<field name="name" class="oe_inline" placeholder="Name" />
|
||||
</h1>
|
||||
</div>
|
||||
@ -90,7 +92,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Kanban -->
|
||||
<record model="ir.ui.view" id="family_kanban">
|
||||
<record model="ir.ui.view" id="golem_family_kanban">
|
||||
<field name="name">GOLEM Family Kanban view</field>
|
||||
<field name="model">golem.family</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -149,7 +151,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Trees -->
|
||||
<record id="family_tree" model="ir.ui.view">
|
||||
<record id="golem_family_tree" model="ir.ui.view">
|
||||
<field name="name">Family list</field>
|
||||
<field name="model">golem.family</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -162,7 +164,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="family_role_tree" model="ir.ui.view">
|
||||
<record id="golem_family_role_tree" model="ir.ui.view">
|
||||
<field name="name">Family Role List</field>
|
||||
<field name="model">golem.family.role</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -173,7 +175,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Searches -->
|
||||
<record id="view_filter" model="ir.ui.view">
|
||||
<record id="golem_family_search" model="ir.ui.view">
|
||||
<field name="name">GOLEM Family Filters</field>
|
||||
<field name="model">golem.family</field>
|
||||
<field name="arch" type="xml">
|
||||
@ -193,17 +195,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</record>
|
||||
|
||||
<!-- Actions -->
|
||||
<act_window id="family_action_list" name="GOLEM Family List"
|
||||
<act_window id="golem_family_action_list" name="GOLEM Family List"
|
||||
res_model="golem.family" view_mode="kanban,tree,form" />
|
||||
<act_window id="family_role_action" name="GOLEM Family Role List"
|
||||
<act_window id="golem_family_role_action" name="GOLEM Family Role List"
|
||||
res_model="golem.family.role" view_mode="tree" />
|
||||
<!-- Menus -->
|
||||
<menuitem id="family_menu_list" name="Families"
|
||||
parent="membership.menu_membership" action="family_action_list"
|
||||
<menuitem id="golem_family_menu" name="Families"
|
||||
parent="membership.menu_membership" action="golem_family_action_list"
|
||||
sequence="10" groups="golem_base.group_golem_user" />
|
||||
<menuitem id="family_role_menu_list" name="Family Roles"
|
||||
parent="base.menu_marketing_config_association"
|
||||
action="family_role_action" sequence="3"
|
||||
<menuitem id="golem_family_role_menu" name="Family Roles"
|
||||
parent="membership.menu_marketing_config_association"
|
||||
action="golem_family_role_action" sequence="3"
|
||||
groups="golem_base.group_golem_manager" />
|
||||
|
||||
</data>
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
|
||||
Copyright 2017 Fabien Bourgeois <fabien@yaltik.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
|
||||
@ -20,10 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Form -->
|
||||
<record model="ir.ui.view" id="golem_member_family_smartbtn_add">
|
||||
<field name="name">Add family management smart button</field>
|
||||
<record model="ir.ui.view" id="golem_member_form_inherit_golem_family">
|
||||
<field name="name">Member form adaptations</field>
|
||||
<field name="model">golem.member</field>
|
||||
<field name="inherit_id" ref="golem_member.view_form" />
|
||||
<field name="inherit_id" ref="golem_member.golem_member_form" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="buttons" position="inside">
|
||||
<button class="oe_inline oe_stat_button" type="object"
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
|
||||
Copyright 2017 Fabien Bourgeois <fabien@yaltik.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
|
||||
@ -20,12 +20,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Form -->
|
||||
<record model="ir.ui.view" id="res_partner_family_smartbtn_add">
|
||||
<field name="name">Add family management smart button</field>
|
||||
<record model="ir.ui.view" id="res_partner_form_inherit_golem_family">
|
||||
<field name="name">Partner form adaptations</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="buttons" position="inside">
|
||||
<div name="button_box" position="inside">
|
||||
<button class="oe_inline oe_stat_button" type="object"
|
||||
name="button_family_members" icon="fa-users"
|
||||
attrs="{'invisible': [('family_id', '=', False)]}">
|
||||
@ -36,8 +36,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="res_partner_family_role_add">
|
||||
<field name="name">Add family role into res.partner form</field>
|
||||
<record model="ir.ui.view" id="partner_firstname_inherit_golem_family_role">
|
||||
<field name="name">Partner form adaptations</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id"
|
||||
ref="partner_firstname.view_partner_form_firstname" />
|
Loading…
Reference in New Issue
Block a user