100 Commits
Author SHA1 Message Date
Julien Thewys 32cdec2c72 [FIX] hr_holidays: made 2 view titles more consistent
Ported from 6.0

bzr revid: jth@openerp.com-20110930132124-0iobx63ylsz352oe
2011-09-30 15:21:24 +02:00
Julien Thewys 2ad296f925 [FIX] cli: allows multiple addons path: --addons-path=path1,path2 , path3
This was only possible in the config file.

lp bug: https://launchpad.net/bugs/507973 fixed

bzr revid: jth@openerp.com-20110430152505-t57u24s2a1am3bjh
2011-04-30 17:25:05 +02:00
Julien Thewys b1a488d1de [FIX] win32 build script works again (fixes lp:735554)
lp bug: https://launchpad.net/bugs/735554 fixed

bzr revid: jth@openerp.com-20110317110522-mto9tdkx01j9ims1
2011-03-17 12:05:22 +01:00
Julien Thewys 7bd73bfb4e [FIX] win32 build script works again (fixes lp:735554)
lp bug: https://launchpad.net/bugs/735554 fixed

bzr revid: jth@openerp.com-20110317105006-3eva0p9ce5r2wfjs
2011-03-17 11:50:06 +01:00
Julien Thewys 3d24d76b4f [FIX] Removed deprecated license files (was GPL v3, we are using AGPL v3).
bzr revid: jth@openerp.com-20110311171816-5zoozckwq3efv7ed
2011-03-11 18:18:16 +01:00
Julien Thewys fbd5877ca3 [FIX] Removed deprecated license files (was GPL v3, we are using AGPL v3).
bzr revid: jth@openerp.com-20110311170937-x9kou1gjwabf2ij3
2011-03-11 18:09:37 +01:00
Julien Thewys 6a11b89e17 [FIX] ensures no illegitimate cli argument is silently discarded
This avoids an insidious behavior: when copy-pasting a command from a
Microsoft document to the cmd terminal, one might not see that a hyphen ('-')
preceding an option has been converted to a dash (u'\u2012') which is then
interpreted as a normal cli argument (i.e. not an option) and thus silently
discarded.

bzr revid: jth@openerp.com-20110209100735-jaschhlv3cfqjry5
2011-02-09 11:07:35 +01:00
Julien Thewys 0a71cd2982 [MERGE] netrpc: disable TCP "Nagle" algorithm to minimize RPC delays, especially on windows
bzr revid: odo@openerp.com-20110118155946-9h207h8np16bplqh
2011-01-18 16:59:46 +01:00
Julien Thewys 996c6602a4 [FIX] typo
bzr revid: jth@openerp.com-20110118101441-tx27olsxkkl3m0vs
2011-01-18 11:14:41 +01:00
Julien Thewys 7e9b439c1c [FIX] socket: avoids interaction between Nagle and delayed ACK algorithm.
By default, ACK delay is 200ms on Windows which terribly slows down
conversations between client and server (when deployed on different machines).

To avoid any slow down, TCP_NODELAY should be enabled on clients' socket too.

More details:
http://developers.slashdot.org/comments.pl?sid=174457&threshold=1&commentsort=0&mode=thread&cid=14515105

bzr revid: jth@openerp.com-20110117205959-8kxaz0of8ta9dmfw
2011-01-17 21:59:59 +01:00
Julien Thewys c9fc809271 [FIX] do not encrypt empty password
bzr revid: jth@openerp.com-20110112150518-qup0i5efc4g4xcep
2011-01-12 16:05:18 +01:00
Julien Thewys 4448a67b49 [REF] cosmetic
bzr revid: jth@openerp.com-20110112150136-kzaw52txf5rwadrx
2011-01-12 16:01:36 +01:00
Julien Thewys dfabe34434 [IMP] added i18-overwrite cli flag to complement i18-import and allow overwriting existing translation terms
bzr revid: jth@openerp.com-20101119161339-0zf1dqzeng2m12yk
2010-11-19 17:13:39 +01:00
Julien Thewys c9c2f03a8c [REM] Removed wrongly committed changes (wrong branch name).
bzr revid: jth@openerp.com-20101117123928-vi70mnhlt9nz8cfc
2010-11-17 13:39:28 +01:00
Julien Thewys 04c3beb9cb [REF] update comments for test loading (previous commit)
bzr revid: jth@openerp.com-20101117122737-hqcrj7m28pbsbuup
2010-11-17 13:27:37 +01:00
Julien Thewys 36d2afb046 [IMP] Added 'test_force' cli param for loading tests without demo data.
Sometimes you want tests to be run against an environment where no demo data are allowed
and you do not want to have tests loaded from the 'data' section as records will not be rolled back.

