Commit Graph
583 Commits
Author SHA1 Message Date
Cédric Krier 27ae220191 Use Sao.View.Form namespace for StateWidget 2015-10-30 12:10:05 +01:00
Cédric Krier 0c59e50052 Split view.js 2015-10-30 11:52:58 +01:00
Nicolas Évrard ff5201511b Fix find_focusable_child to use lowercase when comparing with focusable widgets 2015-10-27 18:06:55 +01:00
Nicolas Évrard fe477e63f5 Add missing set_cursor
review20481002
2015-10-27 11:28:30 +01:00
Nicolas Évrard 93df2996ba Implement set_cursor
review22561002
2015-10-27 10:55:57 +01:00
Cédric Krier 461d795ee4 Manage size limit, add and pre_validate on One2Many
review17621002
2015-10-26 18:33:50 +01:00
Cédric Krier 9a278d6e73 Fix compute editable in key_press handler of Many2One 2015-10-25 15:55:49 +01:00
Cédric Krier 7d457d2dc1 Add check for exclude field and synchronize attributes of page 2015-10-25 15:47:12 +01:00
Cédric Krier faf724bb03 There is no more content support for label 2015-10-25 15:29:36 +01:00
Cédric Krier acd0bcab8f Manage image tag 2015-10-25 15:03:07 +01:00
Cédric Krier 01a33fd96c 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 dc409b23e1 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 b6727d8e8a default task makes both css files as both js are already created 2015-10-25 01:10:21 +02:00
Cédric Krier f2351684da Ensure non xexpanded cell has not a width 2015-10-25 01:00:37 +02:00
Cédric Krier 7bee0ff4f2 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 21e85b170d Skip .tooltip as cell children when resizing container 2015-10-25 00:54:27 +02:00
Cédric Krier 02b6eb127c Remove margin-bottom on .progress 2015-10-25 00:53:10 +02:00
Cédric Krier 6cb96a99a3 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 69d3045282 Manage to get only one renew dialog at a time 2015-10-24 23:15:37 +02:00
Cédric Krier 7e09e41093 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 62c85fbc64 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 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 cea7821008 Use grunt-po2json and format po json for gettext.js
issue5066
review18741002
2015-10-23 23:54:52 +02:00
Cédric Krier ffbcd73ee0 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 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 1f202b2d37 Set correctly _timestamp in context when executing button 2015-10-23 16:29: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 48e7c247c1 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 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 856339b18a Disable HTML autocompletion on InputCompletion 2015-10-23 11:41:45 +02:00
Cédric Krier a0fd09ace1 board navbar is also sticked 2015-10-22 21:17:55 +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 f218a28f63 Fix validate when fields is undefined 2015-10-19 20:35:09 +02:00
Cédric Krier 663c9e917c 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 cb69ab8024 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 3911a50c3e Add locale to package 2015-10-18 16:32:14 +02:00
Cédric Krier dcc746d716 Allow to customize parsing form node 2015-10-18 16:29:57 +02:00
Cédric Krier 4cbb664aee Support yfill in Form Container 2015-10-18 16:29:32 +02:00
Cédric Krier ef717e6955 Fix cache in selection_mixin
_values2selection was never filled
2015-10-18 16:28:40 +02:00
Cédric Krier 90491fd582 Fix function names in switch_view
introduced in changeset 42fa179663f5
2015-10-18 16:24:25 +02:00
Cédric Krier 4eb6d7a2a4 No need to run bower as it is in postinstall of npm 2015-10-16 19:36:58 +02:00
Cédric Krier d5dbc81e9c Implement paned in form view 2015-10-16 19:31:15 +02:00
Cédric Krier 82dbba7488 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 205b0d7cdb Prepare packaging for release 2015-10-16 18:27:35 +02:00
Cédric Krier 0407303197 Implement _check_load
instead of forcing the load of every fields.
2015-10-16 15:54:38 +02:00
Cédric Krier ceb4360cc6 Sort array before compare in get_loaded 2015-10-16 15:53:41 +02:00
Cédric Krier 2b13e24f5d 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