Commit Graph

131 Commits

Author SHA1 Message Date
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
uco (OpenERP) 12fcd1be2f [IMP] : Added context=None on methods used for _constraints and replaced context={} with context=None.
bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2
2010-11-19 19:18:01 +05:30
Harry (OpenERP) ca33cf5313 [MERGE]
bzr revid: hmo@tinyerp.com-20101112094836-qy4536d3tjvw04xc
2010-11-12 15:18:36 +05:30
Harry (OpenERP) 27364966c9 [MERGE]
bzr revid: hmo@tinyerp.com-20101111133006-qzqtz3grocgewap4
2010-11-11 19:00:06 +05:30
P. Christeas 0f5a276365 document: use 'change_default' on key fields, cleanup defaults
As from a later commit, we will need to adjust default values to different
directories (such as permissions etc.).

bzr revid: p_christ@hol.gr-20101027102324-duffxdogcczqo67r
2010-10-27 13:23:24 +03:00
Harry (OpenERP) 824042bb1c [MERGE]
bzr revid: hmo@tinyerp.com-20101015131459-k969h71ybafv5kib
2010-10-15 18:44:59 +05:30
Harry (OpenERP) 10ecb719bd [IMP] project_long_term: improve gantt view
bzr revid: hmo@tinyerp.com-20101014102654-e3wkawf339sc9ido
2010-10-14 15:56:54 +05:30
Harry (OpenERP) 896ebda0ae [MERGE]
bzr revid: hmo@tinyerp.com-20101013104406-byc7tlrbqrna2h7c
2010-10-13 16:14:06 +05:30
P. Christeas 55d06c6ea1 Document: cleanup, remove restriction on ressource dirs
The same code is also called when parent_type_id exists, so the assertion
would fire.

bzr revid: p_christ@hol.gr-20101012104015-gnwvni1bx35ntyl5
2010-10-12 13:40:15 +03:00
ron@tinyerp.com e848ed0cf4 [IMP] ::Documents->Shared Repository:enlarge the FTP server field,Documents-> descending by date and tooltip change and fix bug on my document filter button::Reporting->Document Dashboard->group by year/Month and default user_id context remove
bzr revid: ron@tinyerp.com-20101012062608-nvlyu9qag6zeyh5h
2010-10-12 11:56:08 +05:30
Harry (OpenERP) b9a4366e1c [MERGE] merged knowlegde improvement work
bzr revid: hmo@tinyerp.com-20101005102518-nh0vy7d6mz0dmoc1
2010-10-05 15:55:18 +05:30
Jay (OpenERP) 1e32fa1bb9 [REF] Document
bzr revid: jvo@tinyerp.com-20100906104054-cucn9vpywxyum3oo
2010-09-06 16:10:54 +05:30
Stephane Wirtel f85a63e1ba [FIX] document: Assign False to the local variable 'result'
bzr revid: stephane@openerp.com-20100906100550-e5twhz3ffwm9e49a
2010-09-06 12:05:50 +02:00
P. Christeas 8a107a7e52 Document: fix unlink, where storage_id is not at first parent.
The convention is that storage_id may exist at any level up the
parent folders, so we have to recursively search for it.

bzr revid: p_christ@hol.gr-20100827073955-eyja6mhhy7rt5peh
2010-08-27 10:39:55 +03:00
P. Christeas f2f6ec0423 Document: cleanup code for lint checking
After pyflakes output, cleanup some unused imports, old code, fix
names for undefined vars.

bzr revid: p_christ@hol.gr-20100810122957-v01nqfq9omzdcs6e
2010-08-10 15:29:57 +03:00
P. Christeas 22257372f0 Document: Fix typo for creating attachments on dirs with res_model
bzr revid: p_christ@hol.gr-20100716221834-gn1l8tztmx18jyw9
2010-07-17 01:18:34 +03:00
P. Christeas 766fd336d4 Document: fix realstore with open/close, rename.
Put the path computation of realstore in a helper function, and use that
in all places where a file is opened/created/moved.

bzr revid: p_christ@hol.gr-20100713205359-jn0bo6fcw9lwdyge
2010-07-13 23:53:59 +03:00
P. Christeas d9553df1a2 Document: node context shall not be the context of orm methods.
The orm methods are called with some rich context, which need not be used
as the context of node structure. In the future, we might want to selectively
pass context values from orm to node.

bzr revid: p_christ@hol.gr-20100713103005-p0y6ptjoshomu0tv
2010-07-13 13:30:05 +03:00
P. Christeas 0d6e0a9a02 Document: support Moving of files.
bzr revid: p_christ@hol.gr-20100709082316-d8qedrjabckypt88
2010-07-09 11:23:16 +03:00
P. Christeas e8bf4a4f18 Document: fix the get_partner_id functionality
Was blocking document.create()

bzr revid: p_christ@hol.gr-20100706121045-mblekyw8nlkiy1r0
2010-07-06 15:10:45 +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 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 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 514f433c59 Document: ir.attachment.res_model and res_id should be readonly for UI
Changing them would require a wizard or something.

bzr revid: p_christ@hol.gr-20100629140040-am61qng5pxfz2dxs
2010-06-29 17:00:40 +03:00
P. Christeas 85dc0b2fc6 Document: remove the ir.attachment.group_ids column
At the review, it was decided that per document permissions is too much.

