summaryrefslogtreecommitdiff
path: root/addons/web/static/src
AgeCommit message (Collapse)Author
2020-08-14[IMP] web: allow password fields to force the `autocomplete` valueOlivier Dony
Follow-up on 6edb7495346119e2ceb25f5b5b5568b4b890dd86, where default `autocomplete` values were introduced as default for password fields, according to the new autofill specs. This patch allows developers to force the "autocomplete" attribute value on password fields, in case there really is a need for a value that is not `new-password` (which BTW now triggers the password generator wizard in many browsers). It is useful for example when a backend form really needs to ask the user for their current password, so the correct `autocomplete` value is `current-password`, as on the login form.
2020-08-14[IMP] web, web_editor: review colorpicker designstefanorigano (SRI)
Part of https://github.com/odoo/odoo/pull/55959 task-2157252 Co-authored-by: qsm-odoo <qsm@odoo.com>
2020-08-14[FIX] web: pivot non-persistant on null valueNicolas Lempereur
In pivot view, a cell data is determined by his row/column key which are the value chain of field values to get to that row/column. If you had a grouping with value in a cell and then close the grouping, you could somehow get the old value back wrongly on next grouping operations. This happened because: - the key was computed based on the value (eg. for relational field the record ID) but without the field name. - succeeding read_group only fill existing values. eg. If on pivot view we had a salesperson with same ID as product category, if we closed salesperson grouping then opened product category grouping, we could possibly get the cell value to the product category that has the same ID as the salesperson. With this changeset, we clear the cell data corresponding to a grouping that has been closed. Added test without the fix would fail by displaying data of a previous read_group that should have been cleared inbetween. opw-2262306 closes #55129 closes odoo/odoo#55936 X-original-commit: f1df73adca4955561814d4b8e90a62d7d50c1c33 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-14[FIX] web: pivot: avoid to toggle invalid measureMathieu Duckerts-Antoine
Before this commit, click on the divider in the menu 'Measures' of the pivot control panel would cause a crash. The present commit fixes that situation. We also bring another small correction: the menu won't close if one clicks on the measure list but not exactly on a menu item or the divider. closes odoo/odoo#55902 X-original-commit: aad9f3fd7499ef8b660cc25fea840a34d70f75a6 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com> Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-12[FIX] web: Prevent field badge from overflowingJulien Mougenot
Before this commit, the field badge could overflow from its boundaries and have part of its pill/text hidden. Now, the "overflow" mixin has been applied and the badge is properly contained. closes odoo/odoo#55806 X-original-commit: f4b672bfcf21c7c7f0b6071a8dd18bd6e966266b Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2020-08-12[IMP] web: sample data in dashboard viewMathieu Duckerts-Antoine
A previous commit has paved the way for displaying sample data in the reporting views. The present commit brings the required changes in community to have sample data in dashboard views. Task ID: 2282196 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-12[IMP] web: sample data in pivot viewAaron Bohy
A previous commit has paved the way for displaying sample data in the reporting views. The present commit brings the required changes to have sample data in pivot views. Task ID: 2282196 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-12[IMP] web: sample data in graph viewMathieu Duckerts-Antoine
A previous commit has paved the way for displaying sample data in the reporting views. The present commit brings the required changes to have sample data in graph views. Task ID: 2282196 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-12[IMP] web: sample data in reporting views (preparatory work)Mathieu Duckerts-Antoine
The present commit brings the global changes necessary to have sample data in the reporting views. This includes several modifications/ fixes of the sample server (many of them for better visual results). Task ID: 2282196 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-08-12[REF] web,purchase: SampleServer: mock registryAaron Bohy
This commit changes the API of the SampleServer's mock registry s.t. one can register a mocked version of a method, whatever the model. The former API required a specific model to be specified, and only applied on this model. However, in order to enable the sample data feature on the cohort view, the 'get_cohort_data' method needs to be mocked, whatever the concerned model. One can now register mocked methods for a specific model only (with key 'model/method') or for every models (with key 'method'). Task ID: 2282196
2020-08-12[IMP] web: no content helper style for sample modeAaron Bohy
Task ID: 2282196
2020-08-12[IMP] web: sample data: generate better activitiesAaron Bohy
The SampleServer picks a random value for selection fields. As a consequence, field 'activity_exception_decoration' is always set, either to 'warning' or 'danger'. When this field is set, widget 'ListActivity' (set on 'activity_ids') displays 'Warning', whatever the value of 'activity_ids'. This means that with sample data, the next activity field always displays "Warning", which is not great. This special case has been handled in web, as it is the first (and only) one. In the future, if we have to implement several special cases like that, we'll setup a proper hook to allow external modules to define them from the outside. Task 2316726 closes odoo/odoo#55703 Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
2020-08-11[FIX] web: Filter with domain disables category countersJulien Mougenot
Before this commit, the search panel was subject to some inconsistencies when dealing with a category having enabled counters and with a filter defining a "domain" attribute. Indeed, the counters could be in an incorrect state if the right filters/categories were not loaded first, with no simple way in doing so. The search panel being complex enough as it is, we decided to disable all categories' counters in the presence of a filter having a "domain" attribute regardless of said domain. closes odoo/odoo#55734 X-original-commit: e78f777bd8ccb314b85451cbc8d1dd9109997d7a Related: odoo/enterprise#12341 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-11[IMP] web: add smart date input on date fieldMichael Mattiello (mcm)
This commit adds smart date inputs for date and datetime fields. The goal of smart date input is to provide the user some shortcuts when setting dates. The rule is [+-]\d+[dwmy]? So we can enter inputs like: +3 to have today + 3 days -2w to have today - 2 weeks +1y to have today + 1 year +5m to have today + 5 months -4d to have today - 4 days closes odoo/odoo#55602 Task: 2270347 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-11[FIX] web: make emoji dropdown appear on top of contentxO-Tx
Form sheet with hidden overflow (added to improve ribbon widget css) prevents emoji button from showing emoji list when clicked. This commit attempts to show the complete emoji dropdown by removing overflow from the sheet container. IMPORTANT : This override won't affect ribbon since the hidden overflow was added on the widget itself. Task ID-2224393 PR #49096
2020-08-11[IMP] web: remove popup on clickMichael Mattiello (mcm)
This commit adds a event listener on window to close calendar popup when click anywhere outside this popup. Task: 2193921
2020-08-11[IMP] base,web: add scales param to calendarMichael Mattiello (mcm)
This commit adds the parameter `scales` in the calendar view's template. This parameter can be used to choose which mode(s) is/are allowed. This commit also refactors the way we manage calendar scales. Before scales were defined in model and renderer, now it's defined in the view and given to model, controller and renderer by params. Task: 2193921
2020-08-11[REF] web: rework calendar's styleMichael Mattiello (mcm)
This commit reworks the mini calendar's style to make it look like the months in year mode. It also reworks the style of the calendar's popover in modes day, week and month to reduce the differences with the year popover. Task: 2193921
2020-08-11[IMP] base,web: add year scale to calendarMichael Mattiello (mcm)
This commit adds a new year scale to the calendar view. It comes with a new view in the calendar, this view displays a 4x3 grid which cells are month views. Task: 2193921
2020-08-11[REF] web: optimize a bit calendar viewMichael Mattiello (mcm)
This commit optimizes calendar view especially for year mode - remove/add events has replaced by an event source and refetch. - do not re-render events when navigating date Task: 2193921
2020-08-11[IMP] hr_holidays: Improve the general usability (back2basics)Yannick Tivisse
closes odoo/odoo#55568 Taskid: 2282495 Related: odoo/upgrade#1574 Related: odoo/enterprise#12272 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-10[FIX] web: MEASURES button disappearing when switching back to graphHarpritsinh Sisodiya
before this commit, when change view from graph view to pivot view or any other view and come back to graph view, Measures button disappear, it's only appearing if we refresh the page. after this commit, restore previous view state when switching back to graph view, this was because measures button is rendered in fragment and when switching between views, as graph view element was destroyed and re-rendered so measures button will be mounted in fragment as update method of ComponentWrapper will render it from previous mountArgs, so to avoid this issue push measures element in DOM. task-2250051 closes odoo/odoo#55666 X-original-commit: 40c709fb0abe7721d1650af9bd1d17dc8453895a Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
2020-08-10[FIX] web: Correctly transmit fields to the control panelJulien Mougenot
Before this commit, the "fields" object given to the control panel was altered by the view (e.g. dashboard populates it with its aggregates). As a result the control panel and its subcomponents had an altered object with more or less fields than expected. Now, the initial "fields" object is given to avoid such problems. Task 2312074 closes odoo/odoo#55640 X-original-commit: 472b314614dc3dd9db880f4cb60c2eda89cce6b4 Related: odoo/enterprise#12310 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-04[FIX] web: Deep copy state exported by search panelJulien Mougenot
Having maps in its state, the search panel has to serialise its state before sending it via exportState. Before this commit, this was done on the state object in place, causing issues if the model was restored without an imported state (no re-serialisation hence having a wrong state). Now, the exported object is deep-copied from the original state. Task 2312131 closes odoo/odoo#55393 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-06[FIX] report: Font size decrease when adding too much contentAndrea Grazioso (agr-odoo)
From the Sale app create a new Quotation with a long customer reference. Click on "Save" and then Print. In the generated report the fields relative to the order details are not correctly displayed: the general font size is scaled down to make the text fit the page which is not the correct behavior. The font size should remain fixed and all the element should be visible, eventually spanning over multiple lines. This is due to the broken bootstrap support of QtWebKit, used by wkhtmltopdf to generate pdf reports. In particular the new flexbox style introduced in the library is not supported and every element based on it will be ill-displayed. The solution is to fall back to the subset of supported features to implement a different solution, which keep everything on one line but avoid the font resizing and every possible overflow. opw-2261573 closes odoo/odoo#55555 X-original-commit: 2dd3ed327aad6fecdcfd4b53c4338bf47e44401b Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-05[FIX] web: fix autocomplete over datepickerjvm-odoo
Issue - Sales > Create a quotation - Click on quotation date or start writing in it On chrome, if addresses autocomplete is enable and have data to show, a dropdown will overflow on the datepicker Cause This is mainly a chrome issue and the only way to solve it without a fix is to disable the autocomplete totally which is not really a solution since we want the autocomplete on adresses Solution Add the autocomplete off on datepicker field OPW-2308278 closes odoo/odoo#55470 X-original-commit: b40fef968ab000870574ae45ba482288cdf94ad1 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-08-05[FIX] web: Fix the skiped focus on radioNidhi Patel
Currently, when form view is opened in edit mode and if you proceed through the tab(keyboard) then focus is skiped on radio field. For Ex: in project when you procceed through the tab it will skip the visibility field radio. The issue occurs because the radio is inherited from the selection field and in selection field the focus is set on 'select' while there is no method to set the focus in radio and radio does not have 'select' element it has 'input' So in this commit, override the method getFocusableElement in radio widget and set the focus on 'input' instead of 'select'. closes odoo/odoo#52073 Taskid: 2252798 Closes: #52073 Related: odoo/upgrade#1430 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-05[FIX] web: form: prevent from calling mounted twiceMichael Mattiello (mcm)
With this commit, the FormRenderer no longer directly extends the WidgetAdapterMixin. It doesn't need to as its parent class (the BasicRenderer) already uses it. Worse, they both called WidgetAdapterMixin.on_attach_callback, and thus mounted was called twice on Components in form views. closes odoo/odoo#55401 X-original-commit: 4c627abd310a131a4828e9ee6be451aeee4708db Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-04[IMP] web: Do not store search panel categoriesJulien Mougenot
This commit handles two things: 1) Move the local storage logic of the search panel into the documents module. 2) This allows for a variety of optimisations now that we do not have to constantly wait for a potential default value hidden in the storage. This is why this commit also introduces a way for the search panel model extension to sometimes return its query informations sooner than after being completely loaded. Task 2284207
2020-08-04[IMP] web: Optimize action model loadingJulien Mougenot
The loading of the action model extensions have been split in this commit: - when calling load, a first promise is returned. It is meant to be resolved as soon as all the query informations are available. - a second promise returned by a new method "isReady" is resolved when all of the extension data have been fetched. This difference allow to not wait for server calls irrelevant for the query. By default "isReady" will always wait for a full load call, but this is meant to be overridden in case optimisations can be made.
2020-08-04[IMP] web: Model: small simplificationsJulien Mougenot
Small refactor of some aspects of the main model.js class to make it more consistent and extensible.
2020-08-04[FIX] web: avoid double switching in RTLYousef Al-Hadhrami
The direction arrows in the datepicker were switched a first time in fontawesome_overridden.scss .o_rtl ..fa-chevron-left,.fa-chevron-right transform: rotate(-180deg); and a second time in datepicker.scss .o_rtl .bootstrap-datetimepicker-widget .prev,.next transform: rotate(180deg); The buttons were flipped twice Signed the Odoo CLA Fixes odoo/odoo#50090 Closes odoo/odoo#53369 closes odoo/odoo#54880 X-original-commit: 8629fa3fdfddbf24f48a58d5add0fcadca60fba4 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-03[MERGE] hr_timesheet: clean durations expressed in hours if encoding unit is ↵Odoo's Mergebot
in days Purpose ======= There are several places where the duration is expressed in hours even though the encoding unit is in Days. Specifications =========== The duration should be expressed in days instead of hours in the following places: [x] Timesheet Entries [x] Portal > Tickets [x] Portal > Timesheets [x] Portal > Tasks [x] Portal > Sales Orders [x] Project Overview [x] Project task form view (in this case, the label of the field should be 'Planned Days') [x] Timesheets > HR Timesheet/Attendence Report [x] Project > All Tasks Hide the following elements if the encoding unit is in days: [x] 'Timesheet Timer' feature on the project form view [x] 'Timesheet Timer' feature on the Helpdesk team form view [x] the 'Round timesheets' feature in the settings of Timesheets (except if the 'Awesome Timesheet' feature is enabled) Bonus point: [x] Timesheet form view: 0.00 Days should be displayed in read-only if the duration = 0 Some labels need to be adapted to explicit the unit of measure (is it carrots? potatoes?): e.g. Duration (Days) or Time Spent (Hours) : [x] Timesheet entries report [x] on the portal [x] Project overview: add 'recorded' next to Hours/Days [x] Project overview: add 'Days/hours Spent' above the total by employee [x] task form view: make sure the 'sub-tasks days spent' button/label stays on one line [x] hide the 'start' button on project tasks and helpdesk tickets if the encoding unit is in days Task ID : 2152322 closes odoo/odoo#46184 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-07-23[FIX] web: display 0 for FieldFloatToggleAnh Thao Pham (pta)
The field was hidden in UI when its value was not set or equal to 0. Display the field if its value is set to 0. [IMP] web: clean code
2020-07-22[IMP] web: allow to override statusbar's buttons rendererRomeo Fragomeli
Related PR odoo/enterprise#10602 Task ID: 2225270
2020-07-22[IMP] web: improve explanatory comment in owl_compatibilityMohammed Shekha
after this commit, to update legacy widget from owl component, one need to override renderWidget and updateWidget instead of render and update method, this has been changed from commit https://github.com/odoo/odoo/commit/f2de55322e4d417815e6757517163dd0cff544cc but comment were still has render and update method to override, so with this commit update comments as well. task-2238551 closes odoo/odoo#54763 X-original-commit: 16713aaacbd4f4a25bed435bfa9045fab29a8c53 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-07-30[FIX] web: Close dialog when clicking button with close attributeLucas Lefèvre
In a dialog, a button with `close="1"` should close the dialog when clicked. It currently only works if the dialog is a subview. closes odoo/odoo#55200 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: fleodoo <fle@odoo.com> Co-authored-by: aab-odoo <aab@odoo.com>
2020-07-17[FIX] web: list: do not crush text fieldsAaron Bohy
Before this commit, it might happen that text field columns in list views were completely crushed, to let space to the other columns. This commit fixes the issue by preventing text fields from being wrapped during the ideal column widths computation. Doing so, text fields will take space they deserve according to their content. They will then be wrapped if necessary, so that they aren't trimmed, unlike e.g. char fields. Task 2275747 closes odoo/odoo#54664 X-original-commit: 5c54111127bd99eedb4e0331aba5a0200feb461c Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-07-17[IMP] web: improve tooltip style/designMohammed Shekha
Improve tooltip style/design to get rid of black background and purple title, instead design tooltip like popover design, to have tooltip with white background and light grey title task-2266829 closes odoo/odoo#53723 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Ipsita Borisagar <ibo@odoo.com>
2020-07-30[FIX] web: line break into tooltipsvs-odoo
The commit e69c72f93b0279402c1bfc581f69ad62c6aad0ca removed the line breaks into tooltip help text. This commit re-add them for the sake of readability. closes odoo/odoo#55233 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-07-31[FIX] web: default operators for search fieldsMathieu Duckerts-Antoine
During the refactoring of the control panel (https://github.com/odoo/odoo/pull/41268) a regression concerning the operator used for the fields set as search_default was introduced: the default operator was fixed to '=' while it would have been necessary to take into consideration the optional 'operator' attribute or the field types. Moreover, the default operator associated to many2one fields when using autocompletion was also mistakenly set to 'ilike' instead of '='. The present commit restores the previous behavior. closes odoo/odoo#55099 X-original-commit: 1f8e93fc590a6c7ef6b93953058f2dcd643ac620 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-07-14[IMP] web_editor, *: review the editor design CSSqsm-odoo
*: web, mass_mailing, website, website_form, website_sale New CSS design of the editor (step 1/x). This work is unfortunately far from perfect but is a first step towards what we want. In particular, much CSS linked to elements that are meant to be removed/moved in the upcoming weeks was done in a huge rush but will thus hopefully be removed/reviewed before the 14.0 release. As the design is now far more complex including gradients and other "complex" elements, it was also very difficult to keep a design based on css-variable so this system was removed, which means that the editor now appears the same everywhere (backend, frontend, ...). The original goal of this system was to have an adapted style for backend, frontend and website visitors. Unfortunately, the current result was a very good frontend editor design, a not-so-good backend editor design (for mass mailing at least) and a totally unadapted design for the website visitors. Making this perfect will be achievable by loading different assets for those 3 areas and hopefully those assets will only differ by the values of editor scss variables. Part of https://github.com/odoo/odoo/pull/53930 task-2157252
2020-07-14[FIX] web: Properly handle default favorite filtersJulien Mougenot
Before this commit, the default active favorite filter was determined by its ID given by the control panel. These IDs start at index 0, meaning that if a condition checks for the value of such an ID, it could be false even though the ID and its filter exists. Now the indexation starts at 1 to avoid such problems. closes odoo/odoo#54435 X-original-commit: cfb7bbea1b428a062ee08ca045509d189b1fd1d4 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-07-14[IMP] web: improve eval context datesJulien Mougenot
This commit handles 2 things: 1) the merging of the `py_utils.context()` into the evaluation context returned by `BasicModel._getEvalContext` to access the same time-related keys, 2) the addition of 2 new keys into the `py_utils.context` (thus transmitted to the basic model): `today` (an alias for the already present `current_date`) and `now` which represents the current date and time value. Task 2269697
2020-07-13[FIX] web_editor, web: fix traceback with drag & drop when no headerqsm-odoo
Commit [1] introduced the bug by relying on the fact an element with id=top is in the edited DOM. As the website header can be disabled, this induced a crash as soon as the header was indeed disabled. Also, the editor is not meant to edit the website only so we cannot rely at all on the presence of a #top element. [1]: https://github.com/odoo/odoo/commit/6df67a28c2f113572acd4a3db19ab6b1bd37e7da closes odoo/odoo#54409 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-07-13[IMP] web,*: do not deploy services in testsAaron Bohy
*mail,point_of_sale,web_editor,website In the tests, required services are deployed for each test independently. There is no need to have, in additon, all services deployed globally. Worse, it could conflict and lead to unexpected results. This commit ensures services are no longer deployed globally in tests. It turns the module 'web.env' into a declarative module with no side-effect, by moving the service deployment to main.js, which isn't added to the tests page. Task 2287397 closes odoo/odoo#53817 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2020-07-09[FIX] web: async operations should not live in initXavier Morel
Support for the "allow exports" group was implemented by checking the group in init(), which is sync. Move that check over to willStart instead. Also add a default mock for user_has_group (makes it so it always replies that the user doesn't have the group), and override that specifically for the group we're interested in in the export tests, so those tests have access to the Export action / option. closes odoo/odoo#54254 X-original-commit: 30968ac93373990338c23f49e678d272b8e60c6b Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-07-10[FIX] web: fix zoomodoo attachToTarget/dashboard compatiblejvm-odoo
Issue - Install Employees & Dashboard - Add employees to kanban - Dashboard - Hover an employee picture There is only the picture visible on the page, the remaining space is white. Cause I found several issues. 1. The pictures are not shown on hover in employees But they are on dashboard. 2. $attach = all `.content` and on dashboard there is 2 `.content` so the flyout is append 2 times 3. The move method is trigerred on hover too, it hides the flyout if we are not in it. But with attachToTarget we are not in it so it's hidden all time. 4. If everything above is solved, the image is shown but not at the correct position because the flyout base position is not top 0, left 0 Solution 1. Reduce the minimum required size to 128px 2. use closest instead of parents 3. Don't hide if we have the option attachToTarget 4. Calculate the flyout offset and replace it correctly and set it to position fixed to handle scrolling OPW-2291493 closes odoo/odoo#54333 X-original-commit: 2c6d692ee40c97d2ae63da64db7623702948407e Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-07-10[FIX] web: fix optional columns list dropdownjvm-odoo
Issue - Accounting > General ledger - Have 2-3 lines in the table I added filters to have them - Toggle optional columns: (...) on the right There is an y scroll but you can't scroll more than half of the scrollbar. Cause The cause is that the dropdown height is greater than the table height. Solution Use data-display: static this way the element doesn't scroll with parent scroll and scrolling is working as expected on the dropdown OPW-2291531 closes odoo/odoo#54320 X-original-commit: 9afd7b7ec7461a47ea8d7fbbd4884c24e1af9865 Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-07-10[FIX] web: remove forgotten console.logqsm-odoo
Commit [1] merged a debug console.log. This commit removes it. [1]: https://github.com/odoo/odoo/commit/6df67a28c2f113572acd4a3db19ab6b1bd37e7da Part of https://github.com/odoo/odoo/pull/54311 closes odoo/odoo#54311 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>