Commit graph

628 commits

Author SHA1 Message Date
C?dric Krier 8cbe602bf6 Manage size limit, add and pre_validate on One2Many
review17621002
2015-10-26 18:33:50 +01:00
C?dric Krier a25d597036 Fix compute editable in key_press handler of Many2One 2015-10-25 15:55:49 +01:00
C?dric Krier 1b8a7d37a8 Add check for exclude field and synchronize attributes of page 2015-10-25 15:47:12 +01:00
C?dric Krier ed5fbf6755 There is no more content support for label 2015-10-25 15:29:36 +01:00
C?dric Krier 0604a19c9e Manage image tag 2015-10-25 15:03:07 +01:00
C?dric Krier 7f77808a60 Call screen display only once the modal is shown in Sao.Window.Form
otherwise the Sao.View.resize is called to soon to correctly compute the width
of the tables.
2015-10-25 02:38:43 +01:00
C?dric Krier db41120e4c Don't activate Many2One on TAB key if completion is active
otherwise when selection the completion, a search pop-up is raised.
2015-10-25 02:37:01 +01:00
C?dric Krier 4cbdf4c34d default task makes both css files as both js are already created 2015-10-25 01:10:21 +02:00
C?dric Krier 2364c038b5 Ensure non xexpanded cell has not a width 2015-10-25 01:00:37 +02:00
C?dric Krier fb551588b4 Use visibility collapse/visible instead of hide/show
.hide() uses CSS display none which shift the position of the cell while
visibility collapse keeps the size of the cell.
2015-10-25 00:58:51 +02:00
C?dric Krier 4c39549f0e Skip .tooltip as cell children when resizing container 2015-10-25 00:54:27 +02:00
C?dric Krier 2cdf9b3a1d Remove margin-bottom on .progress 2015-10-25 00:53:10 +02:00
C?dric Krier ed1813dce6 No need of container-fluid in Dict widget
as the class is already set on the #main
2015-10-25 00:52:40 +02:00
C?dric Krier 087498c8a9 Manage to get only one renew dialog at a time 2015-10-24 23:15:37 +02:00
C?dric Krier 3ac8d13fae Manage no database list
and prevent multiple call to modal('show') as the stacked fix doesn't work with
such usage.

review15791002
2015-10-24 22:59:38 +02:00
C?dric Krier eaa7fab4fb Use get_loaded instead of testing empty _loaded
because it doesn't catch partially loaded.
2015-10-24 20:39:48 +02:00
C?dric Krier 10015e8c69 Move info bar below the sticked toolbar 2015-10-24 13:30:12 +02:00
C?dric Krier 3bd89cd14f 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 a651992816 Use grunt-po2json and format po json for gettext.js
issue5066
review18741002
2015-10-23 23:54:52 +02:00
C?dric Krier 5f12ddb7b9 Use Record.cancel instead of clearing _loaded
Since changeset e6b3bc445b7a, the timestamp must be cleared if we reload the
record.

issue5065
review19571002
2015-10-23 23:52:38 +02:00
C?dric Krier 064eb4da1d 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 89ca21a054 Set correctly _timestamp in context when executing button 2015-10-23 16:29:08 +02:00
C?dric Krier 910e7bae7c 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 641eaf0771 No need of container-fluid in Paned
as the class is already set on the #main
2015-10-23 12:38:43 +02:00
C?dric Krier 4d54c0f2ce 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 c66fd48be5 Disable HTML autocompletion on InputCompletion 2015-10-23 11:41:45 +02:00
C?dric Krier ad0314e06b board navbar is also sticked 2015-10-22 21:17:55 +02:00
C?dric Krier e0cb5136e4 Stick navbar of tab
review23561004
2015-10-22 11:41:56 +02:00
C?dric Krier 123665b2ee Add toolbar with reload to board
review15781002
2015-10-22 11:41:16 +02:00
C?dric Krier 9e8cf98491 Tab must be resized when shown 2015-10-20 00:00:20 +02:00
C?dric Krier b254ca8633 Fix validate when fields is undefined 2015-10-19 20:35:09 +02:00
C?dric Krier 983305077e Form Notebook must be resized when shown
Since changeset 5ded750c543c, treeviews on hidden tab have the minimal width
set so their size must be recomputed when the tab is show.
2015-10-19 00:14:10 +02:00
C?dric Krier aa5fafafc7 Always keep the oldest timestamp
The optimistic lock should be checked with the oldest timestamp to be safer.

issue2687
review21491002
2015-10-18 16:53:47 +02:00
C?dric Krier f5855f96e5 Add locale to package 2015-10-18 16:32:14 +02:00
C?dric Krier 5de84be929 Allow to customize parsing form node 2015-10-18 16:29:57 +02:00
C?dric Krier 3ce0781cf0 Support yfill in Form Container 2015-10-18 16:29:32 +02:00
C?dric Krier bd58f72f21 Fix cache in selection_mixin
_values2selection was never filled
2015-10-18 16:28:40 +02:00
C?dric Krier efcb821eec Fix function names in switch_view
introduced in changeset 42fa179663f5
2015-10-18 16:24:25 +02:00
C?dric Krier 32828a9510 No need to run bower as it is in postinstall of npm 2015-10-16 19:36:58 +02:00
C?dric Krier b754d35b4d Implement paned in form view 2015-10-16 19:31:15 +02:00
C?dric Krier 8a21b386d2 readonly and required done in editable tree
As EditableRow uses the Form widget, those attributes are managed at this level.
2015-10-16 18:35:48 +02:00
C?dric Krier 0b06a9a36b Prepare packaging for release 2015-10-16 18:27:35 +02:00
C?dric Krier f1adb4706f Implement _check_load
instead of forcing the load of every fields.
2015-10-16 15:54:38 +02:00
C?dric Krier d1a10df2c4 Sort array before compare in get_loaded 2015-10-16 15:53:41 +02:00
C?dric Krier 79bd39f9fa Fix params of concurrency dialog
- ids is the first element of params
- javascript doesn't have negative index
- slice return an array
2015-10-16 15:52:39 +02:00
C?dric Krier de74958cd2 Fix typo in remove self -> this 2015-10-16 14:30:26 +02:00
C?dric Krier b552ed9177 Change treeview overflow on completion shown
When the dropdown is shown in a treeview, if there is no enough space in the
treeview, the browser adds a scrollbar to the treeview instead of expanding the
height of the treeview (and let the general scrollbar managed it). This is
because the treeview has an auto overflow-x which lead to set also the same to
overflow-y.
2015-10-16 13:49:19 +02:00
C?dric Krier 2fb132402a Remove key up/down hack on completion
The up on first element doesn't work properly so it is better to keep the
default browser behaviour and make user used to the tab navigation.
2015-10-16 13:46:44 +02:00
Nicolas ?vrard 410a9f58ae Add tooltips
review24501002
2015-10-16 11:10:46 +02:00
C?dric Krier 56e369c3ce 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