bzr revid: jth@openerp.com-20101117104601-jottg84dmss716r0
2010-11-17 11:46:01 +01:00
Julien Thewys bda8e5392a [ADD] Merged nl.po into (almost empty) nl_BE.po
bzr revid: jth@openerp.com-20101105154126-6i27ayacaf23v861
2010-11-05 16:41:26 +01:00
Julien Thewys 6f930404ed [REF] Manages languages loading just after loading 'base' module.
bzr revid: jth@openerp.com-20101026121907-zw39q62c3s3qjp6o
2010-10-26 14:19:07 +02:00
Julien Thewys 9ec0865f7c [FIX] ir.model.data is writable only by admin user, readable by all.
bzr revid: jth@openerp.com-20101026095044-apiq6ts1609gn62t
2010-10-26 11:50:44 +02:00
Julien Thewys 0f428905d8 [FIX] Fixed yaml custom tags refactoring from base_module_record.
Serialization for those tags have probably not been used yet.

bzr revid: jth@openerp.com-20101026094509-s34a7et489f7qy3y
2010-10-26 11:45:09 +02:00
Julien Thewys 2272c189d9 [IMP] Added cli args to load one or more languages translation terms automatically.
Mainly used to automate languages installation at DB initialization.

bzr revid: jth@openerp.com-20101020144248-q20vnt72ovx3md96
2010-10-20 16:42:48 +02:00
Julien Thewys b42095255d [FIX] Adapted yaml_tag to serialize custom tags in module recorder.
bzr revid: jth@openerp.com-20101018132907-9cnfm4yzn3w01gox
2010-10-18 15:29:07 +02:00
Julien Thewys 06b12c0192 [FIX] base_module_record: import server yaml_tag instead of overriding it.
Yaml custom tags are registered globally in bin/tools/yaml_tag.py, do not
redefined them anywhere.

bzr revid: jth@openerp.com-20101018132011-gyer66b3jmj95q36
2010-10-18 15:20:11 +02:00
Julien Thewys a0caf55b9f [MERGE] Allows longer record rules (text).
bzr revid: jth@openerp.com-20101014110025-pecw3zjwskfcqfoy
2010-10-14 13:00:25 +02:00
Julien Thewys 0664e7e05f [FIX] pwd module does not exist on non posix platform (win32).
bzr revid: jth@openerp.com-20101013135707-zt73h89o6du3dpvy
2010-10-13 15:57:07 +02:00
Julien Thewys 1e1830cd00 [FIX] generate_order_by now supports 'id' order_field.
Sorting on 'id desc' is used in email_template/email_template.py .

