| Age | Commit message (Collapse) | Author |
|
* The compiled templates are cached per user, lang, inherit context values
* ir.ui.fields: attributes method return an dict, and record_to_html return only the content value of the field
* all rendered text use build_text and all attributes use build_attribute
* t-esc-options is removed and replace by format_value method
* AssetsBundle receive the list files and remains
|
|
When going over the colorpicker when no bg-* class was selected yet,
the bg-undefined class was added on the snippet.
Also, when clicking on the reset button, the bg-* class was removed
but the selected button in the colorpicker was not unselected.
|
|
|
|
|
|
There are not cat... but you cannot know all the existing website in the world...
So, have faith in the user !
To do: allow to customize size or get it from iframe provided
|
|
The class modal-open on body tag allow to scroll on the modal content
which is useful if the content is taller than the window viewport.
When closing the modal, this class is removed but there may be another
modal open on which we will not be able to scroll to view
buttons/content if too big.
This commit check if a modal is still opened after closing an editor
modal and in the affirmative add back the modal-open class.
opw-674475
note : was already present in 8.0 with ec47493, it is also present for
web.Dialog (but the modal of the editor do not inherit from web.Dialog)
|
|
|
|
|
|
className should return a string but svg node returns an object
|
|
|
|
The translation value is given as an HTML fragment. It is converted to a valid
XML fragment if the translation's field requires it.
|
|
|
|
|
|
This issue happen for example on a full runbot when clicking with
shift + key pressed on a sale order not in an editable.
We can see that initial_data.rect is only defined in mousedown when the
click target is inside an editable block, hence it could lead to an
issue otherwise.
closes #11527
|
|
Some image functionalities of the inline summernote would only take the
first of multiple editor into account when selecting the targeted image
of an image button action (image size, image padding, ...).
This commit select the appropriate editor given the current editable.
closes #11474
opw-668861
|
|
|
|
71d16a369e01515aac988c62371d70549d3b5294
|
|
- Issue: Edit sale.order form view, add new line, change product who have
taxes and click quickly on save (with slow network) => error message.
Because some deferreds are lost.
- reduce number of reads and onchange for x2m widgets
- remove before_save method and use commit_value (the issue was that if the
before_save and the change trigger an onchange, the onchange deferred is not
checked before saving the content.
|
|
issue: message, click on a record, return to the list view, click on an other record => nothing desplayed.
opw-671047
|
|
Before 3959afc the `node` tested would be the selection containing node,
but since then it may have been a `<br/>` which has some damaging
effects: now entering double enter at the end of a list, quote or code
block doesn't end this block.
Testing the use case corrected by 3959afc, the said change seems to have
no effect so this commit reverts it.
opw-667618
|
|
Addapt html method to prettify the html code and keep mako structures.
opw-668409
|
|
Make sure to create an image of a size larger than zero. A size of zero
will generate a traceback.
|
|
* Correct qunit template assets
* Delete useless template which broke qunit qweb inheritance
|
|
Selector changes + No need to open the snippet panel anymore.
|
|
* Adapt DOM selectors
* Refactore dialog XMLs to have odoo styling
* New editor options (background-position, ...)
* Various improvements
|
|
|
|
|
|
style-inline (because very poor performance for sale.order form view because contains very crappy dom in website_description field)
|
|
In IE11 the values can be not string (for example a number and so not
have .indexOf method), but then there will no be !important bits and we
can just ignore this feature (which check if an overriding rule has an
!important flag).
There was another edge case when getting a "" set style, we get undefined.
opw-667917
|
|
|
|
last char of the last line of the td
|
|
|
|
opw-660810
|
|
|
|
opw-660810
|
|
issue: the user select some line and keypress tab without indent, and the button indent doesn't work in table cell
|
|
inliner feature
|
|
|
|
|
|
|
|
|
|
(can reduce the performances)
|
|
The preview is not equal to the real email rendering because the backend css is present.
|
|
issue: breaks the preview form views
opw-660810
|
|
b24d759 changed the wrapping translation span tags, this commit take it
into account for the "translation" title tag.
|
|
f3f7bd9 improved some link editing behaviour by adding contenteditable
attribute on it.
But if contenteditable is set on a link, using command "unlink" on the
element for `document.execCommand` does not work.
Hence this commit adds a code so the first click outside the link remove
contenteditable.
closes #10436
second-part-of: opw-659772
|
|
|
|
|
|
Commit f3f7bd9f240bc21dffadd784cdf77203b1a5148c adds an improvement which allows the user to edit links in
an easier way. The problem is that it also allowed to edit... the edit
buttons (example: the discard button).
This commit moves the mentionned commit code below the code that checks
if the target can be edited or not.
|
|
issue: event does not a global var in firefox, and event is already prevented
|