Commit Graph
80 Commits
Author SHA1 Message Date
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
Cédric Krier 1c03db39f6 Set button readonly when record or group is readonly
issue3904
review9341005
2014-05-17 18:33:25 +02:00
Cédric Krier 5fb30848bd Make button reload all parents
issue3815
review4851002
2014-04-10 22:29:57 +02:00
Cédric Krier 7cdedc15d8 Enforce readonly on Window.Form
issue3778
review4541002
2014-03-28 20:03:17 +01:00
Cédric Krier 242d237868 Fix action button sensibility
Allow to run action if no record is selected.

issue3685
review3611004
2014-02-20 23:36:38 +01:00
Cédric Krier fe45fa6a1e Manage client actions from button and wizard
issue3343
review3221003
2014-02-15 18:33:11 +01:00
Cédric Krier aaec44af7f Add buttons of the view in actions menu 2014-02-13 19:53:33 +01:00
Cédric Krier 534e6c9504 Add unique dialogs
review1751002
2013-11-25 12:18:32 +01:00
Nicolas Évrard 95f07565b9 Set the default value for domain screen to null 2013-10-22 15:05:27 +02:00