Nicolas Évrard
bfca497f69
Set ECMAScript version to 6
...
issue8183
review368251002
2022-04-04 14:03:55 +02:00
Cédric Krier
4a40e619fd
Restore test of modified_fields with isEmptyObject
...
issue11059
2022-04-02 18:18:44 +02:00
Cédric Krier
eb68326c8c
Call to view_get returns a single view
...
issue11107
2022-04-02 15:48:16 +02:00
Nicolas Évrard
030772688b
Deduplicate entries in domain inversion's simplify
...
issue11248
review397301002
2022-03-30 19:20:31 +02:00
Cédric Krier
50567a1cd7
Disable next/previous buttons depending on the record position
...
issue11302
review388061002
2022-03-26 13:00:03 +01:00
Cédric Krier
a6e1420b2a
Use data instead of disabled prop when clicking on button
...
The action may actually disable the button.
2022-03-26 12:59:43 +01:00
Cédric Krier
88bdd712cc
Bind mousetrap callback on screen dates
...
issue11291
review380471002
2022-03-19 15:06:48 +01:00
Cédric Krier
5ad961f617
Set label text before checkbox in warning dialog
...
issue11220
review386171002
2022-03-19 15:05:21 +01:00
Cédric Krier
6c4998db2d
Manage None as value of PYSON In
...
issue11280
review393771002
2022-03-06 18:02:00 +01:00
Cédric Krier
ae74845f3e
Do not return promise for synchronous load call
...
Even if there are a pending promise, synchronous call should always return the
field.
issue11273
review366781003
2022-03-06 13:42:04 +01:00
Cédric Krier
06c25ae48f
Make print button sensitive for exports even without report
...
issue11252
review380391002
2022-03-06 13:37:45 +01:00
Sergi Almacellas Abellana
b0e7a3cb91
Invert message and description order when showing warnigs
...
issue11270
review376881002
2022-02-23 17:15:26 +01:00
Cédric Krier
1ca5b8624e
Use dictionary as search_order on Reference field
...
issue11251
review387941002
2022-02-22 23:06:02 +01:00
Cédric Krier
8ddc539f2f
Remove store_rec_name function and use synchronous RPC call
...
issue11249
review397321002
2022-02-22 23:01:11 +01:00
Raphaël Valéry
0cf12e2d4d
Wait promise completion before triggering click on next row in editable list
...
issue11247
review393681026
2022-02-12 14:03:55 +01:00
Cédric Krier
5d64f924b5
Replace changed call by record_modified
...
403bc7a95b0a did not replace all the calls to changed.
issue11216
review389961002
2022-02-12 02:33:29 +01:00
Hodei Navarro
9540d97cab
Use correct logger method in bus
...
issue11192
review364731002
2022-02-11 18:44:08 +01:00
Nicolas Évrard
1454535101
Return rec_name RPC call promise when available in M2O field set and set_default
...
issue11030
review374421002
2022-02-08 18:55:25 +01:00
Cédric Krier
3451d139bd
Fix typo in hasOwnProperty
...
issue11202
2022-02-06 20:22:06 +01:00
Cédric Krier
7d0f3b25ef
Declare preview variable
...
issue11215
2022-02-04 10:10:29 +01:00
Cédric Krier
0a1a972d05
Add optional column on tree view
...
issue10989
review374321002
2022-02-03 23:13:27 +01:00
Cédric Krier
ab9f114e3b
Use dictionary as domain for Reference field
...
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier
4c5e06df21
Set button type to link buttons
...
Otherwise they are triggered by the form of the dialog when using +Enter.
issue11193
review380271002
2022-02-03 22:27:19 +01:00
Nicolas Évrard
ab8bf186b0
Add missing call to set_modified
...
issue11145
review355901002
2022-02-03 16:04:29 +01:00
Nicolas Évrard
59b1ec32b0
Remove useless call to count_tab_domain
...
issue11202
review376641002
2022-02-03 11:55:01 +01:00
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