Goffin Simon
bbd15cdca6
[FIX] resource: interval_get_multi
...
To compute the intervals of working time, the function interval_get_multi
used 'hour_to' and 'hour_from' from "resource.calendar.attendance" model. 'hour_to'
and 'hour_from' are not in UTC timezone. All the dates in odoo are compared in UTC.
Then 'hour_to' and 'hour_from' must be converted.
To take into account the minutes in this computation, the minutes from the start date
are added in the variable todo (number of working hours).
opw:648349
2015-09-08 10:08:45 +02:00
Denis Ledoux
70d8172d32
[FIX]resource: interval_get_multi crashed when the interval of hours was greater than 24, because it was using datetime parameters instead of using timedelta to create a datetime in the future/past
...
bzr revid: dle@openerp.com-20131114175244-iudygbtpbppuxbds
2013-11-14 18:52:44 +01:00
Martin Trigaux
38eb2bf80d
[FIX]resource: revert correctly
...
bzr revid: mat@openerp.com-20130510082654-102w20am9zvgspd7
2013-05-10 10:26:54 +02:00
Martin Trigaux
726f755c2e
[IMP]resource: use correctly float_compare
...
bzr revid: mat@openerp.com-20130510082338-055enqqpxcsuyp23
2013-05-10 10:23:38 +02:00
Martin Trigaux
c820f6dcf8
[REF] revert useless chqnges
...
bzr revid: mat@openerp.com-20130510081803-d08uqm4b3as588xp
2013-05-10 10:18:03 +02:00
Martin Trigaux
a7ee9acdaf
[IMP] resource: use float_compare instead
...
bzr revid: mat@openerp.com-20130508142104-clgs1khxgktxlxsm
2013-05-08 16:21:04 +02:00
Martin Trigaux
22d6ef5cfe
[FIX] resource: avoid floating point error in interval
...
bzr revid: mat@openerp.com-20130507094035-rtbyzukv4shpx024
2013-05-07 11:40:35 +02:00
Chris Biersbach
90271ca3f8
[IMP] Removed debugging code
...
bzr revid: cbi@openerp.com-20130319103927-tpjpx5izr44xzmzp
2013-03-19 11:39:27 +01:00
Chris Biersbach
4b57becf80
[FIX] Forward Port of Changes from 6.1 Revision 7051 to make the issue analysis report work
...
bzr revid: cbi@openerp.com-20130319103126-07r73qlouykqazjt
2013-03-19 11:31:26 +01:00
Vo Minh Thu
6072fd11af
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Raphael Collet
590add54d4
[IMP] resource: improve ugly code in conversion function
...
bzr revid: rco@openerp.com-20121210090554-fb59bzz5ceogehms
2012-12-10 10:05:54 +01:00
Raphael Collet
635d5cbf0e
[REV] undo revid:rco@openerp.com-20121207124917-cy3hz9x7aymd1cdt, because a potentially better patch is in line
...
bzr revid: rco@openerp.com-20121207150836-vsmee753v1w6yw6j
2012-12-07 16:08:36 +01:00
Raphael Collet
68e94d2f61
[MERGE] lp:~vrt-openerp/openobject-addons/trunk-bug-932584 (manage working times as local times)
...
bzr revid: rco@openerp.com-20121207124917-cy3hz9x7aymd1cdt
2012-12-07 13:49:17 +01:00
Raphael Collet
aff07dfa3b
[IMP] resource: improve code that computes working hours in local times
...
bzr revid: rco@openerp.com-20121207122351-eitc7zej6ss2035j
2012-12-07 13:23:51 +01:00
Raphael Collet
6ed367c093
[IMP] resource: small code improvements
...
bzr revid: rco@openerp.com-20121207121925-ju6mdv66k4zsw5yk
2012-12-07 13:19:25 +01:00
Raphael Collet
ecd2cd1e05
[IMP] resource: improve conversion function hours (float) -> datetime.time
...
bzr revid: rco@openerp.com-20121207102718-jxojya78wnb8jmgc
2012-12-07 11:27:18 +01:00
Vo Minh Thu
e7f4891d46
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Antonin Bourguignon
1653332080
[MERGE] trunk
...
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Antonin Bourguignon
1fbb4a5c16
[IMP] handling of '(copy)' l10n
...
bzr revid: abo@openerp.com-20120924162645-z1h4l2mj6c8i6wr3
2012-09-24 18:26:45 +02:00
Rajesh Prajapati (OpenERP)
71122ae47a
[IMP]tooltip : I have changed the tooltip of fields as suggested
...
bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5
2012-07-13 15:47:51 +05:30
Quentin (OpenERP)
0c4b5b5cf2
[IMP] project.*: usability, review of form views
...
bzr revid: qdp-launchpad@openerp.com-20120712144600-irb7zscuotkz4jsg
2012-07-12 16:46:00 +02:00
Bharat Devnani (OpenERP)
86ef8d586c
[IMP] improved some views of project module
...
bzr revid: bde@tinyerp.com-20120628084903-7clyjhob6n6mm9dr
2012-06-28 14:19:03 +05:30
Mayur Maheshwari (OpenERP)
9e59ce8812
[IMP]all: Improve all typos
...
bzr revid: mma@tinyerp.com-20120424060532-ohrf0sxwq8rpq6ls
2012-04-24 11:35:32 +05:30
Stuart Longland
5c4dba40f7
resource: Convert working hours to UTC
...
Faces assumes that all times are given in the same timezone. OpenERP
uses UTC internally, and uses UTC when communicating task and project
start/end times to faces.
It unfortunately gives the working hours in local time. The following
converts the time zone to UTC, assuming that the working hours are in
the time zone of the currently logged-in user. (This will have to be
fixed to convert each resources' calendar from the resource's local time
zone to UTC.)
bzr revid: me@vk4msl.yi.org-20120323052250-m03bth2dy755hw1p
2012-03-23 15:22:50 +10:00
Numerigraphe - Lionel Sausin
2d2a44dcf2
[FIX] unmutable default in the remaining modules
...
[REF] coding style consistency
lp bug: https://launchpad.net/bugs/525808 fixed
bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Mayur Maheshwari (OpenERP)
357f3fca2f
[MERGE]: Merge with lp:openobject-addons
...
bzr revid: mma@tinyerp.com-20111221123724-buifqfz9zvmu9s8n
2011-12-21 18:07:24 +05:30
Mayur Maheshwari (OpenERP)
b439bc1606
[FIX]All: create an index for the column on require table
...
lp bug: https://launchpad.net/bugs/901474 fixed
bzr revid: mma@tinyerp.com-20111209060308-muefwlr323ji4kk7
2011-12-09 11:33:08 +05:30
Jigar Amin - OpenERP
e726b6ee40
[IMP/FIX] YAMl typos and missing docstring for the reosurce calendar def
...
bzr revid: jam@tinyerp.com-20111129063028-0k7zkk1hrr1jd0vp
2011-11-29 12:00:28 +05:30
Jigar Amin - OpenERP
d75cd905a7
[RM] rmoved the Unused import stmt
...
bzr revid: jam@tinyerp.com-20111129045736-0ev604ced41napfq
2011-11-29 10:27:36 +05:30
Jigar Amin - OpenERP
f0ddecdb8f
[FIX] Removed the fuction def prototype of check_availability in resource_resource
...
bzr revid: jam@tinyerp.com-20111129045559-31vm4mzvmvkwnak5
2011-11-29 10:25:59 +05:30
Fabien Pinckaers
8bf5afa398
merge
...
bzr revid: fp@tinyerp.com-20111111134612-e1wuecwk9v79qqbn
2011-11-11 14:46:12 +01:00
Serpent Consulting Services
f1d7ef6a32
[FIX] Resource : Set the day of the week field mandatory for working time/resource calendar to nullify the possibility of configuration mistake
...
lp bug: https://launchpad.net/bugs/881839 fixed
bzr revid: support@serpentcs.com-20111026212339-rkh78s6qq0lbchj4
2011-10-27 02:53:39 +05:30
Serpent Consulting Services
3c0b72eba9
[FIX] Resource : Added a check to notify the user about configuration mistake
...
lp bug: https://launchpad.net/bugs/881839 fixed
bzr revid: support@serpentcs.com-20111026210902-c1h934usmochg2td
2011-10-27 02:39:02 +05:30
Fabien Pinckaers
0d2ae40a70
[FIX] Complete refactoring of project_long_term, with following changes:
...
do not use resources but users on phases:
- to be consistent with project members and task responsible
- if the user is linked to a resource, it uses the calendar of the resource (holidays for example)
better YML tests
Complete rewrite of the scheduling mechanism:
- Schedule phases:
- write project.user.allocation based on scheduling
- schedule resources based on members on the project
- new constraint: force some users on a phase
- Schedule tasks:
- set user if no user on task
- set start and end date
some useability improvements
We still have to work on better Gantt view but I think the scheduling is
working correctly now.
bzr revid: fp@tinyerp.com-20111025233141-cgctwe8spxhko2gn
2011-10-26 01:31:41 +02:00
Tejas (OpenERP)
96364651ed
[Usability] renamed the label and changed the sequence of the menu
...
bzr revid: tta@openerp.com-20110817085712-7n64kag6hb6vtwhf
2011-08-17 14:27:12 +05:30
Quentin (OpenERP)
230e12b5c4
[IMP] hr_payroll: major improvements (fill input, compute only on button pressed, code cleaning, improved computation engine...)
...
bzr revid: qdp-launchpad@openerp.com-20110406122845-au66vdlm7i39mh1c
2011-04-06 14:28:45 +02:00
Ujjvala Collins (OpenERP)
8429d1fe58
[FIX] project_long_term: Corrected Resource not found error. Corrected error when switching the views on project phases.
...
bzr revid: uco@tinyerp.com-20110321130645-ey1i0ra2qpkzlfwu
2011-03-21 18:36:45 +05:30
qdp-launchpad@tinyerp.com
2df4a68377
[MERGE] merged the dev3 branch
...
bzr revid: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
2011-01-14 01:11:01 +01:00
Mustufa Rangwala
b6177f80a8
[MERGE] merge from trunk addons
...
bzr revid: mra@mra-laptop-20110110120924-b1vs539xou7wt6l1
bzr revid: mra@mra-laptop-20110110124817-7zne2i3c7hbaxqar
bzr revid: mra@mra-laptop-20110111044415-e0xo335fvdxvh4rw
2011-01-11 10:14:15 +05:30
ARA (OpenERP)
96f5598a6a
[IMP] Add readonly=true and store=true where company_id is related field in all addons module
...
bzr revid: ara@tinyerp.com-20110106113221-7rkpjapyqawg25a6
2011-01-06 17:02:21 +05:30
jam-openerp
27bdfdb896
[IMP] resource: Refactoring Phase Scheduling changes
...
bzr revid: jam@tinyerp.com-20110106110834-vcvfxbmikqnuwzlo
2011-01-06 16:38:34 +05:30
jam-openerp
54aa8e6e20
[IMP] Project_long_term: Refactoring Scheduling Process.
...
bzr revid: jam@tinyerp.com-20110105101259-lmgth1kt56xsg5dq
2011-01-05 15:42:59 +05:30
jam-openerp
926e3de1e2
[IMP] Project_long_term : Refector Code of The Schduling of Phases, Resetup Frame work with Faces lib
...
bzr revid: jam@tinyerp.com-20110104131511-flc8m5kmc86smd03
2011-01-04 18:45:11 +05:30
Mustufa Rangwala
3bdca04e28
[MERGE] merge from trunk addons
...
bzr revid: mra@mra-laptop-20110103090825-h3f9ie8qu7l09ceb
2011-01-03 14:38:25 +05:30
Harry (OpenERP)
e0fc25a57d
[IMP] project_long_term: improved view/tooltips
...
bzr revid: hmo@tinyerp.com-20101230123534-dde55foizf83fddi
2010-12-30 18:05:34 +05:30
Harry (OpenERP)
574b0ecfa2
[FIX] project_long_term: scheduling phase: if calendar is not specify, take 24/7 working days
...
bzr revid: hmo@tinyerp.com-20101230103723-ay3li558ro4lpph9
2010-12-30 16:07:23 +05:30
husen
f433b959c2
merged with trunk
...
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
Harry (OpenERP)
a8e1beba5e
[FIX] project_long_term: In scheduling phase, screnario to take start date: phase start date or project start date or system current date
...
bzr revid: hmo@tinyerp.com-20101230085144-ms3603jjatcaormk
2010-12-30 14:21:44 +05:30
uco (OpenERP)
690fbff411
[MERGE]
...
bzr revid: uco@tinyerp.com-20101214073712-b51lj9zyba9p1bp9
2010-12-14 13:07:12 +05:30
uco (OpenERP)
d827b2f6ea
[REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
...
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30