Commit Graph

1342 Commits

Author SHA1 Message Date
Numerigraphe - Lionel Sausin a2f4f2669b [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085848-1atcrcw8e64altcp
2011-11-22 09:58:48 +01:00
Launchpad Translations on behalf of openerp b0e90fcf59 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111122050017-0wnwpg2yvzk0xrln
2011-11-22 05:00:17 +00:00
Olivier Dony a50af56a05 [FIX] orm.read_group: fix merge logic for read_group_full:
- Properly merge results with list of values, even with reversed sort
- Pass `read_group_order` to `_group_by_full` implementations to let them
  handle sorting if they want.

bzr revid: odo@openerp.com-20111121164326-un722g5nsuzq94m5
2011-11-21 17:43:26 +01:00
Vo Minh Thu a787b202d4 [FIX] res_request: search() context arg turned to keyword arg.
bzr revid: vmt@openerp.com-20111121134823-1o1zwngrl4hxw097
2011-11-21 14:48:23 +01:00
Vo Minh Thu 5ef9dd5f3f [MERGE] Cleaning of the empty dict kwargs (replaced by None).
bzr revid: vmt@openerp.com-20111121133346-2yr8ow3zeyqa9ar5
2011-11-21 14:33:46 +01:00
Launchpad Translations on behalf of openerp 7dc7a38490 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121052226-yhr6ydr2i8dbwp8x
bzr revid: launchpad_translations_on_behalf_of_openerp-20111119051322-q109g1zgszi27u9e
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121052251-ee9tr9wvqumk7n8u
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121055048-51rwikms7xtq4bkz
2011-11-21 05:50:48 +00:00
Olivier Dony e17b51e384 [FIX] orm.read_group: check for empty groupby list
This is very ugly and needs a real refactoring,
just adding one more test for the time being.

bzr revid: odo@openerp.com-20111118153333-2skgbd197q8tb7uc
2011-11-18 16:33:33 +01:00
Olivier Dony 57d0d62b38 [MERGE] orm.read_group: partial refactoring, by xmo
bzr revid: odo@openerp.com-20111118152629-o4ult41v905dfj1t
2011-11-18 16:26:29 +01:00
Olivier Dony bde9585887 [FIX] res.users: incorrect passing of context as positional args causes off-by-one errors
bzr revid: odo@openerp.com-20111118150525-zmrd276b4d9tx15f
2011-11-18 16:05:25 +01:00
Olivier Dony ca458dd539 [FIX] orm.read_group: fix issues in read_group_full and rewrite/cleanup
Attempt to make it into a more maintainable/readable
separate method.

bzr revid: odo@openerp.com-20111118133642-b3126a5sph8bivmu
2011-11-18 14:36:42 +01:00
Olivier Dony 29574262c5 [FIX] fields.related: lazy init should avoid race conditions as much as possible
bzr revid: odo@openerp.com-20111118131104-a16vg7q2ws8se2ob
2011-11-18 14:11:04 +01:00
Fabien Pinckaers 34a9ecf339 fix
bzr revid: fp@tinyerp.com-20111118121103-vmlus5c14icgpvdv
2011-11-18 13:11:03 +01:00
Naresh (OpenERP) 84a6f91180 [FIX]:UnboundLocalError
lp bug: https://launchpad.net/bugs/891500 fixed

bzr revid: nch@tinyerp.com-20111118085439-wgei8ockgn84jnep
2011-11-18 14:24:39 +05:30
Xavier Morel c418cfcb9d [FIX] res.config: ensure there is a context before checking its content
lp bug: https://launchpad.net/bugs/891187 fixed

bzr revid: xmo@openerp.com-20111117120318-r9mns1w1vh9ea22b
2011-11-17 13:03:18 +01:00
Fabien Pinckaers dfd8f91de9 [FIX] yaml import osv memory context
bzr revid: fp@tinyerp.com-20111116192051-zzwvxywkvxjvwjj0
2011-11-16 20:20:51 +01:00
Olivier Dony 61c0e012b9 [MERGE] warn when create()/write() touches unknown field, courtesy of Stefan Rijnhart (Therp)
A patch will follow in addons to get rid of most of the
warnings introduced here.

bzr revid: odo@openerp.com-20111116113858-52nzw58ts7xnlxhe
2011-11-16 12:38:58 +01:00
Rucha (Open ERP) d4ad054000 [MERGE]: Merge with latest trunk-server
bzr revid: rpa@tinyerp.com-20111103071744-wkf0qgr8qkl540y7
bzr revid: rpa@tinyerp.com-20111116051225-w9b73w63w8g6z2hk
2011-11-16 10:42:25 +05:30
Christophe Simonis 19e7261bc0 [FIX] group_by_full
bzr revid: chs@openerp.com-20111115155355-s7j3s27i2hl7xi11
2011-11-15 16:53:55 +01:00
Xavier Morel c83d6d88a0 [IMP] selection of fields to aggregate in read_group
bzr revid: xmo@openerp.com-20111115120028-wal8o839s4u427m3
2011-11-15 13:00:28 +01:00
Xavier Morel 2b7a072a3e [IMP] orm: make creation of dict from key names (with constant value) clearer
also only generate False values for float and integer fields, since they're the only aggregated values in the first place

bzr revid: xmo@openerp.com-20111115114527-t92a37kdw4yqqs4p
2011-11-15 12:45:27 +01:00
Fabien Pinckaers 0b84257015 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20111115002847-vz2y1q2d852mz6a6
2011-11-15 01:28:47 +01:00
Fabien Pinckaers b859fbd8c6 [IMP] removed print statement
bzr revid: fp@tinyerp.com-20111115001426-bpct1qa3xysjv3cq
2011-11-15 01:14:26 +01:00
Fabien Pinckaers a40c6ac9a8 [FIX] onchange
bzr revid: fp@tinyerp.com-20111114232422-4rgrmipbr7b4x7j0
2011-11-15 00:24:22 +01:00
Fabien Pinckaers 2235425822 [FIX] onchange yaml
bzr revid: fp@tinyerp.com-20111114224224-5kvzufap638l7nx1
2011-11-14 23:42:24 +01:00
Fabien Pinckaers 99c26a209f [FIX] onchange computation on YAML
bzr revid: fp@tinyerp.com-20111114221954-urk25d05y65by96n
2011-11-14 23:19:54 +01:00
Fabien Pinckaers 8d7176a11e [IMP] Yaml scripts calls on_changes and fields_view_get by defaults
Very big change, this may emphasize some of the troubles, runbot can become red
  until we fix them all.

bzr revid: fp@tinyerp.com-20111114212627-5kdjxkws1lqm0c38
2011-11-14 22:26:27 +01:00
Quentin (OpenERP) 16006b42e3 [MERGE] lp: 876260
bzr revid: qdp-launchpad@openerp.com-20111114134811-j3cnvn6mcle869or
2011-11-14 14:48:11 +01:00
Denis Seleznyov 58bb4fadad [FIX]:AccessInit: hash collision error possible
lp bug: https://launchpad.net/bugs/859123 fixed

bzr revid: nch@tinyerp.com-20111114064805-wkw8q4w0nj5h1dtd
2011-11-14 12:18:05 +05:30
Launchpad Translations on behalf of openerp cd349602a7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111114051537-otd2ramidmaq165u
2011-11-14 05:15:37 +00:00
Fabien Pinckaers 1c2ab2927d unusedcode
bzr revid: fp@tinyerp.com-20111114001216-etl5g0dl3ya1xfvs
2011-11-14 01:12:16 +01:00
Fabien Pinckaers 954bcd7976 fix
bzr revid: fp@tinyerp.com-20111113230904-vmrxwahfbwub50sf
2011-11-14 00:09:04 +01:00
Fabien Pinckaers aefa8b8c65 [IMP] Allows to put a view argument in a YAML record and OpenERP will
call all the on_change and default_get correctly. This increases
      a lot the coverage and reduce lines of test to develop.

      Put the XML_ID of the view of False so that OpenERP will find the
      first form view itself.

Example to create a PO with all on_change:

!record {model: purchase.order, id: purchase_new, view: False}:
    partner_id: base.res_partner_asus
    order_line:
      - product_id: product.product_product_pc1
        product_qty: 5.0

bzr revid: fp@tinyerp.com-20111113223056-g65pf5vzg7dwkks1
2011-11-13 23:30:56 +01:00
Fabien Pinckaers c42b1515c7 [IMP] constraint on XML view on object to allow inheritancy
bzr revid: fp@tinyerp.com-20111113192742-vpf1eoek4csau68t
2011-11-13 20:27:42 +01:00
Fabien Pinckaers e25fe1f261 [FIX] count 0, need to fix the web client
bzr revid: fp@tinyerp.com-20111113124848-r1youtgj7c5li8b2
2011-11-13 13:48:48 +01:00
Fabien Pinckaers 8ea267b822 [IMP] _group_by_full implementation
bzr revid: fp@tinyerp.com-20111113121405-oa9ggpf115gv3cbe
2011-11-13 13:14:05 +01:00
niv-openerp dbb82b089b [fix] exception when querying a tree view for an osv which does not contain any column (common in the wizards)
lp bug: https://launchpad.net/bugs/877989 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110135106-crieyt6cnscqocs5
2011-11-10 14:51:06 +01:00
Xavier Morel 783cc897d7 [ADD] new-style dashboards to schema
bzr revid: xmo@openerp.com-20111110124102-2zhxrk8a68bvo75h
2011-11-10 13:41:02 +01:00
Xavier Morel e361ee97d1 [REF] deduplicate old-style dashboard elements
bzr revid: xmo@openerp.com-20111110112611-u4mxmgp6lrezytdy
2011-11-10 12:26:11 +01:00
Xavier Morel 8015497a02 [IMP] fix some identation
bzr revid: xmo@openerp.com-20111110104933-cd4nfujpgxwqf817
2011-11-10 11:49:33 +01:00
Olivier Dony ca05a8dbc6 [ADD] orm.fields_get: include `relation_field` for one2many fields
bzr revid: odo@openerp.com-20111109155645-f7u5z14xhju271d5
2011-11-09 16:56:45 +01:00
Vo Minh Thu b00473034a [IMP] typo.
bzr revid: vmt@openerp.com-20111109123042-9vtfp6uv7qsgy4pz
2011-11-09 13:30:42 +01:00
Antony Lesuisse 59ca0770d4 [MERGE] polish1 (stw)
bzr revid: al@openerp.com-20111108223621-nla01e2csohbbggb
2011-11-08 23:36:21 +01:00
Antony Lesuisse e199c8fc9d [IMP] add target inline add usage tooltip
bzr revid: al@openerp.com-20111108215555-8ub8bo01lbw7e2e2
2011-11-08 22:55:55 +01:00
Numerigraphe - Lionel Sausin ae2be16844 [FIX] unmutable defaults in report
bzr revid: ls@numerigraphe.fr-20111107154556-eofj5s55tkqntsty
2011-11-07 16:45:56 +01:00
Numerigraphe - Lionel Sausin 4651cf935e [FIX] unmutable defaults in safe_eval
bzr revid: ls@numerigraphe.fr-20111107152640-t28rgkfs05jwduab
2011-11-07 16:26:40 +01:00
Numerigraphe - Lionel Sausin 9ed5cbb24c [FIX] unmutable defaults in base addons.
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Launchpad Translations on behalf of openerp b6defa5269 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111105044721-cpdly6yxpvqw3sue
bzr revid: launchpad_translations_on_behalf_of_openerp-20111106052344-2lwwowp57hoag22p
2011-11-06 05:23:44 +00:00
Olivier Dony ce558209ab [MERGE] Fix for bug 885299: properly manage XML chars escaping in reports in all cases
bzr revid: odo@openerp.com-20111104164222-315uq7my7oa42v8d
2011-11-04 17:42:22 +01:00
Quentin (OpenERP) 1097bbeaca [FIX] rml2pdf: _process_text escaping char for xml
lp bug: https://launchpad.net/bugs/885299 fixed

bzr revid: qdp-launchpad@openerp.com-20111104155759-e0tme9o3g1ef00tq
2011-11-04 16:57:59 +01:00
Olivier Dony 44475831b9 [IMP] release: add structured version_info tuple, properly comparable
The semantics were inspired by Python's own sys.version_info

bzr revid: odo@openerp.com-20111104144112-jab9uyt9wnqlziri
2011-11-04 15:41:12 +01:00