diff options
| author | fja-odoo <fja@odoo.com> | 2019-06-19 15:28:56 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-08-08 16:05:33 +0000 |
| commit | 736353b169d451d48cb9d5ae82c2d342543ba57e (patch) | |
| tree | 9734e1e729938710074aab8b96a787ac889a9f4e /addons/website_partner | |
| parent | 50155ae08e6e3f4a60bf3142174f56bfd246d865 (diff) | |
[IMP] website, *: improve published smart button
* = web, website_blog, website_crm_partner_assign, website_event,
website_event_track, website_forum, website_hr_recruitment,
website_livechat, website_partner, website_profile, website_sale,
website_sale_delivery, website_slides
The published button name is a bit ambiguous, now it will clearly state
what it does with a new title : "Go to Website". The "Published",
"Unpublished" state is shown with the globe icon changing color
(green and red) and a title on the button.
Badge and Delivery don't have a website page, the button will then be
a publish/unpublish button in the backend.
task-2002435
closes odoo/odoo#34261
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/website_partner')
| -rw-r--r-- | addons/website_partner/views/res_partner_views.xml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/website_partner/views/res_partner_views.xml b/addons/website_partner/views/res_partner_views.xml index 6d9a93ea920..390d86d2189 100644 --- a/addons/website_partner/views/res_partner_views.xml +++ b/addons/website_partner/views/res_partner_views.xml @@ -8,10 +8,7 @@ <field name="arch" type="xml"> <data> <div name="button_box" position="inside"> - <button class="oe_stat_button" name="website_publish_button" - type="object" icon="fa-globe"> - <field name="is_published" widget="website_button"/> - </button> + <field name="is_published" widget="website_redirect_button"/> </div> </data> </field> |
