Commit Graph
2271 Commits
Author SHA1 Message Date
Cédric Krier cdbe6850f4 Manage error when saving record from Many2One
The save of the current record must be done at the same level as the
validation.

issue2614
review393001
(transplanted from d284eb9d3405d49c09eb5e59d2bac4ce9b4b27bc)
2012-06-08 19:22:05 +02:00
Cédric Krier 7acf30e755 Set record modified when setting list on O2M
issue2607
review375001
(transplanted from 209e5395d4076e182cf454c0ab868e02869c361e)
2012-05-21 12:40:10 +02:00
Cédric Krier f2160ea20c Retreive current record after saving
issue371001
(transplanted from 8a902d5ad123085bd9c2dda0203483295ee0a386)
2012-05-19 15:40:27 +02:00
Cédric Krier c22b7eb52a Use one record pool per group
Having a global pool has some side effect between tabs.
So it is better to get read optimization only inside one tab by using a pool on
the main group.

issue2582
review370002
(transplanted from c025b45e7c70bc262ddab7bb680b4260725da966)
2012-05-19 15:37:35 +02:00
Cédric Krier 9ed60d92ad Activate form buttons only when they are sensitive
issue2601
(transplanted from 4d6c095c984165c19ae61a45a7a82d4c706e4693)
2012-05-14 00:09:17 +02:00
Cédric Krier fc0fc33900 Set None as value for empty reference field
issue2599
(transplanted from 11a133823558e92f8428d6405a5ea5bbbbfe2b8c)
2012-05-12 17:26:43 +02:00
Cédric Krier 0fbc23f54a Fix domain_inversion for comparison of datetime with None
review359002
(transplanted from 49609073c798e7b019a5d2dc28dcebb627ad10dd)
2012-05-12 16:48:17 +02:00
Cédric Krier ec8a7f3e51 Improve hack of glitch in position of widgets in notebook
By calling display when switching tabs, it loose the value of focused widget
because value is reset before the focus-out is proceed.

issue2571
review353001
(transplanted from 9c863c7e1626ca96677d04de19ab59957f5d7253)
2012-05-05 09:30:41 +02:00
Mathias Behrle 3c324001a9 Adding missing argument for string conversion.
issue2573
(transplanted from 1aa6aa450c48ba800a6a978a9f985dabd876b43e)
2012-04-28 11:45:30 +02:00
Cédric Krier 732ed37303 Stop wizard on TrytonServerError if there is no screen
issue2569
review347001
(transplanted from f3efd9da7bb8145108e72d82d1d3afc41414fe45)
2012-04-27 13:37:07 +02:00
Cédric Krier 40ef533470 Add missing Tryton icon to wizard dialog
(transplanted from 60449e5bfc90aaecb868fe91151a6eca945ae41d)
2012-04-27 13:36:22 +02:00
Cédric Krier 9ab579e74f Check if GTK locale directory exists before copying it
(transplanted from 7cebed85fb4e0fed16e31aec1c7dededd6bd5195)
2012-04-27 13:36:02 +02:00
Cédric Krier 6be32b6216 Increase version number 2012-04-24 12:19:47 +02:00
Cédric Krier 26ac217519 Added tag 2.4.0 for changeset fe15da23f733 2012-04-23 16:18:56 +02:00
Cédric Krier 9617f68aa2 Prepare release 2.4.0 2012-04-23 16:18:09 +02:00
Cédric Krier dce2e9ae28 Clean translations 2012-04-23 11:10:28 +02:00
Nickolay Kolev 333b6b5f97 Merge 2012-04-23 11:06:06 +03:00
Cédric Krier 05fe73dd3b Set back gtk-button-images for windows
On windows, gtk-button-images is not activate by default.
2012-04-23 10:04:52 +02:00
Nickolay Kolev 06ef2ee68a Bulgarian translation 2012-04-22 14:41:01 +03:00
Albert Cervera i Areny 2976c3e75a Improve Catalan translation of NSIS installer. 2012-04-22 11:21:45 +02:00
Albert Cervera i Areny 606271d334 Add Catalan translation to tryton.desktop. 2012-04-22 11:21:20 +02:00
Albert Cervera i Areny 83daf5737c Update Catalan translation. 2012-04-22 11:17:37 +02:00
Cédric Krier b9d3a80ea9 Add missing support of None in domain_parser
issue2557
review339001
2012-04-22 00:15:25 +02:00
Cédric Krier b576d5753b merge 2012-04-21 23:56:59 +02:00
Cédric Krier 9c8d868b31 Attachment take an id and not a record
issue2560
2012-04-21 01:15:49 +02:00
Jordi Esteve b81347a834 Update translation for es_ES 2012-04-21 01:05:02 +02:00
Bertrand Chenal b3253df61e Update french translation 2012-04-21 00:05:08 +02:00
Bertrand Chenal ba8879246b Add french translation for tryton.desktop 2012-04-21 00:04:47 +02:00
Bruno M. Villasanti 0e8914883c Add Spanish Argentina language 2012-04-20 17:08:49 -03:00
Cédric Krier de25f5c21b Fix delete record in treeview since records are destroyed
issue2554
review336001
2012-04-20 19:47:24 +02:00
Cédric Krier aa9d4b778e Fix group usage in Record.delete
It must always use the root_group for on_write_ids call and group comparison.

