Commit Graph
261 Commits
Author SHA1 Message Date
Cédric Krier 00a44f9318 Manage tree_state attribute
issue4028
review10391003
2014-07-20 12:56:07 +02:00
Cédric Krier 0f2c3a11ca Change range operator of search widget to be included
issue3997
review11321002
2014-07-09 00:47:21 +02:00
Cédric Krier 5decda2998 Use null for empty Date
review13391003
2014-07-09 00:36:28 +02:00
Cédric Krier 661946a1c3 Use a timestamp for storing cache of tree states
issue3888
review5421004
2014-07-09 00:35:30 +02:00
Cédric Krier 0ca137f3e7 Screen doesn't have parent, it is Group
review13371004
2014-07-09 00:30:23 +02:00
Cédric Krier b50622f4e5 Add factor on numbers
review6421002
2014-07-09 00:29:08 +02:00
Cédric Krier 3f837d49bb Use stringify on_change value before using it as key
And add missing context to selection_mixin call.

When Object is used as key in an other Object, there are no distinction between
any instances. So a json string must be used to get a unique representation of
the Object.

issue3989
review6361002
2014-06-22 16:51:42 +02:00
Cédric Krier 02f1cace77 Correctly manage affix name from attributes
issue3982
review10361002
2014-06-11 09:29:58 +02:00
Cédric Krier c9f81943de Manage correctly xalign for label
review12361002
2014-06-09 18:24:51 +02:00
Cédric Krier 84a96f881c Add reload menu and reload context to client actions
issue3740
issue3964
review4371002
2014-06-09 18:03:00 +02:00
Cédric Krier 853de5ab59 Call on_change's after setting default values
issue3923
review7291002
2014-06-08 00:37:31 +02:00
Cédric Krier 4618fcc509 Fix simplify for simple domains ['AND'], ['OR']
issue3955
review7321002
2014-06-08 00:24:51 +02:00
Cédric Krier b8a164defa Missing bind to this execute_actions in Wizard 2014-06-03 14:58:19 +02:00
Guillem Barba b8d779de06 Detect correctly when to parse value from DateTime, Date or Time field
issue3957
review11301002
2014-06-02 17:26:06 +02:00
Cédric Krier 88d3db8e37 Add README and update dependecies
review12331002
2014-06-01 10:10:01 +02:00
Cédric Krier d9748b0651 Fix PYSON evaluation of Date and DateTime on last days of the month
If the current day doesn't exist in the month set then javascript switch to the
next month. So to prevent this switch, the date must have a day which always
exists.
There is no test because this misbehavior depends on the current date.
2014-05-30 12:20:51 +02:00
Cédric Krier df910352f1 Make register_icons sequential to reduce number of queries
review7281002
2014-05-27 22:34:46 +02:00
Cédric Krier d970b10349 Remove headers of multiselection
issue3915
review9351003
2014-05-23 11:52:21 +02:00
Cédric Krier 36bcd1aef0 Don't set default value for on_change and set id
issue3487
2014-05-19 21:14:54 +02:00
Cédric Krier 37b608b412 Fix test on bunch loading size 2014-05-19 21:10:05 +02:00
Cédric Krier d24479b955 Fix limit computation for bunch loading 2014-05-19 21:09:32 +02:00
Cédric Krier ee0ccd3388 Remove self hack by using binded method 2014-05-19 21:09:02 +02:00
Cédric Krier f7000f746e Fix copy of session in reload context 2014-05-19 21:08:13 +02:00
Cédric Krier d0926e85f8 Add missing ok, cancel as local icons 2014-05-19 21:06:11 +02:00
Cédric Krier 5aab0fe206 One2Many.set_client should compare with active records
issue3914
review14291003
2014-05-17 18:42:56 +02:00
Cédric Krier 9bffb53f4c 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 1c03db39f6 Set button readonly when record or group is readonly
issue3904
review9341005
2014-05-17 18:33:25 +02:00
Cédric Krier bc0e1009a2 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 42b03ca0ff Use a tuple model, dictionary for Reference field
issue3902
review9341003
2014-05-10 20:31:27 +02:00
Cédric Krier fc3019a8cc 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 723808441a Save tree state of menu when changing preferences
review5281002
2014-05-07 10:55:38 +02:00
Cédric Krier 886d3b5c66 Explicitly set value of parent field
issue3819
review5091002
2014-05-06 22:57:29 +02:00
Cédric Krier 577da80350 Use the same read limit for children 2014-05-04 00:20:11 +02:00
Cédric Krier cf2343a9e0 Use menu context for screen
issue3858
review5221002
2014-05-04 00:14:40 +02:00
Cédric Krier f2c29e0f3b 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 6552c8515e reload_context should not use its context
issue3837
review5041002
2014-04-12 23:41:39 +02:00
Cédric Krier 5fb30848bd Make button reload all parents
issue3815
review4851002
2014-04-10 22:29:57 +02:00
Cédric Krier d8803540b8 Let cancel button on window form for readonly screen
issue3826
review4881003
2014-04-07 18:22:06 +02:00
Cédric Krier 2b81dc096a Validate field on simplified domain
issue3823
review4901002
2014-04-07 18:13:15 +02:00
Cédric Krier 6581c6d086 Fix execution of actions from wizard 2014-04-01 12:19:19 +02:00
Cédric Krier 5cc5c24b93 Fix usage of root_group 2014-04-01 12:16:45 +02:00
Cédric Krier f2ac656be2 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 64ded037dc Empty table body when reconstruct the table 2014-03-28 23:28:08 +01:00
Cédric Krier 23181a22d2 Fix Group.add when index is -1 2014-03-28 23:27:31 +01:00
Cédric Krier 1ab35fad71 Fix _super call of Char.get 2014-03-28 22:54:26 +01:00
Cédric Krier 7cdedc15d8 Enforce readonly on Window.Form
issue3778
review4541002
2014-03-28 20:03:17 +01:00
Nicolas Évrard d6f184f28f Add support for editable tree
review2171002
2014-03-28 14:37:36 +01:00
Cédric Krier 6b00c07f74 Fix domain parser for empty selection
issue3785
review4571003
2014-03-24 15:58:58 +01:00
Cédric Krier 52e0945df3 Add missing TODO to force parent on Reference field
review4621002
2014-03-24 15:56:01 +01:00
Cédric Krier 714553a3c8 Fix Reference field with domain
issue3783
review4621002
2014-03-24 15:55:35 +01:00