Commit Graph

307 Commits

Author SHA1 Message Date
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Olivier Dony 4e366e01aa [FIX] res.users: prevent exporting the virtual "Access Rights" fields
A corresponding patch on openerp-web takes that
new field attribute into account.

bzr revid: odo@openerp.com-20130607093057-nujdeq39sqbx2cbo
2013-06-07 11:30:57 +02:00
Thibault Delavallée 7b320464ff [REV] users: contraints on login = email style not applicable anymore.
bzr revid: tde@openerp.com-20130531082016-zx2lz6lhz4i4c7wt
2013-05-31 10:20:16 +02:00
Thibault Delavallée bb8153fcb7 [IMP] res_users: when specifying an email value, always check it is valid.
bzr revid: tde@openerp.com-20130524112621-ytoj7o5fqs7pcrty
2013-05-24 13:26:21 +02:00
Thibault Delavallée 4de42dc5a8 [MERGE] Sync with trunk
bzr revid: chm@openerp.com-20130415133654-l5b7zvga6mrv8bs3
bzr revid: tde@openerp.com-20130515082426-93tdl16rtm2kfz3a
bzr revid: tde@openerp.com-20130523133300-1el48hf8sotnvz62
2013-05-23 15:33:00 +02:00
Olivier Dony 823439f7e1 [FIX] res.groups: ensure predictable sort order
Unfortunately the group names are translatable,
and the display name is based on the hierarchy
of groups, so this will not give a satisfactory
result. What we would need ideally is to be able
to sort on the translated "full name" value,
but this is not supported by the ORM yet.
But a stable order is still better than no
order at all

bzr revid: odo@openerp.com-20130522163201-f9zo7xnjvbs2mi97
2013-05-22 18:32:01 +02:00
Jigar Amin (OpenERP) 6d4215c9bf - Allow setting the company_id of the partner to False in order to make the partner shared between all companies.
bzr revid: jam@tinyerp.com-20130513060734-niodo4rzs0m1v073
2013-05-13 11:37:34 +05:30
Jigar Amin 356115167d [FIX] User Partner Company has to same as User Compnay not as usder company
bzr revid: jam@tinyerp.com-20130411094336-03i3475ydat8d5jj
2013-04-11 15:13:36 +05:30
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Christophe Matthieu d9e503ad6f [IMP] res_user: remove overwrite of create who change company_id value
bzr revid: chm@openerp.com-20130402084255-gapusfwxuyu2cfs1
2013-04-02 10:42:55 +02:00
Christophe Matthieu 40844a0645 [MERGE] from trunk
bzr revid: chm@openerp.com-20130329143357-t9jh49676giyxhwe
2013-03-29 15:33:57 +01:00
Christophe Matthieu 0fc5753a43 [IMP] res_user: on change login, change email
bzr revid: chm@openerp.com-20130327132142-xth9hpxtfh3qa3or
2013-03-27 14:21:42 +01:00
Vo Minh Thu 1e7e2ca753 [REF] no longer use openerp.pooler.
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().

Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.

bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Christophe Matthieu d6f6e3ec4a [IMP] res_user: users are create with company_id = actual company_id
bzr revid: chm@openerp.com-20130326141858-da0e1avhwoswa99e
2013-03-26 15:18:58 +01:00
Christophe Matthieu 0cf0cf4f4c [IMP] res_users,res_partner: login = email
bzr revid: chm@openerp.com-20130326130127-974jagzvhon0biiy
2013-03-26 14:01:27 +01:00
Christophe Matthieu 9957d9654a [IMP] res_user: add a try catch in default_get for get_object_reference of default_groups_ref
bzr revid: chm@openerp.com-20130313154309-6dbd7y1ftxzpcmlx
2013-03-13 16:43:09 +01:00
Christophe Matthieu 3b6e76f5b4 [IMP] res_user: fix default_get; add default groups on simplified view
bzr revid: chm@openerp.com-20130227085023-q8mwozccystgf23a
2013-02-27 09:50:23 +01:00
Antony Lesuisse 7bdcf8817f m
bzr revid: al@openerp.com-20130226162648-pnf4ysf361a6g83j
2013-02-26 17:26:48 +01:00
Christophe Matthieu 7d3bf22347 [IMP] res_user: we can add 'default_groups_ref' inside the context to set default value for group_id with xml values
bzr revid: chm@openerp.com-20130128133003-rl1xem6hqhlkh621
2013-01-28 14:30:03 +01:00
Cedric Snauwaert 009ea40995 [FIX]res_users : add missing on_change function for res_user simplified view
bzr revid: csn@openerp.com-20130304105817-v3y9d9vupzhuiu2u
2013-03-04 11:58:17 +01:00
Christophe Simonis d48f07fef1 [FIX] base: allow admin to freeze the value of "web.base.url" config parameter.
This config parameter is automatically updated when the admin log-in.
As this value is mean to be used in emails and links given to users, we sometime don't want
it to be updated inconditionnaly. In some cases, the admin may use alternative, private or
even local uri to connect to the server, which may not be suitable for users

