[FIX] website: product backend view with website_button widget
bzr revid: chm@openerp.com-20131202163010-9nksvoxmbuj9v8i1
This commit is contained in:
parent
b642afe710
commit
c3660ba7b9
|
@ -6,14 +6,14 @@
|
|||
<t t-name="WidgetWebsiteButton">
|
||||
|
||||
<div class="btn-group oe_WidgetWebsiteButton">
|
||||
<button class="btn btn-success">
|
||||
<button class="btn btn-sm btn-success">
|
||||
<span class="oe_unpublish">Not Published</span>
|
||||
<span class="oe_publish">Published</span>
|
||||
</button>
|
||||
<button id="dopprod-6" data-toggle="dropdown" type="button" class="btn btn-default dropdown-toggle">
|
||||
<button id="dopprod-0" data-toggle="dropdown" type="button" class="btn btn-sm btn-default dropdown-toggle">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul role="menu" class="dropdown-menu" aria-labelledby="dopprod-6">
|
||||
<ul role="menu" class="dropdown-menu" aria-labelledby="dopprod-0">
|
||||
<li>
|
||||
<a href="#" title="View in frontend">Website</a>
|
||||
</li>
|
||||
|
|
|
@ -111,7 +111,7 @@ class product_product(osv.Model):
|
|||
return res
|
||||
|
||||
_columns = {
|
||||
'website_url': fields.function(_website_url, string="Website url"),
|
||||
'website_url': fields.function(_website_url, string="Website url", type="char"),
|
||||
}
|
||||
|
||||
def img(self, cr, uid, ids, field='image_small', context=None):
|
||||
|
|
Loading…
Reference in New Issue