Commit Graph

1913 Commits

Author SHA1 Message Date
Olivier Dony 6a38a66d50 [FIX] BufferedDataSet: avoid randomizing results when there are no sort_fields
Array.sort is not necessarily stable, and sorting an
array with an unstable sort will cause a randomization
of the original order, which should have been preserved.

See also:
  - http://ecma262-5.com/ELS5_Section_15.htm#Section_15.4.4.11
  - http://code.google.com/p/v8/issues/detail?id=90

lp bug: https://launchpad.net/bugs/928389 fixed

bzr revid: odo@openerp.com-20120314111014-1igxhrynu5557di5
2012-03-14 12:10:14 +01:00
Launchpad Translations on behalf of openerp 57b2b97308 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052736-h7pcyns8m0yapx2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050705-4g6qxsmwzmefmekl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053506-zeuvhbd8ml1rhmy8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054433-q7eqdv6c3ise2wv1
2012-03-14 05:44:33 +00:00
Xavier Morel 2c4898dc84 [FIX] render statusbar as selection in listview
bzr revid: xmo@openerp.com-20120309143640-784m7dhyeg6cnrfm
2012-03-09 15:36:40 +01:00
Xavier Morel 6501553263 [MERGE] synchronous db-creation call, significantly simplified db creation code
also removed custom blockUI and error management hooks since it's now a perfectly standard RPC call and webclient is already available

bzr revid: xmo@openerp.com-20120309140536-21u2ked9oc7eaie5
2012-03-09 15:05:36 +01:00
Xavier Morel 56ba80370c [FIX] persist selected filter when new search criteria are added to the search view
bzr revid: xmo@openerp.com-20120309135438-kv6jh5ymwnis0s7s
2012-03-09 14:54:38 +01:00
Fabien Meghazi 66e1ce8606 [FIX] Missing date.js CultureInfo's am/pm descriptor causes wrong dates to be sent to server without user's knowledge
lp bug: https://launchpad.net/bugs/938497 fixed

bzr revid: fme@openerp.com-20120308102151-eyr71rzk345f6xji
2012-03-08 11:21:51 +01:00
Launchpad Translations on behalf of openerp ee40bd932c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052449-xr1pzp07rtg17k5j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052456-0x4knc5exg2mm14n
2012-03-08 05:24:56 +00:00
Olivier Dony 56ab278178 [MERGE] One more merge from 6.1 branch
bzr revid: xmo@openerp.com-20120307153105-nh5wbzwjnn8g880o
bzr revid: odo@openerp.com-20120307164049-ocu8jsyt19sbxsqr
2012-03-07 17:40:49 +01:00
Fabien Meghazi c0439810ef [FIX] Add to dashboard domain & context merging problems
bzr revid: fme@openerp.com-20120307160503-w1mha79xiznl4x6h
2012-03-07 17:05:03 +01:00
Xavier Morel 9a646fce10 [ADD] permanent loading of saved filters
When selecting a saved filter, its data is now saved inside the
searchview's state, and re-used any time there's a search performed
(until the filter is replaced or the search view is cleared).

Some cleanup of the support code for loading filters
(SearchView.get_filters) also had to be performed in order not to fill
contexts with (potentially incorrect) crap in case the filter is
re-saved.

lp bug: https://launchpad.net/bugs/948219 fixed

bzr revid: xmo@openerp.com-20120307120323-pub0yuwjqk1r3y0p
2012-03-07 13:03:23 +01:00
Vo Minh Thu bfb9896ddd [FIX] database/create replaced by blocking database/create_database
(so we can use a multi-workers OpenERP server; otherwise polling
on the server would hit different workers resulting in errors).

bzr revid: vmt@openerp.com-20120307104632-w6cs6nxf04ltcpf1
2012-03-07 11:46:32 +01:00
msh-openerp 0df6b1bad7 [FIX]Fixed the issue of statusbar which shows technical name in listview if one gives widget=statusbar in listview field.
bzr revid: msh@tinyerp.com-20120307101935-mw4vyjjra6e9uy1v
2012-03-07 15:49:35 +05:30
Fabien Meghazi cdd72c0fe6 [FIX] Make progress bar (format.js) more tolerant with falsy floats
bzr revid: fme@openerp.com-20120307095700-i5msqipgij4v36fl
2012-03-07 10:57:00 +01:00
Launchpad Translations on behalf of openerp f6c3cd9bb7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052805-zlaw3c4skc81oj8z
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060413-fvlney19la4wjhqn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060421-haf4qy1x6vu5xdrx
2012-03-07 06:04:21 +00:00
Fabien Meghazi 34b03bd24d [FIX] Can't add to dashboard a view that includes a 'group_by'
lp bug: https://launchpad.net/bugs/948097 fixed

bzr revid: fme@openerp.com-20120306205955-zqgtbgtz1gtix4w9
2012-03-06 21:59:55 +01:00
Xavier Morel 532e60a007 [FIX] dependencies handling in modules listing of web client
* Correctly fetch dependencies from server
* Switch topological sort to a more formal algorithm (and test it)

