Commit graph

43 commits

Author SHA1 Message Date
C?dric Krier 8af79f3fc6 Fix PYSON.Equal with Array
In javascript, Array comparison doesn't work with '=='. It should use the
Sao.common.compare.

issue5474
review18001002
2016-04-15 14:09:35 +07:00
C?dric Krier 272fa5c60e Uses 30 days for month for Timedelta
issue5282
review20041002
2016-03-21 23:54:08 +01:00
C?dric Krier 256f7acc2e Fix domain parser when value is an operator
issue5266
review24751002
2016-02-02 19:09:55 +01:00
C?dric Krier 23b22f7176 Rename package in index.html
issue5098
review18761002
2015-11-03 10:02:20 +01:00
C?dric Krier e2efb68a02 Fix localize_domain to strip 4th element only for Reference field
The 4th element should only be removed is the localized field is a Reference
field otherwise it must be kept.

issue4975
review16621002
2015-09-22 22:54:41 +02:00
C?dric Krier c86ffe3cf9 Add support of TimeDelta to DomainParser
issue4851
review23271002
2015-07-09 15:32:45 +02:00
Nicolas ?vrard 6ac2e5260f Add autocompletion on search entry 2015-04-24 13:56:41 +02:00
C?dric Krier a070f9c5e7 Don't consider as unique clause with nested target
issue4552
review11161002
2015-03-30 22:40:07 +02:00
Nicolas ?vrard 6f29eb0455 make DomainParser.operatorize support clause with null values
review15151002
2015-03-25 18:41:43 +01:00
C?dric Krier 321f1f7e84 Hide columns containing always the same value
The domain inversion is used on the screen domain combined with the tab domain
to find columns that has always the same value.

issue4552
review9141003
2015-03-18 11:10:29 +01:00
C?dric Krier 8e9af19358 Manage bookmarks
review13021002
2015-03-06 09:33:35 +01:00
C?dric Krier e31f655f9e Fix localize_domain to work with extended clause of Reference field
The first extra value must be dropped when localize a Reference field.

issue4562
review15021002
2015-02-19 13:50:06 +01:00
C?dric Krier 7ad8438017 Escape backslash in domain parser
Backslash is the escape key so it must be escaped.

issue4471
review6041002
2015-02-19 13:44:24 +01:00
C?dric Krier ebab6b8e8a Add TimeDelta field
And remove float_time widget.

issue4026
review10891002
2015-02-09 23:04:01 +01:00
C?dric Krier de48b09d04 Use bootstrap instead of jquery-ui
- use bower for dependencies
- use moment for date
- use bootstrap-datetimepicker

review11821002
2015-02-06 00:32:51 +01:00
C?dric Krier e80d35a02d domain_parser must escape when quoting '"'
issue4247
review7651002
2014-10-14 15:22:31 +02:00
C?dric Krier 09e8acf148 Change range operator of search widget to be included
issue3997
review11321002
2014-07-09 00:47:21 +02:00
C?dric Krier c3291d981d Fix simplify for simple domains ['AND'], ['OR']
issue3955
review7321002
2014-06-08 00:24:51 +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 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 e8c2604756 Fix domain parser for empty selection
issue3785
review4571003
2014-03-24 15:58:58 +01:00
C?dric Krier 52061154f6 Add Len to PYSON
issue3692
review3681002
2014-02-27 12:38:29 +01:00
C?dric Krier 744c005777 Fix domain inversion for xxx2many fields
issue3659
review3331002
2014-02-13 22:50:28 +01:00
C?dric Krier 9c8b7cebc8 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.

review1331002
2013-11-16 18:44:33 +01:00
C?dric Krier d393f427d8 Add datetime, date and time to DomainParser
review1116003
2013-10-04 11:21:32 +02:00
C?dric Krier 2f1b7d6936 Add constructor for Date and DateTime
It is needed to be able to differentiate Date and DateTime because Javascript
as only a datetime object named Date.

review1115003
2013-10-03 11:11:25 +02:00
C?dric Krier 381cc84657 Don't use field digits to format float/Decimal in domain_parser
The conversion of a domain into string should keep the same significant digit,
which means to not use the field digits definition but significant digit of the
value.

issue3266
review1051002
2013-09-04 10:42:23 +02:00
C?dric Krier 800508e946 Add validation and domain inversion 2013-07-23 10:44:54 +02:00
C?dric Krier 335f9999c4 Add DomainParser 2013-05-16 18:50:15 +02:00
C?dric Krier a26a1fd357 Fix test suite name 2013-05-16 18:21:46 +02:00
C?dric Krier 5e6cea20ce Fix PYSON test for month computation 2013-04-18 18:23:43 +02:00
C?dric Krier d0b8330255 Fix PYSON and JSON for null value 2013-04-18 18:14:00 +02:00
C?dric Krier d9dc261350 Move compare to Sao.common 2013-02-06 17:33:27 +01:00
C?dric Krier e07eb1c97f Use Sao.Decimal instead of Number to fix jshint error 2013-01-07 15:02:34 +01:00
C?dric Krier ee13178a90 Test only with non-minified version 2013-01-07 15:01:44 +01:00
C?dric Krier 65aafdbd5e Fix sao src to use dist 2013-01-07 14:54:31 +01:00
C?dric Krier 6fae77fb6d Add Gruntfile and fix jshint 2013-01-04 21:29:48 +01:00
C?dric Krier 70ce8b5556 Add pyson 2013-01-04 16:32:40 +01:00
C?dric Krier abbbeca626 Add more fieds 2012-12-24 19:45:10 +01:00
C?dric Krier 718b67ef36 Add support in JSON-RPC of date, datetime and decimal 2012-11-29 20:38:45 +01:00
C?dric Krier aa206d0a22 Add context management to group and record 2012-11-29 17:07:08 +01:00
C?dric Krier 7e639255ff Add group loading of records 2012-11-29 15:44:22 +01:00
C?dric Krier 1d4a5dbe48 Initial commit 2012-11-29 11:32:58 +01:00