Commit Graph
1521 Commits
Author SHA1 Message Date
Cédric Krier d8bd5418ca 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
(grafted from 13a9fdc87148422cad42b226b0cb1245c4ee0e90)

--HG--
branch : 6.0
2021-11-28 13:50:40 +01:00
Sergi Almacellas Abellana a2b3c46ca7 Use ilike operator as One2One default search operator
issue10977
review374271002
(grafted from f79d637654a5a47ecb633cc871283f2773954e02)

--HG--
branch : 6.0
2021-11-25 09:48:08 +01:00
Cédric Krier 83694690e7 Do not make a global search call for empty string
issue10886
review344971002
(grafted from e96c1f9846a9d9798b1c9ce8792814c86295f1e9)

--HG--
branch : 6.0
2021-10-31 10:43:33 +01:00
Cédric Krier 1db0e02521 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
(grafted from 0fb9992f455702540f0aa4ef82ec3260a06907a1)

--HG--
branch : 6.0
2021-10-31 10:42:08 +01:00
Cédric Krier c1375851e6 Do not remove disabled property after button execution
We must let the display of the screen reset the state of the button.

issue10922
review391061002
(grafted from 0b692f8ac30864b7ec75bf542909fc4b5ea81dcf)

--HG--
branch : 6.0
2021-10-31 10:24:32 +01:00
Cédric Krier cf732b9935 Set width to themed checkbox input
issue10920
review364291002
(grafted from 08e998097055cc6ce6432dbd5235060cfb0bef8e)

--HG--
branch : 6.0
2021-10-31 10:22:22 +01:00
Cédric Krier 314b4cf0ac 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
(grafted from 6b2e33b1025568f56aa23972fc02115da18496fc)

--HG--
branch : 6.0
2021-10-31 10:20:24 +01:00
Cédric Krier 229587bf52 Compare with previous value only if PYSON value is not null
issue10900
review385281003
(grafted from 5fd8d729330a81505f9390cc28fbf05153a84419)

--HG--
branch : 6.0
2021-10-28 09:04:55 +02:00
Cédric Krier 320294613d Make widget children inherits the min-height
This ensure that the children widget will expand vertically.

issue10899
review385281002
(grafted from 31daa1b8a9867dfb205106f2772f2a707a033f19)

--HG--
branch : 6.0
2021-10-28 09:03:22 +02:00
Cédric Krier 09f2165a74 Use tab_domain when comparing tabs
issue10441
review381241002
(grafted from 287382c0d95e03d280b2353b7d098b634ead68f1)

--HG--
branch : 6.0
2021-10-26 19:40:49 +02:00
Cédric Krier 689cc04aee Do not add image for empty avatar URL
issue10868
review367701002
(grafted from f9b71289bf696b369fd5c99cd1313202d1deffc0)

--HG--
branch : 6.0
2021-10-22 00:33:34 +02:00
Cédric Krier 7d153ce9c7 Call close_current on tabs
issue10865
review383331002
(grafted from fc57ac24d2a6207495a16b107aeacd7cbef026a5)

--HG--
branch : 6.0
2021-10-21 00:22:12 +02:00
Cédric Krier 043d744898 Add margin bottom to input-group
It is needed to display correctly the box-shadow of the theme.

issue10864
review366101002
(grafted from 473684d1fe0b2b3c2ba9dd378c047003f779a368)

--HG--
branch : 6.0
2021-10-21 00:18:29 +02:00
Cédric Krier edf211b25f Check ir.translation access for translate plugin
issue10862
review373901002
(grafted from 2d70702c1424d83cdaf430d780098764b046b714)

--HG--
branch : 6.0
2021-10-21 00:15:16 +02:00
Cédric Krier bcd9c89bbe Run tests in UTC and use millisecond precision for moment comparison
Backout of changeset d5742068fd8d

issue10846
review389071002
(grafted from a4689a7b33a2432e723d3a3fba36eafa9eec323f)

--HG--
branch : 6.0
2021-10-19 00:20:37 +02:00
Sergi Almacellas Abellana ddd0f73272 Make email addresses field fill all available space
issue10760
review362651012
(grafted from 26335e50cc8b84a77284fc4edc91a0fbcdf9f3ad)

