Commit Graph
1499 Commits
Author SHA1 Message Date
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
Cédric Krier e5f07651b9 Set sequence order following the new position order
issue10299
review334181002
2021-04-22 23:45:00 +02:00
Cédric Krier 431ed0c2cd Use change value as initial value for Window Form
The parent field must stay as eval value as it is not reset.

issue10185
review365111002
2021-04-22 00:07:18 +02:00
Cédric Krier 022d6e36d1 Display screen after reload on Window Form cancel
The callback must also be called once every promises are resolved.

issue10304
review330771002
2021-04-22 00:05:24 +02:00
Cédric Krier 2f956d6293 Fall-back to default order to define new position
When there is no order on the screen, we must use the default order because it
contains the order of the relation field.

issue10298
review340621002
2021-04-21 23:51:15 +02:00
Cédric Krier ab05db3298 Use order definition of xxx2Many fields
When empty it must be the order of the target and it must not be encoded as it
can not be PYSON.

issue10297
review349721004
2021-04-21 23:47:30 +02:00
Cédric Krier 351f4b0b4e Ceil microsecond
This is needed to always read the right history record.

issue10060
review340591002
2021-04-18 17:52:45 +02:00
Nicolas Évrard 4aec8c2819 Use specific search domain for reference field searches
issue9997
review324781002
2021-04-12 20:54:03 +02:00
Cédric Krier 99310b2efc Keep 0 as value for numeric Dict and keep step of 1 for integer
issue10123
review357681002
2021-04-11 18:32:18 +02:00
Cédric Krier 0742b3f5a2 Add completion on xxx2Many and Dict
issue10265
review330691003
2021-04-11 18:29:21 +02:00
Cédric Krier 1400f1b0da Implement key press event on One2Many
issue3838
review15831002
2021-04-11 18:26:39 +02:00
Cédric Krier f6d3aa452c Add attachment preview
issue10203
review332271014
2021-04-07 23:34:51 +02:00
Adrià Tarroja Caubet ba65fc413a Use the minimum number of rows for navbar items
issue9625
review294531002
2021-04-05 17:31:42 +02:00
Cédric Krier d81298a582 Prevent horizontal scroll on Page key in textarea
Chrome scrolls horizontally the page despite the overflow-x hidden. So we must
prevent the event and manage ourself the scrolling.

issue10070
review330601002
2021-04-03 11:31:17 +02:00
Cédric Krier aa3f835c8c Add support for avatar
issue10085
review343561002
2021-03-28 19:20:37 +02:00
Cédric Krier 0c1303950c Add document widget
issue10173
review330471004
2021-03-27 17:17:00 +01:00
Cédric Krier 73cce597f1 Add icon of type URL
issue10140
review355171002
2021-03-20 12:38:16 +01:00
Cédric Krier 8a218aa66f Do not return None when evaluating domain with in operator
When the operator is 'in' and the value contains None, Field._domain_add_null
adds an equal operator against NULL. So this must be managed like the '='
operator.

issue9906
review332201005
2021-03-20 12:33:09 +01:00
Cédric Krier a35fb7d6e9 Prevent exception if database is not in device_cookies
issue10158
review361401002
2021-03-18 22:32:34 +01:00
Cédric Krier 7c401b8990 Do not set image if record has changed
issue10172
review335801003
2021-03-16 22:07:08 +01:00
Cédric Krier de946c6409 Use proper attribute to set text readonly on binary widget
issue10171
review330491003
2021-03-16 22:05:31 +01:00
Cédric Krier 5b1b316d53 Store binary data once fetched
issue10170
review341671002
2021-03-16 22:03:28 +01:00
Nicolas Évrard b58d099a9b Ensure dependencies of fields are also loaded on Form display
issue9630
review298641002
2021-03-11 23:34:44 +01:00