Commit Graph
68051 Commits
Author SHA1 Message Date
Foram Katharotiya (OpenERP) 18599ffd70 [IMP] improve code
bzr revid: fka@tinyerp.com-20130129091315-zrg45gu04ztkt5ve
2013-01-29 14:43:15 +05:30
Foram Katharotiya (OpenERP) 105e52adb1 [MERGE] merge with trunk
bzr revid: fka@tinyerp.com-20130128055029-1ct295a3gydghcmg
2013-01-28 11:20:29 +05:30
Launchpad Translations on behalf of openerp b390a5697c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126050355-xxot322zn826zr96
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127043627-b85ckledrtpdd73m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130128051345-a31wsrx74u1w228d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130129052015-doewhw7byebeeijs
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130043841-h15p02at1d6o2clr
2013-01-30 04:38:41 +00:00
Olivier Dony 02a6c638a9 [MERGE] Latest bugfixes from 7.0, up to rev 3731
rev 3731 = revision-id: fme@openerp.com-20130129142638-81uffjq3aiopr8ta

bzr revid: odo@openerp.com-20130129163725-feesf1n2xf0wbpro
2013-01-29 17:37:25 +01:00
Vo Minh Thu 4e24b1b091 [FIX] removed spurious import test from openerp/__init__.
bzr revid: vmt@openerp.com-20130129162011-6eecl9fmecv579zu
2013-01-29 17:20:11 +01:00
Vo Minh Thu 13d0db7507 [FIX] the import test in openerp/run_tests is wrong, the import of run_tests in openerp/__init__ was wrong too.
lp bug: https://launchpad.net/bugs/1108929 fixed

bzr revid: vmt@openerp.com-20130129154702-opeqw9mhk9lto92p
2013-01-29 16:47:02 +01:00
Fabien Meghazi 337faa6829 [FIX] Use relative protocol in scripts url in order to avoid mixed content warnings in IE
bzr revid: fme@openerp.com-20130129142638-81uffjq3aiopr8ta
2013-01-29 15:26:38 +01:00
csn-openerp 22c857caf3 [FIX] sale: proper guard of external ID resolution in config settings
ir.model.data.get_object() raises ValueErrors for missing references!

bzr revid: csn@openerp.com-20130129133631-d1kgb8b3wmdahy8s
2013-01-29 14:36:31 +01:00
csn-openerp efbb25bae3 [FIX] account: missing ondelete cascade rule on m2o between 2 TransientModels
bzr revid: csn@openerp.com-20130129133427-ar1wiknf0ck15257
2013-01-29 14:34:27 +01:00
Olivier Dony f0199dbcd5 [FIX] membership: proper guard for external ID resolution, when looking for invoice search view
Similar to correction done in previous commit.

bzr revid: odo@openerp.com-20130129123127-6rkcksxhozm6al0d
2013-01-29 13:31:27 +01:00
Olivier Dony 0be7cd3a29 [FIX] membership: use Customer Invoice form view rather than Supplier Invoice one, courtesy of Niels Huylebroeck
lp bug: https://launchpad.net/bugs/1100271 fixed

bzr revid: odo@openerp.com-20130129122637-f0t2n8tw1bqaaoqf
2013-01-29 13:26:37 +01:00
Launchpad Translations on behalf of openerp 39951ce27c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060526-1sardheh24y8unc0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053740-34a73mqkdg04j9s4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127051008-60htke4mkwclnqfk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130128055849-swluxyrhgvpbmrg2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130129061824-peffot06nnwkgdkp
2013-01-29 06:18:24 +00:00
Niels Huylebroeck 26ea11f21b [FIX] membership: added correction by Olivier Dony to catch errors if the xmlid was deleted by user.
bzr revid: nh@agaplan.eu-20130128140710-4l5fcxesmx1fflwd
2013-01-28 15:07:10 +01:00
Xavier Morel b87102f22e [FIX] Inject user context in all domain and context evaluation
Custom keys from user context may be used in action contexts (not just
e.g. searchview filters). For instance, have a custom key
context_salesteam (in the user model) and an action defining some
search default as a function of the salesteam.

In that case, the action's context evaluation (view.js:~275) will blow
up.

Ensure that does not happen.

Note: eval_contexts already injects user_context in the reduction of
contexts to evaluate. It should be possible to alter the reduction
function to avoid having to inject instance.session.user_context
through pyeval.context(), maybe by _.extend-ing ``result_context``
into ``evaluation_context`` at the *top* of the reduction function
rather than at its bottom?

bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2013-01-28 14:06:40 +01:00
Foram Katharotiya (OpenERP) 64a2c1a0dc [MERGE]
bzr revid: fka@tinyerp.com-20130128054314-i3e0s0posb3yhcdt
2013-01-28 11:13:14 +05:30
Launchpad Translations on behalf of openerp b7f2a1979a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053743-gvzlf7q6x7t1epw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127051012-oel2zn0owk19akxk
2013-01-27 05:10:12 +00:00
Antony Lesuisse 4e6607c75c [IMP] res.partner missing group by country
bzr revid: al@openerp.com-20130125214027-usu1y7eho9gm9uld
2013-01-25 22:40:27 +01:00
Vo Minh Thu 97355a3b18 [FIX] survey: fixed utf-8 encoding marker (coverage.py chokes on it otherwise).
bzr revid: vmt@openerp.com-20130125153907-msyx5drfdre1fmdp
2013-01-25 16:39:07 +01:00
Xavier Morel 8e21d2a847 [FIX] avoid storing new admin password in browser history on database creation, courtesy of Holger Brunn
bzr revid: xmo@openerp.com-20130125114331-yabvigl2qjscnzv5
2013-01-25 12:43:31 +01:00
Holger Brunn e02e396925 [IMP] set _push_me: false to fix lp:1091759
bzr revid: hbrunn@therp.nl-20130125110159-b43murb3dzbp9oib
2013-01-25 12:01:59 +01:00
Xavier Morel 4c46187ebf [IMP] set_content_full_screen code, avoid duplications
bzr revid: xmo@openerp.com-20130125100547-ujawyg4ohnrofl3u
2013-01-25 11:05:47 +01:00
Xavier Morel ac550e4239 [FIX] aggregates not being displayed in list o2ms
A template alteration previously used to remove the bottom pager of
listviews in o2ms now matches aggregate field displays.

bzr revid: xmo@openerp.com-20130125085739-isro8w216gpa038a
2013-01-25 09:57:39 +01:00
Launchpad Translations on behalf of openerp 1558bb732d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060530-mvl0r5jn2ysf7amp
2013-01-25 06:05:30 +00:00
Launchpad Translations on behalf of openerp 06c7519a62 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053457-8qf8k6eb4ukdig0k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060437-nlhqe2dilssuf70x
2013-01-25 06:04:37 +00:00
Launchpad Translations on behalf of openerp d4f857862e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123045622-jd5o94i33no0nnsi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124043608-u0b4h66yzuolu3da
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125052442-7i6q4mn2z3pnb5ip
2013-01-25 05:24:42 +00:00
Launchpad Translations on behalf of openerp 4144c0fc76 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125052421-1l7nshdho8sk43gx
2013-01-25 05:24:21 +00:00
Fabien Meghazi f8aa2a7f33 [FIX] Can't open records in form view from grouped kanban
lp bug: https://launchpad.net/bugs/1103518 fixed

bzr revid: fme@openerp.com-20130124170230-99g7tcb1c6yh8e0o
2013-01-24 18:02:30 +01:00
Xavier Morel e761ab7454 [FIX] domain returned by onchange
The "new" form engine performs a bunch of conversions on the form arch
from json to xml to text to json again (or something), thus the
``node`` attribute on form fields might be json but it's got no more
relation to the form's own arch (and the fields defined therein).

Meanwhile the domains processing for onchange recursively traversed
the *form*'s arch trying to find a node matching the key it had to set
its @domain to what it was given. It long predates the "new" form
engine, and since it alters the *original* arch not a copy the "new"
form engine broke it. And since that's untested, it's been broken for
a bunch of months (probably).

Fix by looking up the field according to the domain key (in
form.fields), and setting the domain in the node of the field, rather
than the node of the form's arch.

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

bzr revid: xmo@openerp.com-20130124144018-0g3sl2nej2aj6syp
2013-01-24 15:40:18 +01:00
Olivier Dony 611ff620ce [FIX] session: properly handle exceptions with unicode messages during dispatching
String formatting with an Exception param will use
str(Exception), raising an error if the exception
has non-ascii characters in the message.

bzr revid: odo@openerp.com-20130124140538-1wjjl4a12xnwn38o
2013-01-24 15:05:38 +01:00
Xavier Morel e7547a13db [REM] noise key in web manifest
bzr revid: xmo@openerp.com-20130124131102-s3342pppi2nhyk9g
2013-01-24 14:11:02 +01:00
Olivier Dony 80c4789dff [FIX] web_analytics: missing explicit empty value for WebClient.subscribe_deferred
bzr revid: odo@openerp.com-20130124124132-6xgqf9qy22kkxasn
2013-01-24 13:41:32 +01:00
Olivier Dony 4984961634 [FIX] account: tree drill-down action bindings were removed by error for Chart of Accounts/Taxes
Was done by mistake as a side-effect of rev. 8086.1.28 revid:dle@openerp.com-20121128150525-zh27h78v8dd6dkwm

