Commit Graph
2641 Commits
Author SHA1 Message Date
Nicolas Évrard 09ceaba41b reset tree_states_done when setting a screen group
The O2M screen's tree_states_done property is filled with the view id, this
property is used to know when the state must be set or not. This has the effect
of not restoring the state of O2M widget when switching from a record to
another. This change fixes this behavior.

issue3609
review2791003
2014-01-26 18:03:00 +01:00
Cédric Krier 2cd0da0d57 Don't set default value for on_change and set id
issue3487
review2501002
2014-01-26 14:30:12 +01:00
Cédric Krier 6663c2ef29 In Reference widget, return empty string for get_model() as default value
issue3571
review2521002
2014-01-18 19:46:57 +01:00
Cédric Krier 093847ba43 Remove old workaround for PyGTK < 2.22
review2681003
2014-01-16 22:12:52 +01:00
Cédric Krier cb313d2557 Force value of parent Reference field
Since 2.6, reference field can be used in One2Many so in this case the value
should be forced like for Many2One.

review2581002
2014-01-09 18:45:14 +01:00
Cédric Krier 24e7236c7a Fix reload of screen at the end of wizard
A wizard could be launch by a button defined on a children record. In this case,
the ids to reload is not the ids from the wizard as they are from the children
model but just the current record.

issue3519
review2571002
2014-01-09 18:44:16 +01:00
Cédric Krier dcfb0c178d Resize search box to not be out of the parent
Using the screen did not always work because there could be some places on the
screen that are not reachable by a window, for example a desktop toolbar.

review2061002
2014-01-04 19:35:37 +01:00
Cédric Krier 512f6262bf Rename unlink for remove
issue3457
review2291002
2013-12-20 12:35:17 +01:00
Cédric Krier 4c8f1c056d Use a sequence of records, values in write
issue3499
review1901002
2013-12-19 14:46:30 +01:00
Cédric Krier 723b4610b3 Manage position of the cursor for Many2One and Char widgets
issue2230
review660002
2013-12-12 13:25:58 +01:00
Cédric Krier 6cf942a220 domain_parser should use rec_name for relation field and list
in operator on relation field must use list of ids. So the related rec_name
should be used instead because domain_parser always uses string as value.

issue3540
review2141002
2013-12-12 13:13:08 +01:00
Cédric Krier 07f223277c Set resource before saving
Since changeset ab856042562b, excluded fields are no more validated so the
resource field is no more set on attachment by the domain inversion (it is done
on validation).

issue3525
review2131002
2013-12-12 12:47:51 +01:00
Cédric Krier a4bdf524e4 Always match completion in search
issue3527
review1981002
2013-12-12 12:45:35 +01:00
Cédric Krier f7d32cd03f Quote also label in search box
issue3526
review1971002
2013-12-12 12:43:20 +01:00
Axel Braun b1079268e1 Desktop entry fixed for scheme registration
issue3479
2013-12-06 15:33:37 +01:00
Cédric Krier 8547f02dcc Fix domain_parser test_convert_datetime to use UTC value
Since changeset 3700121868af, internal datetime are always in UTC.
2013-12-05 17:42:04 +01:00
Cédric Krier 06de330198 Refactore get_preferences for login and user preferences
issue3514
review1831002
2013-11-28 23:12:40 +01:00
Cédric Krier 38a28eacd1 merge 2013-11-20 10:06:17 +01:00
Robin Baumgartner dfdb93794e Send None for missing parent records instead of False
issue3448
review1761002
2013-11-20 08:33:58 +01:00
Cédric Krier d5ff501ccc Search limit must be int
Since usage of python-sql limit is enforced to only integer.

issue3484
review1691002
2013-11-16 19:00:14 +01:00
Cédric Krier 3c0a4bed6c Allow to search on rec_name of Reference fields
The syntax is similar to the display of Reference in list view:
<target name>,<search value>.
The target name is the name of the target model and the search value follow the
same behavior as when searching on Many2One.

review1321002
2013-11-16 18:39:17 +01:00
Cédric Krier 1dd1ce4648 Improve search for existing issue
roundup filter is not a strict equal operation so result must be filtered for
strict equality with the hash.