bzr revid: jth@openerp.com-20101008141553-tzf94l6lq2qeer96
2010-10-08 16:15:53 +02:00
Julien Thewys 049a203cc4 [MERGE] Fixed gettext translation.
bzr revid: jth@openerp.com-20101006092643-b91l3nazmrdf7bqn
2010-10-06 11:26:43 +02:00
Julien Thewys f921e61f29 [MERGE] Fixed expression builder + code cosmetic/naming.
bzr revid: jth@openerp.com-20101005142749-9fuvum0j1m20jaws
2010-10-05 16:27:49 +02:00
Julien Thewys 8b241bb07b [REF] Renamed method to match conventions.
bzr revid: jth@openerp.com-20100927142254-aru8l7933o3x8cfr
2010-09-27 16:22:54 +02:00
Julien Thewys ab55bfd6af [REF] Renamed variable to match conventions.
bzr revid: jth@openerp.com-20100927141758-i5dpu1l7ctk39j1e
2010-09-27 16:17:58 +02:00
Julien Thewys 7bf6844f10 [FIX] Fixed wrong indentation.
bzr revid: jth@openerp.com-20100927141116-wu6vznh4dqzu9i5j
2010-09-27 16:11:16 +02:00
Julien Thewys 7111a3fe13 [FIX] default expression value may now contains single quotes (but not 3 consecutive ones)
bzr revid: jth@openerp.com-20100927140643-a2qm2mlsc0f42z94
2010-09-27 16:06:43 +02:00
Julien Thewys d90f632ad7 [FIX] Moved definition of smtplib error logger in the right scope.
bzr revid: jth@openerp.com-20100923135820-t1uqp0k4iwfgxaw6
2010-09-23 15:58:20 +02:00
Julien Thewys 8d28fc5a61 [FIX] Backported os.walk with followlinks from python 2.6 to make setup.py compatible with 2.5
bzr revid: jth@openerp.com-20100920132845-aanmyzcsrsd0acqh
2010-09-20 15:28:45 +02:00
Julien Thewys ed4a891e82 [FIX] Fixed pywebdav module name.
bzr revid: jth@openerp.com-20100920132252-a0jknr7owdg8qyce
2010-09-20 15:22:52 +02:00
Julien Thewys 2f31181c20 [FIX] Added pixmaps directory in the build.
bzr revid: jth@openerp.com-20100920130047-ddllrpr50i79zxuk
2010-09-20 15:00:47 +02:00
Julien Thewys 34577af85f [FIX] Fixed gettext translation (in particular, fixed translation in RML reports).
bzr revid: jth@openerp.com-20100907084902-0l323afsiju4y1i4
2010-09-07 10:49:02 +02:00
Julien Thewys 2adff8ecf5 [MERGE] fixes the construction of a XML search string containing single quotes
bzr revid: jth@openerp.com-20100831121710-cwk33mcvyhcgir5g
2010-08-31 14:17:10 +02:00
Julien Thewys e69414c7ec [FIX] Log level for registered exported service.
bzr revid: jth@openerp.com-20100826125224-heukli2t66xw83ju
2010-08-26 14:52:24 +02:00
Julien Thewys 6c5a917b6c [IMP] Logs registering of exported services.
bzr revid: jth@openerp.com-20100824081201-7iydeg8a91lslgxy
2010-08-24 10:12:01 +02:00
Julien Thewys 34be1742ad [FIX] Fixed translation string generation when parsing source files.
bzr revid: jth@openerp.com-20100812182412-r64bujtwge7wwz2t
2010-08-12 20:24:12 +02:00
Julien Thewys 9048db178d [IMP] Allows longer record rules (text).
bzr revid: jth@openerp.com-20100805134626-m0roia22nc6fv7f9
2010-08-05 15:46:26 +02:00
Julien Thewys 6eff548f0b [FIX] Fixed previous fix: where clause might be empty.
bzr revid: jth@openerp.com-20100804155117-gazy6gibbyk01wqz
2010-08-04 17:51:17 +02:00
Julien Thewys b6823a7378 [FIX] Where clause with one element was not properly serialized.
Guideline: please don't modify the type of a variable within its scope, create a new variable instead.

