summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/form_view_extra.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-01-26[IMP] web: Kanban: quick create record with more fieldsAaron Bohy
This rev. improves the QuickCreate widget for grouped Kanban views. It allows specifying in the Kanban arch a form view xmlid, e.g.: <kanban quick_create_view="some_form_view_xmlid"> ... </kanban> When this attribute is set, the referenced form view is loaded and rendered inside the QuickCreate widget. A real FormView widget is instantiated, meaning that all form view mechanisms are available in the QuickCreate (modifiers, default_get, onchanges, widgets...). Task #27475.
2017-09-22[FIX] web: fix vertical alignement in button boxdbh
2017-09-19[MERGE] forward port branch saas-17 up to 2a343d7c9c4Christophe Simonis
2017-09-19[FIX] web: FormView button box: position of More dropdownHardik Patel
Before this rev., the dropdown was positioned in the bottom left corner of the form view.
2017-09-06[REF] web: review form view layoutqsm-odoo
The goal of this review is to have a layout which is correct to implement the enterprise side-chatter. This also removes/fixes deprecated community rules and xml templates.
2017-07-24[IMP] web: get rid of WidgetButton templateqsm-odoo
Qweb rendering is great to render "complex" widget structures. However, using it to render something as simple as a button was not very meaningful. This commit deletes the "WidgetButton" template and replaces it with an utility JS function to render buttons according to given parameters. Also, this change will allow a better change. Before this commit, the only templates left in the "base_common.xml" file are the "WidgetButton" and the "Dialog" ones. With the removal of "WidgetButton", the file can now be lazy loaded only if necessary, on the first dialog instantiation. This will allow to remove the need to load static XML files on each frontend page loading.
2017-05-04[REF] web, *: restore views designqsm-odoo
Since the new views merge, a lot of design elements were broken. This was particularly impacting the fields in the editable list view; indeed the editable list view is not using an inline form view anymore so the fields in the list were not properly styled as the LESS was still defined assuming the form view environment (for example the invalid fields were red for o2m fields in form view but not in editable list view even though they got the right CSS class). This commit refactor the LESS following these rules: - No more division of non-layout and layout rules. Dividing LESS rules in x_layout.less and x.less was a mistake. Many rules can be considered to be layout and not layout at the same time, developers always have to switch from one file part to the other, many CSS selectors (and rules!) are duplicated for nothing, ... - Field style is extracted from x_view.less and put in the new fields.less file. As before, the fields_extra.less will contain the rules specific to community so that the enterprise repo can override those by replacing the whole file. - Many classes have been renamed so that o_form_x_y becomes o_x_y as many classes can now be applied outside of form view. These classes should not be used in templates anyway. The commit also changes the DOM of fields so that it is more minimalist (no useless parent div, etc). Input elements are not automatically styled anymore, they have to get the o_input class explicitely. This allows to fix lots of small style bugs of previous versions (required monetary field had not the proper style, readonly m2m tags appeared as editable, ...). This also improves the LESS code. The editable list view should also completely stop flickering on chrome and firefox. The commit also removes the orange outline on list view dirty cells. The commit also removes deprecated static xml, LESS and other code. Notice there are still styles to restore/fix and LESS to improve.
2017-04-11[REF] web: less: form view's statusbarAaron Bohy
Move the statusbar rules to community as both webclient now share the same js basecode for the statusbar.
2016-04-21[REF] web: stop duplicating webAaron Bohy
Avoid duplicating web addon in enterprise by extracting a common basis. Enterprise features stay in enterprise, but use that common basis. Mainly: - JS refactoring and linting - Conversion of .sass into .less split into multiple files - Templates cleaning and DOM simplification - Re-generation of web.pot, and update of .po files