Commit Graph

41 Commits

Author SHA1 Message Date
P. Christeas, O. Dony c14af86177 [MERGE] many improvements regarding translations, logging, reports, http, speed, ...
bzr revid: odo@openerp.com-20101125175328-pmu07gj694r5n2es
2010-11-25 18:53:28 +01:00
Xavier Morel 8e06458e9d [ADD] base: method to fetch an act_window from its xml_id on ir.actions.act_window
Also used it to replace the corresponding code in ir.attachment and res.widget.wizard

bzr revid: xmo@openerp.com-20101125165720-62qphqpmt4fl2xcl
2010-11-25 17:57:20 +01:00
P. Christeas 7165010fd6 ir.translate: revert some pg84 argument from the cherry-picks
bzr revid: p_christ@hol.gr-20101123155820-ltqymky8482k8l9l
2010-11-23 17:58:20 +02:00
P. Christeas c5b99753ea ir.attachment: revise the access control code, let it be overriden
There was a fundamental problem when a user, through the 'document' module
would try to write into his personal folder; the res.users model won't be
writable by normal users. So, have all this code in a _single_ function,
which will be redefined by document.

Also follow the v6 API for access control, don't just lookup at ir.model.access.

Conflicts:

	bin/addons/base/ir/ir_attachment.py

bzr revid: p_christ@hol.gr-20101123154212-pphsnyp2rsmbjf72
2010-11-23 17:42:12 +02:00
P. Christeas f9f0d929e7 ir.attachment: mark 'type' and 'company_id' with change_defaults
Other fields of attachments (like the directories, in document) should
have their default properties depending on these.

bzr revid: p_christ@hol.gr-20101123153159-wpus8bxls1q03ks9
2010-11-23 17:31:59 +02:00
Harry (OpenERP) 4a72d3a745 [IMP] base: add company_id in ir.attachment and improve search view
bzr revid: hmo@tinyerp.com-20101014103707-rz7114umi29g4w9s
2010-10-14 16:07:07 +05:30
olt@tinyerp.com 14e03b34b7 [IMP] ir.attachment: performance improvement: 'res_name' -> 'store=True' to avoid unecessary db lookup
bzr revid: olt@tinyerp.com-20100922125403-sw7yfp9rsr7i2g93
2010-09-22 14:54:03 +02:00
P. Christeas 3d3bc04771 ir.attachment: Index on res_model,res_id
_All_ client forms are trying to locate attachments of records, so they
are querying ir.attachment for their (res_model, res_id). Speed that up!

bzr revid: p_christ@hol.gr-20100627200016-gt9cyafm97if51e5
2010-06-27 23:00:16 +03:00
P. Christeas a2fbbc7c7c ir.attachment: handle missing name from res_model
If, for any reason, the related model cannot return sth through its
name_get, don't bork.

bzr revid: p_christ@hol.gr-20100627200007-1aevqw6n4dg2e1pb
2010-06-27 23:00:07 +03:00
P. Christeas cb97a6dbdf ir.attachment: refactor columns, UI view.
This also brings in the necessary fields for url mode, which must
work without the document module.

bzr revid: p_christ@hol.gr-20100627195948-f8yc07bhux50x9jl
2010-06-27 22:59:48 +03:00
Anup (OpenERP) e0d94956c1 [IMP] SQL injection Refactored
bzr revid: ach@tinyerp.com-20100618101641-84cdea9n1pzx36v2
2010-06-18 15:46:41 +05:30
Anup (OpenERP) 6b90ca82c5 [IMP] removed the possible SQL injection server.
bzr revid: ach@tinyerp.com-20100615132722-zbua6ciz3dz43qd8
2010-06-15 18:57:22 +05:30
KSA (OpenERP) 8eb28e74b9 [attachment]
- implement a field function res_name that call the name_get for res_model, res_id
- remove preview field