bzr revid: jth@openerp.com-20100804153707-9wolx4of6ymjl5pq
2010-08-04 17:37:07 +02:00
Julien Thewys b5312fae41 [MERGE] Added hr/i18n/fr_BE.po
bzr revid: jth@openerp.com-20100803072516-52j3ou8xdq41z3eu
2010-08-03 09:25:16 +02:00
Julien Thewys 0b66c19f61 [FIX] xml typo
bzr revid: jth@openerp.com-20100614135354-vfud6vgoru90wcaa
2010-06-14 15:53:54 +02:00
Julien Thewys 8e2f0e4e30 [FIX] csv data loading
bzr revid: jth@openerp.com-20100611152549-np935rqv1dthmph3
2010-06-11 17:25:49 +02:00
Julien Thewys f070facbd1 [MERGE] Merged data loader fixes.
bzr revid: jth@openerp.com-20100608123459-3pat73cpmyzjwu20
2010-06-08 14:34:59 +02:00
Julien Thewys 1b559b75b3 [REF] Removed unused imports.
bzr revid: jth@openerp.com-20100514154102-z1vwoyyzeaz2i5t5
2010-05-14 17:41:02 +02:00
Julien Thewys c39cf90a90 [REF] redefined a dict with a dict literal
bzr revid: jth@openerp.com-20100514152516-rd70n272tzp0ue0y
2010-05-14 17:25:16 +02:00
Julien Thewys 27409d9bc2 [REF] factored onchange_date_to
bzr revid: jth@openerp.com-20100514152219-v9nmmkt1fy734mfj
2010-05-14 17:22:19 +02:00
Julien Thewys 1cf2760087 [REF] extract difference of datetime string as a method
bzr revid: jth@openerp.com-20100514151857-pdyiq7cr9eto486b
2010-05-14 17:18:57 +02:00
Julien Thewys 5709d04ce1 [FIX] fixed variable initialization
bzr revid: jth@openerp.com-20100514144647-pal5y6ubndtz0oai
2010-05-14 16:46:47 +02:00
Julien Thewys 2cf2b09dc7 [ADD] Added elementary support for inherited fields in !record tag.
bzr revid: jth@openerp.com-20100421215505-jphmr0mxfrelzr5b
2010-04-21 23:55:05 +02:00
Julien Thewys f6c1339c77 [REF] !python block test should not impose 'self': just use 'model' to reference model.
bzr revid: jth@openerp.com-20100408201854-curxhua4ms2bgmfv
2010-04-08 22:18:54 +02:00
Julien Thewys fc9bf8716a [FIX] Ensure a failing test do not stop the server unless it has ERROR severity/level.
[FIX] Load tests only if demo data are present.

bzr revid: jth@openerp.com-20100408172333-1g3g4nfy6m81m4zw
2010-04-08 19:23:33 +02:00
Julien Thewys 64ffd5e8b7 [REF] Fixed Eval test.
bzr revid: jth@openerp.com-20100408135200-kd65p1u42ixyyn4d
2010-04-08 15:52:00 +02:00
Julien Thewys 269acb4ad6 [FIX] Fixed NameError.
bzr revid: jth@openerp.com-20100408134404-aopxy9z033d6kcrx
2010-04-08 15:44:04 +02:00
Julien Thewys b3a31c8c05 [FIX] Fixed test definition according to new convention.
bzr revid: jth@openerp.com-20100408132207-3umbxhxa1l2zho0l
2010-04-08 15:22:07 +02:00
Julien Thewys 5d6a55b289 [FIX] Test section in assert block is not needed anymore.
bzr revid: jth@openerp.com-20100407131502-09eag4fx9his454i
2010-04-07 15:15:02 +02:00
Julien Thewys 5b6490e61f [MERGE] Merged YAML branch.
bzr revid: jth@openerp.com-20100406130733-cqm8wa21vy7j4ak0
2010-04-06 15:07:33 +02:00
Julien Thewys 24d873fdbe [MERGE] Fixed previous merges.
bzr revid: jth@openerp.com-20100406123325-219p7klnjaen82h2
2010-04-06 14:33:25 +02:00
Julien Thewys 92740a41b7 [MERGE] Merged.
bzr revid: jth@openerp.com-20100406102824-0u6qjny0jnb0i68n
bzr revid: jth@openerp.com-20100406115135-3n0b4osv6m6pyses
2010-04-06 13:51:35 +02:00
Julien Thewys f29491458b [ADD] Tests declared in 'test' section of __terp__ are rolled back at the end of the module processing.
[FIX] Removed an unnecessary commit in ir_sequence.get_id (replaced by SELECT ... FOR UPDATE NOWAIT):
        commit was actually breaking the test rollback behaviour.

