Commit Graph
399 Commits
Author SHA1 Message Date
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
Stuart Longland 28c4e5530f faces: Fix 24-hour and end-at-midnight timespans
In cases where a working day either:
- Spans 24 hours
or
- ends at midnight
  
the time span calculation code incorrectly calculates the time of that
day, either stating that the day is 0 minutes long, or worse, is
negative.
  
The following patch addresses this.  Non-working days are specified
using the Python 'None', or 'False' values, rather than specifying the
same start and end time, as the latter will now be interpreted as a
24-hour period.

bzr revid: me@vk4msl.yi.org-20120323052146-vosvz50lg12n7e1i
2012-03-23 15:21:46 +10:00
Launchpad Translations on behalf of openerp 096e31763d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120322045715-7jjkjuud4so1nrvi
2012-03-22 04:57:15 +00: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
Launchpad Translations on behalf of openerp 88c25488a5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218050004-fsjgcm68ejwkyila
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219054401-1933r0e5ukykqh0h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220054126-hug47vk8c43pxbqk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221055612-pdqteum51dyapu2e
2012-02-21 05:56:12 +00:00
Launchpad Translations on behalf of openerp 9f65e1565e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120217050201-xlguleciidhnkxln
bzr revid: launchpad_translations_on_behalf_of_openerp-20120217051344-6opxazcgg875mypq
2012-02-17 05:13:44 +00:00
Launchpad Translations on behalf of openerp 74b3b0bc69 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054303-2gawtr1s4zulhhhs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054630-925y7kotw7axa7z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214061906-2g5kxwe0xle5u54c
2012-02-14 06:19:06 +00:00
Launchpad Translations on behalf of openerp 0e2e9ddd78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00:00
Carlos Vásquez 3afecc7604 [ADD] es_CR.po: added po to all modules, copy from es.po or from pot
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208145917-aaai0irh68omlzmb
2012-02-08 08:59:17 -06:00
Launchpad Translations on behalf of openerp 320b2d2e2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208060921-wir47e717rh04xxn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208063913-vg9qdu30tx09ojrl
2012-02-08 06:39:13 +00:00
Olivier Dony 0a63ecb0cf [I18N] all: updated translation template
This should be the last major template sync
before the final release of 6.1.