bzr revid: p_christ@hol.gr-20100627201857-e0sw2sun1ttvnj32
2010-06-27 23:18:57 +03:00
P. Christeas c11ad0047d Document: files are required to have a parent directory
Or else, there is no storage for them.

bzr revid: p_christ@hol.gr-20100627201813-y5gatb8w39jnxeux
2010-06-27 23:18:13 +03:00
P. Christeas 6eef5d7e36 Document: rearrange columns definition of document.file
Note: *must* use the server as patched, for the 'url' and 'type' columns.

bzr revid: p_christ@hol.gr-20100627201809-p5wy2w368gqoyy3h
2010-06-27 23:18:09 +03:00
Harry (OpenERP) d2cb812814 [IMP] document: add new field company_id in document and directory model
bzr revid: hmo@tinyerp.com-20100623115349-ik8webt0myj6l43l
2010-06-23 17:23:49 +05:30
Harry (Open ERP) a855625916 [MERGE] work of document module
bzr revid: hmo@tinyerp.com-20100527124458-02xxdfbi8kp0x94k
2010-05-27 18:14:58 +05:30
ksa (Open ERP) 51770be47b [IMP]: document: [task-786] Review ir_attachment object,apply changes in base/ir and document module
bzr revid: ksa@tinyerp.co.in-20100527111423-m2b3wrx02jcuxvy9
2010-05-27 16:44:23 +05:30
ksa (Open ERP) b3c7cc9035 [IMP]: document: Improvement for view and add group by ,filter
bzr revid: ksa@tinyerp.co.in-20100526133720-bito6krfl60a6zud
2010-05-26 19:07:20 +05:30
rpa (Open ERP) 62115d03dc [FIX]: document: Corrected relation table with group
bzr revid: rpa@tinyerp.com-20100407131854-wa3avfr60zxh52te
2010-04-07 18:48:54 +05:30
Harry (Open ERP) f03a4fe933 [MERGE] merge with trunk-addons
bzr revid: hmo@tinyerp.com-20100329080947-lojccpq7zwynyg6v
2010-03-29 13:39:47 +05:30
kum (Open ERP) d91fa1c56e [FIX] document: changes made in create method
bzr revid: kum@tinyerp.co.in-20100323140106-z2qld0a827n2olqr
2010-03-23 19:31:06 +05:30
Ysa (Open ERP) 0067a88c5c [IMP] document :- support indexation of docx to TXT and PPTX to TXT.
bzr revid: ysa@tinyerp.co.in-20100319084130-uoh0twqfq12230ff
2010-03-19 14:11:30 +05:30
Harry (Open ERP) a87d74b385 [FIX] dms: if file does not has any direcotry on creation, take root directory
bzr revid: hmo@tinyerp.com-20100318153043-32ict1bcx08pe704
2010-03-18 21:00:43 +05:30
Jay (Open ERP) 43f356ec67 [IMP] Document : size for file_type column correceted
lp bug: https://launchpad.net/bugs/538224 fixed

bzr revid: jvo@tinyerp.com-20100315072707-1ajhzihk5u5z7wf0
2010-03-15 12:57:07 +05:30
Xavier Morel 3458b06eba [merge] ftp deactivation branch, thanks greg-apieum
bzr revid: xmo@tinyerp.com-20100224105529-4fs9rhk6x2mm28c4
2010-02-24 11:55:29 +01:00
greg-apieum 0adc588146 ADD to config 'document_path' to set ftp root path
bzr revid: greg-apieum-20100224093210-mpitlp5ckckxjvm5
2010-02-24 10:32:10 +01:00
greg-apieum f15d0a6895 [CLEAN] Set Withespaces to PEP8 format
bzr revid: greg-apieum-20100224085404-j1onx0jxchv3m51a
2010-02-24 09:54:04 +01:00
HDA (OpenERP) 93bd614c8e merged to remove sql injection
bzr revid: hda@tinyerp.com-20100201082939-fj0u5f0pvlgq7j3k
2010-02-01 13:59:39 +05:30
Fabien Pinckaers 7cda3b45ae [IMP] improvement document change
bzr revid: fp@tinyerp.com-20100127065708-kshxwqe92hjfok70
2010-01-27 07:57:08 +01:00
Harry (Open ERP) c48ac85f23 [MERGE]
bzr revid: hmo@tinyerp.com-20100125091319-dtmhovlxkahploqz
2010-01-25 14:43:19 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
p_christeas d5a68a7b69 [IMP]document : get improvement of document from xrg-addons branch who made nice improvement in document
bzr revid: hmo@tinyerp.com-20091202053657-4oflezyhbolu3xvo
2009-12-02 11:06:57 +05:30
nch@tinyerp.com 59ea96657a [MERGE]
bzr revid: nch@tinyerp.com-20091130103346-3dytu4ds9gzta53c
2009-11-30 16:03:46 +05:30
Fabien Pinckaers 7ea99724a7 [imp] multi-company + merge
bzr revid: fp@tinyerp.com-20091128092522-g7fumj3p55kv6ygr
2009-11-28 10:25:22 +01:00
nch@tinyerp.com 7d1b6aadb5 [MERGE]
bzr revid: nch@tinyerp.com-20091127084026-qmju10co18vkywrd
2009-11-27 14:10:26 +05:30
nch@tinyerp.com 5d8cedeb35 [IMP]:document sql queries to parameterized query
bzr revid: nch@tinyerp.com-20091126123916-0xu24h028ctr9vqz
2009-11-26 18:09:16 +05:30