bzr revid: jth@openerp.com-20100406102445-le227exvrphahbx5
2010-04-06 12:24:45 +02:00
Julien Thewys 1b3c687e4b [REF] Extract some functions before adding new things.
bzr revid: jth@openerp.com-20100405211419-yokve9t42fna43n3
2010-04-05 23:14:19 +02:00
Julien Thewys 06560539e9 [IMP] Removed print.
bzr revid: jth@openerp.com-20100405081747-spggk7u9xe7t8bur
2010-04-05 10:17:47 +02:00
Julien Thewys 65e5fc06c2 [MERGE] Upstream merge.
bzr revid: jth@openerp.com-20100402143151-23zxvth1lar0l3vl
bzr revid: jth@openerp.com-20100404211011-zbb72zc1pxmrm1rs
2010-04-04 23:10:11 +02:00
Julien Thewys 790f32d9d0 [REF] function, ref, eval nodes.
[IMP] YAML multi constructor for ref tag.

bzr revid: jth@openerp.com-20100402140323-qmki5mvns0vxwmdm
2010-04-02 16:03:23 +02:00
Julien Thewys 3f8b66799f [REF] Cleanup ir_model_data._unlink
bzr revid: jth@openerp.com-20100402081546-deiqbx40q2hkucck
2010-04-02 10:15:46 +02:00
Julien Thewys 336f0e40a4 [REF] Cleanup of delete tag.
bzr revid: jth@openerp.com-20100402080855-8pvhqcspi9mhojpa
2010-04-02 10:08:55 +02:00
Julien Thewys 2f70003d7e [MERGE]
bzr revid: jth@openerp.com-20100401193319-7prhlfsmv7bc2ibv
2010-04-01 21:33:19 +02:00
Julien Thewys 60cd823fa3 [FIX] Fixed function evaluation.
bzr revid: jth@openerp.com-20100401192647-4ew1sci1l34q8ft3
2010-04-01 21:26:47 +02:00
Julien Thewys 7043023dd8 [FIX] Safer assignment to many2one.
bzr revid: jth@openerp.com-20100401192502-zojg3dxhup49oz1m
2010-04-01 21:25:02 +02:00
Julien Thewys f1b72c6743 [FIX] Fixed eval context.
bzr revid: jth@openerp.com-20100401192414-s6mfpwtkph3rxsn8
2010-04-01 21:24:14 +02:00
Julien Thewys 0eb45de95c [FIX] Removed ANSI output in logging level.
ANSI output changed the builtin log level name.  This actually broke tests as we
rely on the log level name for assertion report.  See comments for indications
to a more appropriate implementation.

bzr revid: jth@openerp.com-20100401191749-j562qu28o0a066m1
2010-04-01 21:17:49 +02:00
Julien Thewys 41fc8c369a [FIX] Added support for string and constant (int) logging level.
bzr revid: jth@openerp.com-20100401172227-q5geonsglidfsuqa
2010-04-01 19:22:27 +02:00
Julien Thewys 51f8a94d87 [FIX] Workflow transition takes the model name, not the model object.
bzr revid: jth@openerp.com-20100401132709-1tyxfoh9550za6y1
2010-04-01 15:27:09 +02:00
Julien Thewys 44f6ef941a [FIX] Logs the stack trace.
bzr revid: jth@openerp.com-20100401132651-dgcz26yhw152f4sh
2010-04-01 15:26:51 +02:00
Julien Thewys 8d62e97ff5 [FIX] Assertion expressions list is a direct child of !assert block.
bzr revid: jth@openerp.com-20100401132603-2ar1hsmi62c0vs3p
2010-04-01 15:26:03 +02:00
Julien Thewys 3ebd4313d9 [IMP] Warn if an assertion has not been evaluated.
bzr revid: jth@openerp.com-20100401101013-gi2zpo47iu7pbpn4
2010-04-01 12:10:13 +02:00
Julien Thewys f66af28b30 [IMP] Added search for record relations.
[FIX] Record creation.
[FIX] Ref constructor.
[FIX] Safer Eval expression.

