Commit Graph
18390 Commits
Author SHA1 Message Date
P. Christeas 35c932d76a Document FTP: write Yaml tests, have special helper module.
bzr revid: p_christ@hol.gr-20100701224249-fmble80t8nlg2azq
2010-07-02 01:42:49 +03:00
Olivier Dony 287eb0348c [IMP] crm: some cleanup + reorganisation/deduplication of menus for leads/opportunities
bzr revid: odo@openerp.com-20100701193816-tgtugg4dfd3u740w
2010-07-01 21:38:16 +02:00
Olivier Dony 88501910d8 [IMP] crm: date filtering is now working on leads and opportunities
bzr revid: odo@openerp.com-20100701193705-6ldt2nkdv9zaeux4
2010-07-01 21:37:05 +02:00
P. Christeas fb3f520268 Document ftp: use create, coll_create, rename from node API
bzr revid: p_christ@hol.gr-20100701175134-g5wkaweznslhajgm
2010-07-01 20:51:34 +03:00
P. Christeas 49bf479c18 Document storage: implementation of simple rename
Conflicts:

	document/document_storage.py

bzr revid: p_christ@hol.gr-20100701175133-ti0itn58w9az88w6
2010-07-01 20:51:33 +03:00
P. Christeas 54b9e746ac Document API: trivial implementation of simple file rename
bzr revid: p_christ@hol.gr-20100701175133-k0gnyan62wo2gs7n
2010-07-01 20:51:33 +03:00
P. Christeas 9cdbcbfee1 Document API: fix equality operators
They must first check for the type of the 'other' side, or attribute
errors may occur.

bzr revid: p_christ@hol.gr-20100701175133-mjauo28qv6vkqfuq
2010-07-01 20:51:33 +03:00
P. Christeas 1819f137e9 Document: storage must be set before _set_data
No attempt to use a default one.

Conflicts:

	document/nodes.py

bzr revid: p_christ@hol.gr-20100701175133-783ril5hg7rls246
2010-07-01 20:51:33 +03:00
P. Christeas 575889d33e Document API: have equality operators for nodes, context
These will be used for advanced operations (eg. move) of nodes.

Conflicts:

	document/nodes.py

bzr revid: p_christ@hol.gr-20100701175133-gbsdly2fwcwtr0dy
2010-07-01 20:51:33 +03:00
P. Christeas c9f313dc21 Document: isolate the partner_id auto-detection in a fn()
When a document is created, some code tries to auto-detect the related
partner_id from res_model. This should better be put in a function, and
reused in other places.

bzr revid: p_christ@hol.gr-20100701175133-6aq2tx9lkuskvedh
2010-07-01 20:51:33 +03:00
P. Christeas 7c26eb67fb Document storage: the default db encoding is base64 in bytea
The storage class has to consider that. Also, prepare a class for raw bytea
storage.

bzr revid: p_christ@hol.gr-20100701175133-xxgu3cdlff0u7086
2010-07-01 20:51:33 +03:00
P. Christeas 2c5082001e Document: use the new move_to() api, protect setting of file_size.
bzr revid: p_christ@hol.gr-20100701175133-9prni6r0kspt27ku
2010-07-01 20:51:33 +03:00
P. Christeas 0153d03c82 Document storage: support more file open modes.
We may be called with 'w+', 'r+' modes, support them. However, we still
don't support the 'a+' mode.

bzr revid: p_christ@hol.gr-20100701175132-v21yzk2h335emum1
2010-07-01 20:51:32 +03:00
P. Christeas a286f1ae6d Document API: fns to get nodes from orm objects.
ORM objects should not directly create nodes, but instead ask the context
to provide them (because they could be cached).

bzr revid: p_christ@hol.gr-20100701175132-hfnvj5czdwuaswwg
2010-07-01 20:51:32 +03:00
P. Christeas 493fe42f13 Document: improve the API of move_to()
bzr revid: p_christ@hol.gr-20100701175132-s9y160v1etxt1ugp
2010-07-01 20:51:32 +03:00
P. Christeas d52f451bca Document: tests improvements.
bzr revid: p_christ@hol.gr-20100701175132-ojsjqidcfegz9py8
2010-07-01 20:51:32 +03:00
P. Christeas 4913a2f0db Document: fix nodefd_db.close()
Some vars were missing/inaccessible, put the queries in a try block.