bzr revid: chs@openerp.com-20130301095551-fzrlwblnawxqj9di
2013-03-01 10:55:51 +01:00
Olivier Dony 5ab624b11e [FIX] res.users: context_get cache was not cleared properly, due to braindead implementation of ormcache (skiparg is misused and off by 1 in clear_cache)
Discarding the cache completely is suboptimal but
makes the code simpler, and this is not performance
critical anyway. The cache is mostly useful during
module installation, which involves no call to clear_cache.

bzr revid: odo@openerp.com-20121219101315-1ccuwm6nvmov12zv
2012-12-19 11:13:15 +01:00
Raphael Collet d98b1b0ff5 [IMP] res_groups: add m2m field to see view restrictions with given group
bzr revid: rco@openerp.com-20121218101916-r97xja82556schfg
2012-12-18 11:19:16 +01:00
Raphael Collet 57acd22a00 [MERGE] trunk-import-openerp-thu (use strict naming convention when importing openerp stuff)
bzr revid: rco@openerp.com-20121218085750-h0f50vi54q65ml5c
2012-12-18 09:57:50 +01:00
Olivier Dony 9bc690bf17 [IMP] res.users: enable cache on context_get, used by the _() translation function
When _() fails to find a context lang it looks
up the user language by calling context_get().
During module installation this may happen
thousands of times, and drastically slow down
the installation. Caching context_get calls
is an effective way to work around this,
until we find a better solution.

bzr revid: odo@openerp.com-20121217214700-6r7ju8iiaeowgj8i
2012-12-17 22:47:00 +01:00
Olivier Dony 9f77d2e2f4 [FIX] orm,registry: properly check m2o FKs during model update + fix some models `auto_init`ed multiple times
The case where no constraint existed at all was not working,
and after fixing it, the ORM started to re-create the same
constraints multiple times for some modules. This was for
models that are split within a module (such as res.users in
base, which is made of several small classes): all the
partial models were going through _auto_init instead
of only the final one - doing useless extra work.
      
Unfortunately establishing the FK happens before the
XML data files are loaded, so a number of FK and
NOT NULL constraints failed to apply due to missing
tables/records. base.sql had to be extended a bit
to cover these cases in a minimalist fashion

bzr revid: odo@openerp.com-20121217214645-av9n003yzterhujw
2012-12-17 22:46:45 +01:00
Cecile Tonglet 5f0070dcb6 [FIX] Remove unused imports and fix some imports that doesn't use the new namespace
bzr revid: cto@openerp.com-20121217143029-e9ki4ftwihq7pdme
2012-12-17 15:30:29 +01:00
Cecile Tonglet 5179507e22 [MERGE] Branch updated with trunk
bzr revid: cto@openerp.com-20121217125902-idtlh4ztyah17bdn
2012-12-17 13:59:02 +01:00
Olivier Dony 9aa0701836 [FIX] res.users: whitelist recently added `tz_offset` field so that users can read it on their own record (even the anonymous user)
bzr revid: odo@openerp.com-20121212210137-u0vwkth5wt0au6qc
2012-12-12 22:01:37 +01:00
Vo Minh Thu 509a084e79 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Olivier Dony 8fba574007 [MERGE] Less intrusive timezone offset warning (corresponds to web branch)
bzr revid: odo@openerp.com-20121130174819-q8g6m5mhoaczcr8q
2012-11-30 18:48:19 +01:00
Fabien Meghazi dec5b8e761 [REM] Removed tz_offset from context and remove store=True
bzr revid: fme@openerp.com-20121129210033-p687bul10jiandxt
2012-11-29 22:00:33 +01:00
Olivier Dony 76eede3c21 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121129114302-fdkq0kxb6wubsuaw
2012-11-29 12:43:02 +01:00
Antony Lesuisse 299d98ac6e [MERGE] res.users get_context add timezone offset
bzr revid: al@openerp.com-20121128155922-ff67gskivujvx2qa
2012-11-28 16:59:22 +01:00
Olivier Dony 7f5ad72429 [MERGE] Forward-port 6.1 bugfixes up to rev. 4307
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj

bzr revid: odo@openerp.com-20121126160320-t2suuik6lhk6wl0x
bzr revid: odo@openerp.com-20121126161836-mv8yymzgbnmif4ve
bzr revid: odo@openerp.com-20121126162023-ejvsapwouyudw6c6
bzr revid: odo@openerp.com-20121126181527-d4yx15372bis77qj
2012-11-26 19:15:27 +01:00
Antony Lesuisse f5254e03ff [FIX] res.users last_login typodowan
bzr revid: al@openerp.com-20121122221200-2ut9pdc3z40b26r1
2012-11-22 23:12:00 +01:00
Fabien Meghazi ee8894d509 [ADD] Add tz_offset function field in res.partner and set it in user's context
bzr revid: fme@openerp.com-20121122151458-hvtrwogldt69djss
2012-11-22 16:14:58 +01:00
Olivier Dony 4f58796e38 [IMP] res.users: avoid spurious warnings when last login date cannot be updated
bzr revid: odo@openerp.com-20121120131610-v0xwu5zsbmxwvcwe
2012-11-20 14:16:10 +01:00
Thibault Delavallée 29e0ab965f [IMP] res_users: removed hack about redirecting the fields view get. Added a simplified contact form the the user, used for example when viewing a salesman profile.
bzr revid: tde@openerp.com-20121115103412-jl0o40t8d3d76ysd
2012-11-15 11:34:12 +01:00
niv-openerp 44bdf27363 [FIX] temporarily disabled a hack on res.users to use the partners view because it made a lot of views crash
bzr revid: nicolas.vanhoren@openerp.com-20121114110558-lylif3w917pjeu3y
2012-11-14 12:05:58 +01:00
Fabien Pinckaers 38a788897f [MERGE] remove widgets
bzr revid: fp@tinyerp.com-20121102093110-oforyy904v72hd6g
2012-11-02 10:31:10 +01:00
Bharat Devnani (OpenERP) bf9f129053 [MERGE] merged with main server
bzr revid: bde@tinyerp.com-20121025110526-px4l6quqgszdmsf8
2012-10-25 16:35:26 +05:30
Bharat Devnani (OpenERP) e8b56a15d2 [IMP] ordered res_users by user_name
bzr revid: bde@tinyerp.com-20121025105616-mcecvpsu2svvwryr
2012-10-25 16:26:16 +05:30
Antony Lesuisse aebe743964 [FIX] revert remove password fp merge
Overriding the reset password meachnism should be done in auth signup/reset password addons.

bzr revid: al@openerp.com-20121024111746-r94n1uqyb01a4x0m
2012-10-24 13:17:46 +02:00
Bharat Devnani (OpenERP) 1c0b768ec6 [MERGE] merged with main server
bzr revid: bde@tinyerp.com-20121023111122-tg9ve8pfwidqi5x2
2012-10-23 16:41:22 +05:30
Fabien Pinckaers 7501a8b9ad [MERGE] trunk-fp
bzr revid: fp@tinyerp.com-20121022174451-ez1yw4d37y3okfk6
2012-10-22 19:44:51 +02:00
Fabien Pinckaers fec5454b3b [MERGE] preference remove change passwd
bzr revid: fp@tinyerp.com-20121022171502-frmdoqnazzuzfk1j
2012-10-22 19:15:02 +02:00
Vo Minh Thu f4b6f015b3 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121022095659-j1w8tdkkmwuhuniq
2012-10-22 11:56:59 +02:00
Pinakin Nayi (OpenERP) 50729e753f [IMP]users are sorted on name
bzr revid: pna@tinyerp.com-20121022055453-49hpyu9sf11gvunk
2012-10-22 11:24:53 +05:30
Raphael Collet 11051f32e0 [FIX] res_users.login: fix query parameters in cr.execute
bzr revid: rco@openerp.com-20121015100148-pkanx35vr6fqojuj
2012-10-15 12:01:48 +02:00
Nimesh (Open ERP) 69ecfa1480 [MERGE] merger with lp:openobject-server
bzr revid: nco@tinyerp.com-20121010052400-tp470p0h1yexump1
bzr revid: nco@tinyerp.com-20121011055444-th5ddxs1kw8cjtk9
2012-10-11 11:24:44 +05:30
Nimesh (Open ERP) d9a27d1902 [REMOVE] remove change password button.
bzr revid: nco@tinyerp.com-20121009055223-vflb9wxzo3nvw310
2012-10-09 11:22:23 +05:30
Raphael Collet bc34a0b071 [FIX] res_users: fix method copy() to not break test case
bzr revid: rco@openerp.com-20121005101220-jhnomko7woiuwf1f
2012-10-05 12:12:20 +02:00
Antonin Bourguignon adf470bc88 [FIX] some security issues
bzr revid: abo@openerp.com-20120928163956-3qytfhh1t03xaa1x
2012-09-28 18:39:56 +02:00
Antonin Bourguignon 8353cc1ca9 [FIX] res_partner.py: read countries as SUPERUSER
res_users.py: add login to the readable fields