review336001
2012-04-20 19:46:47 +02:00
Cédric Krier 5b0dc03ad8 Fix sig_reload to work from modified_save
The current record must also be canceled in tree view.
And not saving modified record must always reload it.

issue2553
review329001
2012-04-20 19:43:51 +02:00
Cédric Krier 31b73ee505 merge 2012-04-20 09:46:56 +02:00
Jordi Esteve 317d71a084 Update translation for es_ES 2012-04-20 09:36:57 +02:00
Cédric Krier 7058d10ccd Fix infinit loop when computing root_group 2012-04-19 23:34:49 +02:00
Cédric Krier ef73e529e1 Reset current_record before clearing group 2012-04-18 20:00:06 +02:00
Cédric Krier 2898936468 Don't stop wizard on TrytonServerError
review328001
2012-04-18 19:58:49 +02:00
Cédric Krier 8220a832e6 Catch more exception when deleting wizard 2012-04-17 11:51:53 +02:00
Cédric Krier a79389a388 Don't use RPCExecute for request_get
Otherwise there could be multiple waiting popups.
2012-04-16 20:05:18 +02:00
Cédric Krier cf7627be69 Fix set_cursor on editabletree when a popup is raised 2012-04-16 19:16:56 +02:00
Cédric Krier 38e6c57402 Don't raise exception inside process_exception
issue2546
2012-04-15 17:37:07 +02:00
Cédric Krier 57bd18ac4c Fix modified state on list view
Let the Field.set_client set the modified state.
The editing test for treeview doesn't work properly.
2012-04-15 17:07:54 +02:00
Cédric Krier c03ad30fa3 Records must be destroyed on deletion
Deleted record must be destroyed and not stored in on the group.
2012-04-15 17:05:24 +02:00
Cédric Krier bf0b0f78a5 Fix set value of many2one when text is empty
many2one must have None value if text is empty.
2012-04-15 17:03:34 +02:00
Cédric Krier 5a9954fa88 Enforce nomodal to try to put focus back
The widget with the focus could disappear when setting back the focus so it
tries to put the focus to one of its parents.
2012-04-15 17:02:09 +02:00
Mathias Behrle 6b6527f172 Update translation for de_DE 2012-04-15 13:56:09 +02:00
Cédric Krier 955965f054 Force local id in record expression evaluation context
Otherwise field id is None for new records.

issue2544
2012-04-14 19:31:29 +02:00
Cédric Krier 23435aeb17 When saving group, delete also records
issue2543
2012-04-13 21:11:26 +02:00
Cédric Krier b3b2e1fc91 merge 2012-04-13 20:56:35 +02:00
Cédric Krier ef1a328b7d Add a pseudo-parent to attachment
With a parent, it is not possible to switch to form view.
2012-04-13 20:56:20 +02:00