--HG--
branch : 6.0
2021-10-18 12:26:34 +02:00
Cédric Krier dff2e6ce9e Use field context to edit record
issue10806
review364101002
(grafted from 1249931768127750f3c905256aa435285a9a00fc)

--HG--
branch : 6.0
2021-10-08 19:10:46 +02:00
Cédric Krier ac628353be 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
(grafted from a6315854511588fef77cc83c5e37d13b31c55727)

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

issue10771
review367571002
(grafted from 924b5e5a9c9313110add9f510526a13c200474c4)

--HG--
branch : 6.0
2021-10-03 00:21:06 +02:00
Cédric Krier 700b6abf70 Add wizard to main element of tab and remove top padding
issue10764
review369711002
(grafted from 8e040db8b68b2e4f88c4873087a1a516551db7d0)

--HG--
branch : 6.0
2021-09-20 10:28:22 +02:00
Cédric Krier bf05d192c0 Disable HTML widget buttons when readonly
issue10737
review334951002
(grafted from 3657026d8d0107d0605cbb43f902a59dca37f7c4)

--HG--
branch : 6.0
2021-09-19 00:06:54 +02:00
Maxime Richez 6a725d5ef9 Close tab when cancelling save on new record
issue10480
review363421002
(grafted from bea021af96d55137e35bae1ade78aff6799890e3)

--HG--
branch : 6.0
2021-09-10 19:37:47 +02:00
Cédric Krier 2bf9f9b45e Use last action name when selecting from the same keyword
issue10661
review373261002
(grafted from 36dfcc5fdccaf4c2b202098a2563b040e08be75d)

--HG--
branch : 6.0
2021-09-02 23:57:43 +02:00
Adrià Tarroja Caubet bccc6c4a1d Cast Date and Time field value to the correct type when checking for modification
issue10655
review352481002
(grafted from b03d7d7e0225a0a582eae5ddf0f79324760f58c6)

--HG--
branch : 6.0
2021-09-02 23:30:57 +02:00
Cédric Krier 9202300f26 Fill buttons attribute with action, relate and print buttons
issue10410
(grafted from ebf162f8546abbbe6a243f7ec4db8a2df7182c98)

--HG--
branch : 6.0
2021-09-09 22:57:09 +02:00
Cédric Krier 1a2a1ce12f Disable toolbar buttons based on record message
In order to update the disabled property, we must store the button tag in
Sao.Tab.buttons.
The property must be computed by taking into account if the dropdown has
children.
And the resource buttons must check against undefined record_id.

issue10410
review355431002
(grafted from a7d07e635e86983fee5ef8decb4e5294ba72f78a)

--HG--
branch : 6.0
2021-09-02 23:17:33 +02:00
Raphaël Valéry 9a749dc864 Call change() when a Date field is updated via visual calendar
issue10647
review362341002
(grafted from 474abeca9f9b4c8199ac333b3e8a178ac1c88adb)

--HG--
branch : 6.0
2021-08-13 18:15:22 +02:00
Cédric Krier bb5467a660 Restore the tabs scroll position when switching tab
issue10633
review336751002
(grafted from d9927b9ac1d7f62983ac33163c67afaa92c52ada)

--HG--
branch : 6.0
2021-08-12 18:47:54 +02:00
Cédric Krier c62a514caf Use '\' as escape char for wildcard
issue10626
review349031002
(grafted from 67429bcbe92e6c9beeea4e65f84d2dc09d08c2b2)

--HG--
branch : 6.0
2021-08-12 18:39:50 +02:00
Raphaël Valéry 2c31d4ce57 Do not remove record from the looped list when setting list ids
issue10638
review358561002
(grafted from d98bc405f011cc269edef1bdf932971f74eedbbb)

--HG--
branch : 6.0
2021-08-11 18:02:25 +02:00
Cédric Krier 3799e002dd Add biginteger field
issue10610
review365681003
(grafted from e28f51785bee952e756051a448521eeea06f650f)

--HG--
branch : 6.0
2021-08-06 09:31:18 +02:00
Cédric Krier 586eff1dc3 Do not call Screen.selected_paths because it is a property
issue10580
review359831006
(grafted from ea6e63cf727e8710224f133fc9929d53872da89c)

