A related field used in a group by (filter with group_by in context)
which isn't stored on the model, but stored in the related model should
be allowed to be grouped by uppon on a pivot view.
In 8.0 it wasn't the case, but when adding it as a
<filter context="{'group_by':'field_name'}" />
it was added in the list of fields.
In saas-6 these group by are only available in the search view, but in
some instance (the field is not stored directly on the model) this could
lead to an error which is fixed by this commit.
closes#8349
opw-647401
How great is it to get Odoo (almost) 9.0 (almost) translated?
Clean .tx/config file
Regenerate .pot files
Fetch current translations from Transifex (10% completion)
The consolidated child of an account cannot be a parent of this account and
the consolidated child of an account cannot be this account itself.
To avoid an infinite recursion in the function _get_children_and_consol.
opw:649198
Each theme was duplicating this file.
Now we need to improve this file to be re-usable by others themes.
This fix is only to catch input, in case of the selector is an image.
The function interval_get_multi must take into account the minutes in
hour_from and hour_to. hour_to and hour_from are float fields in the model
"resource.calendar.attendance" and the decimal part of these two fields is
for the minutes.
opw:648349
In 36146b3f setting the date of the datetimepicker was done when it was
opened, but only for widget datetime. Thus we could get an issue for a
widget date when we wanted to use it to select two same date.
e.g if we select 23 september for a date, it works. if we then use the
widget on another date, 23 september is selected and it will not trigger
a value change if we leave this value.
This fix adds the date setting when opening the date widget, and also
prevents the bootstrap datetimepicker feature* of closing the widget
when setting the value of the date-only picker.
closes#8506
opw-648619
* this feature is explained in the following issue:
https://github.com/Eonasdan/bootstrap-datetimepicker/issues/603
The widget SelectCreatePopup display the search view drawer directly
after the search view input field. But in current firefox version this
could lead to an issue with float positionning.
fixes#8462
opw-648999
1° add a second level of titles because they were too long and
overrided the second column (the 'code column)
2° Add 'double backticks' around some keys
1° add a second level of titles because they were too long and
overrided the second column (the 'code column)
2° Add 'double backticks' around some keys
In all browsers the ``focus/blur`` event is triggered before a button's
``click`` (it's actually triggered by mousedown).
Column and record quick-creates discard the form on blur but still want
to create the column/record when the "Add" button is clicked. This was
implementing with a fixed debounce/time-delay on the blur handler,
however the exact delay between blur and click dispatch are browser,
environment and possibly load-dependent (on my system unloaded, 10ms is
sufficient in webkit but firefox requires at least 50, a user keeping
the mouse button pressed for some time would increase that delay).
The proper way to handle this is to suppress the ``focus/blur`` event
from the relevant button entirely by preventing the browser's default
mousedown handler.
Do that for both column and record quick-creates, and remove
time-delay/debounces.
Also remove manual proxying of ``click`` in kanban column (move to
``events`` object)
Provide a more informative error message than "undefined is not a
function" when a method passed by name to the events object is missing
on the widget.
Salepocalypse change onchange, and they are not compatible anymore. New onchange return nothing. Here we do a write to update the partner then trigger manually the onchange to update SO fields depending on partner_id.
Once the onchange is trigger, some fields require a check (force pricelist, recompute taxes, ...)
On follower list of a document, the user can (if access rights granted) edit the subtype subscription of other follower. This open a modal with checkboxes. This is commit make this feature works and adapt it to channel follower.
In 7d40a7d, f820c07, 3ed0628 the way the mobile preview iframe is set
was altered several times. This left an inconsistent needless page load.
This page load was cancelled, but as a side effect in a given set of
conditions:
- an ajax request is done early in current (and so iframe) page,
- phantomjs is used for the test,
- server response time
this could lead to a false positive caused by a cancelled xhr request
throwing the error: "Can't load template, http status 0".
[IMP] procurement_jit: check availability of products directly
[IMP] assign moves to existing picking, even if reserved, but not if printed
[FIX] increase SO quantities: new procurements created
[FIX] typo in res.config.py