Cédric Krier
05edf756fb
Correctly select the visible and not readonly input/select
...
issue6897
review41651002
2017-11-09 18:59:05 +01:00
Sergi Almacellas Abellana
5e3b18aaa9
Use a list as default pyson value of search domain
...
issue6904
review35741002
2017-11-03 12:36:49 +01:00
Cédric Krier
9c0729a227
Call fields_view_get synchronously to always have the right domain parser
...
issue6887
review43661002
2017-10-30 11:37:27 +01:00
Cédric Krier
6ba8db35d1
Update field description when adding existing field
...
issue6886
review42781002
2017-10-30 11:35:51 +01:00
Cédric Krier
824b3d740f
Ensure to activate only visible page
...
issue6861
review36751002
2017-10-30 10:00:04 +01:00
Cédric Krier
10002cae74
Do not rely on previously stored current record display form widgets
...
The current record may have changed between the start of the fields load and
when the promesses are resolved.
issue6888
review37791002
2017-10-30 09:58:54 +01:00
Cédric Krier
b2691c5b05
Improve spacing
...
- Prevent nav-tab to change main_navbar height
- Add padding top to menu and tabs
- Remove small margin bottom for toolbar
- Add margin bottom nav-tabs in form
review36741002
2017-10-28 01:58:10 +02:00
Cédric Krier
b551d5c8f2
Modify loaded record in set_client and set_on_change of O2M
...
Since changeset d91743403415, only modified record are sent to the server, the
multiselection widget use set_client to store selected row so those record
must be marked as modified.
issue6855
review43611002
2017-10-21 10:48:37 +02:00
Cédric Krier
ec4efb14af
Use bootstrap theme for fullcalendar
...
issue6853
review44381002
2017-10-21 10:42:12 +02:00
Cédric Krier
d2e668a6eb
Test current_view before using it
...
get_events callback may be called by fullcalendar before the screen has set
the current_view attribute.
issue6852
review38871002
2017-10-21 10:41:12 +02:00
Sergi Almacellas Abellana
73da7e8710
Prevent undefined errors on dashboard view
...
Changeset c2b74d2ff7ed does not work for dashboard view, as it has no related
screen and it does not have the same tab options as form tabs
issue6867
review36721002
2017-10-20 14:55:55 +02:00
Cédric Krier
4dd5606a08
Load model access synchronously
...
It is needed if the list of model has changed since the login.
issue6635
review37731002
2017-10-13 23:36:18 +02:00
Cédric Krier
6d82bf5a48
Skip column without field on next_column
...
issue6815
review39741002
2017-10-11 22:47:26 +02:00
Cédric Krier
951da9417d
Unselect other rows if not ctrl or single selection
...
issue6807
review44361002
2017-10-11 22:46:50 +02:00
Cédric Krier
2b0f4ca685
Consider Reference field with negative record as empty
...
issue6749
review38791002
2017-10-11 22:43:12 +02:00
Sergi Almacellas Abellana
fa41ccfeed
Set current_record id on eval context
...
issue6826
review42701002
2017-10-06 14:40:18 +02:00
Cédric Krier
f990f1e5a3
Do not fail when completing selection with last value None
...
This may happen when searching for several values which need to be quoted
using ';"'.
issue6714
review35641002
2017-10-05 22:34:12 +02:00
Cédric Krier
c92a529391
Use radio for single mode selection
...
As the selection mode may be changed after the construction of the view, the
selection column is always constructed but its visibility and the input type
are set on the display call.
issue6795
review39711002
2017-10-02 16:08:23 +02:00
Cédric Krier
dfb48edd1d
Use length to test Group emptiness
...
jQuery.isEmptyObject does not consider Group without records as empty.
issue6800
review35651002
2017-10-02 16:01:48 +02:00
Cédric Krier
d832eb0b9a
Use condensed table for tree view
...
And remove table style to menu.
issue6781
review38741002
2017-09-28 23:40:46 +02:00
Cédric Krier
7edeac84a0
Use a span to ensure min-width on responsive table
...
The span will be displayed as block only on responsive table so it does not
spend the space on non-responsive table.
issue6782
review42651002
2017-09-28 23:39:18 +02:00
Cédric Krier
da4b4d80ab
Add only modified records of xxx2Many
...
issue6754
review38641002
2017-09-27 18:48:39 +02:00
Cédric Krier
c5fdd1a784
Allow to export model and record name of Reference fields
...
issue5667
review38621002
2017-09-26 01:27:56 +02:00
Cédric Krier
eff574e7f5
Apply the same padding to all nested form-container
...
issue6763
review38691002
2017-09-21 00:16:24 +02:00
Cédric Krier
fbd5fba47a
Expand input-group of Many2One when readonly and empty
...
issue6763
review38691002
2017-09-21 00:15:37 +02:00
Cédric Krier
01dd359585
Increase margin-bottom of toolbar
...
issue6763
review38691002
2017-09-21 00:14:21 +02:00
Cédric Krier
76fa007d63
Add margin to filter box
...
issue6763
review38691002
2017-09-21 00:13:25 +02:00
Cédric Krier
0e8ebae38a
Use the encoded data from Papaparse
...
encode_utf8 was converting the string into URI and ASCII instead of keeping
the unicode string.
issue6766
review41561002
2017-09-20 19:08:25 +02:00
Cédric Krier
2e50b3f8ee
Ask confirmation to unload the page
...
If there are any tabs open, we should ask confirmation to prevent user to
loose unsaved data.
We should also save the tree state of the menu like it is done on logout.
issue6756
review44301002
2017-09-15 19:44:49 +02:00
Cédric Krier
3f09fb349a
Set srceen readonly for Search window
...
issue6752
review43471002
2017-09-15 19:43:56 +02:00
Cédric Krier
e998a0ad7d
Manage also 401 HTTP status to renew session
...
This is a similar status to 403 also used by the server.
issue6748
review38611002
2017-09-07 21:09:01 +02:00
Cédric Krier
02bbc2e572
Group load and remove must trigger a root display
...
The xxx2Many widget does not use set_client but load and remove.
issue6568
review42641002
2017-09-07 21:07:33 +02:00
Cédric Krier
3d3f9b652d
Wait to have read all the fields before set state and display
...
The state of a field can depend on the value of another field.
issue6687
review43461002
2017-09-07 21:04:17 +02:00
Cédric Krier
88643f1491
Use valueOf Number to convert to Boolean
...
issue6746
review37671002
2017-09-07 21:03:12 +02:00
Cédric Krier
4297d72ff9
Use client limit for window action with empty limit
...
issue6740
review36591002
2017-09-07 21:02:29 +02:00
Cédric Krier
2a83ece397
Keep a single instance of PYSON Encoder in SearchView
...
issue6744
review36601002
2017-09-07 21:01:00 +02:00
Cédric Krier
2c53a4ed0f
Improve binary/image buttons
...
- show/hide clear/select button
- move open as primary icon of filename
- show download only when there is data to download
issue6719
review35561002
2017-09-07 18:45:44 +02:00
Cédric Krier
e972b7629c
Set focus on first visible input when modal is shown
...
issue6684
review35531002
2017-09-03 11:39:47 +02:00
Cédric Krier
e6e8057485
Ensure focus element is evaluated to receive the focus
...
The .find method returns only the children that match but not the element
itself.
issue6737
review35591002
2017-09-03 11:39:14 +02:00
Cédric Krier
59665e84a9
Improve treeview headers
...
- Use same alignment as the widget
- Make label bold by inherited header style
- Use bordered on editable
issue6681
review39561002
2017-09-03 11:31:04 +02:00
Sergi Almacellas Abellana
c9e521b6b1
Manage string attribute on group
...
issue6611
review35581002
2017-08-31 11:13:09 +02:00
Cédric Krier
80074df5fd
Do not fail if Mousetrap is not defined
...
The tests do not import mousetrap and so they fail. It is better to limit the
import in the tests to what is really needed for them.
2017-08-30 18:48:00 +02:00
Cédric Krier
d027e9ee81
Add keyboard shortcuts
...
issue6104
review32881002
2017-08-30 18:27:52 +02:00
Cédric Krier
f240d86595
Unify toolbar and menu definition
...
- Use a unique definition
- Update states of both toolbar and menu
- Use a more logical order
issue5644
review30871002
2017-08-30 18:19:04 +02:00
Cédric Krier
178661a672
Add missing context when storing last_domain of selection
...
The last_domain should be composed of the domain and the context.
issue6710
review43401002
2017-08-28 18:29:25 +02:00
Cédric Krier
3a5f3134bc
Mark tree states as done for view without tree_state attribute
...
set_tree_state can be called later with a different view_type and this should
not change the tree.
issue6473
review40591002
2017-08-28 18:27:37 +02:00
Cédric Krier
6d88ae0b5f
Add readonly and required class on widget
...
issue6643
review39511002
2017-08-07 19:58:48 +02:00
Cédric Krier
e860c66654
Allow to execute button on readonly record and group
...
issue6659
review35201003
2017-08-04 00:32:11 +02:00
Cédric Krier
7c242ba864
Let the widget put the focus in the right element in editable tree
...
The form widget has a focus method that put the focus on the right element, so
editable row should use it.
issue6686
review41491003
2017-08-02 23:10:02 +02:00
Cédric Krier
067597950b
Edit cell only when setting focus for new record
...
Editable tree should not start edition when just focusing a row.
issue6614
review41491002
2017-08-02 23:08:24 +02:00