summaryrefslogtreecommitdiff
path: root/addons/board/static/src/xml
AgeCommit message (Collapse)Author
2019-01-31[IMP] board: single column layout on mobilePierre Paridans
Improve the dashboard app on mobile by : - Hide the change layout button - Force one column view layout Task Id: 1904747
2018-12-07[REF] board: adapt code to search refactoringMathieu Duckerts-Antoine
This rev. adapts the code of the 'Add to Dashboard' entry of the Favotires menu, according to the large SearchView refactoring. It also does some tweaks for the dashboard app due to the move of the ControlPanel from the ActionManager to the controllers. Part of task 1893568
2018-07-27[REF] *: BS4, adapt dropdowns and caretsqsm-odoo
- The dropdown structure was simplified, allowing to get rid of the 3-levels structure induced by <ul/> elements and dropdowns can now contain anything. The class 'dropdown-item' is now mandatory for each dropdown clickable element. The class 'dropdown-item-text' can be used to add same padding and style but without making the element have a clickable look. - Dividers now use the class 'dropdown-divider' - The way dropdowns are opened and hidden also changed (before the 'open' class was added on the `.dropdown-menu` parent, now the 'show' class is added on both the `.dropdown-menu` parent and the `.dropdown-menu` itself). - JS-wise, no click event handlers can be put on `.dropdown-toggle` elements anymore (instead, use handlers for dropdown events). - Carets are automatically put on `.dropdown-toggle` elements, so this commit replaces the `.caret` elements with this. This feature was possible to disable but would prevent us from adding a caret with scss. Also, this simplifies the DOM. The 'o-no-caret' class was also introduced to allow using the 'dropdown-toggle' class on non-caret elements. - Also adapt the scss to use $caret-width instead of $caret-width-base
2018-07-27[REF] *: BS4, remove the use of btn-smqsm-odoo
Odoo made the bad choice of using the 'btn-sm' class for every button instead of configuring the padding for default 'btn' to be smaller. In BS4, the style of btn-sm is actually more complex, lowering the font-size too. Also, btn-xs was removed so we would not have the possibility to display smaller button than our default ones. This commit removes btn-sm wherever it was used. Unfortunately, this might remove it at some places where it made sense but this can be restored in a second time.
2018-06-22[IMP] Improve compatibility with screen readers (accessibility) (#24574)kujiu
Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable. This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader. * [IMP] Labels must have a for attribute. Improve accessibility. * [IMP] Better error message when trying to read a missing cached value * [FIX] Add some aria-label and title attributes for screen readers. * [FIX] Template name is not included in the error message in case of SyntaxError in QWeb * [FIX] Improve the Tour failed at step error message to be more explicit. * [IMP] Add aria-labels * [FIX] Add missing aria-label on failing test * [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all. * [IMP] Color names on kanban views and many2many tags * [IMP] Add some checks on views for accessibility. * [IMP] Add `alt` attribute on `img` tags. * [IMP] Add aria-label and title on non-described icons * [IMP] Add button role to widgets with btn class * [IMP] Translate aria and formatted attributes. * [IMP] Remove wrong aria-labelledby * [IMP] Add menu role on dropdowns * [IMP] Buttons must be focusable * [IMP] Add aria attributes on progress bars * [IMP] Improve accessibility of basic widgets * [IMP] Change main layout to more semantic tags * [IMP] Add menuitem role when missing * [IMP] Remove wrong role='presentation' * [IMP] Improve accessibility of tab panels * [IMP] Add aria-invalid on invalid fields * [IMP] Add aria-sort on ordered columns * [IMP] Add role on alerts * [IMP] Use dialog role, header, main and footer tags for modals * [IMP] Add labels on o_status * [IMP] Improve accessibility of kanban view with feeds and articles * [IMP] Add alerts in case of new messages * [IMP] Add widget, navigation or img role to aria-labelled items
2018-02-16[FIX] web,*: various nocontent helper fixesAlexandre Kühn
* account, board, hr_holidays, mail, sale, website_sale Small fixes on nocontent onboarding screens. Initial commit: https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 Details: - list: centered; - pivot/graph: centered + empty folder face; - Dashboard app with nocontent helper; - Discuss inbox/starred: centered without neutral/smiling faces; => no faces because it's too much with animated rainbow man when emptying the any of the boxes. - hr_holidays: fixed onboarding screens; - (technical) dropped obsolete 'o_view_nocontent_container' style; - manual reconciliation 'nothing to reconcile': centered + inside form sheet; => renamed account's o_view_nocontent to o_view_noreconciliation, so that it doesn't use the style of views.less. - kanban: nocontent helper above the columns (if any); - texts "no order to upsell"/"abandonned cart" paragraph split in two.
2017-05-24[FIX] board: properly render with twice same actionAaron Bohy
Before this rev., the dashboard wasn't rendered correctly when the same action (same action id) was several times in the dashboard. For instance, if the dashboard contained the list and kanban view of an action, both views were rendered in the same block, leaving the other one empty. Moreover, (un)foldeing one automatically (un)folded the other one. This was because the action id was used to identify each view, but this id is not unique in the dashboard. We now use a generated id instead, which is unique.
2017-04-11[REF] board: update dashboards to new js frameworkGéry Debongnie
With the new views, we totally broke the dashboard. This commit rewrites all the code to comply with our new coding guidelines, and make sure it works, with some tests. Note that a big change is that we don't instantiate an action manager and a view manager, we directly instantiate the views. Also, this is not the best way to organize the dashboard. I think that it should be a client action, not a form view, so we don't have to overload all the form view classes and we don't depend on form view behaviour/view caches/...
2016-07-05[MIG] board: migrated to new APIdut-odoo
2016-06-13[REM] web: Remove GTK icons and replace them by Font-awesomeJainik Patel
2015-07-15[IMP] board,google_spreadsheet,web,web_calendar: Favorites menuAaron Bohy
Adapt the Favorites menu so that addons appending stuff in it are compliant with the enterprise edition. Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins defined in the web addon. Some changes as well in the dashboard view to make it compliant with the enterprise edition. Use correct naming convention: classnames with underscores, less mixins with hyphens.
2015-03-05[FIX] web: viewmanager header: missing type on button tagsSimon Lejeune
2014-11-18[REM] board: "reset dashboard" buttonDikshit Prajapati
2014-10-21[FIX] make add to dashboard workGéry Debongnie
With the search view refactoring, the add to dashboard functionality was unavailable. Weep no longer, it is fixed. The dashboard button is now an action in the favorites submenu instead of a search input
2014-06-12Removed version="7.0" from form viewsFabien Meghazi
2013-02-21[FIX] IE9: traceback in Reporting when changing type of viewFabien Meghazi
lp bug: https://launchpad.net/bugs/1091715 fixed bzr revid: fme@openerp.com-20130221221314-0n1q4k2c373yzrc3
2012-09-13[IMP]show reset button when debug mode is on.Vidhin Mehta (OpenERP)
bzr revid: vme@tinyerp.com-20120913062437-5vcscpnk19u441m5
2012-09-10[REM] Dashboard: Removed creatable option (requested by fp)Fabien Meghazi
bzr revid: fme@openerp.com-20120910093152-r14olqa181obp7f2
2012-09-06[FIX] remove semantic part2Antony Lesuisse
bzr revid: al@openerp.com-20120906104624-sq3cd652vevmij6c
2012-09-04wipniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120904163725-ptsij09rve8j3txs
2012-08-22[FIX] remove .Vidhin Mehta (OpenERP)
bzr revid: vme@tinyerp.com-20120822134430-5493lvfv98c3lhy6
2012-08-22[FIX]get all span text of header.Vidhin Mehta (OpenERP)
bzr revid: vme@tinyerp.com-20120822134249-e398qom83ur322ub
2012-08-22[IMP]header as input box.Vidhin Mehta (OpenERP)
bzr revid: vme@tinyerp.com-20120822132805-nmesgyvh29m5gnr9
2012-08-09[IMP] board: reapply mit css changes made on web_dashboardChristophe Simonis
bzr revid: chs@openerp.com-20120809153605-trlhbmj3rw3ku0td
2012-08-09[IMP] merge of modules board and web_dashboardChristophe Simonis
bzr revid: chs@openerp.com-20120809153027-3sl125kda0jtdrcg