Commit Graph
3540 Commits
Author SHA1 Message Date
Cédric Krier 3a56f71745 Increase version number
--HG--
branch : 6.0
2023-11-03 17:51:21 +01:00
Cédric Krier 6bae4a7c30 Prepare release tryton-6.0.30
--HG--
branch : 6.0
2023-11-03 17:51:07 +01:00
Cédric Krier 35c4d729f3 Do not fail when parsing invalid Decimal value in number entry
Closes #12692
(grafted from f9c0481e7aad3c8229f1660d7367b0edd803389b)

--HG--
branch : 6.0
2023-10-31 21:42:11 +01:00
Cédric Krier 166280687c Prevent storing Decimal with too much trailing zero
The trailing zero are kept in the Decimal and rendered in the string
representation which is unexpected for a field with limited digits.

Closes #12587
(grafted from cfbc9e902c1d5f9bc299b536b495a98fda380369)

--HG--
branch : 6.0
2023-10-21 14:12:12 +02:00
Nicolas Évrard d81eeff5c6 Stop the edition of Selection fields in editable Treeviews on focus-out
Closes #12308
(grafted from 9c81c15ec5164ed8e1e3bda05dc932c1430f65d7)

--HG--
branch : 6.0
2023-06-05 19:09:46 +02:00
Cédric Krier 00005d8592 Increase version number
--HG--
branch : 6.0
2023-10-05 00:01:45 +02:00
Cédric Krier 0b98ca7c77 Prepare release tryton-6.0.29
--HG--
branch : 6.0
2023-10-05 00:01:31 +02:00
Cédric Krier 40ad63767d Do not use save button for readonly screen
Even if save_current is set, a readonly screen is never saved on response.

Closes #12538
(grafted from 557766ce97feda3facfdfee7eb88da2692b9f559)

--HG--
branch : 6.0
2023-08-30 15:50:30 +02:00
Cédric Krier 154fc66d48 Set visibility of active button when screen is displayed
Setting it on the domain parser property does not ensure that it is always set
if the parser has been cached or the context screen is not valid.
Also it is not right that accessing a property trigger a change of state.
As the button visibility can change between views, the active domain must only
be added if the button is currently visible.

Closes #12549
(grafted from 00093fcf58f2e473cef7b0d8c3e87c2c3e425b7f)

--HG--
branch : 6.0
2023-09-04 18:32:52 +02:00
Cédric Krier 944afc59ff Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)

--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
Cédric Krier a08d15bfd9 Increase version number
--HG--
branch : 6.0
2023-08-01 21:41:05 +02:00
Cédric Krier 592d1bdde1 Prepare release tryton-6.0.28
--HG--
branch : 6.0
2023-08-01 21:40:51 +02:00
Cédric Krier 4bfd3bf0d7 Add missing show and hide method to email no modal windows
Closes #12368
(grafted from 45d9d6fc9bdf6dfe7575bbbdb1df55479b37b407)

--HG--
branch : 6.0
2023-07-03 19:52:15 +02:00
Nicolas Évrard a0beb58bb9 Do not reset view when switching to a tabbed wizard form
Closes #12317
(grafted from 688198fbf4432175968378219f6c049cdd338868)

--HG--
branch : 6.0
2023-05-11 15:39:34 +02:00
Nicolas Évrard 9f3fe80d14 Do not set previous record in selection changed callback when it is destroyed
Closes #12357
(grafted from cc4b93be0eeb71875b9db93093ffade0c2669727)

--HG--
branch : 6.0
2023-06-27 14:59:33 +02:00
Cédric Krier 3bddd2e5c9 Always disable scroll-event and prevent move-active on readonly time and datetime
The time and datetime widgets were missing from 7a55ecca7a59 of #7076
(grafted from cc50b693f196c5e75a4f5d635341d0805794dab8)

--HG--
branch : 6.0
2023-05-30 18:26:16 +02:00
Cédric Krier 34751fe8d4 Set value on focus out and changed signal for datetime widget
The focus out of child widgets must call focus out method.
And we need to connect to the datetime-changed event as DateTime does not call
the __init__ method of Date.

Closes #12020
(grafted from 62934f0e75525d65719bcc83f750d5e9070e4632)

--HG--
branch : 6.0
2023-05-30 18:15:43 +02:00
Cédric Krier d0ec363f52 Increase version number
--HG--
branch : 6.0
2023-05-03 18:34:21 +02:00
Cédric Krier 2755338798 Prepare release tryton-6.0.27
--HG--
branch : 6.0
2023-05-03 18:34:05 +02:00
Cédric Krier 2aeb4c8412 Do not set s nor p parameter to export URL if screen has no limit
Closes #12212
(grafted from 9356e9d17de966478109068ff458d68aa86e811a)

--HG--
branch : 6.0
2023-04-12 18:40:49 +02:00
Cédric Krier 1076ad75fe Set limit attribute only if defined in URL
Closes #12211
(grafted from c242bc152fb39bafb90581710aefbe8260d54178)

--HG--
branch : 6.0
2023-04-12 18:35:52 +02:00
Cédric Krier b3c85d3189 Do not slugify file extension when selecting file to save or create folder
Closes #12152
(grafted from dea9b5c4b8f7e5a163c9115d123a265eb5394957)

--HG--
branch : 6.0
2023-04-08 16:11:36 +02:00
Nicolas Évrard 158d1384d7 Handle string value set from domain inversion in MultiSelection fields
Closes #12181
(grafted from cdca201f1dd7c8a25de757ba93b9ff883aa9bac3)

