Commit Graph
1503 Commits
Author SHA1 Message Date
Cédric Krier f7d2c114dc Add support for UTC Date for testing purpose
The tests may depend on the timezone of the browser so we need a way to write
tests as UTC only.

issue9577
review298511002
2020-09-09 23:25:24 +02:00
Cédric Krier 523fdbca0d Support PYSON comparison of date and datetime
issue4879
review270061002
2020-09-05 22:59:38 +02:00
Cédric Krier 66235b257f Use unique ID for bookmark button
issue9552
review318091002
2020-08-29 18:29:15 +02:00
Cédric Krier cf0a25b6dd Ensure sticky header is displayed above the content
issue9550
review292161002
2020-08-29 18:28:12 +02:00
Cédric Krier b36da567df Customize default bootstrap theme
The bootstrap rules are imported from sao less file to override some variables.
We embed a stripped version of the bootswatch paper theme.
We also try to import an option custom.less file.

issue9427
review294011002
2020-08-16 17:43:21 +02:00
Cédric Krier 41232df6bc Disable menu button when user has no access right
Since rev c2b74d2ff7ed, the variable name does not contains the button name so
the test for menu_buttons always fails.

issue9528
review310221002
2020-08-16 16:32:59 +02:00
Cédric Krier 36ab2dd7a5 Set field's name as input's name attribute
This makes the browser autocomplete suggestion smarter.

issue9461
review325741002
2020-08-05 00:30:02 +02:00
Cédric Krier 0e8c6b4c78 Do not set 'undefined' as button class
The precedence between the + operator and the || makes that the undefined size
is appended to the class string instead of the empty string.

issue9499
review310111002
2020-08-03 00:03:15 +02:00
Cédric Krier 88403e54a1 Test length for menu parents
issue9454
2020-07-31 10:33:56 +02:00
Cédric Krier 86fc6a581a Position copied records based on order
issue9474
review311851002
2020-07-25 00:49:32 +02:00
Cédric Krier b12ac9648b Align tab content bottom border with menu border
We remove the margin bottom on panel to gain 20px on the treeview height
calculation.
We compute the height of the treeview taking into account the padding and
box-shadow of the parents.

issue9454
review300091002
2020-07-21 14:42:32 +02:00
Cédric Krier 5f66219c7a Bind make_product to this
issue9489
review292081002
2020-07-21 14:30:37 +02:00
Maxime Richez e7903f8c02 Use name instead of rec_name for button_link action
Since issue9445, action values are explicitly defined. Default values for
actions are now: id, name, type and icon.rec_name. That's why we should use
name instead of rec_name.

issue9481
review310061002
2020-07-15 17:32:39 +02:00
Cédric Krier 878a67a9ae Use proper alert context for concurrency and error
issue9430
review303811002
2020-07-13 21:14:27 +02:00
Cédric Krier e0a1381c3f Sanitize translated RichtText fields content
issue9453
review305991002
2020-07-10 09:00:01 +02:00
Cédric Krier 4539fccb2b Allow configuration of default colors for graph and calendar
issue9435
review300011002
2020-07-09 00:34:01 +02:00
Cédric Krier ccc86922f9 Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Sergi Almacellas Abellana 41efe00ace Do not read rec_name of unsaved records
issue9308
review327381002
2020-07-06 17:40:28 +02:00
Sergi Almacellas Abellana 19ca791323 Append event description using a span attribute
issue9419
review313811002
2020-07-04 19:56:25 +02:00
Sergi Almacellas Abellana c9b5bea7cb Use jQuery.isEmptyObject to test xxx2Many required
issue9416
review317651003
2020-07-04 19:53:31 +02:00
Nicolas Évrard 7cb4222199 Sanitize RichtText fields content
issue9405
review327451002
2020-06-29 17:33:06 +02:00
Cédric Krier 8d1fe05de0 Escape external strings
issue9394
review293931002
2020-06-29 17:29:45 +02:00
Cédric Krier 4f21458068 Decode board action the same way as window action
The evaluation code should be the same to ensure same behavior.

issue9275
review303761007
2020-06-19 00:20:27 +02:00
Cédric Krier eda93a21ed Returns None when evaluating domain with None
We implement the same behavior as SQL with NULL which always returns NULL
except for IS operator. So the evaluation has the same result as the search.

