Commit Graph
153 Commits
Author SHA1 Message Date
Cédric Krier 57c4962bd7 Support empty value for timedelta converter
issue5092
review316481002
2020-12-18 00:21:38 +01:00
Cédric Krier 74d895533d Unify PYSON string format between all clients
issue9723
review328481002
2020-11-15 18:50:47 +01:00
Cédric Krier e76b010277 Prepare release 5.8.0 [skip ci] 2020-11-02 15:39:45 +01:00
Cédric Krier 0f1cce5893 Support timedelta in CSV import/export
issue9220
review297531002
2020-10-11 19:04:16 +02:00
Cédric Krier ac722091f5 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Cédric Krier 137852452e Fallback to model name as title
issue9596
review300381002
2020-10-04 00:35:23 +02:00
Cédric Krier 1b324d7753 Stick the footer of tree view to the bottom
We do not need any more to display the label of the footer as the header is
always visible.
On small screen, the footer is stick on top and the label is displayed again.
The data-title is removed because it is not used.

issue9593
review296221003
2020-09-27 18:15:57 +02:00
Cédric Krier 4eacdc96e2 Add get, in_ and contains method to PYSON
issue9576
review319911002
2020-09-24 22:56:58 +02:00
Nicolas Évrard 6fcfb943a5 Manage deletable and writable state from ir.rule
issue9357
review290101002
2020-09-23 10:04:19 +02:00
Cédric Krier d9242e3a6b Send client email via server
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier 5b674ad987 Always encode CSV export in UTF-8
Browsers do not support the charset in Blob, so it is already always encoded in
UTF-8. But to help users on Windows, we add the UTF-8 BOM because Windows
programs use it as magic number to detect encoding.

issue9527
review290761002
2020-09-12 18:30:11 +02:00
Cédric Krier 8b111b8fbd Use tempusdominus and Popper for date time picker
issue9455
review327751002
2020-09-12 09:58:20 +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 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 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 86fc6a581a Position copied records based on order
issue9474
review311851002
2020-07-25 00:49:32 +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
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 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
Cédric Krier 541c018e90 Escape external strings
issue9351
review301651002
2020-05-26 09:57:34 +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
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 3d3c536cc9 Prepare release 5.6.0 [skip ci] 2020-05-04 12:03:17 +02:00
Cédric Krier 6239ce291a Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier 37d86382a6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier fa10dda249 Set treeview header sticky on top
We set a default height to treeview which is 100% of the viewport height minus
a default of the height of the toolbars.
The height is reset to treeview inside form and for the menu.

issue9163
review256781002
2020-04-02 00:09:47 +02:00
Cédric Krier bdad20516f Add noreferrer noopener to external URL
issue9089
review289401002
2020-03-09 18:08:24 +01:00
Cédric Krier d4fcfa1743 Manage readonly dates and editable calendar view
If any of the dates is readonly, the event can not be modified by drag and
drop.
If the calendar is not editable no events can be modified.

issue9012
review256451002
2020-02-29 23:43:50 +01:00
Cédric Krier 078eead028 Manage named separator as label
issue8961
review262741032
2020-01-24 00:25:30 +01:00
Nicolas Évrard 3268b3039d Add MultiSelection entry to Dict field
issue8903
review284571003
2019-12-30 14:26:14 +01:00
Cédric Krier 15f0d69c86 Position new record based on order
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.

issue8880
review276501003
2019-12-28 18:16:28 +01:00
Cédric Krier 55ef710cd5 Reset display_size of TreeView when group is cleared or changed
This avoids to render unnecessary rows.

issue8918
review274591002
2019-12-28 18:07:13 +01:00
Cédric Krier 66ac3af264 Allow relation field to be selected in CSV export
issue6962
review284571002
2019-12-18 21:43:09 +01:00
Cédric Krier 070951311f Do not display empty cell nor button label in responsive tree
This takes spaces but it does not give any information to the user.
It is better to use this space to show more records.

issue8765
review278041002
2019-12-07 15:42:25 +01:00
Nicolas Évrard ebe6b9fc9b Add validate information on wizard Button
issue8571
review260041002
2019-11-21 15:39:56 +01:00
Cédric Krier eff2fc27ca Add infinite scroll on list/tree
issue8729
review282261002
2019-11-16 14:57:08 +01:00
Cédric Krier 8370de75ee Prepare release 5.4.0 2019-11-04 12:47:08 +01:00
Cédric Krier 1f1ffb3c5a Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier 1de6685654 Add MultiSelection field
issue7851
review249911002
2019-09-20 11:32:55 +02:00
Sergi Almacellas Abellana e0d7f0e933 Support dot notation on PYSON Eval
issue8528
review287841003
2019-09-19 14:11:30 +02:00
Cédric Krier 95a150b965 Add drag and drop and manage sequence
issue8240
review265181002
2019-09-07 23:56:25 +02:00
Cédric Krier 65b553c660 Improve column sizing
We set a minimal width on the treeview table (min-width on td has an undefined
behavior) by summing the default width of each column.
We add a fake scrollbar on top of the treeview to ensure the user will see that
there are more column to see. The fake scrollbar is a div with the same minimal
width and its parent as the scroll value synchronized with the scroll of the
treeview div.
The minimal widths are removed on extra small screen if the treeview is
responsive because the table has 100% of the width.
To have the minimal width working also on the xxx2Many view inside a form, we
must set a maximum width to the cell. As this width must be expressed in
relative size (not in pixel to support resizing), we express them as
percentage of the width of the viewport. The percentage is computed from the
percentage width already computed but also rated with all the percentage width
of the parent cell. We also remove the maximum percentage of the offcanvas
size. This does not give the exact maximal width but it is close enough to have
a correct behavior no matter the size of the screen.

issue8308
review259411002
2019-07-13 00:20:31 +02:00
Cédric Krier b2739258e9 Allow customizing Dict keys order
We add a sequence attribute to the key definition and use it for sorting.
This attribute is filled by the field sequence if it exists (using
sequence_ordered) or by the key name.

issue8373
review275431002
2019-06-16 19:24:15 +02:00
Cédric Krier f841fd1bc7 Allow to search on related field in search box
The server adds to the definition of the fields, the definition of relation
fields up to specific deep level.
The clients use this relation fields definition to extend the domain parser
with those fields using a dot notation. But those "dotted fields" are not
shown in the search filter to not bloat the popup as it is dedicated to
learning.
In addition, Dict fields are also filled with relation fields coming from the
keys defined in the schema model. As the size can very large, it is possible
to deactivate this feature from the configuration.

issue8293
review259391005
2019-06-16 15:44:14 +02:00
Cédric Krier 785f554cd5 Add view modified
It is needed to detect all cases of modified record.

issue8377
review259511002
2019-06-12 18:59:39 +02:00
Cédric Krier 9814f598d4 Add Dict widget to tree view
It is needed to be able to search on dict.

issue8296
review271331012
2019-06-04 18:20:23 +02:00