Commit Graph
37 Commits
Author SHA1 Message Date
Yannick Tivisse ff63f5d0a3 [IMP] base_setup: Allow the admin to modify the default user acess rights
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights

The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
2016-08-23 11:14:37 +02:00
Parth Mehta 54245deebd [IMP] lunch: view improvement of previous orders.
Purpose:
1/ In the lunch app, previous orders list: the products are not displayed.
It is written X Records but you don't see the products name. Therefore
the information is useless.

2/ It is dangerous to be able to delete a previous order that has been
received (it changes the lunch account amount)

What is done:
In Previous Orders list :
- The view should be based on the sales orders lines. In that case, each
  line = 1 product.
- add a note column (between product and status)
- add a user column (between status and total)
- Rename Total into Price
- If order.line status = ordered or received, it shouldn't be possible
  to delete it. An ir.rule has been added to achieve this.
- An additional group access right check is made in the actions 'confirm'
  'cancel' and 'order' because they can be called in batch under the
  Action button.
2016-03-10 10:18:17 +01:00
Yannick Tivisse 1ecba213f4 [IMP] Newly created users get all manager access right
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights
when created from the dashboard, which was leading to an error.

This bug leaded to a new discussion. Better to have basic employee having user
rights for all main applications. For bigger entreprises there is an admin that
will carefully remove extra rights, if necessary. The target is small businesses,
it makes sense that every way to create a user gives the same result.

In conclusion, each new user has a full access to the applications by default

How is it implemented ?
We added an inactive default user which original access right to the groups
'base.group_user' and 'base.group_partner_manager' in base. Each
application will extend the default user's access right by adding the maximal
access right for this application.

On user creation, we will use by default the 'group_id' field from the default
user. We will in the same time remove the ugly 'default_groups_ref' key which
was passed sometimes in the context for some fields in some views, and sometimes
nothing.

So, the user can modify the access rights for the default user, but he should be
aware that removing project user access rights for a default user will prevent
a *created on the fly in a task* user will not be able to access the task.
2015-11-20 16:27:32 +01:00
Nicolas Martinelli 3d63c15a56 [MIGR] lunch: migration to the new API, cleaning and new
widget for displaying previous orders.

