Raphael Collet
92057d3d84
[IMP] add field category_id on groups
...
bzr revid: rco@openerp.com-20111202155624-hp2p1md2y4s4zcw0
2011-12-02 16:56:24 +01:00
Raphael Collet
0c2183b121
[IMP] res_users: rename function
...
bzr revid: rco@openerp.com-20111202141410-jcjr3ftaih7hs232
2011-12-02 15:14:10 +01:00
Raphael Collet
08d4845a49
[IMP] res_groups: add function field trans_implied_ids
...
bzr revid: rco@openerp.com-20111202140417-0hgg92yks1vprnem
2011-12-02 15:04:17 +01:00
Launchpad Translations on behalf of openerp
86bfd7a4ee
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111202044454-6e0qzrobadl3pnii
2011-12-02 04:44:54 +00:00
Quentin (OpenERP)
564f00b2da
[MERGE] merged the dev branch with address format country specific. Courtesy of Dhara
...
bzr revid: qdp-launchpad@openerp.com-20111201163340-yga019rhfwipwvuv
2011-12-01 17:33:40 +01:00
Quentin (OpenERP)
c900059a3e
[IMP] res_partner_address, display_address: improved help tooltip on address_format + made private the function _display_address as it's not usable through direct RPC requests + added context=None in the signature of this function, for future needs
...
bzr revid: qdp-launchpad@openerp.com-20111201162747-gcbh995k1pu8ql7m
2011-12-01 17:27:47 +01:00
Raphael Collet
298add20ca
[FIX] add missing import
...
bzr revid: rco@openerp.com-20111201155758-y1tej4pqrupzifs0
2011-12-01 16:57:58 +01:00
Raphael Collet
3343ccbed1
[IMP] add log message when skipping sending email
...
bzr revid: rco@openerp.com-20111201155248-o284h5r27pjrxbbx
2011-12-01 16:52:48 +01:00
Vo Minh Thu
842cb1ad41
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20111201153214-0iintvpp7crnr2jc
2011-12-01 16:32:14 +01:00
Raphael Collet
9aa1ecbe58
[IMP] indicate tests in current thread, and prevent email sending during tests
...
bzr revid: rco@openerp.com-20111201153156-2ki7x22evf5ojyrz
2011-12-01 16:31:56 +01:00
Quentin (OpenERP)
dd436b075b
[IMP] base: country specific address format small imp
...
bzr revid: qdp-launchpad@openerp.com-20111201145052-onb2k2xp2pu94124
2011-12-01 15:50:52 +01:00
Quentin (OpenERP)
b2678acf99
[IMP] base: contry specific address format cleanup and improvements
...
bzr revid: qdp-launchpad@openerp.com-20111201144055-htokze3jly7ent02
2011-12-01 15:40:55 +01:00
Quentin (OpenERP)
f3a9c71a68
[MERGE] merged with main trunk server branch
...
bzr revid: qdp-launchpad@openerp.com-20111201143703-okq4lq4s9iy6gaol
2011-12-01 15:37:03 +01:00
Vo Minh Thu
43745c4cb9
[IMP] tests: moved tests into openerp.tests, expose test suites.
...
bzr revid: vmt@openerp.com-20111201140012-y9kmto0le0ugxdzf
2011-12-01 15:00:12 +01:00
Vo Minh Thu
1b2439c27a
[MERGE] wizard: add a deprecation warning for the old-style wizards.
...
bzr revid: vmt@openerp.com-20111201124822-0e9illtpfmd58k40
2011-12-01 13:48:22 +01:00
Olivier Dony
7fa02d56b2
[MERGE] Bug 303455: orm.create() - use local before inherited, courtesy of Thibaut DIRLIK (Logica)
...
bzr revid: odo@openerp.com-20111201121503-bf7671is06atteb4
2011-12-01 13:15:03 +01:00
Xavier Morel
84004e8923
[REM] import_data: unused variables, redundant parens and variables
...
bzr revid: xmo@openerp.com-20111201121257-3uq3fyjumd9bvi9a
2011-12-01 13:12:57 +01:00
Xavier Morel
f17633dad7
[FIX] correctly restore partial import index when restarting an import
...
bzr revid: xmo@openerp.com-20111201121040-c0547g8ev38r6u7t
2011-12-01 13:10:40 +01:00
Vo Minh Thu
ccf788deef
[FIX] wizard: typo.
...
bzr revid: vmt@openerp.com-20111201120643-ikr4v0piwpk0ydsu
2011-12-01 13:06:43 +01:00
Vo Minh Thu
717193750d
[IMP] wizard: add little comment about wizards being deprecated.
...
bzr revid: vmt@openerp.com-20111201120413-x7hj54g1xced5xpa
2011-12-01 13:04:13 +01:00
Vo Minh Thu
167a54e0c7
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20111201115908-f0v9hi917zbay6n6
2011-12-01 12:59:08 +01:00
Olivier Dony
3ada43620e
[MERGE] base: no twitter API if twitter lib is missing
...
bzr revid: odo@openerp.com-20111201104144-b22q0qppjbhlkqz2
2011-12-01 11:41:44 +01:00
Raphael Collet
b9532eced6
[MERGE] improve the menu positions in 'Settings'
...
bzr revid: rco@openerp.com-20111201094239-8xtfka1nvykb8lds
2011-12-01 10:42:39 +01:00
Olivier Dony
ae733c78c7
[ADD] base: added Uruguayan peso currency (UYU), courtesy of Marcelo Zunino
...
bzr revid: odo@openerp.com-20111130220347-z83tgls9xujulxmf
2011-11-30 23:03:47 +01:00
Naresh (OpenERP)
f211942d6a
[FIX]:loading translation of .zip module
...
lp bug: https://launchpad.net/bugs/885134 fixed
bzr revid: nch@tinyerp.com-20111130085452-vcrxnv86avhfihom
2011-11-30 14:24:52 +05:30
Raphael Collet
20b398613c
[MERGE] supplier view: set defaults for customer and supplier
...
bzr revid: rco@openerp.com-20111129153450-qw3eysh3mk2zmgkm
2011-11-29 16:34:50 +01:00
Olivier Dony
d8256edcb7
[FIX] res.lang: incompatible behavior for thousands separator introduced in r.3415
...
r.3415 is revid vmt@openerp.com-20110516101941-ufa4ue8u5hlcfekm
lp bug: https://launchpad.net/bugs/896793 fixed
bzr revid: odo@openerp.com-20111129141809-dppqa0yz0cflga3l
2011-11-29 15:18:09 +01:00
Vo Minh Thu
42f388bfa9
[IMP] openerp.wizard: added deprecation warning as
...
wizards must be implemented using the TransientModel class.
bzr revid: vmt@openerp.com-20111129112032-urq2qno8yu1hfan8
2011-11-29 12:20:32 +01:00
Olivier Dony
b30865bdef
[IMP] module: rename `Schedule Upgrade` to `Upgrade`, as it start immediately now
...
bzr revid: odo@openerp.com-20111129093913-8s50nn38mdqtkiwu
2011-11-29 10:39:13 +01:00
Olivier Dony
52eb2fae1c
[FIX] ir.translation: keywargs not supported when clearing caches
...
bzr revid: odo@openerp.com-20111129093800-4bsldbpjh1q4zix1
2011-11-29 10:38:00 +01:00
Olivier Dony
f93bb856e2
[MERGE] Fix bug 891544 - prevent double-encoding of binary fields
...
lp bug: https://launchpad.net/bugs/891544 fixed
bzr revid: odo@openerp.com-20111128124535-s8cesplj379ssfqm
2011-11-28 13:45:35 +01:00
Naresh (OpenERP)
f47e32d437
[FIX]:initialise the parser before adding user defined sections to parser
...
lp bug: https://launchpad.net/bugs/822836 fixed
bzr revid: nch@tinyerp.com-20111128111430-cki6c7dkthq8ynug
2011-11-28 16:44:30 +05:30
Naresh (OpenERP)
c11d1f06a9
[FIX]:Incorect format of report in OpenOffice
...
lp bug: https://launchpad.net/bugs/891544 fixed
bzr revid: nch@tinyerp.com-20111128100836-ad40b5hvoeqyoggm
2011-11-28 15:38:36 +05:30
Launchpad Translations on behalf of openerp
ceeb9e2ced
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111126054933-9pgheobruk7944hk
2011-11-26 05:49:33 +00:00
Fabien Pinckaers
944d163657
[FIX] domain -> context
...
bzr revid: fp@tinyerp.com-20111125171339-gzyt8ozus7satfvs
2011-11-25 18:13:39 +01:00
Olivier Dony
f31c1d85d8
[MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe)
...
bzr revid: odo@openerp.com-20111124161521-512vn56w3c4e303c
2011-11-24 17:15:21 +01:00
Olivier Dony
aa6b926e74
[MERGE] YAML: Support m2o None value, courtesy of Dmitrijs Ledkovs (credativ)
...
bzr revid: odo@openerp.com-20111124153233-4vpb6k1c3ksllsfd
2011-11-24 16:32:33 +01:00
Vo Minh Thu
c33b3c2194
[FIX] res_partner_view: the previous commit added the context but
...
forgot to use the default_ prefix.
bzr revid: vmt@openerp.com-20111124152815-coa4u93u9sala0la
2011-11-24 16:28:15 +01:00
Vo Minh Thu
cdb5ed56ef
[IMP] domain to context:
...
Use explicitely default_xxx in the context instead of
relying on the domain to fill form views.
bzr revid: vmt@openerp.com-20111124132710-690ah5ptpalfh7xi
2011-11-24 14:27:10 +01:00
Naresh (OpenERP)
2d67a75338
[FIX]: WARNING:orm:No such field(s) in model ir.values: object: This was probably missed out to be removed with the improvements made at 3560.1.8 odo@openerp.com-20110905141058-xa01o77l1rto6hg9
...
bzr revid: nch@tinyerp.com-20111124085813-28fbguyklybdq213
2011-11-24 14:28:13 +05:30
Olivier Dony
90041e5d81
[IMP] read_group: pass superuser uid to group_by_full methods to avoid access right issues
...
This helps avoid access right issues in restricted
contexts, such as embedded web client, or shared
access (via portal or share wizard).
bzr revid: odo@openerp.com-20111123133312-a4ywnivnex97xtk2
2011-11-23 14:33:12 +01:00
niv-openerp
bb5b643f13
[imp] added new property in gantt view
...
bzr revid: nicolas.vanhoren@openerp.com-20111122141314-e8dqyq9m28qvekau
2011-11-22 19:43:14 +05:30
Olivier Dony
d80b022195
[FIX] ir.ui.view.custom: fix access rights and rules
...
Anyone should have full access to their own
ir.ui.view.custom records, as this is the way
to customize dashboards. This is done with
full access for everybody + an access rule
that only grants this access on your own
records.
bzr revid: odo@openerp.com-20111122131110-awawg4dhgsxb6xrc
2011-11-22 14:11:10 +01:00
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
Tejas (OpenERP)
26b03141e3
Supplier search_default and default set
...
bzr revid: tta@openerp.com-20111118125848-a1b20uwcmtkdcknc
2011-11-18 18:28:48 +05:30
Fabien Pinckaers
34a9ecf339
fix
...
bzr revid: fp@tinyerp.com-20111118121103-vmlus5c14icgpvdv
2011-11-18 13:11:03 +01:00
Olivier Dony
be65d63f54
[MERGE] sync w/ trunk
...
bzr revid: odo@openerp.com-20111118092824-oezev5012jljmgg2
2011-11-18 10:28:24 +01:00
Amit Bhavsar (Open ERP)
69102dc169
[polish3],improve the setting menu
...
bzr revid: amb@tinyerp.com-20111118092013-le696vrtwpeo0s2w
2011-11-18 14:50:13 +05:30
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
Olivier Dony
ca5fcc2bdf
[IMP] orm,fields: some cleanup for sparse field implementation (wip)
...
bzr revid: odo@openerp.com-20111117143010-9nv7inr5ijzykgem
2011-11-17 15:30:10 +01:00
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
Florent Xicluna
1156aee52a
[FIX] discard closed connections. Restart not required anymore when connection is lost.
...
bzr revid: florent.xicluna@wingo.ch-20111117093335-6t16181mqt49z7bi
2011-11-17 10:33:35 +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
3bf3279f25
[MERGE] Implementation of sparse field (to review), by Sebastien Beau, Akretion
...
bzr revid: odo@openerp.com-20111116172525-rmri79n9hpf2plwg
2011-11-16 18:25:25 +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
Rucha (Open ERP)
aa10c5eb60
[MERGE]: Merge with latest trunk-server
...
bzr revid: rpa@tinyerp.com-20111116051110-jtb3437w8vu3qhph
2011-11-16 10:41:10 +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
Olivier Dony
ba2b2bdae1
[IMP] tools.float_*: more tests with negative values, some cleanup
...
bzr revid: odo@openerp.com-20111115113605-l5e6gg675qbrvjz6
2011-11-15 12:36:05 +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
Olivier Dony
ffe640cece
[IMP] tools.float_*: added tests and docstrings
...
bzr revid: odo@openerp.com-20111114182310-kkzh78uej0uuwhaz
2011-11-14 19:23:10 +01:00
Olivier Dony
dcb5ff6eac
[IMP] res.currency,base: factor out float rounding methods in tools to allow use without currency
...
Pending: addition of tests
bzr revid: odo@openerp.com-20111114163617-kw7u8rxcie7m2hj5
2011-11-14 17:36:17 +01:00
Quentin (OpenERP)
16006b42e3
[MERGE] lp: 876260
...
bzr revid: qdp-launchpad@openerp.com-20111114134811-j3cnvn6mcle869or
2011-11-14 14:48:11 +01:00
Naresh (OpenERP)
372f610cc5
[FIX]:increase the size of function field 64-->128 for long function names
...
lp bug: https://launchpad.net/bugs/885582 fixed
bzr revid: nch@tinyerp.com-20111114113535-heb33fyrsct2g1dv
2011-11-14 17:05:35 +05:30
Naresh (OpenERP)
e99921e853
[FIX]:sequence might use a child company's sequence by error under certain circumstances, use force_company in the context if you want specific companies seq to used else use users current company seq
...
lp bug: https://launchpad.net/bugs/863221 fixed
bzr revid: nch@tinyerp.com-20111114110447-jn71htdyx5q4gqiu
2011-11-14 16:34:47 +05:30
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
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
Rucha (Open ERP)
792023dbce
[FIX]: yaml: In !delete tag if we provide id of record to be deleted instead of search, it was raising error as node.search is None and we cannot use len()
...
bzr revid: rpa@tinyerp.com-20111102124614-4q5stzqxwfbayclj
2011-11-02 18:16:14 +05:30
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
Guewen Baconnier
a59c66ed40
[FIX] fields.sparse: do not store the keys with null values anymore. We don't need them (and this will help to keep clean json fields) and this caused problems at the read from client because None values were sent by XMLRPC
...
bzr revid: guewen.baconnier@camptocamp.com-20111101151639-rcos08pbnxhhxfxa
2011-11-01 16:16:39 +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
Dmitrijs Ledkovs
d0f70e9b29
[IMP] allow to unset fields in yaml import
...
lp bug: https://launchpad.net/bugs/873456 fixed
bzr revid: dmitrijs.ledkovs@credativ.co.uk-20111013162021-225j5kl25bg9su3a
2011-10-13 17:20:21 +01:00
Olivier Dony
c18e1fc203
[FIX] res.users: last login time should use UTC like all server-side timestamps
...
bzr revid: odo@openerp.com-20111012162927-iq83m08vuwj43syz
2011-10-12 18:29:27 +02:00
Olivier Dony
0d2bc8f3ae
[FIX] modules.graph: avoid crash when a module has been deleted from the filesystem
...
bzr revid: odo@openerp.com-20111012155818-u07arzkokf9zshr0
2011-10-12 17:58:18 +02:00
Olivier Dony
abf626b644
[IMP] ir.config.parameter: move all default params together
...
bzr revid: odo@openerp.com-20111012155707-fgb0pn8dj2l0ukiu
2011-10-12 17:57:07 +02:00
Fabien Meghazi
bb26483206
[IMP] res.widget data: Do not try to instantiate twitter api if twitter lib was not successfully fetched.
...
bzr revid: fme@openerp.com-20111012144858-keqaec4f3ru5jvml
2011-10-12 16:48:58 +02:00
Vo Minh Thu
bfbfbc4ac6
[FIX] orm.copy(): corrected return value in docstring.
...
bzr revid: vmt@openerp.com-20111012090357-2lt8md5s37qp2vm1
2011-10-12 11:03:57 +02:00
Rucha (Open ERP)
fc8498ea9c
[FIX]: Fixed problem of context not passed properly in creating record by !record tag of yml with context.
...
bzr revid: rpa@tinyerp.com-20111012063145-6feojywf8a7jo91m
2011-10-12 12:01:45 +05:30
Olivier Dony
76c702ca3c
[FIX] Model.import_data docstring: cleanup + clear RST warnings for autodoc
...
The pipe character is taken as an inline substitution
marker, and is easy to avoid in most cases except within
literal blocks.
bzr revid: odo@openerp.com-20111011171148-rluwokcsx7i38i6e
2011-10-11 19:11:48 +02:00
Olivier Dony
4140e3546a
[FIX] expression: proper handling of empty string in m2o domain criterions
...
Also fixed incorrect name_search() implementations in
res.partner and res.currency, and added corresponding
tests.
lp bug: https://launchpad.net/bugs/861350 fixed
bzr revid: odo@openerp.com-20111011163435-szj9vm6x9x8nryn8
2011-10-11 18:34:35 +02:00
Olivier Dony
7f34a19db6
[MERGE] new ORM method for converting o2m commands sequences to record dicts, useful for addons (by Xavier Morel)
...
bzr revid: odo@openerp.com-20111011144927-mch6uy11z347fcku
2011-10-11 16:49:27 +02:00
Olivier Dony
c16befa983
[IMP] orm: resolve_o2m_commands_...: simplify assert, remove context doc following guidelines
...
bzr revid: odo@openerp.com-20111011144146-b9rt5kc9sb5lj0dr
2011-10-11 16:41:46 +02:00
Xavier Morel
34fcc08a1f
[IMP] docstring for resolve_o2m_commands_...
...
bzr revid: xmo@openerp.com-20111011094551-vr27on7iibdd9tv6
2011-10-11 11:45:51 +02:00
Xavier Morel
8507ceddcf
[IMP] make resolve_o2m_commands_to_record_dicts's result eager as per vmt's suggestion
...
bzr revid: xmo@openerp.com-20111011085715-cvcficcy4di9q29i
2011-10-11 10:57:15 +02:00
Xavier Morel
2646a34cf0
[ADD] don't blow up on a singleton DELETE_ALL command (that command takes no parameters, so can have just (5,))
...
bzr revid: xmo@openerp.com-20111011084852-hborz317ru5pbzux
2011-10-11 10:48:52 +02:00
Xavier Morel
8734ffb6c2
[IMP] raise assertion error if an o2m command is not one of CREATE, UPDATE or LINK_TO
...
bzr revid: xmo@openerp.com-20111011083824-4g0ros6f3xgslkq4
2011-10-11 10:38:24 +02:00
Xavier Morel
4d0a189796
[IMP] handle case where o2m commands are pairs instead of triplets
...
bzr revid: xmo@openerp.com-20111011081202-y1ou74u038o2kl58
2011-10-11 10:12:02 +02:00
Xavier Morel
b5ee13a845
[IMP] rename serialize_o2m_commands to resolve_o2m_commands_to_record_dicts
...
bzr revid: xmo@openerp.com-20111011080338-hup42vivlvk4dly0
2011-10-11 10:03:38 +02:00
Launchpad Translations on behalf of openerp
9ceaf4fdf3
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011052920-un4k47tkwv7djqt2
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011053536-w0rdhuhwp04uxnpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011054224-cr2q9q3picqoasam
2011-10-11 05:42:24 +00:00
Quentin (OpenERP)
d2e0d0fc41
[MERGE] added lempiria currency (HNL) used in Honduras
...
bzr revid: qdp-launchpad@openerp.com-20111010164823-n8snd4ghwa16jens
2011-10-10 18:48:23 +02:00
Quentin (OpenERP)
8ee01638a5
[IMP] base, res.currency data: added HNL currency (from Honduras) and rate
...
bzr revid: qdp-launchpad@openerp.com-20111010155809-2k3tp80n8cfn8hx0
2011-10-10 17:58:09 +02:00
Olivier Dony
0c9e9a7643
[IMP] rng,convert: add support for report `usage` attribute
...
The `usage` attribute may indicate a special purpose
of this report. For instance, the "default" usage
is used to identify the report to include along with
a record for EDI exports.
bzr revid: odo@openerp.com-20111010142226-ceradf4acsbr3r5l
2011-10-10 16:22:26 +02:00
Xavier Morel
d5accc0fae
[ADD] method to correctly serialize o2m commands into a sequence of record-dicts for e.g. onchanges
...
also alters res.partner.bank _default_value to use it with res.partner addresses, and adds a few tests to ensure behavior is correct
bzr revid: xmo@openerp.com-20111010135157-dafgcwwcni5gkeom
2011-10-10 15:51:57 +02:00
Xavier Morel
8a5314b15e
[FIX] context usage (context may be None in _default_value), dict.get (no need for a False default value in a conditional)
...
bzr revid: xmo@openerp.com-20111010081021-ijcuchd53dbdr9lc
2011-10-10 10:10:21 +02:00
Xavier Morel
26140ce8f4
[IMP] further improve reading of o2m commands, first read the record itself if an id was provided then update it with the record data if any
...
bzr revid: xmo@openerp.com-20111010080911-ykosbh8kp3tljyri
2011-10-10 10:09:11 +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
Olivier Dony
5823bf1634
[FIX] ir.mail_server: except_osv's signature has changed + care for non-ascii mail errors
...
bzr revid: odo@openerp.com-20111017145714-36khvwvipuf8cauh
2011-10-17 16:57:14 +02:00
Raphael Collet
3b3cf8e430
[IMP] mark as read all res_log entries created during a module installation
...
bzr revid: rco@openerp.com-20111017144615-e5b45twvm1s07ruf
2011-10-17 16:46:15 +02:00
Olivier Dony
9d916e684e
[FIX] ir_model.name_search: was incorrectly relying on name_search implementation details
...
As a result, it had been broken by a recent change in the implementation
of Model.name_search().
bzr revid: odo@openerp.com-20111017133702-mppmb8w54n6z23ck
2011-10-17 15:37:02 +02:00
Vo Minh Thu
ec3ea4197e
[FIX] tools.translate: release.support_email has been removed, so we no longer set the Report-Msgid-Bugs-To value in .po files.
...
lp bug: https://launchpad.net/bugs/873959 fixed
bzr revid: vmt@openerp.com-20111014150210-qs7n58cocvnjputl
2011-10-14 17:02:10 +02:00
Christophe Simonis
952e4cf602
[IMP] command line: move the option "addons-path" to the right group
...
bzr revid: chs@openerp.com-20111014093626-4ndm6kzgxd2idmjn
2011-10-14 11:36:26 +02:00
Christophe Simonis
a760d1f75a
[IMP] do no hardcode the port for the default value of ir.config_parameter web.base.url
...
bzr revid: chs@openerp.com-20111014093328-lztmfdnekti62i43
2011-10-14 11:33:28 +02:00
Olivier Dony
462f808500
[IMP] ir.model.data: sanity check to help prevent external IDs conflict between models
...
bzr revid: odo@openerp.com-20111013163316-gjct0pyrxfz9bm45
2011-10-13 18:33:16 +02:00
Olivier Dony
8d994ad625
[MERGE] added authenticate() API method for checking credentials w/ UA environment
...
bzr revid: odo@openerp.com-20111013152007-xj780k9r7j9roipx
2011-10-13 17:20:07 +02:00
Christophe Simonis
bd7c5ee6f8
[IMP] base: authenticate: use "base_location" key instead on "host"
...
bzr revid: chs@openerp.com-20111013143245-vrcs89hennc2beu4
2011-10-13 16:32:45 +02:00
Olivier Dony
97ba7be42d
[IMP] res.users,web_services: new authenticate() API method for testing credentials
...
Provides a way to login for a given environment, passing
user agent environment parameters.
Currently used to initialize the web.base.url config
parameter based on the web host whenever the admin user
logs in.
bzr revid: odo@openerp.com-20111013104750-y0natm9v3wapn10l
2011-10-13 12:47:50 +02:00
Quentin (OpenERP)
2be7586c54
[FIX] fields.related: fix example in docstring
...
bzr revid: qdp-launchpad@openerp.com-20111013093423-lynuxoan01327jv9
2011-10-13 11:34:23 +02:00
Xavier Morel
fc28192527
[IMP] if no address value is provided for res.partner.bank default_get context, try to read the address from its id
...
the web client currently does not send all record data when an o2m is used as a context value, it only sends the ids (at least when the o2m records have not been locally modified)
bzr revid: xmo@openerp.com-20111007131052-4qqo027b2mp16nd6
2011-10-07 15:10:52 +02:00
Olivier Dony
f3cf4c359a
[IMP] ir.sequence: tone down get_id() deprecation WARNING to DEBUG
...
For 6.1 we will still support get_id(), but should start phasing it
out for 6.2, so we will switch it back to WARNING after 6.1
bzr revid: odo@openerp.com-20111007145406-9rmfowimthedvoni
2011-10-07 16:54:06 +02:00
Olivier Dony
d86c283434
[FIX] orm.browse_record: avoid printing unrelated traceback upon KeyError
...
bzr revid: odo@openerp.com-20111007144944-j4obwcbvx9awkj30
2011-10-07 16:49:44 +02:00
Olivier Dony
5aca6a91fa
[IMP] tools.ustr: fix possible stack overflow for exception_to_unicode + tabs->spaces
...
bzr revid: odo@openerp.com-20111007144806-lodke0woag32sin5
2011-10-07 16:48:06 +02:00
Stephane Wirtel
33963719aa
[FIX] base: set the right xml_id for the hidden/link category
...
bzr revid: stw@openerp.com-20111006142946-qebop8c2gs620ma7
2011-10-06 16:29:46 +02:00
Xavier Morel
65456808bc
[ADD] wrapper to the modifiers setup process to simplify its call by third parties
...
bzr revid: xmo@openerp.com-20111006142727-spfj8foiln6m2jb9
2011-10-06 16:27:27 +02:00
Vo Minh Thu
9990d8126e
[IMP] orm: added small comment.
...
bzr revid: vmt@openerp.com-20111006114444-4llzirnl4tg4p5qy
2011-10-06 13:44:44 +02:00
Vo Minh Thu
4dc26443d1
[MERGE] orm: cleand get_pg_type(). Changes as written in the merge prop.:
...
* Extracted creation of VARCHAR pg_type into a separate function, make missing
size (or size 0) create an unlimited VARCHAR field (effectively limited by
postgres to 1GB data)
* Extracted fields to pg_types mapping outside of get_pg_type
* Made fields.function recursively forward to get_pg_type (via a type overload)
instead of reimplementing half get_pg_type in itself
* Simplified some get_pg_type cases
Note: if this is merged, it might be nice to convert fields.selection to use an
API similar to fields.function: default to VARCHAR storage, if there's a type
attribute override use that type. Currently, fields.selection is handled the
following way:
* If the selection is a list and the type of the first half of the first item
is an integer, use type int4
* If the field has a __size=-1__ attribute, use type int4
* Else use type varchar (with size specified on the field, if any)
One change from previous version is that if type of the first half of the first
item of the selection was str or unicode, it tried to find the longest string
and used that as the field's size. This meant silent loss of data if new,
longer items were added to the selection without recreating the whole db (or at
least manually altering the relevant fields). It also used the field's size or
*16* as a minimum default, for some reason, and if there was no size specified
on the selection (or size=0) it just hardcoded the size to 16.
bzr revid: vmt@openerp.com-20111006081336-uka6srvdmvs0s4lm
2011-10-06 10:13:36 +02:00
Vo Minh Thu
3606959a1a
[MERGE] expression: no active_test when rewriting the main query.
...
bzr revid: vmt@openerp.com-20111006075655-gl444vgzcbu1j887
2011-10-06 09:56:55 +02:00
Vo Minh Thu
f8e797ea28
[MERGE] fields.property: correctly tests for many2one/relative fields.
...
bzr revid: vmt@openerp.com-20111006074753-e505g95tcz8js5ju
2011-10-06 09:47:53 +02:00
Antony Lesuisse
21ebf62d23
[MERGE] base_setup dynamic category defintions
...
bzr revid: al@openerp.com-20111005165259-2xbmw8vo5k1neikn
2011-10-05 18:52:59 +02:00
Vo Minh Thu
491dc693d6
[IMP] fields.property: be more explicit when testing if something is a browse_record.
...
bzr revid: vmt@openerp.com-20111005154857-ic3yzb3dead33us3
2011-10-05 17:48:57 +02:00
Stephane Wirtel
61c65fc0a0
[FIX] base: set the right category for base
...
bzr revid: stw@openerp.com-20111005144249-p46i4up2omsuymqj
2011-10-05 16:42:49 +02:00
Stephane Wirtel
54fcb73fc1
[FIX] base: Add the visible field in the ir.module.category, this field will be used by the new base.setup.installer
...
bzr revid: stw@openerp.com-20111005142315-r9ypz1jeqbi8rfpo
2011-10-05 16:23:15 +02:00
Vo Minh Thu
c629763a0f
[FIX] two loops one loop (a previous commit) was wrongly done :(.
...
bzr revid: vmt@openerp.com-20111005135549-xvhtt57fl1ib7o6e
2011-10-05 15:55:49 +02:00
Vo Minh Thu
25a883b2aa
[FIX] expression: we dont add any restriction on the main ids
...
as the possible active=True/False is already present in the main domain.
bzr revid: vmt@openerp.com-20111005133337-p8nvv26tlii7x253
2011-10-05 15:33:37 +02:00
Vo Minh Thu
478854aac0
[FIX] fields.reference: post-process reference fields to test if the referenced record exists.
...
bzr revid: vmt@openerp.com-20111005113434-itjuj0u3d6fhryn8
2011-10-05 13:34:34 +02:00
Xavier Morel
5eeeb67e6d
[IMP] raise error when iterating over browse_record
...
Python has an iteration fallback protocol: when iterating over an
object which does not define __iter__, if the object defines
__getitem__ it considers that it's a list, and invokes __getitem__
from index `0`.
This can be a problem in openerp in methods which expect an list of
ids but are only given a single id (not a singleton list), in that
case self.browse() will return a single browse_record (instea of a
list) and the method tries to iterate over it by calling
browse_record.__getitem__.
Problem is that browse_record.__getitem__ is pretty deep and does
little validation, so the error appears 3 frames below where the
actual issue is with a completely cryptic message of "KeyError: 0",
which makes the actual harder to track.
By raising an error immediately in browse_record.__iter__, this kind
of issues is much easier to handle, the stack points precisely to the
frame in error with a clearer message.
bzr revid: xmo@openerp.com-20111005112444-jcp9fw6pa36ahpsd
2011-10-05 13:24:44 +02:00
Vo Minh Thu
7ccc7f388f
[IMP] fields.reference: two loops one loop.
...
bzr revid: vmt@openerp.com-20111005105103-cutnuvfkgsjej3vc
2011-10-05 12:51:03 +02:00
Vo Minh Thu
cab4e9c4a5
[FIX] orm: allow negative varchar size (meaning no limit) as used in some addons.
...
bzr revid: vmt@openerp.com-20111005101401-7jweikyl9ztibe4q
2011-10-05 12:14:01 +02:00
Olivier Dony
d13fb7fe7e
[MERGE] various bugfixes/improvements (coming from EDI development)
...
- _original_module is now available on model/browse_records
- context usage in res.partner.*
- proper name_search() + default values for res.currency
- active_model in wkf exec context
- safe_eval allows try/except/finally
- yaml_import: !ref {id: xml_id} works
- ir_mail_server: support for alternative body/subtype
- default value for web.base.url config parameter
- consistency rename: Model.*get_xml_id* -> *get_external_id*
bzr revid: odo@openerp.com-20111005100954-c8mbd4kz6kkqaj84
2011-10-05 12:09:54 +02:00
Olivier Dony
e0a68f3be1
[REM] res.partner: moved opt_out field to email_template module
...
bzr revid: odo@openerp.com-20111005094843-ov5p9em7mzxb2pkn
2011-10-05 11:48:43 +02:00
Yogesh (OpenERP)
07121a762b
[MERGE]
...
bzr revid: ysa@tinyerp.com-20111005093709-u3rg6g10rcs7tf8f
2011-10-05 15:07:09 +05:30
Yogesh (OpenERP)
2fe1e8c0d8
[MERGE]
...
bzr revid: ysa@tinyerp.com-20111005093516-u8v7e58ndsyuxh9u
2011-10-05 15:05:16 +05:30
Yogesh (OpenERP)
36b97bc3d7
[MERGE] Merge wtih trunk server upto revision no 3722.
...
bzr revid: ysa@tinyerp.com-20111005091223-uznjimebpwh0r6a4
2011-10-05 14:42:23 +05:30
Olivier Dony
57d1cbfe38
[IMP] base: update default web.base.url: port 8002->8069
...
bzr revid: odo@openerp.com-20111005085022-krq4qe95q84s7gol
2011-10-05 10:50:22 +02:00
Olivier Dony
e510a9ce61
[REM] base: removed unused pdf test file
...
bzr revid: odo@openerp.com-20111005084621-totk30u0e0weol2o
2011-10-05 10:46:21 +02:00
Vo Minh Thu
6067cd3609
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20111005080049-mv0ml30tti01cvba
2011-10-05 10:00:49 +02:00
Yogesh (OpenERP)
2fd484263a
[MERGE] Merge wtih trunk server upto revision no 3722.
...
bzr revid: ysa@tinyerp.com-20111005071001-x8cdfvarwfk4brkb
2011-10-05 12:40:01 +05:30
Yogesh (OpenERP)
4de6b85979
[FIX] fix problem of poperty filed. if property field have a default value then check the id.
...
bzr revid: ysa@tinyerp.com-20111005065155-nfwersyv05ddjq40
2011-10-05 12:21:55 +05:30
Yogesh (OpenERP)
92b6181556
[MERGE] Merge wtih trunk server upto revision no 3722.
...
bzr revid: ysa@tinyerp.com-20111005055756-h6fp84gpjwg42w2v
2011-10-05 11:27:56 +05:30
Launchpad Translations on behalf of openerp
ce903eb54a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111005044429-thiikup2n1y3ayb9
2011-10-05 04:44:29 +00:00
Olivier Dony
33947042fd
[IMP] safe_eval: allow OPCODES for try/except/finally
...
bzr revid: odo@openerp.com-20111005010136-xkowcqda3kres691
2011-10-05 03:01:36 +02:00
Olivier Dony
a25933be83
[IMP] res.currency: better/working default values
...
bzr revid: odo@openerp.com-20111005002956-1tfe5u13qid3intk
2011-10-05 02:29:56 +02:00
Olivier Dony
5cc7c4002e
[IMP] res.currency: name_search() implementation to match name_get()
...
bzr revid: odo@openerp.com-20111005002416-vz0vzfpb2uosxu4c
2011-10-05 02:24:16 +02:00
Antony Lesuisse
5dd1e2e43c
[FIX] complexity default, and base category
...
bzr revid: al@openerp.com-20111004231534-ay78ghc46ihb91mx
2011-10-05 01:15:34 +02:00
Olivier Dony
982b2a0894
[FIX] orm: typo in computation of Model._original_module
...
bzr revid: odo@openerp.com-20111004225439-xnb77gtbl77onysm
2011-10-05 00:54:39 +02:00
Antony Lesuisse
2e00f144ec
[MERGE] basesetup-dynamic-stw
...
bzr revid: al@openerp.com-20111004223410-pbwkn5k4zq9ze1mj
2011-10-05 00:34:10 +02:00