Commit Graph
1355 Commits
Author SHA1 Message Date
Cédric Krier 397cd88db9 Add start value to PYSON Date and DateTime
This enable the customization of the starting point for delta operations.

issue8561
review264041002
2019-09-20 11:36:05 +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 3b2e1165e3 Use same style for menu than tab content
issue8639
review277821002
2019-09-17 00:12:21 +02:00
Cédric Krier e6e307f575 Use locale format to export CSV from print button
issue8635
review252101002
2019-09-17 00:09:44 +02:00
Cédric Krier e9f6976eae Improve completion on boolean
- Do not convert None to False
- Complete with the opposite or both values

issue8620
review254181002
2019-09-16 23:59:43 +02:00
Cédric Krier 5cef8269df Use synchronous call in CSV windows
This simplify the code and avoid race condition when selecting deferred fields.

issue8633
review267911002
2019-09-12 22:45:20 +02:00
Cédric Krier 13f5a6d0ba Add data when exporting from print button
issue8622
review252081003
2019-09-11 23:43: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 d2a11fcba1 Allow unselecting a predefined export
We just toggle the class instead of always add it on click and set the export
only if the resulted element has the class.

issue8628
review280031005
2019-09-07 23:32:47 +02:00
Cédric Krier 3b03a6e621 Record.reset does not return a promise anymore
Since 8345380bb435, we should Call display just after the call to reset.

issue8627
review270191002
2019-09-07 23:30:28 +02:00
Cédric Krier 43b8eca5b4 Show dynamic readonly widget in editable tree
We must render such widget to be able to display them when they are no more
readonly. And we must ensure they are loaded and the states is computed when
displayed.

issue8626
review280041002
2019-09-07 23:26:10 +02:00
Cédric Krier ad7e4b9592 Prevent event when leaving invalid cell
issue8625
review273931002
2019-09-07 23:24:07 +02:00
Cédric Krier 02f0f3c972 Wait written and parent reload promises before calling display
issue8623
review265921016
2019-09-07 23:22:12 +02:00
Cédric Krier 4b6176de26 Declare fields from fields_get RPC
issue8621
review272131002
2019-09-07 23:20:50 +02:00
Cédric Krier 0e4419917c Implement and use scrollIntoViewIfNeeded instead of scrollIntoView
It is a better user experience to not scroll if the element is already visible.

issue8619
review258021002
2019-09-07 23:19:17 +02:00
Cédric Krier fb22f4a232 Add one day to minimal date to allow reset time
Setting time to zero make the date goes backward and outside the supported
range by JavaScript.

issue8614
review277781002
2019-09-07 23:17:44 +02:00
Sergi Almacellas Abellana 3d6427ed73 Update to PapaParse 5
issue8581
review277711002
2019-09-03 13:16:22 +02:00
Cédric Krier eeaa615f7e Remove horizontal margin on filter box
issue8600
review285861003
2019-09-02 18:38:10 +02:00
Cédric Krier 3a48911870 Use panel for tab content
issue8599
review262031002
2019-09-02 18:36:52 +02:00
Cédric Krier b513ae9994 Replace child_of target only if it is not a related field
issue8609
review285911002
2019-09-02 18:34:55 +02:00
Cédric Krier 5ea10804aa Set focus on the form if it does not have it
When set_cursor is called, it should force to set the focus on the first
focusable widget of the form.

issue8604
review258011002
2019-09-02 18:33:18 +02:00
Cédric Krier 24a88b7999 Add input-icon classes on date widget of Dict
issue8608
review277761002
2019-09-02 18:31:43 +02:00
Cédric Krier 58ea79382a Do not consider readonly/non editable widget as focusable
issue8475
review277751002
2019-09-02 18:28:23 +02:00
Cédric Krier c0f922a557 Do not set tab_domain in URL if empty
issue8602
review260081002
2019-08-30 09:02:49 +02:00
Cédric Krier 9b68aaa3e3 Test the right parameter in Tab.Board.compare
issue8601
review285891002
2019-08-25 13:01:53 +02:00
Cédric Krier 8210effa65 Always normalize RichText values when comparing
issue8582
review262011002
2019-08-25 12:46:56 +02:00
Cédric Krier 68462c0576 Do not expect promise from Record.set
Since issue8482, Record.set does not return a promise anymore.