bzr revid: jth@openerp.com-20100331165526-5exmbhtx3jt161pm
2010-03-31 18:55:26 +02:00
Julien Thewys 0542a969ba [REF] Splitted YAML custom tags definition in itw own file (needed by module recorder).
bzr revid: jth@openerp.com-20100330152031-147istyxmp13oqsp
2010-03-30 17:20:31 +02:00
Julien Thewys f09f4dc4ce [MERGE] upstream merge
bzr revid: jth@openerp.com-20100330153725-ncqqwhw2n8fa102g
2010-03-30 17:37:25 +02:00
Julien Thewys 425b2fef61 [REF] Splitted YAML custom tags definition in itw own file (needed by module recorder).
bzr revid: jth@openerp.com-20100330152031-xvq4ve15ju51u7cy
2010-03-30 17:20:31 +02:00
Julien Thewys 986a1dbdbf [FIX] Fixed comma and colon in workflow string generation.
bzr revid: jth@openerp.com-20100318224432-w0t81ok5hh3fdlla
2010-03-18 23:44:32 +01:00
Julien Thewys fae6f09c3c [FIX] Usability: renamed some labels.
bzr revid: jth@openerp.com-20100316090622-xr90w5pwbpmgdr0z
2010-03-16 10:06:22 +01:00
Julien Thewys be6c3b80e6 [FIX] Do not rollback failing tests for the moment:
XML and YAML files are all loaded in the same transaction.
We should add a section for tests in __terp__ and load each test file
in its own transaction so that:
- they are independent from each other,
- failing tests can safely be rolled back,
- all tests can still be run in one pass.

bzr revid: jth@openerp.com-20100309172147-m0rkmc30yjae2605
2010-03-09 18:21:47 +01:00
Julien Thewys 646b9aa0ab [IMP] Added YAML version of account structure test.
bzr revid: jth@openerp.com-20100309153526-rx4mflcmn31v6o3w
2010-03-09 16:35:26 +01:00
Julien Thewys 66c8141cc3 [REF] Cleanup and moved test to demo.
bzr revid: jth@openerp.com-20100309141305-dgtazi5rew9h9sgr
2010-03-09 15:13:05 +01:00
Julien Thewys d12f8e60e2 [IMP] Added noupdate support in global context.
bzr revid: jth@openerp.com-20100309122746-5kwdn9mqdtu2bruv
2010-03-09 13:27:46 +01:00
Julien Thewys adf77f4a01 [IMP] Added yaml dependency in setup.py build script.
bzr revid: jth@openerp.com-20100309113936-9j4uqolxk0pmewf4
2010-03-09 12:39:36 +01:00
Julien Thewys 7b37885bf9 [IMP] Added YAML for demo data.
bzr revid: jth@openerp.com-20100309113710-e2ai548j9s9jrqye
2010-03-09 12:37:10 +01:00
Julien Thewys 236aec74af [IMP] Completed tests.
bzr revid: jth@openerp.com-20100309094132-x4ycbziga4kqflyj
2010-03-09 10:41:32 +01:00
Julien Thewys f6cb964437 [IMP] Cleanup.
bzr revid: jth@openerp.com-20100309092346-ehfpe1fhe26a1u0a
2010-03-09 10:23:46 +01:00
Julien Thewys 231336c878 [FIX] Added TEST logging level to the command line options.
bzr revid: jth@openerp.com-20100308225158-wkbgit6epxt3ggga
2010-03-08 23:51:58 +01:00
Julien Thewys 6307322cdb [REF] Reorganized imports (and undo previous non-sense change).
bzr revid: jth@openerp.com-20100308112928-ewsboa2xxnuot4wi
2010-03-08 12:29:28 +01:00
Julien Thewys 546b76d5d3 [REF] Reoarganized imports, catches yaml not found.
bzr revid: jth@openerp.com-20100308085532-1yv9xv1tosz223vs
2010-03-08 09:55:32 +01:00
Julien Thewys f9e6517ee6 [REF] Uses logging.getLogger instead of the to be deprecated netsvc.Logger .
bzr revid: jth@openerp.com-20100307211833-j4b6x8pcbirs0sxk
2010-03-07 22:18:33 +01:00
Julien Thewys a17092ba94 [REF] Renamed file and moved import statement.
bzr revid: jth@openerp.com-20100307164907-t1cevokp7u1zz2tx
2010-03-07 17:49:07 +01:00
Julien Thewys 449e6681b4 [IMP] Removed non necessary string replace statement.
bzr revid: jth@openerp.com-20100305134641-w6kdzy876b4abkeh
2010-03-05 14:46:41 +01:00