diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-08-13 15:52:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-13 15:52:52 +0200 |
| commit | 47d50dba225cd9115cf0ccb2045a268b8552b5ab (patch) | |
| tree | abadf5106c29a1467f36678214e98fdf6ff69192 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | d4de4cd94aa5fe77490d93f5397fa62e697ac945 (diff) | |
| parent | 175994cbe25e5c9c4fc58ac95f4ac835b53d4f2f (diff) | |
[MERGE] web, various: improve ribbon widget and its use
PURPOSE
Have a nice ribbon widget to display state of records: part II
SPECIFICATIONS
A POC for a new ribbon widget has been recently introduced at 02fbb73.
It adds a ribbon on the top right of a form to make some status more visible
and more user friendly. This commit greatly improves the design of this
ribbon in order to have a real ribbon.
You have to specify the text attribute to show the text on the ribbon.
You can also specify a bg_color attribute to color the background with a
bootstrap background color class according to the business meaning of the
flag displayed in the ribbon.
CRM: Replace Won / Lost bootstrap badges by ribbon widgets in lead /
opportunity form view.
Various: Next to 883c96b and recent ribbon widget update some form
views have to be updated. It is best displayed following those rules
* after oe_button_box in order to fix overlapping;
* before image to overlap it cleanly;
LINKS
Task ID : 2032621
PR : #34662
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
