Cédric Krier
688a10ff0d
Use Set.has instead of undefined indexOf on Field.views
...
The views attribute is a Set and not a list.
issue11134
2022-02-01 17:22:20 +01:00
Nicolas Évrard
6670cb0cc7
Do not rely on depends to select the fields to read in form view
...
issue11134
review389681019
2022-01-31 22:25:58 +01:00
Cédric Krier
6be0df6001
Use simplified parser for get_eval_fields
...
Instead of using the PYSONEncoder we can just iterate over the basic JSON types
and use the pyson method to retrieve nested PYSON instances.
issue11164
review376551002
2022-01-30 13:10:57 +01:00
Cédric Krier
42bb53f11b
Add bottom padding to tabs
...
This is to show the bottom shadow of the form with vertical scroll.
issue11142
review385771002
2022-01-30 13:02:31 +01:00
Cédric Krier
b205a82250
Add limit to search count
...
issue10967
review389301002
2022-01-30 01:42:23 +01:00
Cédric Krier
868547be3d
Add RPC view_get method to View
...
This allows to extend the inherit mechanism of the view and support inherit for
the board view.
Also the inherit is now applied to all element found by the xpath.
issue11107
issue11108
review389601002
2022-01-23 13:32:59 +01:00
Cédric Krier
2c290e04b3
Limit board action domain to active id and ids
...
And use a dedicated _actions dictionary to store the active ids per action ids.
issue11106
review389591002
2022-01-23 13:27:52 +01:00
Cédric Krier
490a107457
Set expander to the first visible column
...
issue11071
review380041002
2022-01-11 23:08:57 +01:00
Cédric Krier
e87aa696eb
Use first the dotted name variable in the PYSON context
...
issue11109
review383991002
2022-01-11 23:03:06 +01:00
Raphaël Valéry
c52e78e7f1
Use column attribute to get width
...
issue11117
review368001002
2022-01-06 00:36:48 +01:00
Cédric Krier
fda6249877
Stop auto detecting on the first error
...
Use .every instead of .forEach as it stops if the callback returns false.
issue11099
review393271002
2022-01-04 22:25:53 +01:00
Cédric Krier
881adacf8a
Prevent tablist to wrap and expand on small screens
...
issue6121
review379811002
2022-01-03 22:55:50 +01:00
Cédric Krier
f965fa66fb
Return default value when evaluating undefined value
...
issue11089
review374511002
2022-01-03 22:49:47 +01:00
Cédric Krier
c51d4e9889
Ensure active_ids is always a list
...
issue11088
review395191003
2022-01-03 22:48:18 +01:00
Cédric Krier
08c86ffbb2
Duplicate field properties before modifying them
...
issue11087
review381571004
2022-01-03 22:41:15 +01:00
Cédric Krier
517bd5df02
Use same names to register windows and screens as tryton
...
Also implement the send_modified on widgets to update the save button.
issue11059
review389481002
2022-01-02 13:54:28 +01:00
Cédric Krier
5d60ce1853
Catch more exceptions on CSV import/export and improve message
...
issue10979
review387401002
2021-12-29 12:34:05 +01:00
Cédric Krier
86c0e9b4c2
Show PYSON feedback when input has the focus
...
We must insert the accesskey span after the feedback element as the Bootstrap
rule is based on direct sibling.
And we must set a z-index value at least identical to the z-index of the input
inside an input-group.
issue11076
review376261002
2021-12-29 12:29:19 +01:00
Cédric Krier
2b31bca469
Do not stringify binary data
...
For the identify only the size matter to refresh the display.
And to detect change, we can compare the Uint8Array between them or with the
size.
issue10994
review360581002
2021-12-21 23:24:05 +01:00
Cédric Krier
ff5cfcdcea
Display caret on expandable group after the string
...
issue11042
review385501002
2021-12-21 23:11:23 +01:00
Cédric Krier
f70fa8e80d
Add creatable attribute on tree and form views
...
issue10929
review370201002
2021-12-16 22:26:04 +01:00
Cédric Krier
d4060d44b0
Connect from of Between using change event
...
We do not use any more tempusdominus so the dp.change event does not exist
anymore.
issue11020
review374401005
2021-12-16 22:16:01 +01:00
Cédric Krier
c98399df4f
Check screen limit is None before comparing
...
issue11015
review389361002
2021-12-16 22:14:22 +01:00
Cédric Krier
41dfdd21c6
Add logging info about the modified fields of a record
...
issue10944
review374131002
2021-12-08 00:38:55 +01:00
Cédric Krier
51128b0d03
Add logger and some logging statements
...
issue10943
review387341002
2021-12-08 00:37:32 +01:00
Cédric Krier
09e09c6fb0
Force to always redraw the row of the clicked button
...
The display may not redraw the row and so reset the state of button if the
record has not be modified like with an action button.
issue10985
review367871002
2021-11-28 13:50:40 +01:00
Sergi Almacellas Abellana
7b5748fe14
Use ilike operator as One2One default search operator
...
issue10977
review374271002
2021-11-25 09:48:08 +01:00
Cédric Krier
41ec3af59a
Increase version number
2021-11-01 16:59:00 +01:00
Cédric Krier
84da787fc4
Add tag 6.2.0 [skip ci]
2021-11-01 16:58:53 +01:00
Cédric Krier
ed560707a0
Prepare release 6.2.0 [skip ci]
2021-11-01 16:58:52 +01:00
Cédric Krier
a5709f6471
Do not make a global search call for empty string
...
issue10886
review344971002
2021-10-31 10:43:33 +01:00
Cédric Krier
69883c4ef2
Do not try to expand pseudo-children of reference field
...
Since issue5667 the export dialog adds pseudo children to reference fields but
they are not children nodes but just sibling. So we must not try to expand the
node of the reference field when loading an predefined export.
issue10875
review383511003
2021-10-31 10:42:08 +01:00
Cédric Krier
cba86a2b53
Do not remove disabled property after button execution
...
We must let the display of the screen reset the state of the button.
issue10922
review391061002
2021-10-31 10:24:32 +01:00
Cédric Krier
a559d55eb6
Set width to themed checkbox input
...
issue10920
review364291002
2021-10-31 10:22:22 +01:00
Cédric Krier
bed36f311d
Do not display search_count if it is not higher than limit
...
On small set of record when records are deleted the number of record could
become lower than the initial search_count. As maintaining a correct
search_count is complex, it is simpler to never display it if it is lower than
the search limit.
issue10789
review383501003
2021-10-31 10:20:24 +01:00
Cédric Krier
14abe6bfeb
Update translations [skip ci]
2021-10-30 11:32:05 +02:00
Cédric Krier
e924a8a481
Compare with previous value only if PYSON value is not null
...
issue10900
review385281003
2021-10-28 09:04:55 +02:00
Cédric Krier
665dc6a402
Make widget children inherits the min-height
...
This ensure that the children widget will expand vertically.
issue10899
review385281002
2021-10-28 09:03:22 +02:00
Cédric Krier
2100441353
Use default align to 0 for expanded widget
...
As the widget are not really expanded, it is better to align them on top/start
then in the middle.
issue10898
review375851002
2021-10-28 09:02:01 +02:00
Cédric Krier
441ddacc21
Use tab_domain when comparing tabs
...
issue10441
review381241002
2021-10-26 19:40:49 +02:00
Cédric Krier
22f82f7ed4
Do not add image for empty avatar URL
...
issue10868
review367701002
2021-10-22 00:33:34 +02:00
Cédric Krier
97a8defa4a
Keep displaying empty counter but just make it invisible
...
This fix the alignment of the tab borders with and without badge.
issue10867
review366111002
2021-10-21 00:23:25 +02:00
Cédric Krier
76d85da22a
Call close_current on tabs
...
issue10865
review383331002
2021-10-21 00:22:12 +02:00
Cédric Krier
188b1448e9
Add margin bottom to input-group
...
It is needed to display correctly the box-shadow of the theme.
issue10864
review366101002
2021-10-21 00:18:29 +02:00
Cédric Krier
10d31f4bc0
Manage overflow on button and add title on every buttons
...
issue10863
review381191002
2021-10-21 00:16:49 +02:00
Cédric Krier
3a48ed1c17
Check ir.translation access for translate plugin
...
issue10862
review373901002
2021-10-21 00:15:16 +02:00
Cédric Krier
f150cf50fe
Run tests in UTC and use millisecond precision for moment comparison
...
Backout of changeset d5742068fd8d
issue10846
review389071002
2021-10-19 00:20:37 +02:00
Sergi Almacellas Abellana
227c084bd9
Make email addresses field fill all available space
...
issue10760
review362651012
2021-10-18 12:26:34 +02:00
Cédric Krier
74ce1fb459
Support create/delete attribute in view
...
issue10840
review377341002
2021-10-11 22:53:02 +02:00
Cédric Krier
9e5583865c
Use field context to edit record
...
issue10806
review364101002
2021-10-08 19:10:46 +02:00