Commit Graph
376 Commits
Author SHA1 Message Date
Cédric Krier e8e6fecc2d Filter leaf domain of Reference fields
The domain of Reference fields must be filtered out for non-valid target
because the localization will remove the target part and thus generate an
invalid domain for the specific target.

issue4680
review11141003
2015-03-30 22:37:52 +02:00
Cédric Krier e2e6a9c004 Save parent group when saving record 2015-03-27 18:24:19 +01:00
Cédric Krier e290dace9e Add missing parent validation on Group.changed 2015-03-27 17:49:50 +01:00
Cédric Krier a0a5f783b5 Add missing space before menu item name 2015-03-27 16:04:13 +01:00
Cédric Krier 717ef2594c Add missing assert on Model.delete_ 2015-03-27 16:00:20 +01:00
Cédric Krier f52be78bf2 Set min value when evaluate date/time leaf 2015-03-27 15:41:05 +01:00
Cédric Krier 174dfb57a1 Add min/max of Date/Time 2015-03-27 15:40:14 +01:00
Cédric Krier 5174e196ca Fix PYSON to test moment object instead of Date instance 2015-03-27 15:38:58 +01:00
Cédric Krier 498f671126 Wait save tree state when closing all tabs 2015-03-27 15:06:29 +01:00
Cédric Krier 9cc55449be Add selection from multiple options 2015-03-27 14:46:59 +01:00
Cédric Krier d643e42a51 Fix typo from changeset 46a4cfae7418 2015-03-27 13:10:28 +01: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 c9a4b92bd8 Set default empty context when undefined
As the params will be duplicated with jQuery, it will skip the undefined keys
and so the empty context will be lost.
2015-03-26 19:38:45 +01:00
Cédric Krier 19133e2898 select_change_with attribute must be tested against empty 2015-03-26 19:37:30 +01:00
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