lp bug: https://launchpad.net/bugs/947161 fixed

bzr revid: xmo@openerp.com-20120306142010-zflycbrj4aq41mv3
2012-03-06 15:20:10 +01:00
Xavier Morel b4f08f9e7e [DIS] disble/skip all tests which don't currently pass
bzr revid: xmo@openerp.com-20120306085326-qdhgh2cj8zchasjw
2012-03-06 09:53:26 +01:00
Launchpad Translations on behalf of openerp 518735c78b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052918-hvjamh4ym691nfau
2012-03-06 05:29:18 +00:00
Fabien Meghazi 542a6e9a67 [FIX] @digits not honored by form view. field#digits not honored by page view.
lp bug: https://launchpad.net/bugs/943273 fixed

bzr revid: fme@openerp.com-20120305195800-uoiu74ee1rfm4tex
2012-03-05 20:58:00 +01:00
Fabien Meghazi d9a626a32c [EXT] Extract pot files
bzr revid: fme@openerp.com-20120305183853-kybvgxnlb9pg6iax
2012-03-05 19:38:53 +01:00
Fabien Meghazi 542948ee6a [FIX] List view "Group" label should be translatable
lp bug: https://launchpad.net/bugs/943973 fixed

bzr revid: fme@openerp.com-20120305173419-ksme8ckweu98b82r
2012-03-05 18:34:19 +01:00
Fabien Meghazi 28f1ded961 [FIX] @default_focus not honored in embedded form views
lp bug: https://launchpad.net/bugs/944080 fixed

bzr revid: fme@openerp.com-20120305171656-yz1jjoin17hh8ast
2012-03-05 18:16:56 +01:00
Xavier Morel 0e177c2505 [FIX] content display of URI fields when no value is provided
lp bug: https://launchpad.net/bugs/942958 fixed

bzr revid: xmo@openerp.com-20120305151017-k98vlcq72hldwnev
2012-03-05 16:10:17 +01:00
Xavier Morel 10ba2bb9b1 [FIX] take dependencies in account when ordering modules for loading
bzr revid: xmo@openerp.com-20120305142948-2pkrgl8koizhcfbu
2012-03-05 15:29:48 +01:00
Xavier Morel fc887bfb2f [MERGE] new, shinier and better-working diagram view
bzr revid: xmo@openerp.com-20120305103353-w8r6fk9cv8wjklts
2012-03-05 11:33:53 +01:00
Launchpad Translations on behalf of openerp 6468fc876a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120301051917-fmqwoejs3938qms6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120302052441-nwqd0nqf2gjd8ucn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120303055455-mns5t3fuy78a9r66
bzr revid: launchpad_translations_on_behalf_of_openerp-20120304052145-yqor18r71d7fqmar
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051123-0j4vr09l95yo2fj5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229053027-ifd6ef34ebmox67l
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051129-fcwena1g6pvrc9y5
2012-03-05 05:11:29 +00:00
niv-openerp 9cad7deeed [fix] minor problem in m2o
lp bug: https://launchpad.net/bugs/923898 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120228144111-co9nl24o466zuzsb
2012-02-28 15:41:11 +01:00
Xavier Morel 4b74a35c76 [FIX] list paginator's 'last page' button: not all state was transferred between datasets during paginator configuration
lp bug: https://launchpad.net/bugs/939614 fixed

bzr revid: xmo@openerp.com-20120228101200-atisgrb2fb0eqi1g
2012-02-28 11:12:00 +01:00
Fabien Meghazi 6bda7286e3 [FIX] Fix binary upload button styling
bzr revid: fme@openerp.com-20120227171440-1o7w1jrv5rl2b4ov
2012-02-27 18:14:40 +01:00
Xavier Morel 2b2ae48ea9 [FIX] progressbar fields display in group headers
also, weird computed progress bars (e.g. aggregates) with way too many digits

lp bug: https://launchpad.net/bugs/941316 fixed

bzr revid: xmo@openerp.com-20120227152739-3pmu3dtqrbzx1x3m
2012-02-27 16:27:39 +01:00
Launchpad Translations on behalf of openerp 3f2c207322 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120224053018-z4h7by0h8f5bov2x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055158-gr639s6rzw1io33x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052058-i6jsb4i97m78vftu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055542-vz7rbngenr8ynd46
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055258-f5ufpgcomzlqmahr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055623-0jhvbldsrq90jg22
2012-02-27 05:56:23 +00:00
Frédéric van der Essen 80f9259b1f [MERGE] from 6.1
bzr revid: fva@openerp.com-20120224095803-cg15tsp2jvs4fkj9
2012-02-24 10:58:03 +01:00
Frédéric van der Essen 87f65775e0 Correct viewport integration, cosmetic changes, node loops
bzr revid: fva@openerp.com-20120224095310-r3bdlx09n5eaxrvk
2012-02-24 10:53:10 +01:00
Xavier Morel a55e7148e3 [FIX] correctly set dataset index when selecting a record in list view, so switching to page/form switches to the first selected record, not the first record of the page
lp bug: https://launchpad.net/bugs/939314 fixed

