Xavier Morel
d64f983fce
[FIX] correctly reload an o2m list *after* triggering an action from a row being edited
...
bzr revid: xmo@openerp.com-20120622150117-w04eibub93ve81mo
2012-06-22 17:01:17 +02:00
Xavier Morel
9e134c9afa
[IMP] move ListView.List#reload_record to ListView
...
bzr revid: xmo@openerp.com-20120622135015-dsvjblv1rd4oezcp
2012-06-22 15:50:15 +02:00
Xavier Morel
5182068b43
[FIX] ensure containing form is saved when triggering an action from an editable o2m list
...
After opening a record with a list o2m, editing said list o2m and
saving a row, clicking the action button would lose all data
explicitly changed: the o2m would just call the action without saving
the form's current state, so the corresponding server method would
only be able to use data previously saved.
Fixed by overriding do_button_action, and only calling the _super()
method after the parent form has announced it is saved (either because
nothing was changed or because it did indeed save itself).
bzr revid: xmo@openerp.com-20120622085432-mh3977uygua5bypn
2012-06-22 10:54:32 +02:00
Fabien Meghazi
5179f7293c
[REV] Revert revid:fme@openerp.com-20120611151704-u2krxz14wvmvqura which broke field@widget=image
...
bzr revid: fme@openerp.com-20120614084009-3ovgmo8azp7vg9n2
2012-06-14 10:40:09 +02:00
Launchpad Translations on behalf of openerp
f7e6360793
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120613053246-5q24ofrak7je9oc3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120614045756-qm25ey22e5tqfgbk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120614045807-k158nma001m2gzz3
2012-06-14 04:58:07 +00:00
Olivier Dony
17915b7cea
[MERGE] OPW 575526: fix returning product with upstream stock moves + multiple returns
...
lp bug: https://launchpad.net/bugs/944025 fixed
lp bug: https://launchpad.net/bugs/1003986 fixed
bzr revid: odo@openerp.com-20120612161551-ev5vw9zql6olswie
2012-06-12 18:15:51 +02:00
Olivier Dony
068a4e7e5a
[MERGE] Missing tab title made multi-tab use of OpenERP quite difficult - now fixed.
...
bzr revid: odo@openerp.com-20120612141943-ukcwg62lsm3auy0d
2012-06-12 16:19:43 +02:00
Olivier Dony
08dede9737
[FIX] base.xml: missing base URL for <img src> and <form action>, for embeddded mode
...
bzr revid: odo@openerp.com-20120612075257-jrsq6iyoko9d9zx4
2012-06-12 09:52:57 +02:00
Launchpad Translations on behalf of openerp
ef7c1ab249
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120606053108-x08p469b10zhf4px
bzr revid: launchpad_translations_on_behalf_of_openerp-20120607051230-69g4lipyo5n9ywez
bzr revid: launchpad_translations_on_behalf_of_openerp-20120608051607-jkzh683v40hae4vf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120609062027-r2caobbpxwjpm6q2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120610045624-mdizos4m57iuvdhf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120611051303-zae4l2i7icagbwu6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612053814-p5i3x7if446sjimc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612053818-169dpckzekdxr1o7
2012-06-12 05:38:18 +00:00
Fabien Meghazi
15149e26fc
[FIX] In form view, <image> tag is not a binary image but an <img>
...
bzr revid: fme@openerp.com-20120611151704-u2krxz14wvmvqura
2012-06-11 17:17:04 +02:00
Fabien Meghazi
080c6d014c
[FIX] Fixed http header Content-Disposition for non-ascii filenames
...
lp bug: https://launchpad.net/bugs/993036 fixed
bzr revid: fme@openerp.com-20120611131822-rr5m8qzr68ujjoda
2012-06-11 15:18:22 +02:00
Launchpad Translations on behalf of openerp
de1db8940e
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120610045631-0e8vs10g6yusa3s6
2012-06-10 04:56:31 +00:00
Olivier Dony
6da2d94357
[FIX] read_group: remove prohibitive n^2 operations, could freeze the server on large group_by results
...
This patch replaces two O(n^2) operations, one
filter and one sort, with O(n) or better operations.
It takes slightly more memory due to the use of
one extra data copy, but takes virtually no time
to process even with 600k result lines, whereas
the previous code would just freeze the server
for a long time.
bzr revid: odo@openerp.com-20120609010549-xdktw6xte7fmxjbq
2012-06-09 03:05:49 +02:00
Olivier Dony
fe39e36f35
[FIX] export_data: avoid access error while auto-generating external IDs during export
...
bzr revid: odo@openerp.com-20120608213018-9oe5wvtn8egp30zm
2012-06-08 23:30:18 +02:00
pso (OpenERP)
99f7f15111
[IMP] stock: Improved code quality for precision and improved name for return moves(case:575526)
...
bzr revid: pso@tinyerp.com-20120608131901-3q63jkmv9x4xl1uc
2012-06-08 18:49:01 +05:30
Xavier Morel
c1858eefaa
[FIX] creation of action ir_values
...
bzr revid: xmo@openerp.com-20120608092830-8bm4hrssikgyfhsa
2012-06-08 11:28:30 +02:00
Xavier Morel
6c4568c548
[FIX] mis-handling of url actions in sidebar
...
bzr revid: xmo@openerp.com-20120608090619-494wipr0pfekq6ex
2012-06-08 11:06:19 +02:00
pso (OpenERP)
8fc8797ccb
[IMP] stock: Raised warning message if return qty > available qty and improved return picking name(case:575526)
...
bzr revid: pso@tinyerp.com-20120608065920-wcdlphqj3rwxsaea
2012-06-08 12:29:20 +05:30
Launchpad Translations on behalf of openerp
98e535ec56
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120606053039-a4juyl2r3spflgxr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120607051141-x5vxg958wo48mr5b
bzr revid: launchpad_translations_on_behalf_of_openerp-20120608051529-d5rbbmihnra3sz05
bzr revid: launchpad_translations_on_behalf_of_openerp-20120608051613-be9s789ejsqjffow
2012-06-08 05:16:13 +00:00
niv-openerp
629ffe9370
fixed bug with ir.actions.url
...
bzr revid: nicolas.vanhoren@openerp.com-20120607140822-bsljpmaqnbg5m2pm
2012-06-07 16:08:22 +02:00
Xavier ALT
d05bb6c9d2
[FIX] stock: Added condition to check locations for removing warning message coming on returning outgoing moves(case:575526)
...
bzr revid: pso@tinyerp.com-20120607130236-5jn4bmiv7t7ul1ne
2012-06-07 18:32:36 +05:30
Xavier Morel
79044bc264
[ADD] handling of required attr on m2m fields
...
bzr revid: xmo@openerp.com-20120607111149-cgf3ap0yjzsxrkjx
2012-06-07 13:11:49 +02:00
Xavier Morel
5dd4134e24
[FIX] Error while deleting a record when there is only one record in pageview
...
bzr revid: xmo@openerp.com-20120607110503-exd0yhx8cqsimxer
2012-06-07 13:05:03 +02:00
Xavier Morel
9098fdea91
[IMP] display clean error dialog when user tries to create a database which already exists
...
bzr revid: xmo@openerp.com-20120607110313-rqj2k80cxpskdvx0
2012-06-07 13:03:13 +02:00
Xavier Morel
43f37b457f
[FIX] re-display [Add Pad] button after removing the pad from a document
...
bzr revid: xmo@openerp.com-20120607110035-qxh5p2nnf3p0mj5s
2012-06-07 13:00:35 +02:00
Xavier Morel
bab4adf42b
[IMP] formatting of o2m and m2m fields in list views, courtesy of William Beltrán
...
backported from trunk revision xmo@openerp.com-20120607101329-aq0caswlxamd8z0n
lp bug: https://launchpad.net/bugs/942894 fixed
bzr revid: xmo@openerp.com-20120607103240-edk8759inv2jiw2q
2012-06-07 12:32:40 +02:00
msh-openerp
3dde84cb82
[FIX]Refixed the issue of pad button not rendered when we delete the pad link.
...
bzr revid: msh@tinyerp.com-20120607083645-nyrk6vu3fjnmj5sv
2012-06-07 14:06:45 +05:30
msh-openerp
9756f7bb7a
[FIX]Refixed the issue of database creation which was giving traceback instead of message.
...
bzr revid: msh@tinyerp.com-20120607072805-htfer9njseaty66w
2012-06-07 12:58:05 +05:30
Amit Dodiya
902694cf86
[FIX] Error while deleting a record when there is only one record in pageview
...
bzr revid: ado@openerp.com-20120607065207-jwu8qlvo9i5c59jo
2012-06-07 12:22:07 +05:30
Amit Dodiya
60d2e6878c
[FIX] Error while deleting a record when there is only one record in pageview
...
bzr revid: ado@openerp.com-20120607064823-wpwvgq3ep7ufiui4
2012-06-07 12:18:23 +05:30
Amit Dodiya
7c38280c50
[FIX] Error while deleting a record when there is only one record in pageview
...
bzr revid: ado@openerp.com-20120607064431-2r2gbh0hav11ojeg
2012-06-07 12:14:31 +05:30
Amit Dodiya
7c87017fc2
[FIX] Error while deleting a record when there is only one record in pageview
...
bzr revid: ado@openerp.com-20120607063146-h22emjasnj0ararc
2012-06-07 12:01:46 +05:30
cpa-openerp
55954ed199
[FIX] Code optimization as per suggestion.
...
bzr revid: cpa@tinyerp.com-20120607060633-ewnd0kr9qzxw0tey
2012-06-07 11:36:33 +05:30
Launchpad Translations on behalf of openerp
300b3face2
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120607051242-r8pa2ag5y48gicq6
2012-06-07 05:12:42 +00:00
Olivier Dony
51292dca89
[MERGE] OPW 574895: fix incorrect matching of column headers when importing CSV files
...
- required fields may sometimes be provided by alternative columns,
and all the alternatives are therefore not required (e.g. for
a m2o the CSV can provide m2o or m2o/id columns)
- when fields share the same label, precedence when matching
column headers should be given to the field with the exact
same name, rather than just the first one encountered
bzr revid: odo@openerp.com-20120606174043-f1nmkad3p17mccyy
2012-06-06 19:40:43 +02:00
Xavier Morel
cff511da83
[FIX] incorrect handling of 'None of the following condition must match' advanced search combinator
...
Introduced during 'simple style fixes' (sic) of rev xmo@openerp.com-20110812094541-zeb5lz6nk0jgq21y
bzr revid: xmo@openerp.com-20120606143721-004xllr8j28sgga9
2012-06-06 16:37:21 +02:00
Xavier Morel
af000c9dd2
[IMP] performances when opening an m2o "search" without any filtering term
...
Don't prefilter via name_search if no data has been entered in the m2o
field, it's going to return all records (not paginated) so it's a
waste of time and resources
bzr revid: xmo@openerp.com-20120606124717-h2p211vbrydazado
2012-06-06 14:47:17 +02:00
Xavier Morel
85f95e6858
[FIX] handling of empty domains, context and view_id in action descriptors
...
* Some literal actions (not stored) provide an empty string for
domains and contexts instead of (respectively) an empty array or an
empty dict literal inside the string. Treat those case as nothing
being provided.
* Likewise some literal actions provide nonsensical (but falsy, but
not False) values for view_id (such as an empty list). Yield a
``False`` view_id for all falsy ``view_id`` received (``0`` should
not be a valid view_id, so ``False`` works)
bzr revid: xmo@openerp.com-20120606123508-ndh3jpzw1nabf98n
2012-06-06 14:35:08 +02:00
Xavier Morel
bc25bd8cce
[FIX] reloading of o2m forms in dialogs (popups) after clicking on a button
...
bzr revid: xmo@openerp.com-20120606123230-bjwrplz1xeekeecg
2012-06-06 14:32:30 +02:00
Xavier Morel
d7ddebed96
[FIX] handling of get_selection in listview in case of non-selectable lists (e.g. editable o2ms?)
...
OPW 572764
bzr revid: xmo@openerp.com-20120606123115-hilv8huw72di4ovi
2012-06-06 14:31:15 +02:00
Xavier Morel
5b6aed9576
[FIX] handling of empty lines in CSV file being imported (ignore them)
...
lp bug: https://launchpad.net/bugs/941977 fixed
bzr revid: xmo@openerp.com-20120606103353-k8z51yhp9j1u2irp
2012-06-06 12:33:53 +02:00
Launchpad Translations on behalf of openerp
f5404ed23c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120605051802-bospr54h50wirl0p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120606053111-in0n1qxhmy84ofxp
2012-06-06 05:31:11 +00:00
Christophe Simonis
e0bdf1abd6
[FIX] opw: catch invalid results from opw server
...
bzr revid: chs@openerp.com-20120605152100-82bjiisvcck07s53
2012-06-05 17:21:00 +02:00
Quentin (OpenERP)
cee6ba5247
[FIX] account_coda: fixed coda import to work with iban bank accounts
...
bzr revid: qdp-launchpad@openerp.com-20120605122517-wm86m0yoo5c0bsfe
2012-06-05 14:25:17 +02:00
Quentin (OpenERP)
53d3c03185
[REF] account_coda: stripped dummy spaces at end of lines
...
bzr revid: qdp-launchpad@openerp.com-20120605094112-hdhavcwy767tbbxg
2012-06-05 11:41:12 +02:00
Olivier Dony
a6a98f70b4
[FIX] edi: fix Invoice preview template, uos_id field not required so may be missing
...
bzr revid: odo@openerp.com-20120605085712-r08p06gyeqo0i0o0
2012-06-05 10:57:12 +02:00
cpa-openerp
817c495816
[FIX] Fixed in advance search when search on 'None of the following condition must match'.
...
bzr revid: cpa@tinyerp.com-20120605055415-xgczrlyzb1g92exx
2012-06-05 11:24:15 +05:30
Launchpad Translations on behalf of openerp
7af45caa3f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120605051658-eplb8pqgus26l24a
bzr revid: launchpad_translations_on_behalf_of_openerp-20120605051757-3r6mwelhve3xheyn
2012-06-05 05:17:57 +00:00
Olivier Dony
ded3cb59f9
[MERGE] OPW 575395: orm: don't defer function fields computation during creation of parent records (inheritS)
...
bzr revid: odo@openerp.com-20120604125001-ls1pkxp9as1eyn6i
2012-06-04 14:50:01 +02:00
Olivier Dony
14a6cd841f
[FIX] OPW 575395: orm: don't defer function field computation during creation of parent records (inheritS)
...
An optimization in the set() method of o2m fields
disables the direct computation of function fields
in order to avoid computing them line-by-line.
This is done with context key 'no_store_function',
and deferred at the end of the caller write() or
create() method.
This was unfortunately disabling all function fields
in parent model (via _inheritS) at the time of
creation, even though those were *not* batch-computed
at the end.
The patch removes the 'no_store_function' field in
the context that is passed to inheritS parents during
creation, as it was never meant to be passed.
lp bug: https://launchpad.net/bugs/704922 fixed
bzr revid: odo@openerp.com-20120604114536-4t6ulwl93zalfgr7
2012-06-04 13:45:36 +02:00