You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_partner_form_inherit_social_partner" model="ir.ui.view">
<field name="name">res.partner.view.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="priority">82</field>
<field name="arch" type="xml">
<notebook position="inside">
<page name="social" string="Social">
<group>
<group col="3">
<field name="social_facebook" />
<button type="object" name="open_facebook" string="Open" icon="fa-facebook" class="btn btn-secondary"/>
<field name="social_instagram" />
<button type="object" name="open_instagram" string="Open" icon="fa-instagram" class="btn btn-secondary"/>
<field name="social_twitter" />
<button type="object" name="open_twitter" string="Open" icon="fa-twitter" class="btn btn-secondary"/>
</group>
<group col="3">
<field name="social_linkedin" />
<button type="object" name="open_linkedin" string="Open" icon="fa-linkedin" class="btn btn-secondary"/>
<field name="social_youtube" />
<button type="object" name="open_youtube" string="Open" icon="fa-youtube" class="btn btn-secondary"/>
<field name="social_github" />
<button type="object" name="open_github" string="Open" icon="fa-github" class="btn btn-secondary"/>
</group>
</group>
</page>
</notebook>
</field>
</record>
</odoo>