summaryrefslogtreecommitdiff
path: root/addons/document/document.py
AgeCommit message (Collapse)Author
2011-12-11[IMP] dashboard simplificationFabien Pinckaers
bzr revid: fp@tinyerp.com-20111211113918-84z2iyhkmh818ivp
2011-11-30[FIX] document: removed dangerous and useless commitsOlivier Dony
These commits were introduce mostly at revision 1849.1.1 revid:hmo@tinyerp.com-20081111052750-zqzvr6oaihvt103t in an attempt to fix an issue with transactions originating from FTP connections. This was wrong: the virtual FTP filesystem should perform its own transaction management for each operation, just like the RPC layer does it for each request. Forcing a commit in the business code during the course of a normal transaction is totally *forbidden*! In addition, the FTP layer now properly manages its transactions, so the commit calls were useless anyway. bzr revid: odo@openerp.com-20111130120239-5fcavvpd14w056zb
2011-11-22[IMP] Added missing vim mode linesNumerigraphe - Lionel Sausin
lp bug: https://launchpad.net/bugs/524279 fixed bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-09-17mergeFabien Pinckaers
bzr revid: fp@tinyerp.com-20110917142602-vo8pl5dpqp82e4z0
2011-09-12[IMP] improve the opportunity merging and its attachmentsAmit Parmar (OpenERP)
bzr revid: aar@tinyerp.com-20110912125106-xmh53poxaytd4frt
2011-08-09[FIX] document : Migration of url attachmentsGuewen Baconnier
lp bug: https://launchpad.net/bugs/809745 fixed bzr revid: dbr@tinyerp.com-20110809121553-sow9vfchkuc7du1u
2011-07-02[IMP] removed method=True params from all fields.functionOlivier Dony
Server revision 3495 odo@openerp.com-20110701232328-flgxulxva70vnyxr removed the need for passing method=True to function fields, so this is the equivalent addons fix, removing it everywhere. Please be careful from now on, and do not pass it anymore! bzr revid: odo@openerp.com-20110701234124-a61zl0idvdfz3hyb
2011-05-02[MERGE] merged latest fixes from 6.0 up to r.4556Olivier Dony
Rev 4556 = revision-id: jvo@tinyerp.com-20110502133745-s1zyed65h6ojwkvk. bzr revid: odo@openerp.com-20110502184643-d3qzosqdurscd51i
2011-04-07[MERGE] improvement project-issueThibault Francois
bzr revid: tfr@openerp.com-20110407114145-xvr27pjquxwk9ff0
2011-04-01[MERGE] Merged Anup's branch for the fix of documents' file_size.Jay Vora (OpenERP)
bzr revid: jvo@tinyerp.com-20110401091721-bs0167iw9p7ykx8s
2011-03-30[FIX] document : File Content remained empty for old attachments ↵Anup (OpenERP)
fixed.(Support Case 4586) bzr revid: ach@tinyerp.com-20110330070053-p63h44msfy9rpaca
2011-02-18[FIX] document: search() must filter out documents in disallowed directoriesOlivier Dony
Permissions on ir.attachments must not only respect the access rights of the object they are attached to, but must also be careful about directory permissions as introduced by the document module. Minor fix in copy() method to avoid reading all fields of the attachment including the binary data itself, when only the name is needed. Also made the "(copy)" suffix translatable. bzr revid: odo@openerp.com-20110218141012-a7wjqn2f48iioca9
2010-12-23Merge branch11 into patch18P. Christeas
Branch patch11 had somewhere been lost in bzr hell. Conflicts: account/account_move_line.py document_webdav/nodes.py document_webdav/webdav_server.py event_project/__init__.py users_ldap/users_ldap.py bzr revid: p_christ@hol.gr-20101223155444-ym8r0g4208gm88j9
2010-12-23document: improve the attach_parent_id() function.P. Christeas
No need to call an SQL command in iteration! No need to transfer the db_datas back and forth from Postgres! Also, prepended an underscore, so that the function is never exported through RPC. bzr revid: p_christ@hol.gr-20101223142529-hgudbfj54p4d2e34
2010-12-23document, caldav: revert changes that are not needed and spacingP. Christeas
Let's keep the diff against trunk-dev-addons1 only to things that make sense. bzr revid: p_christ@hol.gr-20101223141639-o13v6llljplpgl7s
2010-12-23[IMP]atp (Open ERP)
bzr revid: atp@tinyerp.co.in-20101223101118-el1zl830r8yj36h2
2010-12-23[Fix]: Fixed documents lost problem which are added before installed ↵atp (Open ERP)
document module. bzr revid: atp@tinyerp.co.in-20101223095109-ntp3hrl30xb82pya
2010-12-20[FIX]: solved Problem of after install document module, documents are lost ↵atp (Open ERP)
which are added before installed document module bzr revid: atp@tinyerp.co.in-20101220125419-y99i8aqw3y1s00by
2010-11-23document: fix access of res.users foldersP. Christeas
We need to relax the rule of ir.attachment. Needs server patch, see commit message there. bzr revid: p_christ@hol.gr-20101123184938-jklijdqt0xx5u6cs
2010-11-23[REF]: Replace the condition 'if not context' with 'if context is None'.uco (OpenERP)
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-19[IMP] : Added context=None on methods used for _constraints and replaced ↵uco (OpenERP)
context={} with context=None. bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2
2010-11-12[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20101112094836-qy4536d3tjvw04xc
2010-11-11[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20101111133006-qzqtz3grocgewap4
2010-10-27document: use 'change_default' on key fields, cleanup defaultsP. Christeas
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-15[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20101015131459-k969h71ybafv5kib
2010-10-14[IMP] project_long_term: improve gantt viewHarry (OpenERP)
bzr revid: hmo@tinyerp.com-20101014102654-e3wkawf339sc9ido
2010-10-13[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20101013104406-byc7tlrbqrna2h7c
2010-10-12Document: cleanup, remove restriction on ressource dirsP. Christeas
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[IMP] ::Documents->Shared Repository:enlarge the FTP server ↵ron@tinyerp.com
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-05[MERGE] merged knowlegde improvement workHarry (OpenERP)
bzr revid: hmo@tinyerp.com-20101005102518-nh0vy7d6mz0dmoc1
2010-09-06[REF] DocumentJay (OpenERP)
bzr revid: jvo@tinyerp.com-20100906104054-cucn9vpywxyum3oo
2010-09-06[FIX] document: Assign False to the local variable 'result'Stephane Wirtel
bzr revid: stephane@openerp.com-20100906100550-e5twhz3ffwm9e49a
2010-08-27Document: fix unlink, where storage_id is not at first parent.P. Christeas
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-10Document: cleanup code for lint checkingP. Christeas
After pyflakes output, cleanup some unused imports, old code, fix names for undefined vars. bzr revid: p_christ@hol.gr-20100810122957-v01nqfq9omzdcs6e
2010-07-17Document: Fix typo for creating attachments on dirs with res_modelP. Christeas
bzr revid: p_christ@hol.gr-20100716221834-gn1l8tztmx18jyw9
2010-07-13Document: fix realstore with open/close, rename.P. Christeas
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-13Document: node context shall not be the context of orm methods.P. Christeas
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-09Document: support Moving of files.P. Christeas
bzr revid: p_christ@hol.gr-20100709082316-d8qedrjabckypt88
2010-07-06Document: fix the get_partner_id functionalityP. Christeas
Was blocking document.create() bzr revid: p_christ@hol.gr-20100706121045-mblekyw8nlkiy1r0
2010-07-01Document: isolate the partner_id auto-detection in a fn()P. Christeas
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-01Document: use the new move_to() api, protect setting of file_size.P. Christeas
bzr revid: p_christ@hol.gr-20100701175133-9prni6r0kspt27ku
2010-07-01Document: fix setting parent of document_file.P. Christeas
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-01Draft api for document.write(parent_id: ...)P. Christeas
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-06-29Document: ir.attachment.res_model and res_id should be readonly for UIP. Christeas
Changing them would require a wizard or something. bzr revid: p_christ@hol.gr-20100629140040-am61qng5pxfz2dxs
2010-06-27Document: remove the ir.attachment.group_ids columnP. Christeas
At the review, it was decided that per document permissions is too much. bzr revid: p_christ@hol.gr-20100627201857-e0sw2sun1ttvnj32
2010-06-27Document: files are required to have a parent directoryP. Christeas
Or else, there is no storage for them. bzr revid: p_christ@hol.gr-20100627201813-y5gatb8w39jnxeux
2010-06-27Document: rearrange columns definition of document.fileP. Christeas
Note: *must* use the server as patched, for the 'url' and 'type' columns. bzr revid: p_christ@hol.gr-20100627201809-p5wy2w368gqoyy3h
2010-06-23[IMP] document: add new field company_id in document and directory modelHarry (OpenERP)
bzr revid: hmo@tinyerp.com-20100623115349-ik8webt0myj6l43l
2010-05-27[MERGE] work of document moduleHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100527124458-02xxdfbi8kp0x94k
2010-05-27[IMP]: document: [task-786] Review ir_attachment object,apply changes in ↵ksa (Open ERP)
base/ir and document module bzr revid: ksa@tinyerp.co.in-20100527111423-m2b3wrx02jcuxvy9