21 Commits
Author SHA1 Message Date
Jean Cavallo c24bcbdab1 Only update translation cache when necessary
issue6403
review28191002
2017-06-03 11:34:12 +02:00
Jean Cavallo 116c14497b Use same key for get and set in translation cache
issue6365
review33221002
2017-03-29 00:14:53 +02:00
Jean Cavallo 73495eaf06 Replace 'in_invoice' and 'in_credit_note' by 'in' in agent states
Since changeset 18e8a5a803c6, invoice and credit note are merged into the same type 'in'.

issue5561
review18161002
2016-05-20 18:01:13 +02:00
Jean Cavallo e6073b7fb8 Properly handle skip_data
First entries of "skip_data" blocks were always imported,
since the call to startElement was done right after setting
the taghandler attribute.

issue5254
review20781003
2016-03-13 21:46:30 +01:00
Jean Cavallo a17ed332bf Add test for checking payment kind to set debit/credit
issue5345
review19901002
2016-03-05 17:16:57 +01:00
Jean Cavallo 0e300dccff Check payment kind to set debit/credit
The new lines' affectation (debit or credit) should depend on
the payment kind rather than just a check on the initial line
value, since it can be negative.

issue5345
review19901002
2016-03-05 17:16:02 +01:00
Jean Cavallo a5f2ddbff0 Do not group per party when reconciling payment lines
issue5256
review19771002
2016-01-22 18:32:25 +01:00
Jean Cavallo 732c0d5090 Properly handle recursive One2Many values in on_change
_on_change_set assumes that One2Many fields add or create
operations will have a list of ids as parameters, when they
can be dictionaries.

issue4985
review18611002
2015-10-13 22:39:45 +02:00
Jean Cavallo dc0b21c9c3 Do not clear _datetime entry from context in rpc -> convert
issue4497
review8871002
2015-01-20 11:58:31 +01:00
Jean CAVALLO 68f4d19ed3 Fix condition in _on_change_set method
If _on_change_set is called with a None value for a XXX2Many field, the test
designed to check for creations / updates raises an Exception because of
missing parenthesis.

issue4284
review10591002
2014-10-23 18:10:55 +02:00
Jean CAVALLO 90cf6b031d Properly calculate the module states when upgrading
issue3518
review1871002
2013-11-26 11:25:36 +01:00
Jean CAVALLO 9314712df6 Wrong conversion of the create API of list of dict from changeset fb92339d7685
issue3296
review977003
(transplanted from 1b7002883001b5b9dd6ed72230ab13a075f730c4)
2013-07-12 11:34:51 +02:00
Jean CAVALLO 12f348c119 Wrong conversion of the create API of list of dict from changeset fb92339d7685
issue3296
review977003
2013-07-12 11:34:51 +02:00
Jean CAVALLO 9c15038345 Activate event takes only one argument in DictSelectionEntry
issue3177
review827004
(transplanted from 93f1104f3a01e581fe01d6912979e3e9463fec06)
2013-04-25 11:27:27 +02:00
Jean CAVALLO c5dc2176b9 Activate event takes only one argument in DictSelectionEntry
issue3177
review827004
2013-04-25 11:27:27 +02:00
Jean CAVALLO dd02515f61 Trigger selection pop-up on Ctrl-Space for Selection Widget of Dict fields
issue3163
review809002
2013-04-24 16:18:50 +02:00
Jean CAVALLO 68547b4f47 Safer get_value for selection widget of Dict fields
issue3165
review810002
2013-04-19 15:50:28 +02:00
Jean CAVALLO 25fea393a8 Fix model.fields_get for Function(Dict) fields
issue3147
review792002
2013-04-16 15:58:03 +02:00
Jean CAVALLO feef05415e Improved error management in module registering
A try in the register_classes method which was supposed to detect
the absence of the register method could hide errors in the
__init__ file of the module and silently go on.

issue 2806
revision545002
2012-10-10 10:55:53 +02:00
Jean CAVALLO 0bced2de7b Fix wrong string conversion of reference value
issue2784
review523002
2012-09-27 09:23:39 +02:00
Jean Cavallo 4d84501fef Active Record 2012-09-24 22:10:20 +02:00