Commit Graph
15 Commits
Author SHA1 Message Date
Thibault Delavallée 9944209ef7 [IMP] resource: add resource mixin adding fields and an API for resource
Purpose is to replace existing inherits of resource.resource by an inherit
on the mixin itself. The mixin offers several methods to compute working
intervals, attendance, hours, ... This mixin will be improved in future
commits when new methods that will be required with future improvements
of various service apps.

This commit also adds tests for the mixin itself. A new model is defined
only for testing purpose to test the mixin.
2017-02-27 14:04:48 +01:00
Thibault Delavallée 27d41ccbb5 [REF] resource: update security rules
Add some rules to enable the read of calendar records by employees as
those rules should not be defined a bit everywhere in various addons.
2017-02-27 14:04:48 +01:00
Christophe Simonis ada9724655 [MERGE] forward port of branch 7.0 up to 3509e15 2014-08-28 16:12:55 +02:00
Denis Ledoux 362221b6f5 [FIX] resource: security, resource not readable by externals 2014-08-26 18:10:14 +02:00
Martin Trigaux 5e051e9484 [FIX] resource: better access rights
bzr revid: mat@openerp.com-20130911142549-cpzg8588ol31b8k1
2013-09-11 16:25:49 +02:00
Martin Trigaux 143b485baf [IMP]resource: avoid better permissions on calendar_leaves
bzr revid: mat@openerp.com-20130514134227-xnvyzjikwph8bp5k
2013-05-14 15:42:27 +02: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
François Degrave 8850bcb84b [FIX] dependencies in security groups
bzr revid: fde@openerp.com-20101228083043-6sfsuh4uvqvhu3ap
2010-12-28 09:30:43 +01:00
François Degrave 9ca1866d50 [IMP] access rights for manufacturing manager, project user and manager groups
bzr revid: fde@openerp.com-20101221153314-kd8nrmuhe5kcp6uf
2010-12-21 16:33:14 +01:00
AMP (OpenERP) 9b5984dca8 [MOD] project_*: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100805101407-vr205zdnfy3dre9h
2010-08-05 15:44:07 +05:30
qdp-launchpad@tinyerp.com 9566dcc295 [IMP] resource/project_long_term: renamed resource.calendar.week object into resource.calendar.attendance
bzr revid: qdp-launchpad@tinyerp.com-20100719094640-w08n8337ip7rf7yn
2010-07-19 15:16:40 +05:30
Fabien Pinckaers 540d03afb8 merge
bzr revid: fp@tinyerp.com-20100614102826-j6k1dwsbi0f1w6ep
2010-06-14 12:28:26 +02:00
Fabien Pinckaers 8baf16f25e [IMP] access rights. Remove bad stuff on point of sale
bzr revid: fp@tinyerp.com-20100612162154-f9dgju8wsmn79gq0
2010-06-12 18:21:54 +02:00
uco (OpenERP) 48e7f8370a [ADD]: Added access rules for remaining objects in account, hr, mail_gateway, mrp, stock, project, base_calendar and resource modules.
bzr revid: uco@tinyerp.co.in-20100305100813-2wsyownr15sk335s
2010-03-05 15:38:13 +05:30
HDA (OpenERP) 92ae38eb0a Project management improvements
bzr revid: hda@tinyerp.com-20100119073547-dqn2c0i9ycx6kp3a
2010-01-19 13:05:47 +05:30