Commit Graph
212 Commits
Author SHA1 Message Date
Cédric Krier d83430262c Add monetary field
issue10598
review338511002
2021-08-21 09:09:56 +02:00
Cédric Krier ab05db3298 Use order definition of xxx2Many fields
When empty it must be the order of the target and it must not be encoded as it
can not be PYSON.

issue10297
review349721004
2021-04-21 23:47:30 +02:00
Cédric Krier 3535e2dce0 Add help for each value to selection and multiselection
issue9649
review320021002
2021-02-14 14:28:55 +01:00
Nicolas Évrard be73688330 Keep empty string attribute of label node when necessary
issue10022
review339691009
2021-01-25 15:32:57 +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 a6993d5db9 Set required from field to node attribute
issue8676
review284111003
2019-10-08 18:08:06 +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 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 e45f3409d4 Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131.

issue8325
2019-05-05 19:50:58 +02:00
Cédric Krier 3088e61855 Ensure to parse only node with tagName
For example, text node has no tagName nor attribute.
2019-05-03 18:17:04 +02:00
Nicolas Évrard c1dd32af8c Add list-form view
issue8185
review255091002
2019-04-08 15:06:36 +02:00
Cédric Krier c9d05b4b14 Add missing implementation of get_fields on views
issue8131
2019-03-13 19:30:13 +01:00
Cédric Krier 31f61c1a0c Use separate XML parser in Views
issue8131
review54561002
2019-03-11 12:02:58 +01:00
Nicolas Évrard 296a60613b Remove use of screen.current_record and screen.group from views
issue8067
review62411002
2019-03-01 15:05:50 +01:00
Nicolas Évrard 0bb7ce4af7 Use properties
issue8109
review47811003
2019-02-14 16:31:31 +01:00
Cédric Krier 9fffae3358 Ensure consistent treeview rendering by using fixed table-layout
- always use fixed table-layout
- define col for each column with a relative width
- add title to content and header of cells in case of overflow
- remove padding when editing cell
- remove padding and margin on button in treeview

issue7245
review37111002
2018-03-22 21:49:46 +01:00
Cédric Krier f82843272b Add missing default selected_records on View
issue5078
2015-10-30 12:50:10 +01:00
Cédric Krier 0c59e50052 Split view.js 2015-10-30 11:52:58 +01:00
Nicolas Évrard fe477e63f5 Add missing set_cursor
review20481002
2015-10-27 11:28:30 +01:00
Nicolas Évrard 93df2996ba Implement set_cursor
review22561002
2015-10-27 10:55:57 +01:00
Cédric Krier 461d795ee4 Manage size limit, add and pre_validate on One2Many
review17621002
2015-10-26 18:33:50 +01:00
Cédric Krier 9a278d6e73 Fix compute editable in key_press handler of Many2One 2015-10-25 15:55:49 +01:00
Cédric Krier 7d457d2dc1 Add check for exclude field and synchronize attributes of page 2015-10-25 15:47:12 +01:00
Cédric Krier faf724bb03 There is no more content support for label 2015-10-25 15:29:36 +01:00
Cédric Krier acd0bcab8f Manage image tag 2015-10-25 15:03:07 +01:00
Cédric Krier dc409b23e1 Don't activate Many2One on TAB key if completion is active
otherwise when selection the completion, a search pop-up is raised.
2015-10-25 02:37:01 +01:00
Cédric Krier f2351684da Ensure non xexpanded cell has not a width 2015-10-25 01:00:37 +02:00
Cédric Krier 7bee0ff4f2 Use visibility collapse/visible instead of hide/show
.hide() uses CSS display none which shift the position of the cell while
visibility collapse keeps the size of the cell.
2015-10-25 00:58:51 +02:00
Cédric Krier 21e85b170d Skip .tooltip as cell children when resizing container 2015-10-25 00:54:27 +02:00
Cédric Krier 6cb96a99a3 No need of container-fluid in Dict widget
as the class is already set on the #main
2015-10-25 00:52:40 +02:00
Cédric Krier 663c9e917c Form Notebook must be resized when shown
Since changeset 5ded750c543c, treeviews on hidden tab have the minimal width
set so their size must be recomputed when the tab is show.
2015-10-19 00:14:10 +02:00
Cédric Krier dcc746d716 Allow to customize parsing form node 2015-10-18 16:29:57 +02:00
Cédric Krier 4cbb664aee Support yfill in Form Container 2015-10-18 16:29:32 +02:00
Cédric Krier d5dbc81e9c Implement paned in form view 2015-10-16 19:31:15 +02:00
Cédric Krier 82dbba7488 readonly and required done in editable tree
As EditableRow uses the Form widget, those attributes are managed at this level.
2015-10-16 18:35:48 +02:00
Nicolas Évrard 0a7007d814 Add tooltips
review24501002
2015-10-16 11:10:46 +02:00
Cédric Krier 5facb253ce Allow horizontal scrolling large on treeview
review15731002
2015-10-16 01:43:50 +02:00
Cédric Krier 2f2bc1ae96 Manage path for setting current_record
review18681002
2015-10-16 01:43:02 +02:00
Cédric Krier d21c72ce9a Add table-striped to treeview 2015-10-13 14:35:55 +02:00
Cédric Krier 6721b743f5 Don't fail on missing calendar view 2015-10-11 13:56:11 +02:00
Cédric Krier 814ef84cf0 Allow edition on tree 2015-10-09 20:53:21 +02:00
Cédric Krier ae1bd6ef6c Disable switch_row on editable tree
The edition and the switch can be in conflict which result of switching the
view while a cell is edited.
2015-10-09 20:20:31 +02:00
Cédric Krier 4507aa5349 Manage overflow for all editable row 2015-10-09 20:16:47 +02:00
Cédric Krier f01b7f1b0b Ensure edited_column empty value is always null 2015-10-09 20:16:11 +02:00
Nicolas Évrard 53ee7e7718 Add support for return and M2O autocompletion in editable trees
review18471002
2015-10-09 14:23:57 +02:00
Cédric Krier 0124c313cd Append Many2One buttons after the completion to not break layout 2015-10-09 13:49:18 +02:00
Cédric Krier 2c0ab87b22 Implement check validity in switch_view
review21441002
2015-10-09 10:45:01 +02:00
Cédric Krier 252d66d7d8 Ensure Float.get_client returns a string
otherwise 0 could be evaluated as False.
2015-10-06 15:33:17 +02:00
Cédric Krier 370e525028 Remove trailing call to the removed typeahead 2015-10-06 12:16:31 +02:00
Cédric Krier c49119692e Use italic labels for editable fields
issue5008
review21411002
2015-10-05 11:15:29 +02:00