Commit Graph

450 Commits

Author SHA1 Message Date
P. Christeas 71d5ee956a Merge remote branch 'origin/master', v5.0.6 into optimize
Conflicts:
	bin/addons/base/ir/ir_cron.py
	bin/netsvc.py
	bin/osv/orm.py

bzr revid: p_christ@hol.gr-20090925204745-352t3ngsltr4cj8a
2009-09-25 23:47:45 +03:00
Jay (Open ERP) 282cab24a0 [FIX] Fields.function : Store value computation corrected
[openobject-server @ jvo@tinyerp.com-20090922053703-14vmsvuxccsy0ntb]

bzr revid: p_christ@hol.gr-20090925203907-93qtmx98khzb8oxo
2009-09-25 23:39:07 +03:00
P. Christeas 8afaffc811 [Fix] Tolerate ids that came as strings.
If the list of IDs contains strings with numeric values (like '123'),
allow them to be used. If the strings cannot be parsed, the int() will
raise an Exception itself.

bzr revid: p_christ@hol.gr-20090925203427-3ckavo3w34dokwij
2009-09-25 23:34:27 +03:00
uco(OpenERP) 244de09ee5 [FIX] Update Module : Float8 to float and numeric to float casting made possible
lp bug: https://launchpad.net/bugs/433886 fixed

bzr revid: jvo@tinyerp.com-20090924142227-qbx2y0a56r6d263n
2009-09-24 19:52:27 +05:30
Jay (Open ERP) 48a8d1f0a1 [FIX] Fields.function : Store value computation corrected
lp bug: https://launchpad.net/bugs/421904 fixed

bzr revid: jvo@tinyerp.com-20090922053703-14vmsvuxccsy0ntb
2009-09-22 11:07:03 +05:30
Jay (Open ERP) 20bc712f9c [FIX] Price Accuracy : rounding made to be based on --price_accuracy option
lp bug: https://launchpad.net/bugs/407332 fixed

bzr revid: jvo@tinyerp.com-20090918135556-lmun5j8d27437xkc
2009-09-18 19:25:56 +05:30
Fabien Pinckaers dbc2adadf2 [FIX] regression in fields.function computation
bzr revid: fp@tinyerp.com-20090915081744-0l9k2v8a86fl036l
2009-09-15 10:17:44 +02:00
P. Christeas 9526157106 ORM: Protect against dropping columns.
When a column is converted to a function, by default the db column is
dropped. Sometimes this is a bad idea, until the data is migrated.
Let an attribute change this behaviour.

bzr revid: p_christ@hol.gr-20090913143021-6tj3c16n4lli9rls
2009-09-13 17:30:21 +03:00
P. Christeas 56ec1212c6 ORM feature: allow renaming of columns.
Sometimes we may want to rename object attributes, aka. SQL columns.
Provide a mechanism for that.

bzr revid: p_christ@hol.gr-20090912003049-v5xe6eypp5u462vg
2009-09-12 03:30:49 +03:00
Christophe Chauvet(Syleam) dc8dd85fe1 [FIX] Export : Error solved while Exporting O2M records with None value of any field
lp bug: https://launchpad.net/bugs/425430 fixed

bzr revid: jvo@tinyerp.com-20090907102947-ne1p4q3mi1qz6gq7
2009-09-07 15:59:47 +05:30
P. Christeas 0b5b67b336 Fix quoting of ids when passed to sql.
bzr revid: p_christ@hol.gr-20090903073240-cyydggro48990k2s
2009-09-03 10:32:40 +03:00
P. Christeas ceef9b0be9 Merge branch 'xrg' into rfc, 5.0.4 patch obsolete.
Conflicts:
	bin/netsvc.py

bzr revid: p_christ@hol.gr-20090901210513-xc3f51eobxdv4g1b
2009-09-02 00:05:13 +03:00
Jay (Open ERP) d594e929ba [FIX] Security Loophole corrected
[openobject-server @ jvo@tinyerp.com-20090901150136-tjpngpcfixg940b6]

bzr revid: p_christ@hol.gr-20090901210416-x0euuqx22nchdyj7
2009-09-02 00:04:16 +03:00
Cédric Krier 40666e1316 [FIX] Security Loophole corrected
lp bug: https://launchpad.net/bugs/422563 fixed

bzr revid: jvo@tinyerp.com-20090901150136-tjpngpcfixg940b6
2009-09-01 20:31:36 +05:30
P. Christeas 6e6329bb7d Merge origin/5.0.4 into xrg
Conflicts:
	bin/addons/base/i18n/base.pot

bzr revid: p_christ@hol.gr-20090828180203-xbavbj02nas6f0qy
2009-08-28 21:02:03 +03:00
P. Christeas 8558374c2b Merge branch 'xrg' into optimize
Conflicts:
	bin/osv/orm.py

