Commit Graph
541 Commits
Author SHA1 Message Date
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
Cédric Krier 2f34461310 Fix typo in remove self -> this 2015-10-16 14:30:26 +02:00
Cédric Krier a7abd832bf 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 4ee1440a09 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 0a7007d814 Add tooltips
review24501002
2015-10-16 11:10:46 +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
Cédric Krier 0bbfe7b617 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 759fd3dcda 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 5facb253ce Allow horizontal scrolling large on treeview
review15731002
2015-10-16 01:43:50 +02:00
Cédric Krier 2f2bc1ae96 Manage path for setting current_record
review18681002
2015-10-16 01:43:02 +02:00
Nicolas Évrard 1fc34e23db Add board views
review23531002
2015-10-15 10:33:37 +02:00
Cédric Krier d21c72ce9a Add table-striped to treeview 2015-10-13 14:35:55 +02:00
Cédric Krier 6721b743f5 Don't fail on missing calendar view 2015-10-11 13:56:11 +02:00
Cédric Krier 82c7b11374 Update defined languages 2015-10-11 13:55:35 +02:00
Cédric Krier 0a6b4e9ef2 Hide button without icon 2015-10-11 13:55:05 +02:00
Cédric Krier 814ef84cf0 Allow edition on tree 2015-10-09 20:53:21 +02:00
Cédric Krier e83c3fac55 Reload and call written only if record has something to save 2015-10-09 20:52:44 +02:00
Cédric Krier ae1bd6ef6c 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 4507aa5349 Manage overflow for all editable row 2015-10-09 20:16:47 +02:00
Cédric Krier f01b7f1b0b Ensure edited_column empty value is always null 2015-10-09 20:16:11 +02:00
Nicolas Évrard 53ee7e7718 Add support for return and M2O autocompletion in editable trees
review18471002
2015-10-09 14:23:57 +02:00
Cédric Krier 0124c313cd Append Many2One buttons after the completion to not break layout 2015-10-09 13:49:18 +02:00
Cédric Krier 61aeb845d2 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 7632d3504d Manage editable top in new_model_position 2015-10-09 11:43:25 +02:00
Cédric Krier 2c0ab87b22 Implement check validity in switch_view
review21441002
2015-10-09 10:45:01 +02:00
Cédric Krier 2ba1b1acfc Make digits with null behaves like null digits
issue5019
review19531002
2015-10-08 19:42:08 +02:00
Cédric Krier 0bef90bfd3 Get ids for button later
As save is called by the button, the record id could change if the save is a
creation so the list of ids must be constructed later.
2015-10-07 18:05:12 +02:00
Cédric Krier 2baa74f448 Force set_current_record in display
To force to update the tab as done in changeset 4dd468848941 of tryton
2015-10-07 17:32:19 +02:00
Cédric Krier 32b50447ad Setup row_activate on Window.Search 2015-10-07 16:30:02 +02:00
Cédric Krier 6fcb9ed64d Group.load is not asynchronous 2015-10-06 16:37:17 +02:00
Cédric Krier 252d66d7d8 Ensure Float.get_client returns a string
otherwise 0 could be evaluated as False.
2015-10-06 15:33:17 +02:00
Cédric Krier 370e525028 Remove trailing call to the removed typeahead 2015-10-06 12:16:31 +02:00
Cédric Krier c49119692e Use italic labels for editable fields
issue5008
review21411002
2015-10-05 11:15:29 +02:00
Cédric Krier bf0170cec5 Fix icon in button
Use img with the same height as the button line-height

review21441003
2015-10-04 19:41:59 +02:00
Cédric Krier 22ba269923 Remove default (16, 2) digits
trytond doesn't enforce any digits if it is None,
so the client must do the same.

issue4742
review22491003
2015-10-03 11:55:37 +02:00
Cédric Krier 6850d61e40 Fix timestamp in save_tree_state
tree_states should always have the timestamp and it must come from the parent.
2015-10-03 00:35:09 +02:00
Cédric Krier 69ef2832b3 Remove wrong TODO comment 2015-10-02 23:17:16 +02:00
Cédric Krier 947985218b Reload context before getting preferences 2015-10-02 22:00:10 +02:00
Cédric Krier cf1c20998d Set correct width to many widgets 2015-10-02 19:43:07 +02:00
Cédric Krier 2d16cf9201 Set multiple property to the select element instead of the div 2015-10-02 19:42:32 +02:00
Cédric Krier 76f57cb08d Prevent null widget to take place in the Container 2015-10-02 19:41:34 +02:00
Cédric Krier 5f8a09d154 Set css for timedelta no more for float-time 2015-10-02 19:40:34 +02:00