Commit Graph

128 Commits

Author SHA1 Message Date
Christophe Simonis 0c05a376d5 [FIX] base, mail: access to ir.config_parameter is now handled by by
record rules.

Partial revert of commit 80017b04c2.

Conflicts:
	addons/web/static/src/js/chrome.js
2014-08-29 12:01:50 +02:00
Christophe Simonis 1d2fe3330c [MERGE] forward port of branch saas-5 up to 24c25f5 2014-08-29 11:36:35 +02:00
Christophe Simonis 010dd70894 [MERGE] forward port of branch saas-3 up to c914893 2014-08-28 19:25:08 +02:00
Christophe Simonis 6f6197fb7c [MERGE] forward port of branch 7.0 up to f65c913 2014-08-28 18:15:10 +02:00
Christophe Simonis f65c913027 [FIX] base: security: employee must have access to res.groups 2014-08-28 18:14:08 +02:00
Christophe Simonis 8046b7367d [MERGE] forward port of branch saas-5 up to 7e117b1 2014-08-28 16:51:11 +02:00
Christophe Simonis 7e117b18a0 [MERGE] forward port of branch saas-3 up to ada9724 2014-08-28 16:21:27 +02:00
Christophe Simonis ada9724655 [MERGE] forward port of branch 7.0 up to 3509e15 2014-08-28 16:12:55 +02:00
Denis Ledoux dd86d41eb4 [FIX] security: disallow read on ir.sequence for externals 2014-08-26 16:17:24 +02:00
Denis Ledoux 53582c2ea6 [FIX] security: res.groups should be readable by admins only 2014-08-26 13:31:41 +02:00
Denis Ledoux 80017b04c2 [FIX] security: ir.config_parameter should not be readable by externals 2014-08-26 12:50:04 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Fabien Pinckaers 1ce0b70a02 Speed Improvements 2014-07-02 19:03:10 +02:00
Fabien Pinckaers 5cc81dd64f Fixes 2014-07-02 18:18:29 +02:00
Antony Lesuisse 22f4c315a3 [IMP] automatic fiscal positions for simple cases
Add group of countries res.country.group
Add get_fiscal_position method a method to compute a fiscal position based on company_id, partner_id, delivery_id
The meaning of res.partner.fiscal_position is now a forced a fiscal position.
The default implementation should handle simple cases, like VAT in UE and sales
tax in the US, but the method can be overriden to handle more complex ficals
rules.
2014-06-30 02:12:41 +02:00
Jeremy Kersten f337bcaa1d [IMP] ir.config.parameters: support group-based access control 2014-06-26 16:27:24 +02:00
Christophe Simonis 65f68c1f65 [MERGE] forward port of branch saas-3 up to 7dd6954 2014-06-03 19:14:22 +02:00
Christophe Simonis 7dd69540e8 [MERGE] forward port of branch 7.0 up to 0c4bc1c 2014-06-03 19:11:44 +02:00
Denis Ledoux e61fb4d80a [FIX] base: security, do not override basic ir_config_paramter ACL 2014-06-02 13:00:36 +02:00
Denis Ledoux a7a51cf55d [FIX] base: security, group settings is authorized to alter ir.config_parameter 2014-06-02 12:57:57 +02:00
Antony Lesuisse 434c3c455e [FIX] free chs who was stuck in a 2010 spacetime continuum
bzr revid: al@openerp.com-20140501214501-dnt6qjxvqa8tm58o
2014-05-01 23:45:01 +02:00
Christophe Simonis ee613ec6cd [IMP] remove useless table/column creations in base.sql. Let the ORM do it job.
[FIX] force creation of workflow used columns.

bzr revid: chs@openerp.com-20140425162828-e85aut02ua8c53nv
2014-04-25 18:28:28 +02:00
Antony Lesuisse ce1b0ad243 [FIX] ir_logging acl
bzr revid: al@openerp.com-20140318002954-3vc2wj6llc2017bu
2014-03-18 01:29:54 +01:00
Thibault Delavallée 8af1afb1a0 [CLEAN] [REM] ir_qweb: removed access rules on the various ir_web models
as those are abstract models. They should not have any access rules.

bzr revid: tde@openerp.com-20140116140621-6mjkp82oy0iyahi7
2014-01-16 15:06:21 +01:00
Christophe Matthieu a02797b26b [FIX] base.language.install remove explicit access access_base_language_install_group_user
bzr revid: chm@openerp.com-20140113173509-4syed8md6drifv2q
2014-01-13 18:35:09 +01:00
Christophe Matthieu bad16022e8 [FIX] base_language_install: add access right: access for group_user
bzr revid: chm@openerp.com-20140113082826-glv3v4pum6k4l1hh
2014-01-13 09:28:26 +01:00
Christophe Matthieu e82cb100bf [FIX] res.font: add access right: read allow for all user and all allow for group_user
bzr revid: chm@openerp.com-20140113082004-x494blqy2xjfc4wl
2014-01-13 09:20:04 +01:00
Xavier Morel b9dfef2fab [ADD] formatting of date and datetime t-field
bzr revid: xmo@openerp.com-20131021152639-2o2j2knhuppdlbzm
2013-10-21 17:26:39 +02:00
Xavier Morel 64ea89e3be [MERGE] from parent
bzr revid: xmo@openerp.com-20131014085215-qoqytud1mkpdqbz0
2013-10-14 10:52:15 +02:00
Xavier Morel ef848653af [FIX] rename currency widget to monetary to match views
bzr revid: xmo@openerp.com-20131008122006-k7xjv2lkd0t7lza7
2013-10-08 14:20:06 +02:00
Thibault Delavallée fe57ed6f8d [MOV] portal: moved group_portal from portal module to base. First step towards including portal stuff directly into server.
bzr revid: tde@openerp.com-20131008113338-mrkae8rwv4jif1x6
2013-10-08 13:33:38 +02:00
Xavier Morel e29028ea0e [ADD] missing access rule thing
bzr revid: xmo@openerp.com-20131008082543-pzpknr48xfdbxxna
2013-10-08 10:25:43 +02:00
Xavier Morel 7a8ea1eb75 [IMP] move image serialization to image widget, not all binary fields
bzr revid: xmo@openerp.com-20131007113133-y0xcj0tgp8ionrzo
2013-10-07 13:31:33 +02:00
Xavier Morel cd31b4af4d [IMP] move field conversion around
ir.fields architecture turns out not to be a very good or simple fit,
especially as different widgets/fields need different granularity of
customizations. Having objects dedicated to each field type/widget
makes things simpler as it allows a conversion pipeline which can be
plugged into at any point.