bzr revid: p_christ@hol.gr-20090828143403-c48ylvbkzgnimvhr
2009-08-28 17:34:03 +03:00
Harry (Open ERP) 30b2fc5bd2 [FIX] import: support "<rel_field>:db_id" , better warning message
lp bug: https://launchpad.net/bugs/415973 fixed

bzr revid: hmo@tinyerp.com-20090826134049-0wf8td729mgv32g9
2009-08-26 19:10:49 +05:30
P. Christeas 8cbe393b52 Merge commit 'origin/master' into xrg (5.0.3 official)
Conflicts:
	bin/netsvc.py
	bin/tools/config.py
	bin/workflow/instance.py

bzr revid: p_christ@hol.gr-20090823100210-2py390qp3hym8jlp
2009-08-23 13:02:10 +03:00
Fabien Pinckaers 7b8afc298a [IMP] Speed impprovement: 2x faster for flow: sale -> invoice -> payment
bzr revid: fp@tinyerp.com-20090820152921-ntnzn2tqo1bhiss1
2009-08-20 17:29:21 +02:00
Christophe Simonis 608f994263 [FIX] avoid crash...
lp bug: https://launchpad.net/bugs/415958 fixed

bzr revid: christophe@tinyerp.com-20090819153349-ojvn980qfb1dk5b5
2009-08-19 17:33:49 +02:00
Christophe Simonis 0ae9e1e906 [FIX] fields_get check access aginst write or create access
bzr revid: christophe@tinyerp.com-20090819151820-rw1x1sorn9qywv2b
2009-08-19 17:18:20 +02:00
fabian 89a6e71223 [IMP] Speed improvement in creation of records (4 time faster on partners)
bzr revid: fabian@fabian-openerp-20090819133910-9m732f4ynjb5u3xa
2009-08-19 15:39:10 +02:00
Christophe Simonis eb15785f7b [FIX] import of boolean fields in csv files.
lp bug: https://launchpad.net/bugs/415257 fixed
lp bug: https://launchpad.net/bugs/406945 fixed

bzr revid: christophe@tinyerp.com-20090818154334-blcft3nkwidckjz3
2009-08-18 17:43:34 +02:00
P. Christeas aba9fd3e77 Merge commit 'origin/master' into xrg
bzr revid: p_christ@hol.gr-20090813010638-2uwue8bg4w5uv99o
bzr revid: p_christ@hol.gr-20090813010706-h9s7e7flcw2wwgt9
2009-08-13 04:07:06 +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
Christophe Simonis 09eb8dec4d [FIX] disallow the deletion of records set as default properties
[FIX] properties reset to default one correctly

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

bzr revid: christophe@tinyerp.com-20090810160402-7vamjvletgevmjuc
2009-08-10 18:04:02 +02:00
Christophe Simonis 05ae70c610 [MERGE]
bzr revid: christophe@tinyerp.com-20090807135533-v0lco53iwmcjng7z
2009-08-07 15:55:33 +02:00
Christophe Simonis bcaf90c80b [FIX] increase size of field "name" of ir.model.data
bzr revid: christophe@tinyerp.com-20090807135208-hr5pokupqh14dpao
2009-08-07 15:52:08 +02:00
Jay (Open ERP) 7b48feea4f [FIX] Context passed on copy()
lp bug: https://launchpad.net/bugs/409861 fixed

bzr revid: jvo@tinyerp.com-20090807130950-cn284xxz6fwk47kc
2009-08-07 18:39:50 +05:30
Jay (Open ERP) d416be1bf5 [FIX] default_xxx in context was passed to relational fields,corrected.
lp bug: https://launchpad.net/bugs/408550 fixed

bzr revid: jvo@tinyerp.com-20090804104650-a8k3tu8g72jdriok
2009-08-04 16:16:50 +05:30
RPA(OpenERP) 885fef5ab6 [FIX]Importation problem for bool fields corrected
lp bug: https://launchpad.net/bugs/406945 fixed

bzr revid: jvo@tinyerp.com-20090803132703-kqcufqby9uwhwvvm
2009-08-03 18:57:03 +05:30
P. Christeas c3e569fb08 Merge commit 'origin/master' into xrg
Conflicts:
	bin/netsvc.py
	bin/report/report_sxw.py
	setup.py

bzr revid: p_christ@hol.gr-20090803072357-zz2cm1sycsagftnn
2009-08-03 10:23:57 +03:00
ACH(OpenERP) b2ff940786 [FIX] ir_model_data : SQL_Constraint failure covered
lp bug: https://launchpad.net/bugs/393858 fixed