bzr revid: hmo@tinyerp.com-20100527124311-snyrw2ja53xa8o5u
2010-05-27 18:13:11 +05:30
xrg dad1ff955b [merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
Harry (Open ERP) c436917517 [Merge] merge stable/5.0 branch
bzr revid: hmo@tinyerp.com-20091104064434-fijc4n2motwgsu13
2009-11-04 12:14:34 +05:30
P. Christeas c411d2cfe6 Merge remote branch 'origin/master' into optimize
bzr revid: p_christ@hol.gr-20091102182257-7vwfz9okfz815pes
2009-11-02 20:22:57 +02:00
Jay (Open ERP) ab09c43edd [FIX] Ir_attachment : Context updation corrected on preview
lp bug: https://launchpad.net/bugs/460560 fixed

bzr revid: jvo@tinyerp.com-20091027055419-du965jjvgup05amh
2009-10-27 11:24:19 +05:30
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
P. Christeas 6021b6dff3 Ir.attachment: improve SQL for access checks.
bzr revid: p_christ@hol.gr-20090922093255-f3iljq721pwbn9e0
2009-09-22 12:32:55 +03:00
Christophe Simonis 088410f069 [FIX] pass the context to check method of 'ir.model.access'
bzr revid: christophe@tinyerp.com-20090810162409-jhl8imt25vw92mmy
2009-08-10 18:24:09 +02:00
Jay (Open ERP) 25820318cb [FIX] ir_attachment preview method corrected
bzr revid: jvo@tinyerp.com-20090617085552-fvr110ncmhey174k
2009-06-17 14:25:52 +05:30
Jay (Open ERP) aed02eac4d [FIX] GIF image is previewed
lp bug: https://launchpad.net/bugs/382352 fixed

bzr revid: jvo@tinyerp.com-20090612114119-dh07bcgk8t46tc2s
2009-06-12 17:11:19 +05:30
Christophe Simonis 148e3979fc [FIX] fix attachment right access (full access when not linked to an object)
lp bug: https://launchpad.net/bugs/347192 fixed

bzr revid: christophe@tinyerp.com-20090323135057-h4w3k6hnbzq88abz
2009-03-23 14:50:57 +01:00
Fabien Pinckaers 8bfb8acf3b bugfix_attachments
bzr revid: fp@tinyerp.com-20090315181301-u8540hacsu69dy8j
2009-03-15 19:13:01 +01:00
Stephane Wirtel 9d293d1f00 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
Fabien Pinckaers 8cb88b6054 improvements_bugfixes
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Fabien Pinckaers 940294901d bugfix
bzr revid: fp@tinyerp.com-20081213061748-y446px7er56rcnif
2008-12-13 07:17:48 +01:00
Fabien Pinckaers cb59d883b8 bugfix_cache_speed_improvement_store
bzr revid: fp@tinyerp.com-20081213060118-icn54am74m6ntyqw
2008-12-13 07:01:18 +01:00
Christophe Simonis 3332f26cc2 [FIX] fix the access rights verification in attachments
bzr revid: christophe@tinyerp.com-20081205115409-rlk3mq4fw89f1hue
2008-12-05 12:54:09 +01:00
Christophe Simonis 46f5e3af12 improve attachments
bzr revid: christophe@tinyerp.com-20081112142225-1zbaq1qmno8dq30p
2008-11-12 15:22:25 +01:00
Fabien Pinckaers b4ae45eb70 bugfix
bzr revid: fp@tinyerp.com-20081110175828-fjcxla4ygbwgru2v
2008-11-10 18:58:28 +01:00
Christophe Simonis e404e54e38 passing in GPL-3
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Christophe Simonis b689e52976 bugfix with ir.attachment
bzr revid: christophe@tinyerp.com-20081020120008-2k10eqzxcoschiey
2008-10-20 14:00:08 +02:00
Christophe Simonis f538cefe02 * improve security on attachment: use the access right of the linked model
* improve cache managment

bzr revid: christophe@tinyerp.com-20081016182816-o2h4swwye1urt3kw
2008-10-16 20:28:16 +02:00
Fabien Pinckaers 4e4e10b4c9 Renamed Model to Object
bzr revid: fp@tinyerp.com-20080821134955-iuoq8kwn17i6u4gn
2008-08-21 15:49:55 +02:00
Christophe Simonis 2eb6b8265b add encoding comment and vim comment
bzr revid: christophe@tinyerp.com-20080723150127-fmitw7zgeokcualh
2008-07-23 17:01:27 +02:00
Christophe Simonis 2dd9723b8b convert tabs to 4 spaces
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
2008-07-22 16:24:36 +02:00
stw 7134784787 add Copyright and GPL license into the Header of Python files
bzr revid: stw-eb6ee9b006e577bda6338caa450ec9795b12f9bc
2008-06-16 11:00:21 +00:00
Fabien Pinckaers 2fd9d8a0a5 Attachment: improvement for document managemtn system
Invoice: Create -> Validate

bzr revid: fp@tinyerp.com-f5606860123d7310c00d677abbbd4c1c2ab2eb5d
2007-08-20 03:50:43 +00:00
pinky 004a0b996f New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
2006-12-07 13:41:40 +00:00