--HG--
branch : 6.0
2021-07-22 00:01:54 +02:00
Cédric Krier 57f03f2a53 Trigger explicitly change event when setting value
The value set by mousetrap callback in the date input must trigger the change
event such that the value is actually set to the record field.

issue10578
review367281002
(grafted from 105f17a36c5cf22e2a6acdc389115cb25298e7e5)

--HG--
branch : 6.0
2021-07-22 00:00:08 +02:00
Cédric Krier 5883d40a9e Remove type attribute on invisible URL widget
The widget may be filled with invalid content when it is invisible.

issue10473
review336611003
(grafted from 0690b9561ef9180e15faf238408b2453f7713d62)

--HG--
branch : 6.0
2021-07-21 23:59:00 +02:00
Raphaël Valéry c9b867c649 Properly call super in Sao.ScreenContainer.Times.build_entry
issue10566
review371271005
(grafted from dd3d095237a66affae522734f46a444177dba7fb)

--HG--
branch : 6.0
2021-07-09 21:56:36 +02:00
David Harper 55770201b8 Test readonly attribute on date input
issue10556
review362131002
(grafted from 0ca660dc07da9b273f29e1c262143f8633cee55c)

--HG--
branch : 6.0
2021-07-07 11:46:28 +01:00
Cédric Krier 81835b8031 Use same column default width for all clients
issue10534
review344421002
(grafted from 35d3478803db7fcccef309f3492bcc5d948e8865)

--HG--
branch : 6.0
2021-07-02 16:56:53 +02:00
Cédric Krier 4f7b4b7f81 Set table min-width using em
issue10534
review348891002
(grafted from fe016448d965347555c244a44ad08a78fb2f8c15)

--HG--
branch : 6.0
2021-07-02 16:56:20 +02:00
David Harper 53f62bdea8 Add containers to board view
issue10537
review367231002
(grafted from d9e05c64f3b3e5062a603782980aa6a58d4c6f8d)

--HG--
branch : 6.0
2021-06-30 12:51:04 +01:00
Cédric Krier 99808966b2 Clear tree_states_done only on screen clear and reset views
issue10446
review362011002
(grafted from c3c7a1f4b6239bd1c50c0e0471b26b57011538e8)

--HG--
branch : 6.0
2021-06-11 00:23:59 +02:00
David Harper 0713e6735e Only hide next/previous buttons on XS screens if they exist
issue10467
review346411002
(grafted from 16479a3d9f7e4c2a5d43e0ab2242a0e04b4aea84)

--HG--
branch : 6.0
2021-06-07 22:21:49 +01:00
Cédric Krier 5747186d9a Set readonly all date inputs and hide icon
issue10393
review344141002
(grafted from 33d542c5df1634e8a33f3121039f380f1d41009f)

--HG--
branch : 6.0
2021-05-16 17:45:03 +02:00
Cédric Krier b6af2a0830 Store only once record removed or deleted
issue10236
review351891002
2021-05-02 10:59:12 +02:00
Cédric Krier a26cd1f564 Include caret into the CSV parameters label
So it triggers also the click event.

issue10360
review363241002
2021-04-30 13:51:57 +02:00
Cédric Krier db18bd9eef Do not destroy record not deleted and do not try to return '*' field
issue10349
review357981002
2021-04-30 13:47:22 +02:00
Cédric Krier 4b36e5bec7 Set _readonly attribute on all widgets
issue10239
review358011003
2021-04-30 13:46:02 +02:00
Cédric Krier 827a6b2e00 Do not clear tree_states when loading ids
The tree state must be set after loading ids but we can rely on the stored
state.

issue10366
review361811002
2021-04-30 13:29:22 +02:00
Cédric Krier 0760b01b65 Pass all arguments when evaluate And/Or PYSON
issue10327
review338201002
2021-04-23 20:34:44 +02:00
David Harper f6e6a45138 Use the appropriate type for email and url widgets
issue9522
review327811002
2021-04-23 20:25:05 +02:00
David Harper bea86d9d50 Remove btn-default class when btn-link or btn-primary is added
issue8440
review261721002
2021-04-23 20:19:57 +02:00