bzr revid: jvo@tinyerp.com-20090731141115-wz5jg07ow5cdqj0z
2009-07-31 19:41:15 +05:30
P. Christeas 400ee151f8 Mark some points where SQL calls need optimize.
In particular, calls to ir.translate are done in Python loops. This is
slow.

bzr revid: p_christ@hol.gr-20090726075504-v6qgdyyg9vyaazfr
2009-07-26 10:55:04 +03:00
Jay (Open ERP) bbcbe00123 [FIX] Importation problem corrected for unicode.
bzr revid: jvo@tinyerp.com-20090723143803-se9mo3725bbrmo1o
2009-07-23 20:08:03 +05:30
Christophe Chauvet (Syleam) 2bb32450ab [FIX] Import : context provided for language translation
lp bug: https://launchpad.net/bugs/394876 fixed

bzr revid: jvo@tinyerp.com-20090716125041-72iaz586utt2j1mq
2009-07-16 18:20:41 +05:30
Harry (Open ERP) 0a6517a8d2 [FIX] export window : use context for import compatable option in pass argument instend of added new argemenent
bzr revid: hmo@tinyerp.com-20090714054237-u1sd3j9dnamvv962
2009-07-14 11:12:37 +05:30
Harry (Open ERP) c68d44a938 [IMP] import/export : added Database ID, ID
bzr revid: hmo@tinyerp.com-20090714045222-ryvq3bgymzqs66xt
2009-07-14 10:22:22 +05:30
P. Christeas 2d64ce69d0 Merge origin/master into mdv-gpl3-py26
Conflicts:
	bin/addons/base_setup/i18n/base_setup.pot
	bin/openerp-server.py
	bin/report/preprocess.py
	bin/report/report_sxw.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090709181253-fu8nxy9b3ykrrd1c
2009-07-09 21:12:53 +03:00
Jvo,Uco adc4f059ec [Fix] CSV Import : Accepting 'Value' of selection field from[(key,value)]
lp bug: https://launchpad.net/bugs/355491 fixed

bzr revid: jvo@tinyerp.com-20090708095039-p9aljf6rcftggta4
2009-07-08 15:20:39 +05:30
ACH(OpenERP) 5669861059 [FIX] CSV Export : null values handled
bzr revid: jvo@tinyerp.com-20090703130609-elo54zx9o5a4905d
2009-07-03 18:36:09 +05:30
ACH,JVO b3c00f5e4f [FIX] Export will consider float values as float and char as char
lp bug: https://launchpad.net/bugs/357945 fixed

bzr revid: jvo@tinyerp.com-20090703060823-5aupesiimak1bb7x
2009-07-03 11:38:23 +05:30
YSA,VRA dfafebf681 [FIX] ir_translation : corrected entry insertion when adding translation
lp bug: https://launchpad.net/bugs/385544 fixed

bzr revid: jvo@tinyerp.com-20090701075725-tysembj3bu81eari
2009-07-01 13:27:25 +05:30
Joël Grand-Guillaume @ CampToCamp cc4e06238d [FIX] Character Truncation problem on updation solved
lp bug: https://launchpad.net/bugs/381204 fixed

bzr revid: jvo@tinyerp.com-20090630073344-crmlcg3hbmiqzthk
2009-06-30 13:03:44 +05:30
Jay (Open ERP) e6f4c4fb2b [FIX] SQL Constraint failure error on particular record while importing
lp bug: https://launchpad.net/bugs/355493 fixed

bzr revid: jvo@tinyerp.com-20090626142734-6xy0e1z4d1o75soo
2009-06-26 19:57:34 +05:30
Fabien Pinckaers c0271fb6a3 merge
bzr revid: fp@tinyerp.com-20090622055307-rubsi0gkqhorxgzh
2009-06-22 07:53:07 +02:00
Fabien Pinckaers b538ce2a3e merge
bzr revid: fp@tinyerp.com-20090619160811-3astqsmqyqkfbkfh
2009-06-19 18:08:11 +02:00
Fabien Pinckaers 3fe717f511 [IMP] better error message
bzr revid: fp@tinyerp.com-20090619160429-mp8cj1bw9i0bveuw
2009-06-19 18:04:29 +02:00
Jay (Open ERP) 50badb81dd [IMP] default_xx in context isuue
bzr revid: jvo@tinyerp.com-20090619052625-2piyajyryvxwnkej
2009-06-19 10:56:25 +05:30
Christophe Chauvet 5e08811185 [FIX] ORM: Defult_field name in context belongs to curent object only, not to its relationals anymore
lp bug: https://launchpad.net/bugs/384959 fixed

bzr revid: jvo@tinyerp.com-20090617130053-ksodameh18a7ykt3
2009-06-17 18:30:53 +05:30