bzr revid: odo@openerp.com-20130124123827-2pv2nhzjdt9r2li4
2013-01-24 13:38:27 +01:00
Mohammed Shekha 54f58c82ae [FIX]Fixed the issue of sum aggregates not displayed on one2many footer.
bzr revid: msh@openerp.com-20130124120727-hhlrzr7qzk242lw0
2013-01-24 17:37:27 +05:30
Olivier Dony bd8a29b5cc [FIX] note: stages should not block user deletion + incomplete fields.function declaration for current_partner_id
bzr revid: odo@openerp.com-20130124104625-5aqn1ch5kdz9cgak
2013-01-24 11:46:25 +01:00
Vishmita 6af11ee387 [Fix]can't open form of data out of kanban
lp bug: https://launchpad.net/bugs/1103518 fixed

bzr revid: vja@tinyerp.com-20130124102411-rt3nyp5s4xgbio2t
2013-01-24 15:54:11 +05:30
Launchpad Translations on behalf of openerp 688bb77d95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053511-cxfjeh7rfwridjv1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053515-bl01lm43wsqnoenv
2013-01-24 05:35:15 +00:00
Christophe Simonis b3b800bd17 [FIX] signal registry change when install modules from config wizards
bzr revid: chs@openerp.com-20130123174724-bqonj3d4dufof2vw
2013-01-23 18:47:24 +01:00
Vo Minh Thu 6e9025cbea [IMP] oe initialize: added --coverage flag.
bzr revid: vmt@openerp.com-20130123163641-uumkklqpaxkyvsr8
2013-01-23 17:36:41 +01:00
Christophe Simonis b3300f6074 [FIX] signal registry change when uninstall modules
bzr revid: chs@openerp.com-20130123153345-x7jm13eieqgeg5i7
2013-01-23 16:33:45 +01:00
Quentin (OpenERP) deea17ff25 [FIX] base, res.company: fixed overlapping in company header when display_address() returns a 5 lines text (UK for example)
bzr revid: qdp-launchpad@openerp.com-20130123143802-n9nbwm18xn6xh7z3
2013-01-23 15:38:02 +01:00
Quentin (OpenERP) 93884a8a11 [FIX] account: added the ir.values to add the partner_ledger report as report on the res.partner object + fixed that part of the code
bzr revid: qdp-launchpad@openerp.com-20130123113253-0gs8idcha0qbem9s
2013-01-23 12:32:53 +01:00
Xavier Morel 8192977f3c [IMP] add confirmation message when removing a global custom filter
lp bug: https://launchpad.net/bugs/1103410 fixed

bzr revid: xmo@openerp.com-20130123105320-pbmeqoudpb48s87m
2013-01-23 11:53:20 +01:00
Xavier Morel ca038643b9 [FIX] rounding of float_time to the next hour should bump the hour, nor display 60mn
bzr revid: xmo@openerp.com-20130123101557-v63oxes2emrwcz19
2013-01-23 11:15:57 +01:00
Anand Patel (OpenERP) be9f4b43b7 [IMP] Added some test cases for the float_time
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
Xavier Morel d5ab8a4241 [IMP] IE9 supports window.getSelection
remove IE <9 usage of document.selection as we don't support these browsers anyway

bzr revid: xmo@openerp.com-20130123092946-wgtvfz3493l7p7cw
2013-01-23 10:29:46 +01:00
Xavier Morel 01ee5f60ee [FIX] pasting HTML content into the text box, then trying to navigate/alter it
Navigation implementation can only deal with straight text (and
asserts that), if HTML is pasted in a search input
InputView#getSelection will throw errors and refuse to act.

Clean up input content after a paste event, to ensure only plain text
is present so it can be navigated.

Don't forget to correctly re-set the cursor at the end of the input
data, otherwise the user will face various deep DOM errors when trying
to move around the input with the arrow keys (which he would usually
be able to do after a paste).

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

bzr revid: xmo@openerp.com-20130123091600-nd4rwqpin6qj8ult
2013-01-23 10:16:00 +01:00
Xavier Morel e5ad5f8e10 [FIX] move filter added at xmo@openerp.com-20130122135139-s3ui9hb44xd7afba to after map
If the filter is executed first, the "iteratee" is transformed to an
array (from an object) and the "key" is lost, replaced by the indices
to the array (and thus the name of the fields end up as "0", "1", "2",
... instead of their actual logical names)

bzr revid: xmo@openerp.com-20130123084422-tbl05l5j72sx528n
2013-01-23 09:44:22 +01:00
olt@tinyerp.com e355f5bb97 [FIX] fixed a bug preventing the de-anonymization of the database
bzr revid: olt@tinyerp.com-20130123073005-398u252n7082k0qy
2013-01-23 08:30:05 +01:00
Launchpad Translations on behalf of openerp 3499c33270 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060246-kt475gbzoz4f1703
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060324-z9zt3oif6p20i6mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060328-e0rnct2yu9lh23vp
2013-01-23 06:03:28 +00:00
Vo Minh Thu e2d5e0df9e [DOC] fixed -999999 title indentation.
bzr revid: vmt@openerp.com-20130122164517-ig8a44yzoretq94c
2013-01-22 17:45:17 +01:00