Olivier Dony
2a209aa75d
[FIX] portal: mail access right test is not totally accurate
...
The access right test expect an exception
to be raised when accessing any of the
followers, but this is not 100% correct,
as the test user (Chell) should be able to
read her own record.
This worked by chance because the ORM
prefetching was triggering an access error
whenever any follower was accessed, but
this was a bug, now fixed in server at
rev-id odo@openerp.com-20131119153700-5sbo2cl13vvqsgz5
revno 5136
bzr revid: odo@openerp.com-20131119175658-1nv5c9iwfizkrasc
2013-11-19 18:56:58 +01:00
Thibault Delavallée
18ad74bef3
[FIX] portal: mail_message: fixed wrong condition for check_access_rule introduced at revision 9117. Added tests by the way.
...
bzr revid: tde@openerp.com-20130514113859-3yucygu3pkav7qbt
2013-05-14 13:38:59 +02:00
Thibault Delavallée
8beab22311
[IMP] mail_message for portal users: actually only comment without subtype are not shown (internal notes).
...
bzr revid: tde@openerp.com-20130514104521-e8pbgvgn2xtmyr5o
2013-05-14 12:45:21 +02:00
Thibault Delavallée
347d0e5b46
[IMP] portal removed access rights of portal user on res_partner and derived tables. Updated several accesses to bypass the security issues. Updated portal tests to have a more complete test scenario.
...
bzr revid: tde@openerp.com-20121212125518-k0s07niojr8a1xtu
2012-12-12 13:55:18 +01:00
Thibault Delavallée
db32d98b7a
[REF] [TESTS] mail, portal: refactored a bit the various mail and invite tests: moved some tests into dedicated files, added some new tests, removed duplicates.
...
bzr revid: tde@openerp.com-20121211144650-kpy7noe082e3xvoo
2012-12-11 15:46:50 +01:00
Vo Minh Thu
724f452f1e
[IMP] fleet/porta/account_budget: removed some initialization warnings.
...
bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3
2012-11-15 17:06:43 +01:00
Thibault Delavallée
2799ba172c
[FIX] portal: fixed class name and imports.
...
bzr revid: tde@openerp.com-20121107152158-ze50vqj673nvavib
2012-11-07 16:21:58 +01:00
Olivier Dony
af24485be3
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121009155456-03uqk5jwd9qayuj4
2012-10-09 17:54:56 +02:00
Olivier Dony
d541205651
[FIX] portal: add test email address for outgoing emails sent during tests
...
bzr revid: odo@openerp.com-20121008130245-7n1ed3i2ez9bzniy
2012-10-08 15:02:45 +02:00
Raphael Collet
b3e7f809b2
[FIX] portal: adapt tests to new signup process
...
bzr revid: rco@openerp.com-20121002075304-62r768sg7vt4i9z3
2012-10-02 09:53:04 +02:00
Antonin Bourguignon
9f8cdcca14
[FIX] test setUp
...
bzr revid: abo@openerp.com-20120928143017-orijtb9jwsel6za2
2012-09-28 16:30:17 +02:00
Thibault Delavallée
bcbae5e277
[MERGE] Merged with addons/trunk, with lots of conflicts to solve...
...
bzr revid: tde@openerp.com-20120920074850-7p7or1ze8555fya5
2012-09-20 09:48:50 +02:00
Raphael Collet
5697e1a776
[FIX] portal: fix incorrect external reference in test
...
bzr revid: rco@openerp.com-20120917150316-o6kz70nvnm06elwq
2012-09-17 17:03:16 +02:00
Thibault Delavallée
0fea3331ae
[TEST] Portal: added some basic tests about access rights.
...
bzr revid: tde@openerp.com-20120917150157-hyhfrfo249aovfs3
2012-09-17 17:01:57 +02:00
Raphael Collet
941cb76283
[IMP] portal: replace model 'res.portal' by 'res.groups' where field 'is_portal' is True
...
bzr revid: rco@openerp.com-20120914144633-z3xpe7392egz3640
2012-09-14 16:46:33 +02:00
Thibault Delavallée
4efde28e55
[IMP] Portal: generate_portal_url -> generate_signin_url; slughty udpated portal tests to 1. test the generated URL 2. consider it is correct for future tests.
...
bzr revid: tde@openerp.com-20120913161226-y02gg43lua10s0k4
2012-09-13 18:12:26 +02:00
Thibault Delavallée
0e4422809b
[IMP] email_template: now inherit from TestMailMockups test class.
...
bzr revid: tde@openerp.com-20120913114917-na341w0ja7n0ditu
2012-09-13 13:49:17 +02:00
Thibault Delavallée
25734f2cfd
[IMP] mail, portal: improved tests. A new TestMailMockup class has been defined, holding the various mockups for the mail gateway, to avoid having duplicate code in tests using emails. Added tests in portal about the invite mechanism.
...
bzr revid: tde@openerp.com-20120913103529-410g9sk32sbbmkgn
2012-09-13 12:35:29 +02:00
Thibault Delavallée
13583b36d3
[FIX] mail, portal: fixed tests to remove mockups at tearDown. Otherwise, when using tests, no email could be send because of the mockups installed during tests.
...
bzr revid: tde@openerp.com-20120913084119-6ligp3o864vtzlmz
2012-09-13 10:41:19 +02:00
Thibault Delavallée
918dc35da5
[ADD] Portal: added skeleton files for tests.
...
bzr revid: tde@openerp.com-20120912155313-xhx6hqyfr85t0ncw
2012-09-12 17:53:13 +02:00