Commit Graph
1560 Commits
Author SHA1 Message Date
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 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 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
Cédric Krier 1779a73b48 Use 'start' text-align when xalign is 0.5 but xexpand is true
issue10770
2021-10-08 15:51:26 +02:00
Cédric Krier 2e91442eb6 Set style to separator label_el 2021-10-08 15:00:05 +02:00
Cédric Krier 9751b590cb Support yalign and use start/end for xalign
issue10770
review373611002
2021-10-03 13:35:21 +02:00
Cédric Krier e25091821b Create toolbar synchronously
The record_message function needs that all the buttons are created when it is
triggered. So we can not delay the creation with an asynchronous call.

issue10783
review360151002
2021-10-03 00:40:18 +02:00
Cédric Krier 76d40655c1 Add margin on button in horizontal group
It is needed to display correctly the box-shadow of the theme.

issue10771
review367571002
2021-10-03 00:21:06 +02:00
Cédric Krier 623a705511 Add grouping attribute to numeric widgets
issue10731
review355501002
2021-09-26 23:05:01 +02:00
Nicolas Évrard e6ad6f4d76 Consider Dict Char entries set to None as set to ""
issue10485
review346431002
2021-09-21 16:00:11 +02:00
Cédric Krier c0bf408175 Test for expander before updating it on selection changed
issue10367
2021-09-20 17:23:43 +02:00
Cédric Krier 50582a34b3 Add wizard to main element of tab and remove top padding
issue10764
review369711002
2021-09-20 10:28:22 +02:00
Cédric Krier 456f201208 Add expander on tree to fold or unfold selected rows
issue10367
review362441002
2021-09-19 00:28:04 +02:00
Cédric Krier d48eeb5743 Disable HTML widget buttons when readonly
issue10737
review334951002
2021-09-19 00:06:54 +02:00
Maxime Richez 5b5984ea81 Close tab when cancelling save on new record
issue10480
review363421002
2021-09-10 19:37:47 +02:00