issue8615
review290281002
2020-06-19 00:18:04 +02:00
Sergi Almacellas Abellana 815cc31e66 Only toggle csv parameters when clicking on it's label
issue9372
review305731002
2020-06-17 13:51:41 +02:00
Cédric Krier e898419e8f Use existing context for get_preferences and keep it in sessionStorage
So we present to the user his current contextual values.
But we clear the context after modification.

issue9327
review299651002
2020-06-06 14:01:51 +02:00
Sergi Almacellas Abellana 9feccfba49 Do not override icons with text
issue9388
review325521002
2020-06-05 19:12:53 +02:00
Sergi Almacellas Abellana 668fc7599b Allow html objects in autocompletion entries
issue9385
review317551002
2020-06-03 21:02:49 +02:00
Cédric Krier 5915d3d01a Bump bower version of pre-stable release 2020-06-01 09:29:02 +02:00
Cédric Krier 0398c3d62c Remove unused mimetype guessing in BinaryMixin open
issue9356
review309641002
2020-05-28 18:24:15 +02:00
Cédric Krier 46f911be2a Compare numbers to detect modified
Depending on the language settings, the input number may remove the trailing 0
(ex: fr). So we must compare the Number instances by stringify them.

issue9340
review307611002
2020-05-28 18:16:23 +02:00
Cédric Krier 398423cde6 Use last fullcalendar version to support jQuery 3.5
With version 3.10.2, we can use the new htmlPrefilter of jQuery 3.5.

issue9293
review301661002
2020-05-28 18:14:50 +02:00
Cédric Krier 541c018e90 Escape external strings
issue9351
review301651002
2020-05-26 09:57:34 +02:00
Cédric Krier 3d7322fda2 Use only ascii as translation source
issue9358
review290111002
2020-05-21 09:10:46 +02:00
Cédric Krier d4778043af Add context to export URL
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier 56b4bcbdca Backed out changeset 3fdae12ed04b 2020-05-19 19:32:20 +02:00
Cédric Krier b1d00a5e8a Add context to export URL
issue9304
review317361002
2020-05-19 18:57:53 +02:00
Cédric Krier c20ef88a21 Prepare pyson result when encoding PYSON statement
The object returned by the pyson method must also be prepared before being
jsonified.

issue9234
review327191003
2020-05-19 18:47:53 +02:00
Nicolas Évrard 2e373b9d3e Click on boolean column of editable trees select the lines and toggle the state
issue9285
review303481002
2020-05-18 13:53:59 +02:00
Cédric Krier 5b1604a2c5 Always reload record even when exception is raised
As the record is saved without reload, we must ensure to always reload the
record even if the execution of the button fails.

issue9299
review309541002
2020-05-10 11:34:47 +02:00
Sergi Almacellas Abellana c98952c4ab Toggle parent group overflow when showing a datepicker
issue9316
review305521002
2020-05-09 09:31:59 +02:00
Cédric Krier d7d954f6ea Increase version number 2020-05-04 12:03:29 +02:00
Cédric Krier e0568ac821 Add tag 5.6.0 [skip ci] 2020-05-04 12:03:17 +02:00
Cédric Krier 3d3c536cc9 Prepare release 5.6.0 [skip ci] 2020-05-04 12:03:17 +02:00
Cédric Krier 2f1195205a Restore htmlPrefilter of jQuery < 3.5
fullcalendar does not support yet jQuery 3.5 because of the htmlPrefilter
security change. So we restore the previous behavior until
https://github.com/fullcalendar/fullcalendar/pull/5391 is merged and released.

issue9293
review303501002
2020-05-04 10:21:23 +02:00
Cédric Krier 53debf6b62 Update translations 2020-05-02 10:29:26 +02:00
Cédric Krier a814eeb439 Set auto scroll to form-group
When there is not enough available space for the content of the group, a scroll
bar should be used.

issue9283
review315381002
2020-05-01 00:25:59 +02:00
Cédric Krier 8fcae8ea84 Set width of numeric input according to digits
issue9282
review317311002
2020-05-01 00:24:46 +02:00
Cédric Krier 6d9d4f447f Make overflow-y visible to display completion
issue9231
review293611002
2020-04-28 00:31:05 +02:00
Cédric Krier be3253d2e6 Do not create new record if no editable is available
issue9249
review317281002
2020-04-28 00:29:38 +02:00