Commit Graph
4895 Commits
Author SHA1 Message Date
Nicolas Évrard 85d760fa31 Manage deletable and writable state from ir.rule
issue9357
review290101002
2020-09-23 10:04:19 +02:00
Maxime Richez 2baa5cd154 Set correct direction arrow from order with NULLS extra parameter
Arrows direction icons in treeview are defined by ASC or DESC keywords. When
using an order with composed sentence eg. "DESC NULLS FIRST", we need to
extract first word to get arrow direction keyword.

issue9587
review296211002
2020-09-22 10:18:39 +02:00
Cédric Krier 12deead274 Use readonly screen to display Many2Many widget
The Many2Many widget should not allow the user to edit the records.
The One2Many widget should be used instead.

issue9574
review290891002
2020-09-18 00:07:58 +02:00
Cédric Krier 5c952fb8be Send client email via server
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier 34d82ad620 Support PYSON comparison of date and datetime
issue4879
review270061002
2020-09-05 22:59:38 +02:00
Cédric Krier 9864c9e7e7 Connect to button-press-event to fill the favorite menu
The menu must be filled before the toggled event is triggered so we can not use
'clicked' nor 'toggled'. Indeed 'button-press-event' is the first one but we
must make the callback continue to propagate the event.

issue9530
review296051002
2020-08-16 16:31:23 +02:00
Cédric Krier 9dc71d1463 Document = shortcut on date/time widgets
issue9508
review290701002
2020-08-11 22:06:03 +02:00
Cédric Krier fd6c0ebb40 Restore automatic scrolling on wizard dialog
The scrolls are disable to compute the best size but if the result is too big,
we must allow user to scroll.

issue9494
review294221002
2020-08-10 23:21:03 +02:00
Cédric Krier fea3dd6067 Position copied records based on order
issue9474
review311851002
2020-07-25 00:49:32 +02:00
Cédric Krier 85911599dc Remove hard coded background color for title
issue9469
review300131007
2020-07-21 14:43:59 +02:00
Maxime Richez 969a3c11da Use name instead of rec_name for button_link action
Since issue9445, action values are explicitly defined. Default values for
actions are now: id, name, type and icon.rec_name. That's why we should use
name instead of rec_name.

issue9481
review310061002
2020-07-15 17:32:39 +02:00
Cédric Krier 4d7f0e7510 Remove custom code to support tunnel and SSL
issue9442
review309921002
2020-07-13 21:18:08 +02:00
Sergi Almacellas Abellana ff69aa7f5a Add set_editable on list view Cell
The method should be defined for on all widgets

issue9464
review298141002
2020-07-09 21:14:51 +02:00
David Harper a234c5b48e Do not refer to activated modules as installed
issue9395
review311721004
2020-07-09 10:33:42 +01:00
Cédric Krier 4973fb2adc Allow configuration of default colors for graph and calendar
issue9435
review300011002
2020-07-09 00:34:01 +02:00
Cédric Krier 61f4d1fac4 Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Sergi Almacellas Abellana c028787e8f Do not read rec_name of unsaved records
issue9308
review327381002
2020-07-06 17:40:34 +02:00
Cédric Krier e6f16b11f6 Use proper logger to warn about completion failure 2020-07-01 14:49:33 +02:00
Nicolas Évrard 3ebf9e6290 Use character length instead of bytes length when inserting text in NumberEntry
Using insert_text on GtkEntryBuffer must use the numbers of characters inserted
not the number of bytes.
Likewise Gtk.Editable's set_text must return the position in character not in
bytes.

issue9390
review321561002
2020-06-27 13:02:52 +02:00
Nicolas Évrard fcd11b3ef0 Synchronize cell and editable content in treeview
issue9227
review289791002
2020-06-19 11:38:10 +02:00
Cédric Krier 7073e0f822 Decode board action the same way as window action
The evaluation code should be the same to ensure same behavior.

issue9275
review303761007
2020-06-19 00:20:27 +02:00
Cédric Krier 663f887d51 Returns None when evaluating domain with None
We implement the same behavior as SQL with NULL which always returns NULL
except for IS operator. So the evaluation has the same result as the search.

