Commit Graph
5077 Commits
Author SHA1 Message Date
Cédric Krier ffdc2b68bb Disable next/previous buttons depending on the record position
issue11302
review388061002
2022-03-26 13:00:03 +01:00
Cédric Krier 9a9b17d2d1 Remove TreeViewControl
It is better to use the standard behavior of TreeView selection.

issue11180
review374801002
2022-03-09 00:19:52 +01:00
Cédric Krier 837cefb659 Manage None as value of PYSON In
issue11280
review393771002
2022-03-06 18:02:00 +01:00
Cédric Krier 77e3f50146 Skip first column for optionals menu to set expander
issue11271
review393751003
2022-03-06 13:39:09 +01:00
Cédric Krier 7f128e5073 Use dictionary as search_order on Reference field
issue11251
review387941002
2022-02-22 23:06:02 +01:00
Cédric Krier 3cae98b262 Add optional column on tree view
issue10989
review374321002
2022-02-03 23:13:27 +01:00
Cédric Krier a52aee3397 Use dictionary as domain for Reference field
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier f6e5cbd2ce Set encoding to version subprocess for freezing
issue11207
review376661002
2022-02-03 22:30:14 +01:00
Nicolas Évrard a049e420bd Default CSV encoding to UTF8 with BOM
issue10769
review362701002
2022-02-03 15:42:29 +01:00
Nicolas Évrard c3597e9ed7 Remove useless call to count_tab_domain
issue11202
review376641002
2022-02-03 11:55:01 +01:00
Nicolas Évrard f022bc78ef Do not rely on depends to select the fields to read in form view
issue11134
review389681019
2022-01-31 22:25:58 +01:00
Cédric Krier 1ddbd46d15 Use simplified parser for get_eval_fields
Instead of using the PYSONEncoder we can just iterate over the basic JSON types
and use the pyson method to retrieve nested PYSON instances.

issue11164
review376551002
2022-01-30 13:10:57 +01:00
Cédric Krier d12a3a1d76 Add limit to search count
issue10967
review389301002
2022-01-30 01:42:23 +01:00
Cédric Krier c642c82c4e Add RPC view_get method to View
This allows to extend the inherit mechanism of the view and support inherit for
the board view.
Also the inherit is now applied to all element found by the xpath.

issue11107
issue11108
review389601002
2022-01-23 13:32:59 +01:00
Cédric Krier 28bee40deb Limit board action domain to active id and ids
And use a dedicated _actions dictionary to store the active ids per action ids.

issue11106
review389591002
2022-01-23 13:27:52 +01:00
Cédric Krier 0dc015b6ed Use position from get_position
The position received by insert-text callback is always 0.

issue11163
review384171002
2022-01-22 21:16:11 +01:00
Cédric Krier 84c56da241 Set expander to the first visible column
issue11071
review380041002
2022-01-11 23:08:57 +01:00
Cédric Krier c103809d1a Delete selection when replacing keypad keys
issue11112
review377911002
2022-01-11 23:05:35 +01:00
Cédric Krier 3276c06c2a Do not update counter label if widget has been removed
issue11110
review380011002
2022-01-11 23:04:17 +01:00
Cédric Krier ccf9708565 Use first the dotted name variable in the PYSON context
issue11109
review383991002
2022-01-11 23:03:06 +01:00
Cédric Krier decd7a8ca1 Add monetary to float cellrenderer
issue10988
review380001002
2022-01-11 23:01:26 +01:00
Nicolas Évrard eb31ae3634 Replace deepcopy by our own implementation
issue11054
review387551002
2022-01-05 08:58:54 +01:00
Cédric Krier efa034004a Ensure active_ids is always a list
issue11088
review395191003
2022-01-03 22:48:18 +01:00
Cédric Krier 642870837e Remove SignalEvent usage
We register on the screen the windows and on the group the screens to which
events must be sent.

