Commit Graph

188 Commits

Author SHA1 Message Date
YSA (OpenERP) cbe201785f [MERGE] base, report: several bugfixes (see bug links)
bzr revid: odo@openerp.com-20101229201250-q7le63xa3rbsce6o
2010-12-29 21:12:50 +01:00
Yogesh Sakhreliya 5e74d37e72 [IMP] add change user password wizard.
bzr revid: ysa@tinyerp.com-20101228102006-u2z5ve9d302xqe4v
2010-12-28 15:50:06 +05:30
P. Christeas 40cf6eac7a res.users: fix default menu_id, after models got sorted by name.
With the old sorting behavior, id=1 would be the first menu to appear.
But, after sorting, the alphabetically first ("accounting dashboard")
replaced the main menu!

bzr revid: p_christ@hol.gr-20101214162919-o9xflsed4ap6hn2z
2010-12-14 18:29:19 +02:00
P. Christeas 66564a93fc res.users: invalidate cache when a user is modified. [Bug 664379]
Original description, by Xavier ALT:
> The server is using a variable name "_uid_cache" for authentication
> caching, but this variable is never clear when user informations change,
> that means if we disable a user or change it's password their requests
> are still allowed (cached auth check ok).
>
> This affects OpenERP v5 (server/bin/service/security.py) and OpenERP v6
> (server/bin/addons/base/res/res_users.py, class users).
>
> The only workaround is to restart the server.
>

bzr revid: p_christ@hol.gr-20101214162905-716i3ra12xvdtc2l
2010-12-14 18:29:05 +02:00
Olivier Dony 6961047414 [IMP] base: default _order for most internal data models (courtesy of Ferdinand Gassauer) + sorted fields in technical module guide
This should give a more consistent output in most lists involving those objects, as well as in the technical guide report.

lp bug: https://launchpad.net/bugs/655075 fixed
lp bug: https://launchpad.net/bugs/676990 fixed

bzr revid: odo@openerp.com-20101210224258-ljubjit2nl4d28vy
2010-12-10 23:42:58 +01:00
P. Christeas, O. Dony 6a69f37cf0 [MERGE] many improvements regarding translations, logging, reports, http, speed
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
2010-11-25 15:22:19 +01:00
Olivier Dony c34d2ae6d4 [FIX] res.user: code cleanup after merging previous patches
bzr revid: odo@openerp.com-20101124164105-xsd2nkit09g29gjl
2010-11-24 17:41:05 +01:00
P. Christeas 3a220a0214 res.user: cleanup defaults, use 1 sql query per login (from 3)
bzr revid: p_christ@hol.gr-20101123153223-2u34e4eszt5aflv1
2010-11-23 17:32:23 +02:00
P. Christeas b4e5c51311 res_user: fix default args, close db cursors.
Conflicts:

	bin/addons/base/res/res_user.py

bzr revid: p_christ@hol.gr-20101123152029-c823isjqrpml7dva
2010-11-23 17:20:29 +02:00
P. Christeas ddb331f944 res_users: When deleting a group with users, have a more detailed exc.
bzr revid: p_christ@hol.gr-20101123135506-qr5aumaw8bwoedfd
2010-11-23 15:55:06 +02:00
Harry (OpenERP) 061a71aef8 [MERGE]
bzr revid: hmo@tinyerp.com-20101119072750-ii5127c3olbl0zzv
2010-11-19 12:57:50 +05:30
sma (Tiny) e96e07e244 Added _description attribute for model Res.groups.
lp bug: https://launchpad.net/bugs/672552 fixed

