Commit graph

659 commits

Author SHA1 Message Date
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
C?dric Krier
50297dde56 Fix typo in delete confirmation 2015-10-16 02:40:18 +02:00
C?dric Krier
40f90d8e93 Fix path computation when save_current is a creation
At creation, the initial path contains a negative id which must be replaced by
the new id of the record.
2015-10-16 02:39:41 +02:00
C?dric Krier
d1a7f82deb Fix state of next/previous button of screen
They were still using the jQuery UI API.
2015-10-16 02:22:17 +02:00
C?dric Krier
70710ba2e5 Allow horizontal scrolling large on treeview
review15731002
2015-10-16 01:43:50 +02:00
C?dric Krier
f7d8cc6d22 Manage path for setting current_record
review18681002
2015-10-16 01:43:02 +02:00
Nicolas ?vrard
01d00996fb Add board views
review23531002
2015-10-15 10:33:37 +02:00
C?dric Krier
e9b7d2cf54 Add table-striped to treeview 2015-10-13 14:35:55 +02:00
C?dric Krier
728f9e2823 Don't fail on missing calendar view 2015-10-11 13:56:11 +02:00
C?dric Krier
2f12ecd1b4 Update defined languages 2015-10-11 13:55:35 +02:00
C?dric Krier
89ac63852c Hide button without icon 2015-10-11 13:55:05 +02:00
C?dric Krier
2a7cc015be Allow edition on tree 2015-10-09 20:53:21 +02:00
C?dric Krier
a5881369d8 Reload and call written only if record has something to save 2015-10-09 20:52:44 +02:00
C?dric Krier
7de8ca1813 Disable switch_row on editable tree
The edition and the switch can be in conflict which result of switching the
view while a cell is edited.
2015-10-09 20:20:31 +02:00
C?dric Krier
6e31f30e39 Manage overflow for all editable row 2015-10-09 20:16:47 +02:00
C?dric Krier
bffb366105 Ensure edited_column empty value is always null 2015-10-09 20:16:11 +02:00
Nicolas ?vrard
54cab52ecd Add support for return and M2O autocompletion in editable trees
review18471002
2015-10-09 14:23:57 +02:00
C?dric Krier
d490244777 Append Many2One buttons after the completion to not break layout 2015-10-09 13:49:18 +02:00
C?dric Krier
0db69c072e Calling written should be done after the save to get the right id if it is a creation 2015-10-09 12:42:37 +02:00
C?dric Krier
15e9859670 Manage editable top in new_model_position 2015-10-09 11:43:25 +02:00