bzr revid: abo@openerp.com-20120918141421-k6awa3xf6x2nx691
2012-09-18 16:14:21 +02:00
Antonin Bourguignon d63b7de7cc [IMP] use const SUPERUSER_ID instead of int 1
bzr revid: abo@openerp.com-20120918120230-h8b1qtaiev5jbpwr
2012-09-18 14:02:30 +02:00
Antonin Bourguignon c7ee41cfbb [FIX] wording in comments
bzr revid: abo@openerp.com-20120918115717-p57dpbdpbht1m4wr
2012-09-18 13:57:17 +02:00
Thibault Delavallée fa9a3e6630 [IMP] res_users: added readable files, to allow people like portal users to see their name and basic data when logging...
bzr revid: tde@openerp.com-20120917160241-k96a24nf60jgr0h8
2012-09-17 18:02:41 +02:00
Fabien Pinckaers 554313efd7 [MERGE]
bzr revid: fp@tinyerp.com-20120911162349-4voo8ptehkkk78ev
2012-09-11 18:23:49 +02:00
Thibault Delavallée 171533d8dc [IMP] res_partner: moved the avatar colorize part of the image code to tools/image.py, where it should have been placed at revs 4373-4375.
bzr revid: tde@openerp.com-20120907092206-1pgbcvt8tn23m114
2012-09-07 11:22:06 +02:00
Harry (OpenERP) 8ce3484f3e [FIX] res_users: tips on groups
bzr revid: hmo@tinyerp.com-20120906064912-pp1xgtjswbykh2gh
2012-09-06 12:19:12 +05:30
Harry (OpenERP) 4eeb4fecba [MERGE] res_users: search by full_name
bzr revid: hmo@tinyerp.com-20120906060924-g6wgamhkzadnbjnq
2012-09-06 11:39:24 +05:30
Harry (OpenERP) 52b7041edd [MERGE]
bzr revid: hmo@tinyerp.com-20120906054210-w36au930qwelbtt2
2012-09-06 11:12:10 +05:30
Hardik 6abc8a1d76 [IMP]Search by Advanced for groups using fnct_search
bzr revid: hsa@tinyerp.com-20120903132542-xzfow8u5qbgxvbt2
2012-09-03 18:55:42 +05:30
Fabien Pinckaers f29be675e2 [FIX] all image stuff on groups, users, partners
bzr revid: fp@tinyerp.com-20120903095527-7rk7wxuldv80fj4v
2012-09-03 11:55:27 +02:00
Turkesh Patel (Open ERP) df107e19ec [FIX] pass context in search and name_get method inside name_search.
bzr revid: tpa@tinyerp.com-20120903084625-nnkl9k2ljaauv4bh
2012-09-03 14:16:25 +05:30
pso (OpenERP) e43bef32e3 [MERGE] Merged with main branch
bzr revid: pso@tinyerp.com-20120903065124-yk2zglil8s6h7efz
2012-09-03 12:21:24 +05:30
Stephane Wirtel 31025afe28 [FIX] base: Remove the default value for the image
bzr revid: stw@openerp.com-20120831141415-gqsvhh08fum874gn
2012-08-31 16:14:15 +02:00
Stephane Wirtel 8d08d5a1b9 [MERGE] base: fix the read method with the ids argument
bzr revid: stw@openerp.com-20120831140152-9birj6mslf5g0in4
2012-08-31 16:01:52 +02:00
Stephane Wirtel b3988436cb [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Minh Tran ad051ebf45 fix old avatar code
bzr revid: mit@openerp.com-20120831134941-w0xui7l1pj3ulv71
2012-08-31 15:49:41 +02:00
Hardik 525a0e6a8b [IMP]Add tooltip and add multi currencies field into hidden fields
bzr revid: hsa@tinyerp.com-20120831084652-9qyud713yeagm4pi
2012-08-31 14:16:52 +05:30
pso (OpenERP) ad9919e8b9 [MERGE] Merged HSA's branch for base module improvements
bzr revid: pso@tinyerp.com-20120829053423-dqyoovo3ar5wa54c
2012-08-29 11:04:23 +05:30
Hardik 8c4ce402d1 [IMP]Improved base module as per requirement.
bzr revid: hsa@tinyerp.com-20120828064111-msyv13aa07az17zo
2012-08-28 12:11:11 +05:30
Olivier Dony fc8eeb7eb5 [FIX] res_users: improve behavior when user record is locked during login
Avoid logging an ugly and frightening traceback,
plus properly rollback the failed transaction before
continuing.
This is an extra fix for previous commit
rev. 4049 rev-id odo@openerp.com-20120213183207-45ptopqm0szritgx

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

bzr revid: odo@openerp.com-20120822162921-i6zrik38w1czkamq
2012-08-22 18:29:21 +02:00
Patrik 1641bc490a [FIX] Solve the problem of read method of res.user when id in long
lp bug: https://launchpad.net/bugs/984976 fixed

bzr revid: jir@tinyerp.com-20120822103707-zkucpqtalyi8ncpt
2012-08-22 16:07:07 +05:30
Christophe Simonis 942cdee92b [FIX] res.users: context_get: read fields as root
bzr revid: chs@openerp.com-20120816154502-v8gp7ilr4762okds
2012-08-16 17:45:02 +02:00
Antony Lesuisse 774ea74c38 [IMP] res_users check,login,authenticate cleanup
bzr revid: al@openerp.com-20120815210645-nwmfltbeiegvcdz9
2012-08-15 23:06:45 +02:00
Thibault Delavallée 5d7302d808 [IMP] res_user: _get_default_image does not care about is_company.. event if it is not working currently (hem).
bzr revid: tde@openerp.com-20120814201927-xmt6uv8qhcor5yav
2012-08-14 22:19:27 +02:00
Thibault Delavallée c4e3c15021 [IMP] res_users: added default on image; should overiding basic method should be sufficient, seems not.
bzr revid: tde@openerp.com-20120814201150-uza8k3pzpkydqcow
2012-08-14 22:11:50 +02:00
Thibault Delavallée 290a4318f1 [FIX] res_users: updated class name in super.
bzr revid: tde@openerp.com-20120814155414-r5xbj1qmb4w0obya
2012-08-14 17:54:14 +02:00
Thibault Delavallée 6de2150126 [REVIEW] res_users: removed 'date' backward compatible field; removed commented statements not used anymore.
bzr revid: tde@openerp.com-20120814150847-ifdbf92ptaad3bmd
2012-08-14 17:08:47 +02:00
Thibault Delavallée eca1451845 [REVIEW] res_users: class renamed from users to res_users; reordered imports; added back default image for avatars.
bzr revid: tde@openerp.com-20120814150212-jc3z8bh4i372snrw
2012-08-14 17:02:12 +02:00
Thibault Delavallée f7d274850e [IMP] [CLEAN] res_partner: image_medium used in view, because image_small was too small; cleaned some print statemetns in res_users.
bzr revid: tde@openerp.com-20120813122207-04f91lvor03g1xek
2012-08-13 14:22:07 +02:00
Thibault Delavallée f4402a1144 [FIX] Wrapper on onchange_address.
bzr revid: tde@openerp.com-20120813104135-6ft7wh4ssdl7ouid
2012-08-13 12:41:35 +02:00
Thibault Delavallée 401bbbc940 [IMP] res.users: added a wrapper on onchange_address, for partner form view delegated to res.users.
bzr revid: tde@openerp.com-20120813101847-rmctiebnhm2pmfcz
2012-08-13 12:18:47 +02:00
Thibault Delavallée 0e554c738d [FIX] Fixed last revision, about name removel in base.sql and so on.
bzr revid: tde@openerp.com-20120813100622-jhqv244dskhlh2er
2012-08-13 12:06:22 +02:00
Thibault Delavallée 659f3cc996 [FIX] Bloody res_partner should be res.partner.
bzr revid: tde@openerp.com-20120813093641-ssyfm4au52nupbi1
2012-08-13 11:36:41 +02:00
Thibault Delavallée 55e9fdf360 [FIX] res.users: defer onchange_type calls from partner form view to the partner.
bzr revid: tde@openerp.com-20120813091627-nfv0vkfjo87jhplp
2012-08-13 11:16:27 +02:00
Thibault Delavallée 69e00d1e34 [IMP] res.users: default form view is now partner form view. This is done directly in fields_view_get: if no specific id is given, we call the default partner view.
bzr revid: tde@openerp.com-20120810155732-zvnr2xb3b0urc8h2
2012-08-10 17:57:32 +02:00
Thibault Delavallée 7d3e405d7d [IMP] Partners created through users are not customer by default.
bzr revid: tde@openerp.com-20120810151307-9geyv54nf0tv42lg
2012-08-10 17:13:07 +02:00
Thibault Delavallée 18f1bd6fb5 [IMP] res_users: update login_date instead of date at login.
bzr revid: tde@openerp.com-20120810141234-yntr5ye3evepjakg
2012-08-10 16:12:34 +02:00
Thibault Delavallée 2da4b1b3f5 [FIX] base.sql: added a partner_id integer field on res.users, to avoid the ORM being unable to set a not null constraint on it.
bzr revid: tde@openerp.com-20120810140549-w70l7nzwn4kt1oav
2012-08-10 16:05:49 +02:00
Thibault Delavallée 151b0e40be [REF] res.users: now inherits from res.partner. Removed duplicated field, now on partner model. Added some compatibility fields. Also removed dead code and unused methods.
bzr revid: tde@openerp.com-20120810081632-a4sg4ve68gpx6bx4
2012-08-10 10:16:32 +02:00
Fabien Meghazi 5afe606fd8 [FIX] res.users small and medium images has no default value
bzr revid: fme@openerp.com-20120809143153-goevnqtq1l6f0y73
2012-08-09 16:31:53 +02:00
Antony Lesuisse 9c905bace9 [IMP] user preference is regular wizard, change password in a popup
bzr revid: al@openerp.com-20120808192812-qg6u5pd9v1iheudd
2012-08-08 21:28:12 +02:00
Antony Lesuisse c289313a53 [IMP] user preference is regular wizard
bzr revid: al@openerp.com-20120808191244-i60ximtj3m39od7r
2012-08-08 21:12:44 +02:00
Thibault Delavallée 8b34f12ace [IMP] res.users, res.partner: updated image code to propagate cleaning of image module.
bzr revid: tde@openerp.com-20120807110859-2osf4mf7y7by1zvm
2012-08-07 13:08:59 +02:00
Thibault Delavallée 176140590b [IMP] res_partner, res_users: removed the onchange_image, updated used images and classes in views.
bzr revid: tde@openerp.com-20120806155325-198jhpc2chmufzu1
2012-08-06 17:53:25 +02:00
Thibault Delavallée a403f06f5e [CLEAN] image help: cleaned typos.
bzr revid: tde@openerp.com-20120730133328-hpcwco5yb8iq9pgv
2012-07-30 15:33:28 +02:00
Thibault Delavallée a3b94f96cc [IMP] res.partner, res.users: fixed some typos/words in image related fields.
bzr revid: tde@openerp.com-20120730095133-7urnrolqywvrdntg
2012-07-30 11:51:33 +02:00
Thibault Delavallée fef75dc8c2 [MERGE] Merged with server/trunk.
bzr revid: tde@openerp.com-20120730073218-zytvpekawh55owgd
2012-07-30 09:32:18 +02:00
Najlaâ 07b98520ef [FIX] base: remove size from signature field definition
bzr revid: nel@tinyerp.com-20120717104632-b3pxjj530hf3imzv
2012-07-17 12:46:32 +02:00
Fabien Pinckaers d48686d7f6 [IMP] remove menu_tips code
bzr revid: fp@openerp.com-20120717064410-c5leu36ixz7utje8
2012-07-17 08:44:10 +02:00
Thibault Delavallée 35771b142c [REF] res.users, res.partner: cleaned image related functions thanks to new tool function in image.py.
bzr revid: tde@openerp.com-20120628095910-1x1xyjw9li8y7778
2012-06-28 11:59:10 +02:00
Thibault Delavallée a30d405cff [IMP] res.users: cleaned a bit the code; res_partner: from photo to specified images; update res_company because of its logo coming from res.partner old photo.
bzr revid: tde@openerp.com-20120627155749-ms6p6d7z8c5u2gjg
2012-06-27 17:57:49 +02:00
Thibault Delavallée 07c7817dbe [CLEAN] res.users: removed unnecessary imports; updated default image.
bzr revid: tde@openerp.com-20120627144816-64gwy6aszs4lv8ll
2012-06-27 16:48:16 +02:00
Thibault Delavallée da294291cf [IMP] res.users: from avatar to image: iamge, image_medium and image_small, using tools to resize.
bzr revid: tde@openerp.com-20120627132807-crf2vi23ato69v47
2012-06-27 15:28:07 +02:00
Raphael Collet f02c8858b3 [IMP] translations: rename 'Load an Official Translation' to 'Load a Translation'
bzr revid: rco@openerp.com-20120619081005-uqx5e9add4k2ufvr
2012-06-19 10:10:05 +02:00
Olivier Dony 5eaed9dbd4 [IMP] res.users: missing _description
The unfortunate consequence was that models that inherited
res.users *and* another parent (such as mail.thread) were assigned
the _description of the other parent, because the copy of
self._name to self._description only happens when the model
instance is created, which happens much later than constructing
the type hierarchy.

bzr revid: odo@openerp.com-20120615134122-7q5tllzok3lcu50q
2012-06-15 15:41:22 +02:00
Olivier Dony dbe7b45276 [IMP] orm: support model-level @groups attribute for access restriction
This is a partial implementation with no support for
restricting read/write access via RPC. This first
part only covers the removal of the restricted fields
from the client-side view, i.e. in the results of
fields_view_get() and fields_get().

The second part will come later and will cover the
real low-level access control.

bzr revid: odo@openerp.com-20120518143625-ps9db62vzrc2pylh
2012-05-18 16:36:25 +02:00
Raphael Collet 6d58f348ec [MERGE] trunk-v62_config (new config settings)
bzr revid: rco@openerp.com-20120515142754-inmaclzdqqvh6tu0
2012-05-15 16:27:54 +02:00
Purnendu Singh (OpenERP) e6dea6d5f3 [MERGE] merge with main server branch
bzr revid: psi@tinyerp.com-20120424063105-kd3j7akoyrzejy38
bzr revid: psi@tinyerp.com-20120430060434-ys3xjc9vhlng5igv
2012-04-30 11:34:34 +05:30
Raphael Collet 9b40320bae [MERGE] from trunk
bzr revid: rco@openerp.com-20120423074615-56yeih7c6e31qy7y
bzr revid: rco@openerp.com-20120426121438-ez3fbm45a6xst2ns
2012-04-26 14:14:38 +02:00
Raphael Collet 0f45aa7547 [IMP] res.users: remove field 'view' (simplified/extended)
bzr revid: rco@openerp.com-20120425082126-f8hiotknewdqwpkg
2012-04-25 10:21:26 +02:00
Divyesh Makwana (Open ERP) bafa33967b [IMP] res_users : Improved the typos.
bzr revid: mdi@tinyerp.com-20120423104754-upgz6fnc4eub45j6
2012-04-23 16:17:54 +05:30
Raphael Collet 15b90a133b [FIX] res_users: remove global default for context_lang, and make current user determine default lang and tz of new users
bzr revid: rco@openerp.com-20120420073340-c48m9x46wh325dwz
2012-04-20 09:33:40 +02:00
Raphael Collet 7d9a253df4 [IMP] res_users: use current users' language and timezone as defaults for users
bzr revid: rco@openerp.com-20120419142114-glz51xj6ozubl07k
2012-04-19 16:21:14 +02:00
Thibault Delavallée 4a1ad426a4 [FIX] res.users: avatar: added right to modify avatar and avatar_big for users.
bzr revid: tde@openerp.com-20120406073940-5nccdpf7nu78kx59
2012-04-06 09:39:40 +02:00
Thibault Delavallée 4788b35a03 [MERGE] Merged with main server
bzr revid: tde@openerp.com-20120405165200-jsvgc7z7u1k75sp0
2012-04-05 18:52:00 +02:00
Raphael Collet b36d9a0cfe [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090818-xqyfm5175eqj6i62
2012-04-04 11:08:18 +02:00
Raphael Collet 1a3a33b6d5 [MERGE] from trunk
bzr revid: rco@openerp.com-20120403082743-7lf3rb6h0ff95w7f
2012-04-03 10:27:43 +02:00
Raphael Collet cbc70e12f0 [IMP] res.user form: hide groups in category 'Hidden'
bzr revid: rco@openerp.com-20120402145011-nw5d3nb8ap8r4hn9
2012-04-02 16:50:11 +02:00
Thibault Delavallée 4ba7d34a4a [MERGE] Merged with main server
bzr revid: tde@openerp.com-20120402111047-p3kxej7p90qw0dxa
2012-04-02 13:10:47 +02:00
Olivier Dony 0904700aaa [IMP] users,ir.model: cleanup - ondelete does not exist on m2m + rem old comment
bzr revid: odo@openerp.com-20120331203710-k2w8txhz2p9njj0d
2012-03-31 22:37:10 +02:00
Olivier Dony fd14556b8c [MERGE] Latest trunk
bzr revid: odo@openerp.com-20120330135404-kio6nx50o2mzfmsy
2012-03-30 15:54:04 +02:00
Thibault Delavallée 9a550056dc [MERGE] Merged with main server, updated with trunk-user_img-tde branch.
bzr revid: tde@openerp.com-20120330085400-evsp4n9roisw11ot
2012-03-30 10:54:00 +02:00
Thibault Delavallée 49d8f42586 [IMP] Typo in comment
bzr revid: tde@openerp.com-20120330083420-5swr4h9ihayi7vpu
2012-03-30 10:34:20 +02:00
Thibault Delavallée 0204b5f1a9 [IMP]: added new default avatars in png, allowing to avoid compression defaults in resized avatars
bzr revid: tde@openerp.com-20120330081016-d6j2yd7ii86nhqzk
2012-03-30 10:10:16 +02:00
Thibault Delavallée 4e815d28cc [MERGE] Merged with branch holding user image
bzr revid: tde@openerp.com-20120327070733-8hfaskwoi7lh6mhi
2012-03-27 09:07:33 +02:00
Thibault Delavallée 9f041f4990 [MERGE] Merged with main server
bzr revid: tde@openerp.com-20120326091751-gl03qyd1lkuo0jq7
2012-03-26 11:17:51 +02:00
Thibault Delavallée 14609fa2ed [FIX] Fix of the last fix. Should avoid fixing on Friday.
bzr revid: tde@openerp.com-20120323140251-wki6runit0juqlwg
2012-03-23 15:02:51 +01:00
Thibault Delavallée 31e186687e [FIX] Fixed crash when clearing avatar in form view. However, clearing means a new default avatar will be chosen.
bzr revid: tde@openerp.com-20120323133246-78z4fszbqcvir16h
2012-03-23 14:32:46 +01:00
Thibault Delavallée 10eba844ba [IMP] Reordered imports (alaphabetical order); avatar_stored->avatar_big, clearer field name
bzr revid: tde@openerp.com-20120323110521-rna7hh5alr0as04c
2012-03-23 12:05:21 +01:00
Thibault Delavallée d67e232806 [IMP] Improved comments and doc. Note that now avatar_stored stores a bigger version of the avatar, in case a bigger image must be used.
bzr revid: tde@openerp.com-20120323103230-lcpbl1e9qhidivz7
2012-03-23 11:32:30 +01:00
Thibault Delavallée cab93f9673 [IMP] Added height and width parameters to the resize method. Propagated context.
bzr revid: tde@openerp.com-20120323101414-28xbjkfhk03f5whe
2012-03-23 11:14:14 +01:00
Thibault Delavallée 0e95e0cf92 [FIX] Fixed the last fix. Also cleaned a bit the code.
bzr revid: tde@openerp.com-20120323100513-m2n5n3jtxz8zo1yl
2012-03-23 11:05:13 +01:00
Thibault Delavallée 19f6b095fd [MERGE] Merged with main server.
bzr revid: tde@openerp.com-20120323091819-ais3o3jqjqsofi6r
2012-03-23 10:18:19 +01:00
Thibault Delavallée 6e0643868e [FIX] Forgot to update a field name.
bzr revid: tde@openerp.com-20120323091747-i2dhjhy5witysd7s
2012-03-23 10:17:47 +01:00
Thibault Delavallée d48b3bdb6b [IMP] Improved code: renamed avatar->avatar_stored (stored in database); avatar_mini->avatar (interface field taht must be used); removed unnecessary comments; added help string on added fields to help understanding how the functionality works.
bzr revid: tde@openerp.com-20120323090821-rse7y3i1qpp8tbky
2012-03-23 10:08:21 +01:00
Olivier Dony aa29b8b1e8 [MERGE] Latest trunk
bzr revid: odo@openerp.com-20120322150602-ljmp97npef2lby00
2012-03-22 16:06:02 +01:00
Thibault Delavallée 4c41a2994a [IMP] Avatar mini field gets automatically recomputed to avoid screwing the display when choosing a new one.
bzr revid: tde@openerp.com-20120313111418-fsrtwhcp0eesg0aq
2012-03-13 12:14:18 +01:00
Thibault Delavallée 9f2a5f2d03 [IMP] Improved default avatar (now takes randomly between 6 avatars); cleaned code about avatar and avatar_mini management; fixed bug when creating a new user where the chosen avatar was not saved
bzr revid: tde@openerp.com-20120313102916-w5rdtwco72xe8m7n
2012-03-13 11:29:16 +01:00
Thibault Delavallée 0790cbbfd7 [IMP] res.users: code cleaning
bzr revid: tde@openerp.com-20120313091651-6jvvuljjrlpjsto6
2012-03-13 10:16:51 +01:00
Atul Patel (OpenERP) 180a23c7cc [FIX]: uninstall module.
Remove foreign key references.
Remove sql constraint .
Remove workflow activity and transition based on deleted cascade.
Drop ir model fields columns and drop table.

bzr revid: atp@tinyerp.com-20120309124753-c4yzeoij5p2fmhgg
2012-03-09 18:17:53 +05:30
Valentin Lab e6b91f0a69 [FIX] correct XML generation to avoid bad surprise (as ampersand in application name) to break the code.
bzr revid: valentin.lab@kalysto.org-20120308174304-3oqewchzlxw0fdre
2012-03-08 18:43:04 +01:00
Atul Patel (OpenERP) 3465869df7 [FIX]: Remove workflow activity and drop constraint during uninstalling module.
bzr revid: atp@tinyerp.com-20120229135343-g0v04jb5nc723w9q
2012-02-29 19:23:43 +05:30
Thibault Delavallée dc6b84ab97 [IMP] Renamed photo field to avatar. Propagated changes. Modified user view: photo is now on the left of users tab.
bzr revid: tde@openerp.com-20120221152910-mw9zm3fnbyxbmqq8
2012-02-21 16:29:10 +01:00
Thibault Delavallée 8413a61979 [IMP] Removed calculated photo. res.users do not have to be aware it will be inherited. We won't make links between employee photo and user photo: user photo will be used.
bzr revid: tde@openerp.com-20120221151542-u2ic748f0wtnvrsr
2012-02-21 16:15:42 +01:00
Thibault Delavallée c9d383613a [IMP] res.users: added photo_calc for calculated photo; can be overriden to display photo from another module (ex: hr). By default, photo_calc is the photo defined in the user.
bzr revid: tde@openerp.com-20120221113523-1o3j83a9hrtcojh9
2012-02-21 12:35:23 +01:00