Skip to content

Commit

Permalink
[IMP] improve contact views
Browse files Browse the repository at this point in the history
* move the "cooperator candidates" menu entry to the "cooperators" menu.
* use default filters instead of domains in contact views.
* remove the extra columns in the contacts list view; they can now be
  found in the cooperator register.
  • Loading branch information
huguesdk committed Oct 6, 2023
1 parent 81a4a9a commit 4f1157b
Show file tree
Hide file tree
Showing 13 changed files with 188 additions and 257 deletions.
43 changes: 16 additions & 27 deletions cooperator/i18n/ca_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,12 @@ msgstr "Moneda de l'empresa"
msgid "Company Register Number"
msgstr "Codi de registre de la companyia"

#. module: cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Company Representatives"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_email
msgid "Company email"
Expand All @@ -706,13 +712,6 @@ msgstr "Nom de la companyia"
msgid "Company register number"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
msgid "Company representative"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_type
msgid "Company type"
Expand All @@ -735,6 +734,9 @@ msgid "Contact email address for the cooperator"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main_coop
msgid "Contacts"
msgstr "Contactes"
Expand Down Expand Up @@ -834,11 +836,6 @@ msgstr ""
msgid "Cooperator Number"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperator Partners"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.cooperator_register_action
#: model:ir.actions.report,name:cooperator.action_report_cooperator_register
Expand All @@ -860,12 +857,6 @@ msgstr ""
msgid "Cooperator candidate"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
msgid "Cooperator candidates"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_mail_template__is_cooperator_template
msgid "Cooperator mail template"
Expand All @@ -888,10 +879,8 @@ msgid "Cooperator register operation sequence"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperators"
msgstr ""
Expand Down Expand Up @@ -1543,6 +1532,13 @@ msgstr ""
msgid "Next Activity Type"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "No contacts found"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.cooperative_membership_view_tree
#: model_terms:ir.ui.view,arch_db:cooperator.report_cooperator_register
Expand Down Expand Up @@ -1607,13 +1603,6 @@ msgstr ""
msgid "Number of share to"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "Odoo helps you track all activities related to your cooperators."
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Old Cooperators"
Expand Down
43 changes: 16 additions & 27 deletions cooperator/i18n/cooperator.pot
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,12 @@ msgstr ""
msgid "Company Register Number"
msgstr ""

#. module: cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Company Representatives"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_email
msgid "Company email"
Expand All @@ -582,13 +588,6 @@ msgstr ""
msgid "Company register number"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
msgid "Company representative"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_type
msgid "Company type"
Expand All @@ -611,6 +610,9 @@ msgid "Contact email address for the cooperator"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main_coop
msgid "Contacts"
msgstr ""
Expand Down Expand Up @@ -714,11 +716,6 @@ msgstr ""
msgid "Cooperator Number"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperator Partners"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.cooperator_register_action
#: model:ir.actions.report,name:cooperator.action_report_cooperator_register
Expand All @@ -740,12 +737,6 @@ msgstr ""
msgid "Cooperator candidate"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
msgid "Cooperator candidates"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_mail_template__is_cooperator_template
msgid "Cooperator mail template"
Expand All @@ -770,10 +761,8 @@ msgid "Cooperator register operation sequence"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperators"
msgstr ""
Expand Down Expand Up @@ -1429,6 +1418,13 @@ msgstr ""
msgid "Next Activity Type"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "No contacts found"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.cooperative_membership_view_tree
#: model_terms:ir.ui.view,arch_db:cooperator.report_cooperator_register
Expand Down Expand Up @@ -1494,13 +1490,6 @@ msgstr ""
msgid "Number of share to"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "Odoo helps you track all activities related to your cooperators."
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Old Cooperators"
Expand Down
43 changes: 16 additions & 27 deletions cooperator/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,12 @@ msgstr ""
msgid "Company Register Number"
msgstr ""

#. module: cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Company Representatives"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_email
msgid "Company email"
Expand All @@ -604,13 +610,6 @@ msgstr ""
msgid "Company register number"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_company_representative
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
msgid "Company representative"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_subscription_request__company_type
msgid "Company type"
Expand All @@ -633,6 +632,9 @@ msgid "Contact email address for the cooperator"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_company_representative_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main_coop
msgid "Contacts"
msgstr ""
Expand Down Expand Up @@ -732,11 +734,6 @@ msgstr ""
msgid "Cooperator Number"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperator Partners"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.cooperator_register_action
#: model:ir.actions.report,name:cooperator.action_report_cooperator_register
Expand All @@ -758,12 +755,6 @@ msgstr ""
msgid "Cooperator candidate"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
msgid "Cooperator candidates"
msgstr ""

#. module: cooperator
#: model:ir.model.fields,field_description:cooperator.field_mail_template__is_cooperator_template
msgid "Cooperator mail template"
Expand All @@ -786,10 +777,8 @@ msgid "Cooperator register operation sequence"
msgstr ""

#. module: cooperator
#: model:ir.actions.act_window,name:cooperator.action_partner_cooperator_form
#: model:ir.ui.menu,name:cooperator.menu_cooperator_cooperator
#: model:ir.ui.menu,name:cooperator.menu_cooperator_main
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Cooperators"
msgstr ""
Expand Down Expand Up @@ -1441,6 +1430,13 @@ msgstr ""
msgid "Next Activity Type"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "No contacts found"
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.cooperative_membership_view_tree
#: model_terms:ir.ui.view,arch_db:cooperator.report_cooperator_register
Expand Down Expand Up @@ -1505,13 +1501,6 @@ msgstr ""
msgid "Number of share to"
msgstr ""

#. module: cooperator
#: model_terms:ir.actions.act_window,help:cooperator.action_company_representative_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_candidate_form
#: model_terms:ir.actions.act_window,help:cooperator.action_partner_cooperator_form
msgid "Odoo helps you track all activities related to your cooperators."
msgstr ""

#. module: cooperator
#: model_terms:ir.ui.view,arch_db:cooperator.view_res_partner_filter
msgid "Old Cooperators"
Expand Down
Loading

0 comments on commit 4f1157b

Please sign in to comment.