Commit Graph
1603 Commits
Author SHA1 Message Date
Cédric Krier e6308a58d3 Return display promises in set_default
issue11369
review384871002
2022-04-16 11:23:26 +02:00
Nicolas Évrard 600f22f43a Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:53 +02:00
Cédric Krier 7c92207507 Call .add instead of .message on InfoBar
issue11065
2022-04-13 19:07:40 +02:00
Cédric Krier caf1c6ed31 Use arrow function
issue8183
review401191002
2022-04-11 23:56:03 +02:00
Cédric Krier d03dd4ae20 Add notification message
issue11065
review367951004
2022-04-11 23:41:21 +02:00
Cédric Krier 1f2db88eff Allow Reference to be edited from tree view
issue10999
review384831002
2022-04-11 21:11:13 +02:00
Nicolas Évrard 02d7d1fad3 Support _write, _delete and _timestamp values when set from default value
issue11012
review372751002
2022-04-11 12:48:41 +02:00
Cédric Krier 41391c5a5f Use for...of loop
issue8183
review403221002
2022-04-10 19:28:21 +02:00
Cédric Krier ab0924fdac Use default function parameters
issue8183
review386321002
2022-04-10 19:25:17 +02:00
Cédric Krier 124e917eb4 Use number_of_views instead of view_ids attribute on record message
issue11352
review397711003
2022-04-06 18:46:47 +02:00
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