bzr revid: xmo@openerp.com-20120223145157-rkkwg6pwcr6hh7st
2012-02-23 15:51:57 +01:00
Xavier Morel 12825e4122 [FIX] correctly handle the user's menu_id being set to an action with domain=False (literally)
that's a bit stupid, but apparently people do set their menu action to a dashboard...

lp bug: https://launchpad.net/bugs/937691 fixed

bzr revid: xmo@openerp.com-20120223134612-3sm2e4yq3hbjqnz7
2012-02-23 14:46:12 +01:00
Xavier Morel 50853cbaac [FIX] ability to backup databases in case listing databases is forbidden (via --no-database-list on the server)
lp bug: https://launchpad.net/bugs/939428 fixed

bzr revid: xmo@openerp.com-20120223133937-3115jyzjtbzequbq
2012-02-23 14:39:37 +01:00
Olivier Dony 30dae1d7d6 [REL] OpenERP 6.1.1
bzr revid: odo@openerp.com-20120222114322-hl61qi2nan0mnbz0
2012-02-22 12:43:22 +01:00
Antony Lesuisse bfee2b7ae2 [FIX] database get_list use wsgi hostname
bzr revid: al@openerp.com-20120221185739-7utcld4kcnf39fg5
2012-02-21 19:57:39 +01:00
Xavier Morel fbf4c6dc0f [FIX] incorrect handling of saved filter group_by when not present or an array
bzr revid: xmo@openerp.com-20120221140517-fs0axg9w8irapw06
2012-02-21 15:05:17 +01:00
Launchpad Translations on behalf of openerp a3ac698fe8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071328-fl3yjw2gawigfooh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219063344-7w5y8nkweukg0f88
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220061321-0z254064e8vsx286
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063558-wc526qfv4ko5s6q0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063603-medp0cjt2z5vy70x
2012-02-21 06:36:03 +00:00
Fabien Meghazi 5d71f85f7d [FIX] Broken reference field
lp bug: https://launchpad.net/bugs/936864 fixed

bzr revid: fme@openerp.com-20120220122208-k5pvpwodik78hnrq
2012-02-20 13:22:08 +01:00
Xavier Morel 79a8b39369 [FIX] avoid adding session_id and token fields in form if they are already there, reuse existing fields instead
lp bug: https://launchpad.net/bugs/936704 fixed

bzr revid: xmo@openerp.com-20120220115704-zxo024voy3dxa7qe
2012-02-20 12:57:04 +01:00
Launchpad Translations on behalf of openerp f95d98807c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071814-qv5c1xw4260ns8r8
2012-02-18 07:18:14 +00:00
Xavier Morel 404ac17e0e [FIX] evaluate compound context from treeview before executing action
not actually sure if ActionManager#do_action is supposed to get a literal or a nonliteral context at this point... but ViewManager(Action) does not seem to like nonlit contexts at all so...

lp bug: https://launchpad.net/bugs/933360 fixed

bzr revid: xmo@openerp.com-20120217093541-pudzg8x4u1dhbkjf
2012-02-17 10:35:41 +01:00
Xavier Morel 56562531ab [FIX] xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi excluded too many fields
previous change would exclude all fields with @readonly, but @state can remove @readonly from fields and means fields are importable again (pretty much). Need to add that, otherwise it's almost impossible to import stuff

bzr revid: xmo@openerp.com-20120216163155-wh8uory00i2qifxy
2012-02-16 17:31:55 +01:00
Antony Lesuisse 591668bc9f [FIX] simplify readonly url implementation
bzr revid: al@openerp.com-20120216151829-3ijycoxw84bxq0ot
2012-02-16 16:18:29 +01:00
niv-openerp 011286b863 [fix] removed arbitrary limit in name_search
bzr revid: nicolas.vanhoren@openerp.com-20120216103535-txdh6m6nmwlew53o
2012-02-16 11:35:35 +01:00
Launchpad Translations on behalf of openerp 2094148de5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050419-fgzhvlogc71u42qe
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050718-lf9hgvr1p33jpm2h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216052148-ta5bwtqg3bzmvp3i
2012-02-16 05:21:48 +00:00
Xavier Morel a01c57c31f [FIX] handling of date and time formats with bare/literal characters
lp bug: https://launchpad.net/bugs/932448 fixed

bzr revid: xmo@openerp.com-20120215153237-4q1y6snebxk6sheh
2012-02-15 16:32:37 +01:00
Fabien Meghazi 2285ce9b02 [IMP] Improved dirty save button styling
bzr revid: fme@openerp.com-20120215133653-t6fvjsv1sl9xlald
2012-02-15 14:36:53 +01:00