Commit Graph
71 Commits
Author SHA1 Message Date
Cédric Krier a97be4a36a Move info-bar to the top
issue5857
review28761002
2016-09-19 22:21:09 +02:00
Sergi Almacellas Abellana bb6d80e4f6 Manage list values of res_id
The res_id value returned from an action on the server can be a list or a
number, so it must be converted to a list only when it is not a already.

issue5774
review32411002
2016-08-12 13:23:28 +02:00
Sergi Almacellas Abellana 881eca005a Replace views string with model description
issue2350
review28371002
2016-07-05 09:54:16 +02:00
Cédric Krier 05c4d2331a Add support for count on Action Window Domains
issue5548
review20991002
2016-06-14 16:39:35 +02:00
Cédric Krier 8479b536a7 Add missing fake update_unread_note for Board tab
Screen calls it in set_current_record
2016-04-28 22:12:37 +02:00
Cédric Krier 7ac86ddc2f Fix readonly tests when user has only create access
The screen should not be read-only if the user is allowed to create record even
if he is not allowed to modify it. And it is the same for the save button.

issue5479
review19201002
2016-04-21 17:15:52 +02:00
Cédric Krier 537d329ecf Fix revision management for momentjs
We need to be able to instantiate DateTime with epoch value.
And we must use the momentjs operation to manupilate milliseconds.

issue5451
review20911002
2016-04-02 15:23:39 +02:00
Cédric Krier 2d2c36eeff Add Note
issue4669
review17731004
2016-02-02 19:15:58 +01:00
Cédric Krier 1c65b5f750 Disable new and save buttons when the user is not allowed to create new records
The revision update should not overrule the model access.

issue4902
review15911002
2016-01-21 10:24:40 +01:00
Nicolas Évrard 93df2996ba Implement set_cursor
review22561002
2015-10-27 10:55:57 +01:00
Cédric Krier df798e4f9c Move info bar below the sticked toolbar 2015-10-24 13:30:12 +02:00
Cédric Krier 499035d928 Convert toolbar_def and menu_def into function
As they contains calls to i18n, their list must be constructed dynamically
instead of being stored.

issue5067
review24531002
2015-10-23 23:56:02 +02:00
Cédric Krier bd44a3f8f8 Improve offcanvas
- active by default
- fix margin
- use variables
- toggle active when tabs are added or removed

review16771002
2015-10-23 19:47:08 +02:00
Cédric Krier 922d6a3f81 No need to display disable toolbar nor menu on board
as the title makes anyway their positions change between tabs.
2015-10-23 12:42:12 +02:00
Cédric Krier 100974a71c Use a wrapper on toolbar to keep the space when toolbar is fixed
Without such fix, the size of the scrollbar can change and thus prevents to
scroll up to a record.
2015-10-23 12:21:12 +02:00
Cédric Krier 32a6d3764b Stick navbar of tab
review23561004
2015-10-22 11:41:56 +02:00
Cédric Krier d6152f8b82 Add toolbar with reload to board
review15781002
2015-10-22 11:41:16 +02:00
Cédric Krier 89c6d61536 Tab must be resized when shown 2015-10-20 00:00:20 +02:00
Cédric Krier 076d402737 Fix toolbar and menu of Tab
- Make menu workable with mouse
- Fix toggle action, relate and print
- Add missing role for accessibility
2015-10-16 03:16:24 +02:00
Cédric Krier b359bbd96a Fix typo in delete confirmation 2015-10-16 02:40:18 +02:00
Nicolas Évrard 1fc34e23db Add board views
review23531002
2015-10-15 10:33:37 +02:00
Cédric Krier feb39cc54c Re-add action_button class on screen button
This class allows to remove this type of button on each click.
The class was lost in changeset 5f3dd03dc30b
2015-07-17 18:26:22 +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 56bfd4b1eb Add message notification
issue3465
review14001002
2015-07-03 19:35:28 +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 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 1e44b10600 Tab.save should always return a promise 2015-05-07 12:10:11 +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 a0a5f783b5 Add missing space before menu item name 2015-03-27 16:04:13 +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 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 02490c0cda Add Tab wizard
review15101002
2015-03-16 19:14:57 +01:00
Nicolas Évrard 52899110ee Add autocompletion on M2O form widgets
review15051002
2015-03-13 16:45:47 +01:00
Cédric Krier 537b7f220c Put empty spaces around label of action toolbar 2015-02-28 02:14:39 +01:00
Cédric Krier 9785709da5 Put an empty space bewteen icon and toolbar label 2015-02-27 15:45:46 +01:00
Cédric Krier 59d578a296 Fix display of notebook
by limiting the padding-right to only the toolbar
2015-02-20 19:10:18 +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 534c176683 Prevent too old revision in form view
issue4211
review14561002
2014-10-10 10:00:52 +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
Sergi Almacellas Abellana 723808441a Save tree state of menu when changing preferences
review5281002
2014-05-07 10:55:38 +02:00
Cédric Krier 9124910ebf Add option to show revisions
issue3678
review3671003
2014-03-18 19:56:07 +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
Nicolas Évrard 2b18a3ea2b The search_entry input is in the screen_container 2013-12-05 18:40:51 +01:00
Cédric Krier 534e6c9504 Add unique dialogs
review1751002
2013-11-25 12:18:32 +01:00
Nicolas Évrard 9967e34029 Add support for tree state
review1065002
2013-10-18 17:09:10 +02:00