Commit Graph
361 Commits
Author SHA1 Message Date
Cédric Krier 4fb04e0e4c Add missing attributes to synchronise between model and views 2015-03-26 19:36:49 +01:00
Nicolas Évrard 630ba8b051 make DomainParser.operatorize support clause with null values
review15151002
2015-03-25 18:41:43 +01:00
Cédric Krier b8ec8b7088 Update dependencies 2015-03-24 21:37:34 +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 5eb1fad2fe Avoid overflow of table headers in treeview 2015-03-21 02:22:27 +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 a4124a37d5 Replace float_time style to timedelta 2015-03-20 18:48:49 +01:00
Cédric Krier 21b7ad502c Fix text alignment of number columns 2015-03-20 18:45:29 +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 5be17f9612 Fix attachment count cache 2015-03-20 16:30:34 +01:00
Cédric Krier c7d19df48d Add timestamp to Model.delete 2015-03-20 13:56:37 +01:00
Cédric Krier 153b4babce Hide thead of menu instead of th
Since changeset a1fba26651aa, the th visibility is reset on each display.
2015-03-20 13:46:24 +01:00
Cédric Krier 74c48ab051 Fix dropdown link and tabindex
links requires an href to change the cursor
tabindex is needed to skip dropdown from tab navigation
2015-03-20 13:10:56 +01:00
Cédric Krier d762e047a5 Don't evaluate anymore relate action with the record
issue2474
2015-03-20 12:48:22 +01:00
Cédric Krier 18e0800aa7 Clear record timestamp after save
Since changeset f63036a91c9f, the timestamp is sent also on button calls but if
the record is saved just before this generate an concurrency exception. Indeed
the _timestamp must be cleared just after the save (because the record is not
reloaded before the button call).

issue4644
review9151002
2015-03-18 11:14:58 +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
Cédric Krier da36dc5120 Manage bytes in JSON-RPC
issue4637
review9121002
2015-03-16 19:29:59 +01:00
Cédric Krier 02490c0cda Add Tab wizard
review15101002
2015-03-16 19:14:57 +01:00
Cédric Krier 4c61fe8b7d Manage instance button
issue4397
review11991002
2015-03-16 12:58:22 +01:00
Cédric Krier 24cbf66e36 Skip attribute domain for validation of Reference field
issue4640
review8011002
2015-03-15 16:29:37 +01:00
Cédric Krier b7b2fe92ac Fix state index of view_tree_state
changeset a1daf85d3a5a added the timestamp to the state but did not change the
index.
2015-03-13 19:07:34 +01:00
Cédric Krier 0777138add Missing submit callback on Window.Search 2015-03-13 18:43:24 +01:00
Nicolas Évrard 52899110ee Add autocompletion on M2O form widgets
review15051002
2015-03-13 16:45:47 +01:00
Nicolas Évrard 5ea18e2c19 Send the timestamps when executing a button action
review6111002
2015-03-13 16:42:55 +01:00
Cédric Krier c0d7410675 Align left the boolean checkbox 2015-03-13 16:36:58 +01:00
Nicolas Évrard a9e67da04b Implement _timestamp retrieval for records
review6931002
2015-03-13 16:13:21 +01:00
Cédric Krier 989cae6879 Use explicit Toggle Menu button 2015-03-13 16:03:01 +01:00
Cédric Krier 14182370d4 Use 1px only for bottom margin of navbar 2015-03-13 16:01:52 +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 072e8d57fa Don't format empty time 2015-03-13 13:39:21 +01:00
Cédric Krier 720f7a762e Add missing type button on control buttons of Window
Without a type button, the button submit the form.
2015-03-13 13:29:34 +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 a258dcacab No need to resolve promesse in One2Many.set_on_change 2015-03-09 15:00:14 +01:00
Cédric Krier 8bd757a4d5 Fix toolbar layout of xxx2Many on all browsers 2015-03-07 09:18:29 +01:00
Nicolas Évrard fedfa1b5e3 remove inner function args to prevent hiding real update_selection arguments 2015-03-06 17:12:18 +01:00
Nicolas Évrard dd0d22c169 Call update_selection only after init_selection is finished 2015-03-06 16:26:47 +01:00
Cédric Krier 03026b3be4 Fix error management in login
- clear password input when modal is hidden
- fix login error message
- logout before login to prevent concurrency
- unbind submit before plug a new one
2015-03-06 14:24:55 +01:00
Cédric Krier b98c18570d Reference.get must always return a value
Return null if there is no value.
2015-03-06 13:58:15 +01:00
Cédric Krier a5de039409 Manage bookmarks
review13021002
2015-03-06 09:33:35 +01:00
Cédric Krier e2603dfa42 Refactor session management
- remove cookie (mostly useless since login is a form)
- fix focus
- show modal only when database are fecthed
- fix selection of database in URL

review11041002
2015-03-06 09:33:03 +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 537b7f220c Put empty spaces around label of action toolbar 2015-02-28 02:14:39 +01:00