niv-openerp
d256d16e3a
Fixed potential security issue + some details
...
bzr revid: nicolas.vanhoren@openerp.com-20130805133309-jds80qa5j5lgwslq
2013-08-05 15:33:09 +02:00
Thibault Delavallée
dce673c6b5
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130805132618-ewjjxjfwnkeg8hue
2013-08-05 15:26:18 +02:00
niv-openerp
226b142ac6
Simplified a little the Query class by removing a reference to a controller and using call_kw instead
...
bzr revid: nicolas.vanhoren@openerp.com-20130805130458-21w806v9wc456oq4
2013-08-05 15:04:58 +02:00
niv-openerp
70e3af6312
Desactivated some tests because the phantomjs runner crashed
...
bzr revid: nicolas.vanhoren@openerp.com-20130805125045-q1x1bciwcdyabg8v
2013-08-05 14:50:45 +02:00
niv-openerp
affb4f0589
Ported model to the framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130805123916-s62upxq3jwqjygt0
2013-08-05 14:39:16 +02:00
niv-openerp
14fccd0a4e
Even more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130805114034-7xcpjmses5aodjhr
2013-08-05 13:40:34 +02:00
niv-openerp
a6ea300848
Added some tests about authentication
...
bzr revid: nicolas.vanhoren@openerp.com-20130805113928-yldn5qh2lm0vc8j9
2013-08-05 13:39:28 +02:00
Turkesh Patel (Open ERP)
7f6daa12f9
[IMP] Improved report of lead/apportunity analysis to show in user currency and improved code to show target and forcast amount in current user currency.
...
bzr revid: tpa@tinyerp.com-20130805113549-9vmwd2v0zsjwlcms
2013-08-05 17:05:49 +05:30
Thibault Delavallée
7f1e1c7246
[IMP] hr_holidays: workflow update
...
starts in confirm
from confirm, possible to get back to draft with reset signal, calling old set_to_draft, now
renamed holidays_reset, in the same workflow
from draft, possible to go to confirm
bzr revid: tde@openerp.com-20130805113023-1cs1s18dd5m4mi20
2013-08-05 13:30:23 +02:00
niv-openerp
22c56b1dd8
Ported some authentication methods to the Session class
...
bzr revid: nicolas.vanhoren@openerp.com-20130805111250-ws23n3b6os54qsp3
2013-08-05 13:12:50 +02:00
niv-openerp
85b2238472
minor improvements
...
bzr revid: nicolas.vanhoren@openerp.com-20130805101849-rqqx4jcmbymv5hfl
2013-08-05 12:18:49 +02:00
Martin Trigaux
8c8567c197
[FIX] account: use dateformat instead of datetime for date objects
...
bzr revid: mat@openerp.com-20130805101538-jn8o05n13psmnp99
2013-08-05 12:15:38 +02:00
Launchpad Translations on behalf of openerp
bb90e51a78
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803061336-i8noij4hjz9nxoow
bzr revid: launchpad_translations_on_behalf_of_openerp-20130804053709-rxcnnh17adwk94b4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130805063055-v6y7lrx7lcoemmk0
2013-08-05 06:30:55 +00:00
Launchpad Translations on behalf of openerp
cbf3ad9f60
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803055504-6ay7gnpxm1jno8g3
2013-08-03 05:55:04 +00:00
niv-openerp
bd8519abb5
Make it a little bit cleaner to fetch the session_id
...
bzr revid: nicolas.vanhoren@openerp.com-20130802152432-stvg9eed7f6juvq9
2013-08-02 17:24:32 +02:00
niv-openerp
ab03d9c280
Make the three jsonrpc protocols work correctly with and without session overriding and added tests for all the cases.
...
That's one small step for a man, a giant leap for all the poor programmers that would have to use that shit one day.
bzr revid: nicolas.vanhoren@openerp.com-20130802150815-k2yuf0b3ku5fvx7a
2013-08-02 17:08:15 +02:00
niv-openerp
adc722348c
Made the 2-steps jsonp rpc work more or less
...
bzr revid: nicolas.vanhoren@openerp.com-20130802143223-49mf5dayd8ape1a5
2013-08-02 16:32:23 +02:00
Denis Ledoux
329bd7d5f3
[FIX]google_spreadsheet: not using requests anymore
...
bzr revid: dle@openerp.com-20130802130349-206ms4c5s5dnzbti
2013-08-02 15:03:49 +02:00
Martin Trigaux
44f7a82281
[FIX] account_voucher: evaluate move line account with correct precision
...
This bug may have generated incorrect account_voucher_line when validating a voucher with amount less than 1. This patch will avoid reproducing the problem on new lines but not fix already existing vouchers. To do so apply the following steps:
1. apply this patch
2. do a manual reconciliation of the account.move.lines with amount less than 1 (use the manual reconciliation menu to see every line, included 0-0 lines)
3. execute the following SQL query
DELETE FROM account_voucher_line WHERE id IN (SELECT l.id FROM account_voucher_line AS l JOIN account_voucher AS v ON (v.id = l.voucher_id) JOIN account_move_line AS ml ON (l.move_line_id = ml.id) WHERE l.amount = 0 AND v.state = 'draft' AND ml.debit = ml.credit AND ml.credit = 0);
that will remove account voucher lines from draft vouchers linked to an empty move lines
bzr revid: mat@openerp.com-20130802120311-oh64d47t8x6t1wf9
2013-08-02 14:03:11 +02:00
Launchpad Translations on behalf of openerp
110e74f46f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130802055826-b3m62j0sjc05lbns
2013-08-02 05:58:26 +00:00
Launchpad Translations on behalf of openerp
7828e44ea5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727050216-3lqngtzz3y4eal03
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728055452-udjnnr7f174dwx7s
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729052557-z3cyhulfa50uou01
bzr revid: launchpad_translations_on_behalf_of_openerp-20130731051700-toxlygnbrq3rfi75
bzr revid: launchpad_translations_on_behalf_of_openerp-20130802053852-k0z9t3xzddxkqibc
2013-08-02 05:38:52 +00:00
niv-openerp
cc04d9463e
Added more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130801164207-wwv34s2fgtlxbzxz
2013-08-01 18:42:07 +02:00
niv-openerp
49f20eb39e
Added some tests for jsonrpc
...
bzr revid: nicolas.vanhoren@openerp.com-20130801163221-uat5w2j1p5t9m5ve
2013-08-01 18:32:21 +02:00
Denis Ledoux
b6cd0ea820
[FIX]auth_crypt: was storing password when passsing by res.users create, like auth_signup
...
bzr revid: dle@openerp.com-20130801162704-fbvghil7yir8zm8c
2013-08-01 18:27:04 +02:00
niv-openerp
f6318cc753
Yiiiiha! This day was shitty but that damn tests finally work.
...
bzr revid: nicolas.vanhoren@openerp.com-20130801160847-tcx6va9x1kp0q7eo
2013-08-01 18:08:47 +02:00
Denis Ledoux
93ffa6dbcb
[MERGE] Forward-port of 7.0 bugfixes up to rev. 9339 (dle@openerp.com-20130801151539-z0bes7ylx5qwa8tw)
...
bzr revid: dle@openerp.com-20130801142357-09zojxyhaop9fwna
bzr revid: dle@openerp.com-20130801155334-hq3dzmheppde3xqp
2013-08-01 17:53:34 +02:00
Denis Ledoux
f551350b80
[FIX]auth_crypt: check_credentials checking if there is a password stored, if not, not trying to crypt anything and raise
...
bzr revid: dle@openerp.com-20130801151539-z0bes7ylx5qwa8tw
2013-08-01 17:15:39 +02:00
Christophe Matthieu
55e3a0dedd
[MERGE] from trunk-website-public_uid-chm
...
bzr revid: chm@openerp.com-20130801144229-tibuoa574kn86kyy
2013-08-01 16:42:29 +02:00
Denis Ledoux
5895b17ca1
[FIX]stock: wizard stock change qty, object_reference return an integer and not a browse record
...
bzr revid: dle@openerp.com-20130801142119-3kt689udw6j9zofz
2013-08-01 16:21:19 +02:00
Olivier Dony
957fa4e2da
[MERGE] mrp: confirmation of procurements when production order is confirmed was broken + fix and re-enable tests
...
During the workflow signalling refactoring the signal for
confirming the procurements was sent to the wrong model,
thus having no effect at all.
In addition the MRP tests were incorrectly disabled and
did not cover this case properly. They were re-enabled
and corrected to cover it.
bzr revid: odo@openerp.com-20130801132150-gfp1saryq48249pu
2013-08-01 15:21:50 +02:00
Denis Ledoux
1a04d7b128
[FIX]account_voucher: change signature of _get_current_rate according to res_currency from server
...
bzr revid: dle@openerp.com-20130801131234-p63bhee1aqrs9n8o
2013-08-01 15:12:34 +02:00
niv-openerp
9ce24aea39
Merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130801125845-2aoeb7l6bicdmk59
2013-08-01 14:58:45 +02:00
Olivier Dony
2c87609288
[FIX] mrp: confirmation of procurements when production order is confirmed was broken + fix and re-enable tests
...
During the workflow signalling refactoring the signal for
confirming the procurements was sent to the wrong model,
thus having no effect at all.
In addition the MRP tests were incorrectly disabled and
did not cover this case properly. They were re-enabled
and corrected to cover it.
bzr revid: odo@openerp.com-20130801125820-ubpq9wsew6q5w2hf
2013-08-01 14:58:20 +02:00
Christophe Matthieu
be7b1239c3
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130801123959-479vo299lm5inrli
2013-08-01 14:39:59 +02:00
Denis Ledoux
a99b5786d1
[MERGE] Forward-port of 7.0 bugfixes up to rev. 9337 (dle@openerp.com-20130731153129-8hmqrgsg3e9d533f)
...
bzr revid: mat@openerp.com-20130726073123-6buqe3rg321gj5rw
bzr revid: odo@openerp.com-20130730110536-a74ea14pwb2y03ay
bzr revid: dle@openerp.com-20130801123703-frjhpeqwocsjo7ge
2013-08-01 14:37:03 +02:00
niv-openerp
f3d634a278
[IMP] http.py: Make it possible to implement a new authentication method for the routes
...
bzr revid: nicolas.vanhoren@openerp.com-20130801113136-5fg9hyrptjckhtkm
2013-08-01 13:31:36 +02:00
Xavier Morel
adfe3e7ec9
[FIX] reinstate basic grouping test, replace strictEqual call on widgets by ok(===)
...
There seems to be a problem with QUnit's serialization routines when
applied to complex widgets (the view here) while running inside
PhantomJS. It does not seem to be cycles in datastructures (that is
handled) but looks related to complex objects linked from multiple
"children" (skipping any object already serialized makes the issue
disappear).
The bug leads to unbounded memory growth, and on runbot to the process
being summarily terminated (likely by the OOM killer) not even
resulting in an OOM error (which is displayed locally). The issue can
not be observed within browsers. This may be a difference in GC
strategy.
The serialization is applied by the driver on high-level comparison
methods (e.g. strictEqual) so the caller can display the structures if
desired.
Replace the strictEqual(a, b) call by ok(a === b) to avoid any risk of
such serialization.
bzr revid: xmo@openerp.com-20130801091326-u2q9e163zls4k8ad
2013-08-01 11:13:26 +02:00
Xavier Morel
cdee92f984
[IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)
...
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
2013-08-01 11:12:39 +02:00
Xavier Morel
e57e50fdfa
[FIX] unneeded & dangerous start call in async test
...
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
Rifakat
3ba9415e80
[IMP] removed unused user pool
...
bzr revid: rha@tinyerp.com-20130801063502-g2u9l8ave9sd7kim
2013-08-01 12:05:02 +05:30
Rifakat
acd76079ba
[FIX] fix demo data problem, now able to assign company to existing partner which does not have
...
any company. Did small variable name change
bzr revid: rha@tinyerp.com-20130801062706-imbu9ac2nimbd28f
2013-08-01 11:57:06 +05:30
niv-openerp
dae87b4535
Try to reimplement jsonrpc with niv's methods, still a lot of tests fail
...
bzr revid: nicolas.vanhoren@openerp.com-20130731163415-v6ec0nqsr0qj91a6
2013-07-31 18:34:15 +02:00
Peter Langenberg
58bdae20d5
[FIX] l10n_be_invoice_bba: we don't want to generate BBA communication for anything other than out_invoice
...
bzr revid: pl@agaplan.eu-20130731154838-pjygijihw5otkk4e
2013-07-31 17:48:38 +02:00
Denis Ledoux
ef18962918
[FIX]auth_ldap: remove base_crypt warning from manifest
...
bzr revid: dle@openerp.com-20130731153129-8hmqrgsg3e9d533f
2013-07-31 17:31:29 +02:00
Denis Ledoux
a9718bec29
[FIX]auth_ldap: now using check_credentials instead of check
...
bzr revid: dle@openerp.com-20130731152018-fln3urf0expd9ps7
2013-07-31 17:20:18 +02:00
niv-openerp
a51e042400
Removed some more references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151958-bgc0w02et69mf1ok
2013-07-31 17:19:58 +02:00
niv-openerp
9fef7daead
Added niv's functions to make jsonrpc and removed some references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151720-1iiohpkc1f6jqv3o
2013-07-31 17:17:20 +02:00
Vo Minh Thu
a507a9ea05
[MERGE] workflows: added some documentation and some tests.
...
bzr revid: vmt@openerp.com-20130731151636-05lgd5i08rie6yqp
2013-07-31 17:16:36 +02:00
Vo Minh Thu
07f5e9a4d6
[REM] workflows: removed temporary run.py script from the tests.
...
bzr revid: vmt@openerp.com-20130731151104-mxo8qu5x12krto0h
2013-07-31 17:11:04 +02:00
Vo Minh Thu
3d1d7ee39c
[DOC] workflows: typos, and removed inaccurate environment symbols.
...
bzr revid: vmt@openerp.com-20130731150943-etfvn08fnkhcecvt
2013-07-31 17:09:43 +02:00