Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
06448d7b by Cédric Krier at 2024-04-14T10:56:27+02:00
Parse text as datetime when it is a string

The on_paste method is calling value_from_text for each widget using the
string from the clipboard.
So textual value needs to be supported even for date and time widgets which
uses a cell renderer that provides datetime value.

Closes #12860
- - - - -


2 changed files:

- tryton/tryton/common/datetime_.py
- tryton/tryton/gui/window/view_form/view/list_gtk/widget.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/06448d7bdb976b7057a465ca332bbc638e91653e

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/06448d7bdb976b7057a465ca332bbc638e91653e
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to