Commit Graph

213 Commits

Author SHA1 Message Date
C?dric Krier d7e9480516 Make register_icons sequential to reduce number of queries
review7281002
2014-05-27 22:34:46 +02:00
C?dric Krier 06d44719e9 Remove headers of multiselection
issue3915
review9351003
2014-05-23 11:52:21 +02:00
C?dric Krier 8604a74346 Don't set default value for on_change and set id
issue3487
2014-05-19 21:14:54 +02:00
C?dric Krier 492f39fc8c Fix test on bunch loading size 2014-05-19 21:10:05 +02:00
C?dric Krier 7ca53580b2 Fix limit computation for bunch loading 2014-05-19 21:09:32 +02:00
C?dric Krier 368428090b Remove self hack by using binded method 2014-05-19 21:09:02 +02:00
C?dric Krier 0bfe3c2af0 Fix copy of session in reload context 2014-05-19 21:08:13 +02:00
C?dric Krier 358f2ef107 Add missing ok, cancel as local icons 2014-05-19 21:06:11 +02:00
C?dric Krier 9ac657ba64 One2Many.set_client should compare with active records
issue3914
review14291003
2014-05-17 18:42:56 +02:00
C?dric Krier 3c89620d68 Skip relation field for on_change value of One2Many
This prevents infinite recursion when the parent has many one2many fields.

issue3907
review14281003
2014-05-17 18:40:04 +02:00
C?dric Krier c925e78047 Set button readonly when record or group is readonly
issue3904
review9341005
2014-05-17 18:33:25 +02:00
C?dric Krier b20128a747 Fix eval_leaf when field equals 0
Only null must be considered as a value not set which will be forced by the
domain inversion.

issue3896
review8321003
2014-05-17 18:31:20 +02:00
C?dric Krier 62ecbeba3f Use a tuple model, dictionary for Reference field
issue3902
review9341003
2014-05-10 20:31:27 +02:00
C?dric Krier a0a45c3868 Use Group.child_name instead of relation_field to skip on_change values
relation_field is not reliable see issue3899

issue3819
review6281002
2014-05-09 14:31:21 +02:00
Sergi Almacellas Abellana c31ff82771 Save tree state of menu when changing preferences
review5281002
2014-05-07 10:55:38 +02:00
C?dric Krier accaad7f88 Explicitly set value of parent field
issue3819
review5091002
2014-05-06 22:57:29 +02:00
C?dric Krier fea57566fb Use the same read limit for children 2014-05-04 00:20:11 +02:00
C?dric Krier c737da0971 Use menu context for screen
issue3858
review5221002
2014-05-04 00:14:40 +02:00
C?dric Krier 892958e81c Don't use the execution context to launch action from wizard
The active_* keywords have no meaning when launching futher action from wizard.

issue3856
review5191002
2014-04-18 19:33:52 +02:00
C?dric Krier 1c18b95eea reload_context should not use its context
issue3837
review5041002
2014-04-12 23:41:39 +02:00
C?dric Krier ae29f186d5 Make button reload all parents
issue3815
review4851002
2014-04-10 22:29:57 +02:00
C?dric Krier 61acafc93c Let cancel button on window form for readonly screen
issue3826
review4881003
2014-04-07 18:22:06 +02:00
C?dric Krier 2141b7e590 Validate field on simplified domain
issue3823
review4901002
2014-04-07 18:13:15 +02:00
C?dric Krier c849d45827 Fix execution of actions from wizard 2014-04-01 12:19:19 +02:00
C?dric Krier 07deba74a2 Fix usage of root_group 2014-04-01 12:16:45 +02:00
C?dric Krier 8714c20e61 Set value for constraining domain of non-relation field
The validation method should also set value for the local domain like it does
for the inverted.

issue3794
review4771002
2014-03-31 19:03:42 +02:00
C?dric Krier 27ab813f20 Empty table body when reconstruct the table 2014-03-28 23:28:08 +01:00
C?dric Krier 926737935e Fix Group.add when index is -1 2014-03-28 23:27:31 +01:00
C?dric Krier 224ccb16ac Fix _super call of Char.get 2014-03-28 22:54:26 +01:00
C?dric Krier 760212241c Enforce readonly on Window.Form
issue3778
review4541002
2014-03-28 20:03:17 +01:00
Nicolas ?vrard e2f8c43494 Add support for editable tree
review2171002
2014-03-28 14:37:36 +01:00
C?dric Krier e8c2604756 Fix domain parser for empty selection
issue3785
review4571003
2014-03-24 15:58:58 +01:00
C?dric Krier d5d234a2f6 Add missing TODO to force parent on Reference field
review4621002
2014-03-24 15:56:01 +01:00
C?dric Krier 323cadc1aa Fix Reference field with domain
issue3783
review4621002
2014-03-24 15:55:35 +01:00
C?dric Krier 4486633c49 Don't let default value override existing value
issue3782
review4591002
2014-03-24 15:48:11 +01:00
C?dric Krier 7106ffbe20 Add option to show revisions
issue3678
review3671003
2014-03-18 19:56:07 +01:00
Nicolas ?vrard e7b1ce31cc Add multiselection widget for many2many
review3951002
issue3634
2014-03-16 21:19:05 +01:00
Nicolas ?vrard fd2e45362b Add index to one2many's on_change add
review2091003
issue3539
2014-03-16 21:03:27 +01:00
C?dric Krier 61862e9229 Remove auto-refresh
issue3752
review4281002
2014-03-15 10:52:44 +01:00
C?dric Krier 0034f8ad6e Add support of domain for non-relation field
issue3743
review4171003
2014-03-15 10:47:02 +01:00
C?dric Krier d459d7f6ba Manage microseconds in JSON-RPC
review3671003
2014-03-15 10:40:46 +01:00
C?dric Krier 22552e987a Fix instance test in init_selection
key could be empty but still the call must be for an instance.

issue3728
review4011002
2014-03-08 13:25:13 +01:00
C?dric Krier f29545543c Replace sha widget by password
issue3713
review3791004
2014-03-07 19:39:49 +01:00
Sergi Almacellas Abellana 9ce33424e8 Pass the action which is calling a wizard or a report
issue3675
review3581002
2014-03-05 19:35:22 +01:00
C?dric Krier 294ff9b44b Don't change group value when it is not needed
The group of xxx2many must only be changed for set and set_default. Other
methods should keep the removed/deleted records but as the older group was
destroyed this information is lost.

issue3724
review3941003
2014-03-04 11:50:08 +01:00
C?dric Krier c224e59d37 Fix Group.changed when Field.changed return undefined 2014-03-01 02:04:35 +01:00
Nicolas ?vrard 2a801deae5 merge. 2014-02-27 18:59:57 +01:00
Nicolas ?vrard 36548b6baa O2M's _set_value should not copy deleted/removed records from previous group 2014-02-27 18:59:27 +01:00
C?dric Krier 52061154f6 Add Len to PYSON
issue3692
review3681002
2014-02-27 12:38:29 +01:00
C?dric Krier 2882f95176 Fix action button sensibility
Allow to run action if no record is selected.

issue3685
review3611004
2014-02-20 23:36:38 +01:00