The window of Screen can be a tab, a dialog or even a widget like for One2Many.
They must just have a method with the proper name to receive the corresponding
events.
The group_list_changed event is dedicated to synchronisation of the Gtk
TreeView and ListBox models.

issue11059
review395151002
2022-01-02 13:53:27 +01:00
Cédric Krier 5798a57eab Catch more exceptions on CSV import/export and improve message
issue10979
review387401002
2021-12-29 12:34:05 +01:00
Cédric Krier 2c98a8e097 Show text in progress bar
issue11062
review367951003
2021-12-29 12:22:11 +01:00
Cédric Krier 6ba31a0761 Add support for Python 3.10
and remove support for Python 3.6.

issue11048
review364451002
2021-12-18 16:34:37 +01:00
Cédric Krier e30176822f Add creatable attribute on tree and form views
issue10929
review370201002
2021-12-16 22:26:04 +01:00
Cédric Krier 216bc2755f Install gdbus.exe on Windows
gdbus.exe is needed to have interprocess communication to launch action.

issue11024
review366321002
2021-12-16 22:19:38 +01:00
Cédric Krier 8aca5fe72d Check screen limit is None before comparing
issue11015
review389361002
2021-12-16 22:14:22 +01:00
Cédric Krier 0ddc873789 Add coverage to tox
issue7685
review51501002
2021-12-13 23:10:13 +01:00
Cédric Krier 78746181ca Follow isort formatting
issue10928
2021-12-11 17:58:45 +01:00
Cédric Krier 3027e7bc97 Add logging info about the modified fields of a record
issue10944
review374131002
2021-12-08 00:38:55 +01:00
Cédric Krier e49c70a2ae Do not translate logging messages
issue10942
review351021002
2021-12-08 00:36:45 +01:00
Cédric Krier 7e28b3268b Stop key-press-event and insert decimal point
On Windows editing the keyval of the event does not work anymore.
So we must insert ourself the decimal point in the entry buffer.

issue10956
review374311002
2021-12-06 23:37:42 +01:00
Cédric Krier 475e577b1c Requires at least version 3.19 of PyGObject
issue10975
review376041002
2021-11-28 13:47:44 +01:00
Sergi Almacellas Abellana 67042a36f2 Use ilike operator as One2One default search operator
issue10977
review374271002
2021-11-25 09:48:02 +01:00
Cédric Krier 36b59be398 Check if expanded column is visible to decided to add a filling column
issue10954
review366251002
2021-11-20 00:04:38 +01:00
Cédric Krier 76946dc913 Increase version number 2021-11-01 16:59:25 +01:00
Cédric Krier b7971df468 Add tag 6.2.0 [skip ci] 2021-11-01 16:59:12 +01:00
Cédric Krier b999216b63 Prepare release 6.2.0 [skip ci] 2021-11-01 16:59:11 +01:00
Cédric Krier da66f4f5a2 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 e6448d7940 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 f24d9a02cb Reshow wizard dialog with the initial size
issue10648
review363051003
2021-10-31 10:14:37 +01:00
Cédric Krier 41a8a8ccdc Update translations [skip ci] 2021-10-30 11:32:05 +02:00
Cédric Krier 12a3788115 Use tab_domain when comparing tabs
issue10441
review381241002
2021-10-26 19:40:49 +02:00
Nicolas Évrard b8c72b71ba Fix typo in Gdk identifier
issue10882
review354241002
2021-10-20 15:18:58 +02:00
Cédric Krier a2b3383e08 Use changed event to trigger focus out in Selection widget of Dict
issue10856
review389101002
2021-10-19 00:23:30 +02:00
Cédric Krier fd5bbdc201 Support create/delete attribute in view
issue10840
review377341002
2021-10-11 22:53:02 +02:00
Cédric Krier b2dcf03c2e Loop over children iter after expanded the autodetected parent
issue10813
review375641003
2021-10-08 19:12:56 +02:00