bzr revid: sma@tinyerp.com-20101116125338-ryuhc33tg1lg1iuj
2010-11-16 18:23:38 +05:30
Harry (OpenERP) 236e74c396 [FIX] base: remove override create method of res.users object.
bzr revid: hmo@tinyerp.com-20101104083916-m93lq4olgle5rrq9
2010-11-04 14:09:16 +05:30
Olivier Dony da52ec0579 [FIX] user preferences: fix company_id on_change warning and move to correct view
bzr revid: odo@openerp.com-20101028162852-kwqgwe24ga490xuk
2010-10-28 18:28:52 +02:00
Harry (OpenERP) bba8926e32 [FIX] base: remove _(..) in sql_constraints in res.users model
bzr revid: hmo@tinyerp.com-20101028121143-kgb3wcsl59k6hn05
2010-10-28 17:41:43 +05:30
Harry (OpenERP) 993c9884c1 [MERGE] merged with openobject-server branch
bzr revid: hmo@tinyerp.com-20101021105618-2zgqebmp4uvurfcg
bzr revid: hmo@tinyerp.com-20101026064048-e36t27749fsedlqo
bzr revid: hmo@tinyerp.com-20101027131858-osd84c3u109rbqnj
2010-10-27 18:48:58 +05:30
Olivier Dony c7b7717e6f [FIX] res.groups: static domains on m2m should be list, not string
bzr revid: odo@openerp.com-20101021125905-mmk42xdid6pd28vc
2010-10-21 14:59:05 +02:00
Fabien Pinckaers 3d18e77731 [IMP] default group for new users
bzr revid: fp@tinyerp.com-20101018073715-bqryv7c864cab5se
2010-10-18 09:37:15 +02:00
Fabien Pinckaers a6429fed59 typo
bzr revid: fp@tinyerp.com-20101017214926-4eu1qwd0aonstuoa
2010-10-17 23:49:26 +02:00
Olivier Dony 88117959b5 [REM] base, workflow: removed res.roles object, replaced by dedicated res.groups
bzr revid: odo@openerp.com-20101013215340-jaiihef9chsym48z
2010-10-13 23:53:40 +02:00
Xavier Morel 5ba8d70499 [FIX] remove stray debugging print
bzr revid: xmo@openerp.com-20101012083613-dhil3g2k06i6lf60
2010-10-12 10:36:13 +02:00
Fabien Pinckaers ae1653e63c [fix] multi-company visibility
bzr revid: fp@tinyerp.com-20101012070857-9ix6fu732ml1o3rt
2010-10-12 09:08:57 +02:00
Harry (OpenERP) b153bdce70 [FIX] base: regression to get default value of group on res.user model
bzr revid: hmo@tinyerp.com-20101011133144-ae3oue8865kbb0bp
2010-10-11 19:01:44 +05:30
Harry (OpenERP) e232dd6638 [IMP] base: if company_ids is empty, it will be set with deafult value on user creation
bzr revid: hmo@tinyerp.com-20101011132252-wcej9vlsb6582w5x
2010-10-11 18:52:52 +05:30
Anup (OpenERP) a694aff5c0 [REF] base : _get_group() method corrected
bzr revid: ach@tinyerp.com-20101005105419-pfzidxgf3yimfs4b
2010-10-05 16:24:19 +05:30
Anup (OpenERP) 55da21f5b6 [FIX] base : _get_group() method corrected
bzr revid: ach@tinyerp.com-20101005104759-2mdxxuu4emvwc785
2010-10-05 16:17:59 +05:30
Harry (OpenERP) 31680ea258 [FIX] base: cr.close() before return on login
bzr revid: hmo@tinyerp.com-20101005104626-mfb50prd55ljpyy0
2010-10-05 16:16:26 +05:30
Fabien Pinckaers 3c1c74df2c fix
bzr revid: fp@tinyerp.com-20101004184630-x4k02bxow4weam3x
2010-10-04 20:46:30 +02:00
Olivier Dony 43d6943a4c [MERGE] base: review and cleanup of Administration menus and view
bzr revid: odo@openerp.com-20101004145241-lyrswenbtqoadh4o
2010-10-04 16:52:41 +02:00
Olivier Dony 4ca2280a36 [IMP] base/res.users: cleanup + improved label
bzr revid: odo@openerp.com-20101004143721-75tqs7y3e8fd2r98
2010-10-04 16:37:21 +02:00
Olivier Dony 4d406ba474 [FIX] base/res.groups: cleanup duplicate copy() method
bzr revid: odo@openerp.com-20101004140823-6a1rp4yq17csobas
2010-10-04 16:08:23 +02:00
Olivier Dony 037d12f3fa [IMP] base: completely remove default value for action_id of res.users + cleanup + tooltips
bzr revid: odo@openerp.com-20101001163717-bf1xnz6qm76y4s7h
2010-10-01 18:37:17 +02:00
Harry (OpenERP) 1d0b30bbe1 [MERGE]
bzr revid: hmo@tinyerp.com-20101001102457-1cs6ssynbo5iyca4
2010-10-01 15:54:57 +05:30
jas 807e733c39 [IMP]: base : Improvements in the list view of the Users->Users
bzr revid: jas@tinyerp.com-20101001073729-jtdo3yd4yiuwkh7u
2010-10-01 13:07:29 +05:30
vda (Open ERP) 73cee227e1 [FIX] Removed default for home action.
bzr revid: vda@tinyerp.com-20100930082926-13n8zl37zw8t3fro
2010-09-30 13:59:26 +05:30
vda (Open ERP) ac7ec1748c [FIX] Removed default for home action.
bzr revid: vda@tinyerp.com-20100930081609-5s4udd31is38ra9z
2010-09-30 13:46:09 +05:30
Vir (Open ERP) 6d1ac2525c [Merge]
bzr revid: vir@tinyerp.com-20100917044637-wibq5m44v57d82gk
2010-09-17 10:16:37 +05:30
Olivier Dony d4c6f7427b [IMP] res_user: copied users must not share the same address/email
bzr revid: odo@openerp.com-20100916114337-lkzxtd3owxz6qcmz
2010-09-16 13:43:37 +02:00
Vir (Open ERP) 2a638a5e23 [Merge]
bzr revid: vir@tinyerp.com-20100913095609-lpvaem22onbub325
bzr revid: vir@tinyerp.com-20100915043759-um560kpvxgrjls9s
bzr revid: vir@tinyerp.com-20100916044220-ot7i50ampczg74zc
2010-09-16 10:12:20 +05:30
Harry (OpenERP) c8a08bfc9d [IMP] base: configuration wizard
bzr revid: hmo@tinyerp.com-20100914141938-dst3iy7oi8udrqlr
2010-09-14 19:49:38 +05:30
Olivier Dony 6cb0f0c23b [REVERT] incorrect patch to tools.translate - not yet reviewed
bzr revid: odo@openerp.com-20100908172708-vgqbwc8e2an30hxw
2010-09-08 19:27:08 +02:00
Anup (OpenERP) 7c3e6a6ed6 [FIX] message of _sql_constraint is being translated now
bzr revid: ach@tinyerp.com-20100908162403-pcau9acjq0xhhxu0
2010-09-08 21:54:03 +05:30
Vir (Open ERP) 1e5bd3dc4c [IMP] res_user view improved
bzr revid: vir@tinyerp.com-20100908060534-pod7b4b10lxd193n
2010-09-08 11:35:34 +05:30
DBR (OpenERP) b2c4dd6b87 [MOD/IMP]res_user : Usability Improvement
bzr revid: dbr@tinyerp.com-20100907075101-ki0rwisnslqjqd93
2010-09-07 13:21:01 +05:30
Stephane Wirtel ce93349749 [IMP] base: Add an on_change with a warning if the user changes the company
bzr revid: stephane@openerp.com-20100831111314-jea2mxbd1hqarzoc
2010-08-31 13:13:14 +02:00
Olivier Dony a46518e637 [IMP] res_user: user_email accessor should work even without read access to addresses
bzr revid: odo@openerp.com-20100830103431-59avx90r2fq0leim
2010-08-30 12:34:31 +02:00
nch@tinyerp.com 653aa1c7da [IMP]:Added a boolean field on the user preferences and user form to be able to deactivate the help dialog box in each screen per user
bzr revid: nch@tinyerp.com-20100825084848-obktbc48sred7jnh
2010-08-25 14:18:48 +05:30
Olivier Dony 68a30421ef [IMP] res_roles: improved documentation and views:
- added description field and o2m to wkf transitions
- improved views: tooltips, layout
- added related wkf_id field on transitions to display it in list view
- added basic docstring on check() method

bzr revid: odo@openerp.com-20100820152750-ad5ypnwwxjnzdfn9
2010-08-20 17:27:50 +02:00
rpa (Open ERP) afa0a6dc06 [FIX]: base: Put proper default value for getting user's email address (onchange user crashes on client side, when user don't have email address
bzr revid: rpa@tinyerp.com-20100719132754-u3rtifwypt8s3bmk
2010-07-19 18:57:54 +05:30
Olivier Dony 314e1d8f46 [IMP] res_user: security check to prevent users from switching to a company they do not belong to (thanks to xrg for reporting)
bzr revid: odo@openerp.com-20100715165935-nlejai33n4m4o7ox
2010-07-15 18:59:35 +02:00