bzr revid: p_christ@hol.gr-20100701175132-389l8frlqqg7hgr3
2010-07-01 20:51:32 +03:00
P. Christeas abebb5c311 Document_ftp: *only* serve databases that have the module installed.
The document_ftp is not really a database-specific server, but a
server-wide implementation. So, it could normally serve all the databases
of the server, once one of them has it installed. Limit that and instead
only serve the dbs that have the module marked as installed.

bzr revid: p_christ@hol.gr-20100701175132-dydehiw5m6nnvcwy
2010-07-01 20:51:32 +03:00
P. Christeas 4052a14c95 Document: amend the API for the move_to(), allow rename
It is better to have the same API for both move and rename.

bzr revid: p_christ@hol.gr-20100701175132-qgbf7p4izkh844vg
2010-07-01 20:51:32 +03:00
P. Christeas 530932640b Document: fix setting parent of document_file.
There is some code that calls the 'move_to()' in case the document's
parent (aka. directory) is changed. Fix notation there.

bzr revid: p_christ@hol.gr-20100701175132-8ex94b3pdwkz4lq6
2010-07-01 20:51:32 +03:00
P. Christeas 11c5171326 Draft api for document.write(parent_id: ...)
If the parent directory for some document node changes, we may
have a major change in the stored content, so an API is needed
for that.

Conflicts:

	document/nodes.py

bzr revid: p_christ@hol.gr-20100701175131-ldt3b0er5a7tja0u
2010-07-01 20:51:31 +03:00
P. Christeas 28464cb07c Document tests: need to remove each document created in tests
There is commit commands inside document, to prevent from partially
writting data (eg. filestore and the db). Thus, the atomicity of the
transaction is broken.

bzr revid: p_christ@hol.gr-20100701175131-8v8xyosvz8nly0pi
2010-07-01 20:51:31 +03:00
P. Christeas 1e99bfc52c Document: test cases
bzr revid: p_christ@hol.gr-20100701175131-jltfosk4l5uvzo5l
2010-07-01 20:51:31 +03:00
P. Christeas 8307ff0139 Document: workaround case when text file consists of non-unicode.
The content indexer would be trying to process the garbage of the
file and fail.

bzr revid: p_christ@hol.gr-20100701175131-b83jg498xjuosmd9
2010-07-01 20:51:31 +03:00
P. Christeas 6aef03991d Document: tests
bzr revid: p_christ@hol.gr-20100701175131-5acgsuetw1qx0juu
2010-07-01 20:51:31 +03:00
P. Christeas 6d64f88d55 Document: fix content indexer, where no filename is supplied
bzr revid: p_christ@hol.gr-20100701175131-pbp7lsswuh8muyou
2010-07-01 20:51:31 +03:00
P. Christeas ad1253c96b Document: start some trivial tests.
bzr revid: p_christ@hol.gr-20100701175130-bs2rx4w81ck6gh9l
2010-07-01 20:51:30 +03:00
P. Christeas 3f4d6dd95d Document: fix menu parents (after root moved to knowledge)
bzr revid: p_christ@hol.gr-20100701175130-5ya6cxp5s4xb3gyi
2010-07-01 20:51:30 +03:00
P. Christeas ab4ef97a7d Merge commit 'bd063948343552f' into trunk-doc2-api2
bzr revid: p_christ@hol.gr-20100701175018-l2qerpd8mzan894i
2010-07-01 20:50:18 +03:00
Christophe Simonis d675dc9bd8 [FIX] marketing_campaign: correct the search of the campaign by model in signal handler
[FIX] marketing_campaign: methods musn't return None
[FIX] marketing_campaign: pass the rights arguments when processing the activities
[FIX] marketing_campaign: record the full traceback for the workitems in exception

