Odoo Help


Customization of Jobs publishing in social Media

on 10/8/15, 2:38 AM 831 views


I need to know that how can i add one button into website for publish current job only in Linked-in . Is that possible ?? I found the code from website/views/website_templates . 


<template id="publish_management">

<div groups="base.group_website_publisher" t-ignore="true" class="pull-right css_editable_mode_hidden" t-att-style="style or ''">

<div t-attf-class="btn-group js_publish_management #{object.website_published and 'css_published' or 'css_unpublished'}" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-controller="publish_controller">

<button class="btn btn-danger js_publish_btn">Not Published</button>

<button class="btn btn-success js_publish_btn">Published</button>

<button type="button" t-attf-class="btn btn-default dropdown-toggle" t-att-id="'dopprod-%s' % object.id" data-toggle="dropdown">

<span class="caret"></span>


<ul class="dropdown-menu" role="menu" t-att-aria-labelledby="'dopprod-%s' % object.id">


<a href="#" class="js_publish_btn">

<span class="css_unpublish">Unpublished</span>

<!-- <span class="css_publish">Publish Facebook</span>-->

<span class="css_publish">Publish</span>



<t t-raw="0"/>

<li t-if="publish_edit">

<a t-attf-href="/web#return_label=Website&amp;view_type=form&amp;model=#{object._name}&amp;id=#{object.id}&amp;action=#{action}"

title='Edit in backend'>Edit</a>







like this. How can i add my custom button into this ??



About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/8/15, 2:38 AM
Seen: 831 times
Last updated: 10/8/15, 2:38 AM