Detailed changes :
- previous order is not a computed field, with its own custom widget that has been designed
according the new spec for widgets;
- useless wizards have been removed, and replaced by some server actions that perform the
same action with less code and views;
- removed deprecated or incomplete reporting;
- some renaming to follow the new specifications of module coding
2015-04-23 10:27:08 +02:00
Martin Trigaux a77002035d [FIX] lunch: allow other people to create lunch orders for others
bzr revid: mat@openerp.com-20140428075301-ah6lgb7zzkr6vb3o
2014-04-28 09:53:01 +02:00
Martin Trigaux 3f869b47ce [FIX] lunch: fix security rule, user_id being a related field he may not be set yet at the creation
bzr revid: mat@openerp.com-20140425074018-wnrhgsavhmp91xjv
2014-04-25 09:40:18 +02:00
Martin Trigaux 1b75fc6d95 [IMP] lunch: add security rules, it's very impolite to look in other people plates
bzr revid: mat@openerp.com-20140409131016-kzx7scln4daz14xj
2014-04-09 15:10:16 +02:00
Cedric Snauwaert 26f0b6bfac [FIX]lunch: in order to see lunch menu, put root user as lunch manager by default even if no demo data
bzr revid: csn@openerp.com-20130307084226-o02po2v301x5vgbe
2013-03-07 09:42:26 +01:00
Arnaud Pineux 70b9f41051 [FIX] Lunch wrong access rights
bzr revid: api@openerp.com-20121204083635-trp1qh1kidabngsr
2012-12-04 09:36:35 +01:00
Arnaud Pineux a3a26dc755 [IMP] demo data & groups -> refactor
bzr revid: api@openerp.com-20121119142146-33aix5tk6bldizu9
2012-11-19 15:21:46 +01:00
Arnaud Pineux 848679322a [IMP] demo data & groups -> refactor
bzr revid: api@openerp.com-20121119140801-yxj936dhu1eapicl
2012-11-19 15:08:01 +01:00
Arnaud Pineux 4820730cd6 [IMP] demo data & groups
bzr revid: api@openerp.com-20121119135628-krq8rle10si51vkh
2012-11-19 14:56:28 +01:00
Vo Minh Thu d05a945fc5 [IMP] lunch: removed a few initialization warnings.
bzr revid: vmt@openerp.com-20121115152557-3lroffi0dtar3rs4
2012-11-15 16:25:57 +01:00
Quentin (OpenERP) 385bf30ae3 [REN] lunch: renamed security/groups.xml to meet OpenERP standards and conventions
bzr revid: qdp-launchpad@openerp.com-20121107104348-9xkt13jmscamgy34
2012-11-07 11:43:48 +01:00
Arnaud Pineux 2a13ed6338 [REF]English demo, fix report, clear security
bzr revid: api@openerp.com-20121106162907-ir7ujoxowlrqouyt
2012-11-06 17:29:07 +01:00
Arnaud Pineux c0971be90b [FIX]some changes
bzr revid: api@openerp.com-20121106155523-vhpbuw6lfniqqgeu
2012-11-06 16:55:23 +01:00
Arnaud Pineux ed791d908c Lunch
bzr revid: api@openerp.com-20121102081548-1ujcb6v6ivsx9dr5
2012-11-02 09:15:48 +01:00
Arnaud Pineux ccdec6f158 [MERGE]Lunch_new application
bzr revid: api@openerp.com-20121024133918-qu0xha3fuaisc0va
2012-10-24 15:39:18 +02:00
Arnaud Pineux 5ac75e44aa [MERGE]Lunch_new application
bzr revid: api@openerp.com-20121004073156-asqlj77f8v3q9m58
2012-10-04 09:31:56 +02:00
Arnaud Pineux eeb08e163e [ADD] Lunch module
bzr revid: api@openerp.com-20121002072149-9gcyy64wap5z7b2h
2012-10-02 09:21:49 +02:00
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Raphael Collet 0c1021806d [MERGE] trunk-user-groups-rco: add category_id to groups
bzr revid: rco@openerp.com-20111213141949-ohvn0c9iq6tcl7jj
2011-12-13 15:19:49 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
Raphael Collet 084c5d9289 [IMP] hr, idea, knowledge, lunch: add group categories
bzr revid: rco@openerp.com-20111212134938-xwfnq4d3ks1awuu9
2011-12-12 14:49:38 +01:00
Raphael Collet ba6342174e add group implications
bzr revid: rco@openerp.com-20110802130811-pkdmw43ufifz0tpj
2011-08-02 15:08:11 +02:00
Harry (OpenERP) 764b9f251e [FIX] correct regression on intalling module without demo data
bzr revid: hmo@tinyerp.com-20101114134821-7djwpr6nmmxu584q
2010-11-14 19:18:21 +05:30
uco (OpenERP) f7f51a9497 [ADD] Task ID-1720: The demo user should be in all '<application's name> user' groups.
bzr revid: uco@tinyerp.com-20101102095327-77v9g35gjosrc5ky
2010-11-02 15:23:27 +05:30
AMP (OpenERP) 0888189083 [MOD/IMP] tools : Survey,Idea,Lunch,Subscription Usability improvement in access rights
bzr revid: amp@tinyerp.com-20101005133252-hz7jww5xuzjrxal1
2010-10-05 19:02:52 +05:30
AMP (OpenERP) 4cebdcf838 [MOD] tools: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100825112922-0bk9klymjgw6ffiv
2010-08-25 16:59:22 +05:30
AMP(Open ERP) 53cfaebe3f [MOD/IMP] survey,account,email_template,idea,lunch,marketing_campaign,sale,stock_planning : Improvements in access rights
bzr revid: vir@tinyerp.com-20100813060634-laq3wb2d660wcrrp
2010-08-13 11:36:34 +05:30
Vir (Open ERP) 4ac33ec1f9 [MOD] Group name changed , Sales / Salesman to Sales / User
bzr revid: vir@tinyerp.com-20100809060226-jx6plkn6mafiplyz
2010-08-09 11:32:26 +05:30
AMP (OpenERP) acd29a2ff2 [MOD] lunch: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100807124815-bl3z17efhbcmc6m6
2010-08-07 18:18:15 +05:30
AMP (OpenERP) 39d1c31b49 [MOD] usability improvement and changes in access rights
bzr revid: amp@tinyerp.com-20100730130247-1hvssj5z0f9gvd3a
2010-07-30 18:32:47 +05:30
AMP (OpenERP) 7e0180c254 [MOD] usability improvement in access rights
bzr revid: amp@tinyerp.com-20100729133057-gdhqqohzpkdnq8vl
2010-07-29 19:00:57 +05:30
UCO (OpenERP) 3217cf7e4c [REM]: Removed access rules for OSV memory objects
bzr revid: rpa@tinyerp.com-20100628134938-23kiccr4355jfhmg
2010-06-28 19:19:38 +05:30
ksa (Open ERP) da226e3078 [IMP]: lunch: code optimization and apply csv file and doc string
bzr revid: ksa@tinyerp.co.in-20100317104325-184sxsqphab0q84y
2010-03-17 16:13:25 +05:30
Vir (Open ERP) e01abccc4c [ADD] lunch : Moduled added from trunk extra addons with new menu structure
bzr revid: vir@tinyerp.com-20100118125211-r3nfcsikheh76tkj
2010-01-18 18:22:11 +05:30