--HG--
branch : 6.0
2023-04-03 17:02:51 +02:00
Cédric Krier aa94ecb275 Increase version number
--HG--
branch : 6.0
2023-03-04 12:10:59 +01:00
Cédric Krier 1b7c001baf Prepare release tryton-6.0.26
--HG--
branch : 6.0
2023-03-04 12:10:44 +01:00
Cédric Krier c2609342f3 Grab focus on icon press
It is needed to trigger the focus out event of other widgets and store the
value.

Closes #7868
(grafted from a1697e72f21e65cbf7e16766a4dd3dc4d8d2bcfc)

--HG--
branch : 6.0
2023-02-16 22:18:01 +01:00
Cédric Krier d4c374dc9c Increase version number
--HG--
branch : 6.0
2023-02-17 19:27:21 +01:00
Cédric Krier d623315022 Prepare release tryton-6.0.25
--HG--
branch : 6.0
2023-02-17 19:27:07 +01:00
Nicolas Évrard 2d657f919c Do not trigger button on not selected records
Closes #11824
(grafted from 08779343f15d8d37b859218172796e01692ac1db)

--HG--
branch : 6.0
2023-02-03 18:19:31 +01:00
Cédric Krier d6c5897630 Increase version number
--HG--
branch : 6.0
2023-02-05 21:55:20 +01:00
Cédric Krier 0774ec5e7e Prepare release tryton-6.0.24
--HG--
branch : 6.0
2023-02-05 21:55:06 +01:00
Cédric Krier 125a361165 Instantiate always Screen for xxx2Many fields with the same parameters
The screen must be instantiated with the context of the parent screen so
eventual field_view_get would give the same result.
The limit must always be set to None/null to ensure to load all the records.
The breadcrumb must be set to show navigation to the user.

Closes #3140
(grafted from ced0956c41cd1192b98eb4a9e9e23f85c86b6240)

--HG--
branch : 6.0
2023-01-21 19:37:19 +01:00
Cédric Krier f6aa4bb5b9 Use direct downloads.tryton.org instead of CDN
(grafted from 43b6ed87955da241a191c89db5a5e38327fde756)

--HG--
branch : 6.0
2023-01-16 15:07:08 +01:00
Cédric Krier 5205dd16dc Use get_data on SelectionData to retrieve raw data
In Gtk 3.0 there is no more data property.

Closes #11514
(grafted from 9231963800b548fcb65b3f100a9da04429cfd632)

--HG--
branch : 6.0
2023-01-14 23:44:34 +01:00
Cédric Krier 13c4b6f078 Use Gdk.drag_status to set COPY action
In Gtk 3.0 the method is now in Gdk instead of the context.

Closes #11514
(grafted from 9a591d6e0bcb9f97e2342172b4f8f93fd19c9f2c)

--HG--
branch : 6.0
2023-01-14 23:42:30 +01:00
Cédric Krier a464778ff8 Increase version number
--HG--
branch : 6.0
2023-01-15 18:36:32 +01:00
Cédric Krier ebc46ed8b2 Prepare release 6.0.23
--HG--
branch : 6.0
2023-01-15 18:36:17 +01:00
Nicolas Évrard 103ca1c159 Unconnect signals when removing dict entries
Closes #11872
(grafted from 760eb04c208dc12d43a57bb7507189d3a9eb0d3d)

--HG--
branch : 6.0
2022-12-26 01:27:36 +01:00
Cédric Krier e6f9125903 Do not fail trying to grab focus on GooCanvas
GooCanvas.Canvas.grab_focus takes a GooCanvasItem which we do not have when
grabbing the focus when destroying NoModal.

Closes #11977
(grafted from 1c79c6e2de4984100dcbc6cf80f6124a47575ad3)

--HG--
branch : 6.0
2022-12-31 01:03:37 +01:00
Cédric Krier fb506e998d Convert multiselection into selection for screen domain parser
When the selection of multiselection fields is a method, it must be converted
into a list like the selection fields.

Closes #11968
(grafted from 6022eeabc29f86185121f2da0563cadba1d70a4d)

--HG--
branch : 6.0
2022-12-28 10:41:52 +01:00
Nicolas Évrard f258f4a7ba Return an empty list when the treeview has no selection
Closes #11960

--HG--
branch : 6.0
2023-01-03 17:20:41 +01:00
Cédric Krier 67a496b3b3 Increase version number
--HG--
branch : 6.0
2023-01-02 23:11:21 +01:00
Cédric Krier 5943a5c68d Prepare release 6.0.22
--HG--
branch : 6.0
2023-01-02 23:11:07 +01:00
Nicolas Évrard 91a7c02151 Use record from group when setting O2M from values
Closes #11951
(grafted from 231cf237be3f243c4105e6f532220c62ae042abe)

--HG--
branch : 6.0
2022-12-23 23:54:21 +01:00
Nicolas Évrard 16de998d1b Use left part of domain leaf in unique_value return value
The left part must be returned because when the value is unique we also use the
name of field for further checks

Closes #11952
(grafted from 5ae26db33565f1d67e5eb2ae975f5c16a38cd4d9)

--HG--
branch : 6.0
2022-12-20 13:37:06 +01:00
Cédric Krier 7fe29202a2 Slugify filename used as default value in file_selection
issue11917
review436211003
(grafted from 280447e4cdda6196fdef8183139347a03f1319cb)

--HG--
branch : 6.0
2022-12-08 13:36:22 +01:00
Cédric Krier 01238f5a3c Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-18 21:27:59 +01:00
Cédric Krier 7c275d29fb Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-17 17:14:49 +01:00
Cédric Krier 38c01b27a5 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 14:41:58 +01:00
Cédric Krier cb3c81e3b1 Increase version number
--HG--
branch : 6.0
2022-11-17 18:49:02 +01:00