[IMP] partner_profiles: add profile in partner kanban view
This commit is contained in:
committed by
Stéphan Sainléger
parent
43d21befbf
commit
cda7190cff
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "partner_profiles",
|
"name": "partner_profiles",
|
||||||
"version": "12.0.2.2.0",
|
"version": "12.0.2.3.0",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://elabore.coop",
|
"website": "https://elabore.coop",
|
||||||
"maintainer": "Stéphan Sainléger",
|
"maintainer": "Stéphan Sainléger",
|
||||||
|
@@ -15,6 +15,27 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
|
#. module: partner_profiles
|
||||||
|
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_kanban_view
|
||||||
|
msgid "<span attrs=\"{'invisible': [('is_main_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Main profile</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_public_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Public profile</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_position_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Position profile</b>\n"
|
||||||
|
" </span>"
|
||||||
|
msgstr "<span attrs=\"{'invisible': [('is_main_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Profil principal</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_public_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Profil public</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_position_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Profile position</b>\n"
|
||||||
|
" </span>"
|
||||||
|
|
||||||
#. module: partner_profiles
|
#. module: partner_profiles
|
||||||
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_form_view
|
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_form_view
|
||||||
msgid "<span>Please find here <strong>all the position profiles</strong> linked\n"
|
msgid "<span>Please find here <strong>all the position profiles</strong> linked\n"
|
||||||
|
@@ -15,6 +15,19 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
|
#. module: partner_profiles
|
||||||
|
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_kanban_view
|
||||||
|
msgid "<span attrs=\"{'invisible': [('is_main_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Main profile</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_public_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Public profile</b>\n"
|
||||||
|
" </span>\n"
|
||||||
|
" <span attrs=\"{'invisible': [('is_position_profile','=',False)]}\" style=\"color:#7c7bad;\">\n"
|
||||||
|
" <b>Position profile</b>\n"
|
||||||
|
" </span>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: partner_profiles
|
#. module: partner_profiles
|
||||||
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_form_view
|
#: model_terms:ir.ui.view,arch_db:partner_profiles.partner_profiles_form_view
|
||||||
msgid "<span>Please find here <strong>all the position profiles</strong> linked\n"
|
msgid "<span>Please find here <strong>all the position profiles</strong> linked\n"
|
||||||
|
@@ -225,5 +225,37 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="partner_profiles_kanban_view" model="ir.ui.view">
|
||||||
|
<field name="name">Partner Profiles Kanban View</field>
|
||||||
|
<field name="model">res.partner</field>
|
||||||
|
<field name="inherit_id" ref="base.res_partner_kanban_view" />
|
||||||
|
<field name="sequence">99</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//kanban" position="inside">
|
||||||
|
<field name="is_main_profile" />
|
||||||
|
<field name="is_public_profile" />
|
||||||
|
<field name="is_position_profile" />
|
||||||
|
</xpath>
|
||||||
|
<xpath
|
||||||
|
expr="//div[@class='oe_kanban_details']/div[hasclass('o_kanban_tags_section')]"
|
||||||
|
position="before">
|
||||||
|
<div>
|
||||||
|
<span attrs="{'invisible': [('is_main_profile','=',False)]}"
|
||||||
|
style="color:#7c7bad;">
|
||||||
|
<b>Main profile</b>
|
||||||
|
</span>
|
||||||
|
<span attrs="{'invisible': [('is_public_profile','=',False)]}"
|
||||||
|
style="color:#7c7bad;">
|
||||||
|
<b>Public profile</b>
|
||||||
|
</span>
|
||||||
|
<span attrs="{'invisible': [('is_position_profile','=',False)]}"
|
||||||
|
style="color:#7c7bad;">
|
||||||
|
<b>Position profile</b>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
Reference in New Issue
Block a user