bzr revid: xmo@openerp.com-20131007091556-03azc2mdhcb7kmwo
2013-10-07 11:15:56 +02:00
Thibault Delavallée b74c255168 [MERGE] Sync with trunk until revision 4967 (including al cleaning)
bzr revid: tde@openerp.com-20131007081039-adyay7oy1tpx4g2k
2013-10-07 10:10:39 +02:00
Antony Lesuisse 31a8dc36e5 [REM] shortcuts, deprecated by bookmarks
bzr revid: al@openerp.com-20131006132424-bpd8w0zzuf42s55l
2013-10-06 15:24:24 +02:00
Antony Lesuisse 881a76dbcf [IMP] Technical menu reorg, remove depreacted requests.
Moved low levels object to database structure.
Removed res.request models bu keep res.request.link, res.request.link is used
to flag models worth to be linked by references fields.
Moved currency and state to the approriate directory.

bzr revid: al@openerp.com-20131006112608-3qucrevmkf43kq20
2013-10-06 13:26:08 +02:00
Antony Lesuisse a32bf724f2 [IMP] ir_actions cleanups.
Remove deprecated old style wizards.
Remove unsed get_model() function.
Move crons into Actions menuitem.
Move todos into Actions menuitem.

bzr revid: al@openerp.com-20131006102404-s46md70ahydihiih
2013-10-06 12:24:04 +02:00
Thibault Delavallée 54933118a4 [MERGE] Sync with trunk until revision 4957.
bzr revid: tde@openerp.com-20131002133820-8xomdumexexqp3pk
2013-10-02 15:38:20 +02:00
Martin Trigaux 5175ce9e77 [IMP] ir_model_data: restrict ir_model_data rule to read only for user and add create to group_user
bzr revid: mat@openerp.com-20130912075353-s1hjsz3b0lvzhzj3
2013-09-12 09:53:53 +02:00
Martin Trigaux 1f30f78fab [MERGE] sync with trunk
bzr revid: mat@openerp.com-20130911094257-yu17yffdawc45v2a
2013-09-11 09:42:57 +00:00
Christophe Simonis e13ffe7e11 [MERGE] forward port of branch 7.0 up to revid 5075 chs@openerp.com-20130912141018-qmcyase8zqov9d01
bzr revid: chs@openerp.com-20130906165207-1oklc8cqs0rex3kg
bzr revid: dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: dle@openerp.com-20130911083736-6jfkb140jxbbx7j6
bzr revid: chs@openerp.com-20130912150616-v0c383trj7gaa7eu
2013-09-12 17:06:16 +02:00
Olivier Dony 1b004bce32 [FIX] ir.filters: deduplicate redundant ACL on ir.filters
By default everybody should be able to read and modify
filters, and this is coupled with a global ir.rule that
only permits viewing and touching global filters and
owned filters.

bzr revid: odo@openerp.com-20130903172606-7vn0z2gz71urfdtz
2013-09-03 19:26:06 +02:00
Christophe Matthieu d12e8dd387 [IMP] remove portal_anonymous, create group_public in server and public user in website
bzr revid: chm@openerp.com-20130726090515-jle1l2joqzw2zlnt
2013-07-26 11:05:15 +02:00
sgo@tinyerp.com 54306a7923 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130506123433-mbbw44o0nj5224jm
bzr revid: sgo@tinyerp.com-20130605072109-913cerck1xz2thdb
bzr revid: sgo@tinyerp.com-20130610052931-x6r3qt920vgafiuv
bzr revid: sgo@tinyerp.com-20130626111633-xatnf2mkwjqv93ti
2013-06-26 16:46:33 +05:30
niv-openerp 02aa3f2114 [FIX] regression that made the server crash when we install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610154139-jylxm135apnu3app
2013-06-10 17:41:39 +02:00
Martin Trigaux b8aed2249a [IMP] remove read access to outgoing mail server configuration
forward port of rev 4349 in 6.1

bzr revid: mat@openerp.com-20130521133025-198z6n1nqltcisx2
2013-05-21 15:30:25 +02:00
Olivier Dony 9cff3f2a58 [MERGE] res.currency: default to global currencies in multi-company setup + add proper ir.rule, courtesy of Alexandre Fayolle (Camptocamp)
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: odo@openerp.com-20130517093958-d16k9gceenznm9vp
2013-05-17 11:39:58 +02:00
cbi@openerp.my.openerp.com 3d9c8b0513 [FIX] missing multi company currency access rules, set currency.company_id to False by default
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130517080246-k23d8hd0ks36cr5l
2013-05-17 10:02:46 +02:00
sgo@tinyerp.com d947b32b96 [IMP]remove delete access rights from ir_model_data for all user which are not needed
bzr revid: sgo@tinyerp.com-20130430105012-damnh3zqdr9wdap1
2013-04-30 16:20:12 +05:30