issue3472
review1521004
2013-11-16 01:52:39 +01:00
Cédric Krier 874359a2a5 merge 2013-11-15 15:50:09 +01:00
Nicolas Évrard 959871cf6e Use get_eval for check_required computation
issue3473
review1561002
2013-11-15 15:03:00 +01:00
Cédric Krier 71ead2327f slugify report filename
This ensure that the file name will always work on any file-system.

issue3497
review1511002
2013-11-15 12:25:20 +01:00
Cédric Krier ad1be012d1 Use local timezone as server is always UTC
issue3444
review1421002
2013-11-15 02:28:06 +01:00
Cédric Krier 7caed0c4a9 Fix wrong instantiation of Attachment
Introduced with changeset 60c08c72a159

issue3481
review1621003
2013-11-14 18:49:47 +01:00
Cédric Krier 523d3383d9 merge 2013-11-12 16:47:23 +01:00
Cédric Krier 3768c7f834 Backed out changeset c909bd88517d
Using rec_name to search key is wrong because rec_name is the string and not
the key.

issue3483
2013-11-12 16:45:42 +01:00
Cédric Krier 8cb5792f58 Don't set image on button if it is still the same
It fixes also a strange behavior of GTK that doesn't display any images if the
icon is changed before it is realized.

issue3191
review1451002
2013-11-03 20:42:34 +01:00
Cédric Krier 4c2f3c657c Missing GooCalendar optional dependency in doc 2013-11-03 20:37:43 +01:00
Cédric Krier b998e634c4 Sanitize report file extension
issue3446
2013-11-03 18:41:31 +01:00
Cédric Krier 3c7ce7b36c Dict widget must use rec_name to search key
review1401002
2013-10-30 00:38:41 +01:00
Cédric Krier 7f7d6cf268 Add support for add_remove on many2many widget
If a one2many is displayed with the many2many widget, the widget should support
the add_remove attribute.

review1231002
2013-10-27 19:42:25 +01:00
Cédric Krier f787cafd87 Manage exclude field on many2one
issue3173
review1211002
2013-10-27 19:29:31 +01:00
Cédric Krier 208a8c3255 Convert to unicode the string of predefined search field
DomainParser expect to work with unicode and gettext return string encoded in
utf-8 (coding of the po file)

issue3440
review1301002
2013-10-27 19:25:31 +01:00
Cédric Krier b44a40b4e5 Increase version number 2013-10-21 17:28:14 +02:00
Cédric Krier 0059509d8c Added tag 3.0.0 for changeset 9197d90b0257 2013-10-21 16:08:52 +02:00
Cédric Krier f5f48223db Prepare release 3.0.0 2013-10-21 16:08:51 +02:00
Cédric Krier 9e3e651119 Clean translations 2013-10-20 16:43:06 +02:00
Cédric Krier 38bd72cec7 Fix DB windows when prevent_dblist is set
issue3280
review1181002
2013-10-20 16:21:38 +02:00
Bruno M. Villasanti 9e95d01716 Update translation for es_AR. 2013-10-18 19:39:06 -03:00
Jordi Esteve 29ff1f5fd8 Update translation for es_ES 2013-10-18 23:45:15 +02:00
Cédric Krier acf95ac4fc Quote user and password in the roundup XML-RPC URL
review1143002
2013-10-18 22:25:45 +02:00
Cédric Krier f398b77af5 Add stringable on DomainParser
It is possible to convert to string a domain only if all the fields are in the
view.
So bookmark must be filled with only stringable domains.

issue3430
review1142002
2013-10-18 22:24:49 +02:00
Cédric Krier 936556d5c1 Update french translation 2013-10-18 21:34:34 +02:00
Mathias Behrle b8a16b6c40 Update translation for de_DE 2013-10-18 21:21:03 +02:00
Nicolas Évrard ee77f32701 Do not validate non editable views when switching
review1140002
2013-10-18 17:11:40 +02:00
Nicolas Évrard d1c0ecbbfd Make field readonly when it is an AND-domain
review1135003
2013-10-18 15:57:52 +02:00
Oscar Alvarez e7d82e9cc4 Updated es_CO translation 2013-10-17 20:44:13 -05:00