issue8615
review290281002
2020-06-19 00:18:04 +02:00
Cédric Krier 4cee13f1a5 Update primary menu after changing the language
issue7955
review303761006
2020-06-12 12:39:17 +02:00
Cédric Krier 66c39b0106 Remove sphinx configuration
The HTML can be generated with sphinx-build -C . _build/html

issue9370
review295661002
2020-06-06 14:04:01 +02:00
Cédric Krier cabe936897 Use existing context for get_preferences
So we present to the user his current contextual values.
But we clear the context after modification.

issue9327
review301611002
2020-06-06 14:02:22 +02:00
Cédric Krier b0ace21327 Use only ascii as translation source
issue9358
review290111002
2020-05-21 09:10:46 +02:00
Cédric Krier 5cba0eadc0 Add context to export URL
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier c2c5388781 Backed out changeset 1748347abb2f 2020-05-19 19:32:33 +02:00
Cédric Krier d1c1839bc8 Add context to export URL
issue9304
review317361002
2020-05-19 18:57:53 +02:00
Cédric Krier 9742048dfb Add bits to check version name on win32
issue9297
review289981002
2020-05-10 11:21:25 +02:00
Nicolas Évrard a868b57fc2 Prevent toggling the checkbox when the original record is not valid
issue9280
review319351002
2020-05-05 16:44:53 +02:00
Cédric Krier 0ab6ed6d6a Increase version number 2020-05-04 12:02:56 +02:00
Cédric Krier 9a774e0577 Add tag 5.6.0 [skip ci] 2020-05-04 12:02:42 +02:00
Cédric Krier 0fc36bd816 Prepare release 5.6.0 [skip ci] 2020-05-04 12:02:41 +02:00
Cédric Krier b1642dfbe6 Exclude tkinter
Recent version of cx_Freeze always tries to bundle it but it is not needed and
fails sometimes to find the proper path.

issue9292
review325251002
2020-05-03 14:39:09 +02:00
Cédric Krier 101ab1263c Reset width size when no record is active
issue9282
review317311002
2020-05-01 00:24:24 +02:00
Cédric Krier 8fd7ee6d10 Do not rely on cursor column for event with renderer
Events with renderer may be linked to another column than the one having the
cursor. So we must search for the column having the specific renderer
otherwise we may process the wrong column.

issue8897
review291501002
2020-04-24 21:57:10 +02:00
Cédric Krier b8ab5b8d4a Use empty text for empty Reference in editable tree
issue9052
review291491002
2020-04-24 21:55:30 +02:00
Cédric Krier 0efd5af638 Add selection shortcuts to editable list
issue8898
review289821002
2020-04-24 21:54:03 +02:00
Cédric Krier a0d1bd7280 Pass entry text when creating record from editable list
The text must be passed in order to set a default value to rec_name.

issue8913
review299471002
2020-04-19 16:34:15 +02:00
Cédric Krier be906c1096 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier ceb70b2086 Skip invalid branch of domain without the inverted field
Those branches of the domain should not prevent to compute a proper inverted
domain for the field as the other fields will be fixed later.

issue9200
review311191002
2020-04-12 23:21:08 +02:00
Cédric Krier 01a65f6c6b Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier abb6a22ec6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier 284420fdd2 Filter leaf before preparing reference domain
We must not prepare reference domain if the clause is not applicable to the
current value.

issue9107
review305231002
2020-04-10 18:32:55 +02:00
Cédric Krier b040a119ec Add keys method on EvalEnvironment
The keys method is used by domain inversion to test known fields.

issue9199
review305211002
2020-04-10 18:27:39 +02:00
Maxime Richez f6df7b9a1f Add icon in add/remove programs list on Windows
issue9195
review289601002
2020-04-02 09:56:58 +02:00
Cédric Krier 935bf1df84 Add width and height attributes on calendar view
issue9148
review250931003
2020-04-01 23:58:49 +02:00
Cédric Krier 2c0c89fb63 Set default size for image widget in all views
issue9131
review256701006
2020-03-28 00:35:48 +01:00
Cédric Krier 28fd6352b6 Set saved tree width only if client save them
We rename also the option from save_width_height to save_tree_width which
correspond better to the current behavior.

issue9130
review258921051
2020-03-28 00:33:27 +01:00