issue8585
review264081002
2019-08-22 22:44:38 +02:00
Cédric Krier 79f1ce16fc Avoid display in switch_view when creating new record
The display in switch_view is useless as a second call is made after setting
the new record.

issue8539
review267711002
2019-08-18 18:57:29 +02:00
Cédric Krier 67285ecbc3 Correctly test empty fieldnames in on_change_with
issue8537
review273661002
2019-08-18 18:55:19 +02:00
Cédric Krier 6b9d63ca46 Add local context to get context without session context
The issue8312 was to strict by its usage of Group._context as it misses the
context_model, the parent context or the _datetime keys.
Instead we introduce a second type of context which provides the same context
but without the session part.

issue8463
review255831002
2019-08-18 18:51:54 +02:00
Cédric Krier 729412b116 Use grunt dev for development
issue8564
review254071003
2019-08-12 12:55:48 +02:00
Cédric Krier db1ff7f5ae Avoid create a promise for each row of a tree
issue8536
review283821003
2019-08-12 12:54:18 +02:00
Cédric Krier 5234481cdc Do not render cell if the record has not changed since last time
Avoiding DOM manipulation speed up the display of the tree.

issue8534
review275781002
2019-08-12 12:48:37 +02:00
Cédric Krier 2dca2d14c0 Use empty list with invalid field has not widget
When setting the cursor, the invalid field may not have any widget on the
current form.

issue8559
review265761002
2019-08-12 12:20:52 +02:00
Cédric Krier f4410f15e2 Do not push paned in containers list
issue8558
review265751002
2019-08-12 12:18:35 +02:00
Cédric Krier 5f91e10c06 Ensure DomainParse.group returns a list of clause
issue8520
review255681002
2019-08-07 19:22:59 +02:00
Cédric Krier f6684bb08b Set wizard name for dialog and unify wizard name management
issue8535
review287841002
2019-08-07 19:21:30 +02:00
Cédric Krier 7c0a248ec3 Prevent navigation key on completion input to leave the row
We do not propagate down key event on input completion and skip keydown event
from dropdown menu inside editable tree.

issue8507
review263901002
2019-08-07 19:17:15 +02:00
Cédric Krier ac73f7932c Do not display expander on record without children
issue8518
review287811003
2019-08-07 19:14:55 +02:00
Cédric Krier 4aecad26e7 Use right values for expanded and selected nodes
Since changeset 0439bf6f0633, there is no timestamp in tree_states.

issue8517
review259911002
2019-08-07 19:13:21 +02:00
Cédric Krier 1603da8d08 Remove input val when clearing Binary widget
On chromium the input does not trigger a change event if the value is the same
(the same file is selected twice).
So we force the null value when the widget is cleared.

issue8513
review265681003
2019-07-25 10:29:09 +02:00
Cédric Krier 8a0ab47a64 Save modified record even if value to write is empty
issue8511
review279761002
2019-07-25 10:25:34 +02:00
Cédric Krier e0af8fbfb3 Increase display size when path is also equals to it
Length and index are always shifted by 1.

issue8506
review273621002
2019-07-25 10:20:22 +02:00
Cédric Krier 9695e3d378 Remove max-height on treeview to display dropdown
As the optional scrollbar of the treeview will be removed, the dropdown input
may no more be visible. So we must scroll until it is visible.

issue8509
review285581002
2019-07-25 10:18:51 +02:00
Cédric Krier 19977d8dfa Let the focus set by Screen.new_
The Screen.new_ method set the cursor on the right cell so we should set the
focus only when no new record is created.

issue8508
review263911002
2019-07-25 10:16:31 +02:00
Cédric Krier 5890601e9d Remove custom keypress event on xxx2One editable columns
They are no more needed since changeset fbe26a6cce32

issue8481
review251741002
2019-07-23 00:05:09 +02:00
Cédric Krier 45632015a6 Update button state and title on Wizard
issue8498
review271841002
2019-07-22 23:48:17 +02:00
Cédric Krier a5ea26acb3 Set missing node attribute even when it is boolean
issue8439
review285561002
2019-07-20 21:56:22 +02:00
Cédric Krier dd20fb2490 Write edited values synchronously to avoid concurrency error
issue8501
review283741002
2019-07-20 21:53:38 +02:00