bzr revid: odo@openerp.com-20120208010830-zchnkg48u7s40nw2
2012-02-08 02:08:30 +01:00
Vo Minh Thu ad4b6fcc21 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130101837-zyebtyhfjypg2b4w
2012-01-30 11:18:37 +01:00
Launchpad Translations on behalf of openerp ffbff476df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050312-sep3uryazw4j1xz6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052156-67wqllfafijp6h1m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044112-h04p0g5ne16y1nav
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050513-ncpdbsqyyk18pc67
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052226-dfcf7sm2r00y1s3s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044131-sdsyvt62gvyzo0e3
2012-01-30 04:41:31 +00:00
Launchpad Translations on behalf of openerp 7dfe3e3413 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120126052824-8ja030g3lhanp8g7
2012-01-26 05:28:24 +00:00
Launchpad Translations on behalf of openerp a61762c71f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120114051310-6sj2xkv5gwq8cr0p
2012-01-14 05:13:10 +00:00
Launchpad Translations on behalf of openerp 1ba5e0ae7c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113044029-g5gennaovbmjxfut
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113050144-no4194ciwerac0dr
2012-01-13 05:01:44 +00:00
Fabien Pinckaers c04a3aed07 [FIX] small fixes and imp
bzr revid: fp@tinyerp.com-20111230111938-c4k5h0f22oo15vt9
2011-12-30 12:19:38 +01:00
Launchpad Translations on behalf of openerp a6c649dd4e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111223054503-il515335tdfkghbw
bzr revid: launchpad_translations_on_behalf_of_openerp-20111223073609-mpe8e232ykba47y0
2011-12-23 07:36:09 +00:00
Olivier Dony cb28f8de07 [I18N] all: update translation templates
bzr revid: odo@openerp.com-20111222185539-9gn06tu38ynoc416
2011-12-22 19:55:39 +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
Raphael Collet bd056f3764 [MERGE] resource: add yml tests
bzr revid: rco@openerp.com-20111220135017-2655lv0pnuywhb9o
2011-12-20 14:50:17 +01:00
Jigar Amin - OpenERP c26ed4d706 [FiX] typo
bzr revid: jam@tinyerp.com-20111219051517-y8t1t4lvjohl2a7c
2011-12-19 10:45:17 +05:30
Jigar Amin - OpenERP 16aaeb6812 [MERGE] lp:openobject-addons
bzr revid: jam@tinyerp.com-20111213043103-ybe8hwxb40gyq7n8
2011-12-13 10:01:03 +05:30
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
Fabien Pinckaers 81c1bf7fcb [IMP] better manifests for modules
bzr revid: fp@tinyerp.com-20111212142244-cm6e3um1adizu3kz
2011-12-12 15:22:44 +01:00
Jigar Amin - OpenERP 8c47350a7a [MERGE] lp:openobject-addons
bzr revid: jam@tinyerp.com-20111212044112-l3u1d7rtcuyyznai
2011-12-12 10:11:12 +05:30
Launchpad Translations on behalf of openerp dce7b0bb00 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111212051730-t3td2i6rkaj99aex
2011-12-12 05:17:30 +00:00
Launchpad Translations on behalf of openerp b71c469254 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111211053658-qcbiv04tmaqr55en
2011-12-11 05:36:58 +00:00
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
Fabien Pinckaers 4e0befa1f4 [IMP] better manifests on modules
bzr revid: fp@tinyerp.com-20111206120355-h5vufbibzovtvf0j
2011-12-06 13:03:55 +01:00
Jigar Amin - OpenERP bbe95e2694 [FIX] removed print stme
bzr revid: jam@tinyerp.com-20111205120210-vqnxzmxk38pc2l07
2011-12-05 17:32:10 +05:30
Jigar Amin - OpenERP cd99a7eeb6 [ADD/FIX] Duplicate reosurce yaml and added the references for the same
bzr revid: jam@tinyerp.com-20111205115637-473yq421xc5w6ag2
2011-12-05 17:26:37 +05:30
Jigar Amin - OpenERP 6e5e699b6e [IMP] imporved test case scenario
bzr revid: jam@tinyerp.com-20111205115218-95ol3r8mw3uxdi5u
2011-12-05 17:22:18 +05:30
Jigar Amin - OpenERP 85770076fb [ADD/RM] Removed useless file, added the demo resource record
bzr revid: jam@tinyerp.com-20111205092920-ephr4ictr36fgvmd
2011-12-05 14:59:20 +05:30
Jigar Amin - OpenERP e5bc35d12f [MOV] moved yaml file
bzr revid: jam@tinyerp.com-20111205084838-urtohfj8zb2puv51
2011-12-05 14:18:38 +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 477becd62a [IMP] Added the test case to calculate resource working schedule
bzr revid: jam@tinyerp.com-20111129055453-zh6akbwvm7vniivr
2011-11-29 11:24:53 +05:30
Jigar Amin - OpenERP 630271cbbb [ADD] Added test case to check the resource calandar fucntion
bzr revid: jam@tinyerp.com-20111129053602-nf19mwtk8ya19ahi
2011-11-29 11:06:02 +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
Jigar Amin - OpenERP 6f9262a9f6 [ADD] Added test case to check resource duplicate
bzr revid: jam@tinyerp.com-20111129045432-3asz2skngzh8mh3t
2011-11-29 10:24:32 +05:30
Jigar Amin - OpenERP a3e243fee4 [FIX] Refectored the test case file reference
bzr revid: jam@tinyerp.com-20111129044037-px01nteee4b9opid
2011-11-29 10:10:37 +05:30
Jigar Amin - OpenERP 46348ccf31 [RM/ADD] rearragned the yaml and refcetored the yamls
bzr revid: jam@tinyerp.com-20111129043849-i0k4udno1x2jklz1
2011-11-29 10:08:49 +05:30
Jigar Amin - OpenERP f78796c637 [MEGRE] Merged lp:openobject-addons
bzr revid: jam@tinyerp.com-20111129041807-zqvf7q8ur9czc2lc
2011-11-29 09:48:07 +05:30
Fabien Pinckaers 5ed9e528d4 [FIX] default values for domain
bzr revid: fp@tinyerp.com-20111125170906-utelua25g25yde8x
2011-11-25 18:09:06 +01:00
Vo Minh Thu 2e1023ddbe [IMP] domain to context:
Use explicitely default_xxx in the context instead of
relying on the domain to fill form views.

bzr revid: vmt@openerp.com-20111124121433-z5du2yeu319ea1ax
2011-11-24 13:14:33 +01:00
Jigar Amin - OpenERP 221973ba63 [ADD] Added the yaml for the resource fucntion validation
bzr revid: jam@tinyerp.com-20111122114628-zgaq98cjy17pndf8
2011-11-22 17:16:28 +05:30
Jigar Amin - OpenERP becbd5b33d [IMP] Added yaml udner test section
bzr revid: jam@tinyerp.com-20111122114527-1e9uqmt80b6g4ldw
2011-11-22 17:15:27 +05:30
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Jigar Amin - OpenERP 545889f2bb [FIX] yaml typo
bzr revid: jam@tinyerp.com-20111122070708-qwixijixoght6qvn
2011-11-22 12:37:08 +05:30