Commit Graph
126 Commits
Author SHA1 Message Date
Cédric Krier 5a8d38a905 Add autocompletion
review17261002
2015-05-07 11:21:29 +02:00
Cédric Krier 9f04a84515 Test if row exists before using it in get_expanded_paths 2015-04-30 17:43:50 +02:00
Nicolas Évrard 0f813b0cf7 Add Search / Create actions to many2one autocompletion popup
review15341002
2015-04-30 17:38:56 +02:00
Cédric Krier 283847e74d Unify glyphicon usage 2015-04-30 16:43:53 +02:00
Cédric Krier a3686bf915 Make display returning promise
When closing a modified tab without saving, the tab must be remove after the
reload and display. This prevents exception to be raised by calling display on
form widget that are removed.
2015-04-30 15:55:28 +02:00
Cédric Krier 813079fb5a Don't store editable tree widget
The model of the tree can change in case of reload inside another widget.
2015-04-03 20:30:30 +02:00
Cédric Krier 98988eef75 No need to call twice getAttribute 2015-04-03 20:28:59 +02:00
Cédric Krier 81adc7d0db Compare also the record rows to reconstruct tree view
As the row keeps a link to the record, the records of the group could have been
replaced by new records with exactly the same length.
2015-04-03 19:01:01 +02:00
Cédric Krier 61a891d103 Keep displaying affix when editing tree
Instead of adding a new row inside the main cell, it adds it inside the affix
table.
2015-04-03 18:47:55 +02:00
Cédric Krier 34d7e5223f Add support for Affix widget and states 2015-04-03 14:41:39 +02:00
Cédric Krier 6f8ef31aa7 Don't skip exclude_field in create_columns
exclude_field is hidden by the display.
2015-04-03 13:29:24 +02:00
Cédric Krier a8c3da97da Use a common Dialog Object to build modal 2015-03-27 11:49:22 +01:00
Cédric Krier 03caf29438 Implement on_write
review14141002
2015-03-27 10:39:52 +01:00
Cédric Krier 4fb04e0e4c Add missing attributes to synchronise between model and views 2015-03-26 19:36:49 +01:00
Cédric Krier 1b4a8928f0 Fix remove after modal hide
modal hide is asynchronous and so removing the element before it has finished
to hide with fade, bootstrap will leave the backdrop.
2015-03-24 21:13:50 +01:00
Cédric Krier e5870d5b21 Ensure minimum height for table data when responsive
The table data doesn't always contain an empty visible div.
2015-03-21 02:21:55 +01:00
Cédric Krier 7603eaa7b9 Don't hard-code min-width on form input
The input is also used in editable tree which has the property overflow set to
hidden so if the cell is not large enough the widget is partialy hidden.
2015-03-20 19:14:04 +01:00
Cédric Krier ff2403623a Add missing editable tree widget for time and timedelta 2015-03-20 19:11:26 +01:00
Cédric Krier c313e53791 Inline Reference field inputs 2015-03-20 18:54:11 +01:00
Cédric Krier 7a2d0e8341 Make selection checkbox of treeview take the minimum width 2015-03-20 18:29:41 +01:00
Cédric Krier 0a2131ac92 Use keydown instead of keyup
When using keyup, the event is also triggered when focusing in the widget with
tab even if the key was not initially pressed on the input.
2015-03-20 17:47:25 +01:00
Cédric Krier 2a6f7bb501 Trigger activate only if Many2One is editable 2015-03-20 17:45:19 +01:00
Cédric Krier 2c4b4a3152 Hide columns containing always the same value
The domain inversion is used on the screen domain combined with the tab domain
to find columns that has always the same value.

issue4552
review9141003
2015-03-18 11:10:29 +01:00
Nicolas Évrard 52899110ee Add autocompletion on M2O form widgets
review15051002
2015-03-13 16:45:47 +01:00
Cédric Krier a02024909c Add Binary widget for editable tree 2015-03-13 14:50:56 +01:00
Cédric Krier d086df0d82 Fix Binary form widget
- Missing migration of file_open dialog to modal
- Fix buttons display
2015-03-13 14:50:30 +01:00
Cédric Krier 7205628fdf Add missing buttons declaration in Binary widget 2015-03-11 00:59:49 +01:00
Cédric Krier c3529b0c9d Fix typo in TimeColumn 2015-03-11 00:59:19 +01:00
Cédric Krier 8bd757a4d5 Fix toolbar layout of xxx2Many on all browsers 2015-03-07 09:18:29 +01:00
Cédric Krier 7947dfb103 Improve shortcuts of Many2Many
Use the same shortcuts as the Many2One on the text widget and keep the previous
one on the list view.

issue4556
review10921002
2015-03-02 23:30:51 +01:00
Cédric Krier 2499a31c06 Manage product attribute
issue4229
review13591002
2015-03-02 23:17:49 +01:00
Cédric Krier 48e4cef7de Add responsive table with/without header
review10941002
2015-02-20 15:50:17 +01:00
Cédric Krier a8aa4eaa92 Add TimeDelta field
And remove float_time widget.

issue4026
review10891002
2015-02-09 23:04:01 +01:00
Cédric Krier 1e83cfc41c Fix setting isDate/Time when value is null
And correct isTime for Time widget
2015-02-08 14:10:09 +01:00
Cédric Krier 0f80f7a5e2 Use bootstrap instead of jquery-ui
- use bower for dependencies
- use moment for date
- use bootstrap-datetimepicker

review11821002
2015-02-06 00:32:51 +01:00
Cédric Krier 1caba18930 Simplify date, time and datetime widgets
- Remove datetime widget in list view
- Allow to use widget attribute for date/time

issue4457
review10011002
2015-01-26 11:32:47 +01:00
Cédric Krier cebd7351c8 Quote search text from widgets
The text set as search_filter from a widget should be quoted to have the same
behavior as the completion and also allow strict matching for text containing
spaces.

issue4388
review6711002
2014-12-11 22:30:20 +01:00
Cédric Krier 5632e326c3 stringify the value of selection to preserve types
review8681002
2014-10-29 00:18:48 +01:00
Cédric Krier 88cc435f4e Move button inside input and improve editable widgets
review9821002
2014-10-24 18:51:48 +02:00
Cédric Krier 7197e2256a Simplify call to redraw in tree view 2014-10-24 00:29:08 +02:00
Cédric Krier ba1c104b55 Don't show more by default in tree view 2014-10-24 00:28:26 +02:00
Cédric Krier 34cf867b2c Update to jQuery 2.1.1 and jQuery ui 1.11.1
review8641002
2014-10-22 11:56:20 +02:00
Cédric Krier 1e56f46a58 Some css love 2014-10-14 18:12:52 +02:00
Nicolas Évrard 3a7238698e Display image widget in tree view
issue3729
review4001003
2014-09-19 17:09:43 +02:00
Nicolas Évrard 2a62da8358 Remove final comma from last element of object 2014-09-19 16:06:55 +02:00
Cédric Krier d6d9444966 Simplify WinSearch usage
issue4006
review8571003
2014-09-18 19:11:40 +02:00
Cédric Krier 3f80092ee6 Add pre-validation on button
issue4121
review7471002
2014-09-17 22:07:03 +02:00
Cédric Krier d78d295120 Remove new button on many2one
issue4158
review9721002
2014-09-16 10:10:20 +02:00
Cédric Krier 00a44f9318 Manage tree_state attribute
issue4028
review10391003
2014-07-20 12:56:07 +02:00
Cédric Krier 0ca137f3e7 Screen doesn't have parent, it is Group
review13371004
2014-07-09 00:30:23 +02:00