Commit Graph
88 Commits
Author SHA1 Message Date
Cédric Krier 0bef90bfd3 Get ids for button later
As save is called by the button, the record id could change if the save is a
creation so the list of ids must be constructed later.
2015-10-07 18:05:12 +02:00
Cédric Krier 2baa74f448 Force set_current_record in display
To force to update the tab as done in changeset 4dd468848941 of tryton
2015-10-07 17:32:19 +02:00
Cédric Krier 6fcb9ed64d Group.load is not asynchronous 2015-10-06 16:37:17 +02:00
Cédric Krier 6850d61e40 Fix timestamp in save_tree_state
tree_states should always have the timestamp and it must come from the parent.
2015-10-03 00:35:09 +02:00
Cédric Krier 69ef2832b3 Remove wrong TODO comment 2015-10-02 23:17:16 +02:00
Cédric Krier 1011453e55 Replace typeahead by custom completion based on bootstrap dropdown
review20421002
2015-10-02 11:49:23 +02:00
Cédric Krier 60a5226464 Correctly manage message after save and copy
issue4697
review23461002
2015-09-25 18:05:08 +02:00
Cédric Krier d8529fc404 Don't raise popup when there is no tree_open action for the row 2015-09-13 10:36:18 +02:00
Cédric Krier 144ed9a86c Screen.save_current must return the promise from display
When changing with next/previous from a modified record and save it, it can
lead to the Screen.display is applied after the change of record but with the
other record values.
2015-09-13 10:15:56 +02:00
Cédric Krier 26c1a797d1 Popup invalid message for button pre-validation
issue4930
review16581002
2015-09-13 00:23:43 +02:00
Cédric Krier 7e8c4a3903 Fix wrong argument for gettext in invalid_message 2015-09-06 21:18:38 +02:00
Cédric Krier ac66296cc2 Use a domain_parser for the current view and instanciate it on demand
issue4773
review22331002
2015-07-28 07:50:45 +02:00
Cédric Krier 6d9e208c8e Remove second reload
because it is already done in process_action
2015-07-17 18:03:15 +02:00
Cédric Krier 2f838171ec Add force_reload on save and return reload promesse 2015-07-17 18:01:48 +02:00
Cédric Krier 0392294aa5 Remove colors on widgets
- Bold label of required fields
- Explicit error message for invalid record

issue4861
review21301002
2015-07-16 22:36:11 +02:00
Cédric Krier d055bc5aef Add support of TimeDelta to DomainParser
issue4851
review23271002
2015-07-09 15:32:45 +02:00
Cédric Krier 56bfd4b1eb Add message notification
issue3465
review14001002
2015-07-03 19:35:28 +02:00
Nicolas Évrard 8055a4315b Fix domain_parser initialization to occure before view display 2015-05-29 18:31:38 +02:00
Cédric Krier 728d9e2096 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier bbf9a99225 Fix name of tab introduced in changeset 113aa750ecf2
The tab name should first come from the tab attributes and fallback to the
first view string.
2015-05-15 19:12:36 +02:00
Nicolas Évrard 493541d7f0 remove useless console.log 2015-05-15 16:43:04 +02:00
Nicolas Évrard 2be4efc6cf Use screen view to name tab when the name is not specified
review16261002
2015-05-15 13:53:07 +02:00
Cédric Krier 0a98ca88fb Fix copy of screen context in button method
jQuery.extend must get a target otherwise it is jQuery object that is used.
2015-05-07 19:24:30 +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 8951d99ade Manage exception on Record and readonly state 2015-04-30 13:57:29 +02:00
Nicolas Évrard 3e803e62b4 Add autocompletion on search entry 2015-04-24 13:56:41 +02:00
Cédric Krier 498f671126 Wait save tree state when closing all tabs 2015-03-27 15:06:29 +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 19133e2898 select_change_with attribute must be tested against empty 2015-03-26 19:37:30 +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 4c61fe8b7d Manage instance button
issue4397
review11991002
2015-03-16 12:58:22 +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
Nicolas Évrard 5ea18e2c19 Send the timestamps when executing a button action
review6111002
2015-03-13 16:42:55 +01:00
Cédric Krier a5de039409 Manage bookmarks
review13021002
2015-03-06 09:33:35 +01:00
Cédric Krier 2499a31c06 Manage product attribute
issue4229
review13591002
2015-03-02 23:17:49 +01:00
Cédric Krier 32040c4234 Add filter box
review11021002
2015-02-27 11:02:08 +01:00
Cédric Krier 49e35b9dcd Add reload client action
issue4430
2015-02-27 10:39:02 +01:00
Cédric Krier 897ad404cd pre-validate button before saving
When the evaluation of the button states is done after the save, the fields are
not yet reloaded.

issue4551
review10911002
2015-02-14 18:08:42 +01:00
Cédric Krier 0f397e6218 Implement views_preload on Screen 2015-02-11 18:16:04 +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 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
Cédric Krier 421be62fcb Add missing declaration of tree_state_model 2014-10-14 15:33:15 +02:00
Cédric Krier 3f80092ee6 Add pre-validation on button
issue4121
review7471002
2014-09-17 22:07:03 +02:00
Cédric Krier 99a62915e1 Add missing variable declaration introduced in changeset cf57e71a219a 2014-08-01 16:08:19 +02:00
Cédric Krier 00a44f9318 Manage tree_state attribute
issue4028
review10391003
2014-07-20 12:56:07 +02:00
Cédric Krier 661946a1c3 Use a timestamp for storing cache of tree states
issue3888
review5421004
2014-07-09 00:35:30 +02:00
Cédric Krier 0ca137f3e7 Screen doesn't have parent, it is Group
review13371004
2014-07-09 00:30:23 +02:00
Cédric Krier 84a96f881c Add reload menu and reload context to client actions
issue3740
issue3964
review4371002
2014-06-09 18:03:00 +02:00