Commit Graph

1321 Commits

Author SHA1 Message Date
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
Christophe Simonis 19e7261bc0 [FIX] group_by_full
bzr revid: chs@openerp.com-20111115155355-s7j3s27i2hl7xi11
2011-11-15 16:53:55 +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
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
Launchpad Translations on behalf of openerp 616950dce1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111104045519-32vjnqdqwo2ekurm
2011-11-04 04:55:19 +00:00
Stefan Rijnhart 998add6e89 [FIX] replace exception by warning, for friendly deprecation
bzr revid: stefan@therp.nl-20111102202254-jllcl905swnwatm5
2011-11-02 21:22:54 +01:00
Stefan Rijnhart eb47646018 [FIX] values for non existing fields in base xml data files
bzr revid: stefan@therp.nl-20111101161359-ui30fbn402v5j6qg
2011-11-01 17:13:59 +01:00
Stefan Rijnhart c9b91cae01 [FIX] model and field name were reversed in exception message
bzr revid: stefan@therp.nl-20111101141446-acxui2dymoul71ma
2011-11-01 15:14:46 +01:00
Stefan Rijnhart 65f4975ac1 [FIX] Raise when an unknown field is being written to
lp bug: https://launchpad.net/bugs/727727 fixed

bzr revid: stefan@therp.nl-20111101135731-uo203jmag5nuf56p
2011-11-01 14:57:31 +01:00
Divyesh Makwana (Open ERP) 7dace5081d [FIX] The main application wizard must trigger chart of account wizardS
lp bug: https://launchpad.net/bugs/876260 fixed

bzr revid: mdi@tinyerp.com-20111031055221-qvwgi4w7hfpdjcco
2011-10-31 11:22:21 +05:30
Antony Lesuisse 01dce90eb4 [IMP] Create Setting->Email root menu item
bzr revid: al@openerp.com-20111027071000-cwfpk7wd7r82sw2c
2011-10-27 09:10:00 +02:00
Launchpad Translations on behalf of openerp 7fd2f34625 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052151-iq59w01y3570qp2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052219-al2lmoforak20zt4
2011-10-27 05:22:19 +00:00
Stephane Wirtel 0f60aa977b [FIX] Remove the 'Customer Relationship Management' category
bzr revid: stw@openerp.com-20111026121134-pbfwvs5b6aq6sybx
2011-10-26 14:11:34 +02:00
Stephane Wirtel 61b8e7b9a1 [FIX] Change the label of the administration menu
bzr revid: stw@openerp.com-20111026111912-qwjzkynawc0nzubn
2011-10-26 13:19:12 +02:00
Stephane Wirtel 94aef18492 [FIX] Set the right label for a category
bzr revid: stw@openerp.com-20111026111855-p4gczm9skol0lmox
2011-10-26 13:18:55 +02:00
Fabien Meghazi 39904f481a [FIX] Fixed partner kanban view (Missing <field/> tags)
[ADD] Added partners image for kanban view

bzr revid: fme@openerp.com-20111025204847-qjalrra46mgxmvvn
2011-10-25 22:48:47 +02:00
Olivier Dony d8e5a280d5 [ADD] res.currency data: definition of Chilean Peso
bzr revid: odo@openerp.com-20111024120219-k0a1l6ekjsrgc2p0
2011-10-24 14:02:19 +02:00
Olivier Dony 956ed719ae [IMP] fields.boolean,integer,float: warning when required=True, as it has no effect
A PendingDeprecationWarning is used in order to reduce the
verbosity of the logging, and to indicate that we might
forbid passing required=True in a future OpenERP version
for fields types where it makes no sense.

bzr revid: odo@openerp.com-20111021142836-0k4qruhe1vgodysu
2011-10-21 16:28:36 +02:00
Olivier Dony 222d75cb1e [FIX] ir.action.report_xml: useless required attribute on boolean column
bzr revid: odo@openerp.com-20111021132802-segctl9j05k2khq0
2011-10-21 15:28:02 +02:00
Xavier Morel e317c222a1 [IMP] alias some values in data import, for readability
bzr revid: xmo@openerp.com-20111019114618-6ih4wgfr5hu1kgiy
2011-10-19 13:46:18 +02:00
Xavier Morel b0a92831b3 [IMP] iterate over list indexes + ids via enumerate() rather than via range(len()) + __getitem__
bzr revid: xmo@openerp.com-20111019110215-9jykf1xrzavh00j2
2011-10-19 13:02:15 +02:00
Launchpad Translations on behalf of openerp e3ffcd94d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019044609-vzsrc1a6nn17ahbo
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019055343-7s4rmkn8lpxvyt4n
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019060521-3smagczfoys4j5wl
2011-10-19 06:05:21 +00:00
Xavier Morel 5c8d64d862 [FIX] make module categories readable by all users
web client's new default home dashboard uses module categories to know what to display,
this means it did not work for regular users who would not be allowed to view the
application tiles of the default home, and would get an error popup instead

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

bzr revid: xmo@openerp.com-20111018111920-qetmtu06x4p3t3kp
2011-10-18 13:19:20 +02:00
Antony Lesuisse a12afa90e3 [MERGE] mark demo res_log entries as read
bzr revid: al@openerp.com-20111017151252-zklo1vm2tlogp7v8
2011-10-17 17:12:52 +02:00