bzr revid: chs@openerp.com-20100701163549-jy03byzl2faucxrp
2010-07-01 18:35:49 +02:00
Mustufa Rangwala 5050630130 [MERGE] merge pap branch hr changes
bzr revid: mra@mra-laptop-20100701134356-zto94bffsclikaoo
2010-07-01 19:13:56 +05:30
Christophe Simonis e452f14dac [FIX] marketing_campaign_mailchimp: correct view
bzr revid: chs@openerp.com-20100701133838-kz0e0n3sjka8697q
2010-07-01 15:38:38 +02:00
pap (openerp) e32a158b18 [FIX]:fixed the hr_evaluation bugs listed on piratepad
bzr revid: pap@tinyerp.co.in-20100701133302-jispx2m532d29dee
2010-07-01 19:03:02 +05:30
Mustufa Rangwala a54e5431f8 [MERGE] merge with trunk addons
bzr revid: mra@mra-laptop-20100701104635-w5v2kdy6wogi8izi
bzr revid: mra@mra-laptop-20100701132651-idv2cqfyh88fv1dy
2010-07-01 18:56:51 +05:30
apa 3bc5b6d6a1 [IMP]:changed dashboard menus.
bzr revid: apa@apa-20100701132221-m0gj0w0m8x1xlwdd
2010-07-01 18:52:21 +05:30
Christophe Simonis 1f90109061 [IMP] marketing_campaign: better use of default_get + rewrite some functions
bzr revid: chs@openerp.com-20100701131950-bofqs28jww2sk1e8
2010-07-01 15:19:50 +02:00
Mantavya Gajjar 36c1ba5327 [FIX]: add author and License in all files
bzr revid: mga@tinyerp.com-20100701131622-z225ov1t59c199s3
2010-07-01 18:46:22 +05:30
rpa (Open ERP) adf548ad9c [IMP]: base_calendar: * Simplified unlink and fix problem of removing recurrent events
* Improvement for rrule and alarm

bzr revid: rpa@tinyerp.com-20100701130819-1boyfzfx8hqxbcwk
2010-07-01 18:38:19 +05:30
Christophe Simonis f2bcf8d808 [ADD] marketing_campaign: 2 new transition triggers: auto and signal. auto transition mean the destination activity is immediatly executed. signal transition mean the destination activity is executed only when it receive the signal.
[IMP] marketing_campaign: better activity view

bzr revid: chs@openerp.com-20100701115355-nx7of0ju225idwej
2010-07-01 13:53:55 +02:00
rpa (Open ERP) f2132a56e9 [REF]: mail_gateway, crm: Refactoring of _history for detailed history maintenance
bzr revid: rpa@tinyerp.com-20100701104631-12v4ii33woqj50bq
2010-07-01 16:16:31 +05:30
Mustufa Rangwala da057c8c30 [MERGE] Merge Team3 work from Dev3 branch
hr_payroll: conversion wizard to osv memory, added demo data
project: project and its related modules improements
purchase: improvements
stock_planning: bug fixed for onchange of forecasting

bzr revid: mra@mra-laptop-20100701104349-s915vofq1z9s4h7n
2010-07-01 16:13:49 +05:30
Mustufa Rangwala 595e632881 [MERGE] merge with trunk addons
bzr revid: mra@mra-laptop-20100701102952-qkj555qwqs3601ot
2010-07-01 15:59:52 +05:30
Mustufa Rangwala 6a21b5d661 [FIX] stock_planning: Fix for onchange of unsaved records and misc improvements (ref: MTR)
bzr revid: mra@mra-laptop-20100701102821-no3ex2y7h9ka657w
2010-07-01 15:58:21 +05:30
Olivier Dony 5beb8b30c9 [IMP] crm: added email filter on opportunity search view
bzr revid: odo@openerp.com-20100701100424-pu1s3o1lc6gq5bo5
2010-07-01 12:04:24 +02:00
Olivier Dony ba0314e2f0 [IMP] project_issue: reporting menu name made consistent with others
bzr revid: odo@openerp.com-20100701100353-tic1ahxbrfkkj03o
2010-07-01 12:03:53 +02:00
Olivier Dony d178eb9a00 [FIX] wiki: remove create_uid, write_uid until the orm supports this case
bzr revid: odo@openerp.com-20100701092330-jhnr2kytyz3tlc2b
2010-07-01 11:23:30 +02:00
Mustufa Rangwala fc502ff3c4 [MERGE] merge pap branch for the project related changes
bzr revid: mra@mra-laptop-20100701090844-6x9lqvultagarq2l
2010-07-01 14:38:44 +05:30
Mustufa Rangwala dae6b36424 [MERGE] merge with trunk addons
bzr revid: mra@mra-laptop-20100701073519-079wg7n3j6ywcfx1
2010-07-01 13:05:19 +05:30
Mustufa Rangwala fc210d0b95 [MERGE] hr_payroll: branch merge for sbh => osv memory conversion and search view
bzr revid: mra@mra-laptop-20100701073146-ms0xdv7pvx7fsbzt
2010-07-01 13:01:46 +05:30
rpa (Open ERP) 0552f2c10b [FIX]: mail_gateway: Wrong reference for view in mailgate message action
bzr revid: rpa@tinyerp.com-20100701072504-7b13srr02kshpgfw
2010-07-01 12:55:04 +05:30