Commit Graph

414 Commits

Author SHA1 Message Date
Fabien Pinckaers 9624ffb5e0 bugfix_lang_notavailabel
bzr revid: fp@tinyerp.com-20090601221525-aq1zvcolw160bm37
2009-06-02 00:15:25 +02:00
Jay (Open ERP) 5766b3cd04 [FIX] DB will save False Valuesfor booleans
bzr revid: jvo@tinyerp.com-20090513091303-tyoe0u8bx6v8mgtt
2009-05-13 14:43:03 +05:30
Christophe Simonis efc01f25ae [FIX] allow to use server-side domains with widget='selection' fields
[FIX] widget='selection' fields now handle correctly the required fields

bzr revid: christophe@tinyerp.com-20090428144014-7wxt52bfy5odnf5r
2009-04-28 16:40:14 +02:00
Naresh Choksy 740bb829f9 added report engine
bzr revid: nch@tinyerp.com-20090428102421-0bjwivab9it6bf2c
2009-04-28 15:54:21 +05:30
Fabien Pinckaers 5aee798177 bugfix
bzr revid: fp@tinyerp.com-20090427181701-zcxe5qnfgmk2yf1q
2009-04-27 20:17:01 +02:00
Fabien Pinckaers 6128d030f2 merge
bzr revid: fp@tinyerp.com-20090425163354-qnrvpx0qdqqsukvn
2009-04-25 18:33:54 +02:00
Christophe Simonis 247c1972ab [FIX] allow to use the field 'id' in views (i.e., needed for domain)
bzr revid: christophe@tinyerp.com-20090423085750-rwt7kxgz7hmmop3f
2009-04-23 10:57:50 +02:00
Fabien Pinckaers 5ba9c8626f bugfixes
bzr revid: fp@tinyerp.com-20090411204439-ivly6x341y9pwuzs
2009-04-11 22:44:39 +02:00
husen daudi 67526cf793 Improved browse record calls in context of report engine (ref: nch,jvo,hda)
bzr revid: hda@hda-20090406114533-5bn57x92n7in399y
2009-04-06 17:15:33 +05:30
mga (Tiny/Axelor) 82fda6c77c bugfix for the many2many fields
eachtime generate a new table number for relational table for manual fields

bzr revid: mga@tinyerp.com-20090306091539-0gcb1epayrvmoj9q
2009-03-06 14:45:39 +05:30
Christophe Simonis 1d8d7b7236 [IMP] orm: do not use xpath for hidding buttons when user hasn't the right role
bzr revid: christophe@taupe-20090304230057-tx2ch1yfmbk0b1gb
2009-03-05 00:00:57 +01:00
Fabien Pinckaers b5e2c0a8a2 bugfix_portal_access_rights
bzr revid: fp@tinyerp.com-20090227163720-b6d6fsdtl678h16j
2009-02-27 17:37:20 +01:00
Fabien Pinckaers 5a87d64cb3 bugfix_regex_order
bzr revid: fp@tinyerp.com-20090227065118-y0ok9xqyrt797vpg
2009-02-27 07:51:18 +01:00
Fabien Pinckaers 6343408a71 bugfix_store_delete
bzr revid: fp@tinyerp.com-20090227064300-a6w8q0hrqmnqw90i
2009-02-27 07:43:00 +01:00
Fabien Pinckaers e3bcb6b8be bugfix_lp_331245
bzr revid: fp@tinyerp.com-20090226201745-ot01ir2gy89n18xm
2009-02-26 21:17:45 +01:00
qdp a4b93b2a4d [FIX] bugfixed the order of computing records for store={} fields. There was a problem for fields that were dependant on same object like the membership_state field on
res_partner that depend on free_member field of res_partner:
	store = {
                'account.invoice':(_get_invoice_partner,['state'], 10),
                'membership.membership_line':(_get_partner_id,['state'], 10),
                'res.partner':(_get_partners, ['free_member'], 10)
                }

bzr revid: qdp@tinyerp.com-20090218142454-d9h6bdy4h3wwcj1i
2009-02-18 15:24:54 +01:00
mra (Open ERP) 5567f3e7f0 fix : 329208 : trans_obj is not defined
bzr revid: mra@tinyerp.com-20090214053517-aqwdg94bv4ph4vpz
2009-02-14 11:05:17 +05:30
Olivier Laurent 411778633e escape the field name if the field name is a key word (like 'binary' for exemple)
bzr revid: olt@tinyerp.com-20090212100403-ukaqh4eflhbs9dg0
2009-02-12 11:04:03 +01:00
Fabien Pinckaers 5b01342a4b bugfix
bzr revid: fp@tinyerp.com-20090205171531-7ys5vn8mq5az1v7q
2009-02-05 18:15:31 +01:00
Fabien Pinckaers d9d22aaff9 bugfix
bzr revid: fp@tinyerp.com-20090205000131-4tjbyqij1x9v8gl7
2009-02-05 01:01:31 +01:00
Fabien Pinckaers e5997c9958 bugfix
bzr revid: fp@tinyerp.com-20090204232710-kkf3r1gk9ebhli4q
2009-02-05 00:27:10 +01:00
Fabien Pinckaers 3ae831ceaf bugfix
bzr revid: fp@tinyerp.com-20090204130537-z9frulclih2scdn0
2009-02-04 14:05:37 +01:00
mga (Tiny/Axelor) 6709e6e295 fixing the gug for reading fields
bzr revid: mga@tinyerp.com-20090204124123-wz507w0h4tr4o2yu
2009-02-04 18:11:23 +05:30
Stephane Wirtel 557cc93aae [IMP] Add a new function, last_day_of_current_month, this function returns the last day of the current month.
bzr revid: stephane@tinyerp.com-20090202140715-e5lw28lvrd9fep13
2009-02-02 15:07:15 +01:00
Christophe Simonis f3bd6582fc [IMP] the module graph is updated and loaded until there are modules to load.
[IMP] log the extra database columns only when all modules are loaded

bzr revid: christophe@tinyerp.com-20090129095937-izrx5s4qac1dmapj
2009-01-29 10:59:37 +01:00
Jay (Open ERP) 7e5cd9dd4a Minor modifs
bzr revid: jvo@tinyerp.com-20090129061555-2tlpj9vzdkp9mqyd
2009-01-29 11:45:55 +05:30
Fabien Pinckaers 41590f61ec bugfix
bzr revid: fp@tinyerp.com-20090128231100-lh55gi6k2rz57qcp
2009-01-29 00:11:00 +01:00
Stephane Wirtel 99d7959dff [FIX] Use the notation for the default values of a many2many field
lp bug: https://launchpad.net/bugs/319257 fixed

bzr revid: stephane@tinyerp.com-20090128154252-4ibps4vcgltfk02s
2009-01-28 16:42:52 +01:00
Jay (Open ERP) a550f5370d Report_sxw modified for browse_record values in default formats
bzr revid: jvo@tinyerp.com-20090128125232-rfqwrvec513c5r2d
2009-01-28 18:22:32 +05:30
Christophe Simonis 270bbb151b [IMP] change level of message when a column is not present in the object
bzr revid: christophe@tinyerp.com-20090127111425-ktutr1iuvldwnaq0
2009-01-27 12:14:25 +01:00
Fabien Pinckaers 7cb41c31ec removed_print
bzr revid: fp@tinyerp.com-20090127102931-h5sk00kornccw4fr
2009-01-27 11:29:31 +01:00
Fabien Pinckaers 8822ada31f bugfix_ptt
bzr revid: fp@tinyerp.com-20090127102515-ric7p0yptywmy2qk
2009-01-27 11:25:15 +01:00
Christophe Simonis ab41714295 [IMP] log in logger 'orm' instead of 'init'
[FIX] warn the user when a column has been remove from a object

bzr revid: christophe@tinyerp.com-20090126155046-quegkdj9l5a4d3ub
2009-01-26 16:50:46 +01:00
Christophe Simonis 9e6378a06b [FIX] concurrency check: handle the case of the O2M fields
bzr revid: christophe@tinyerp.com-20090121173728-pk4dkpqj79bjyntg
2009-01-21 18:37:28 +01:00
Stephane Wirtel c228e56f93 [REF] Use the xpath with condition
bzr revid: stephane@tinyerp.com-20090119232458-pip4shfzdx2m7go9
2009-01-20 00:24:58 +01:00
Christophe Simonis 520f5aec9c [MERGE] merge smile branch.
[REF] rewrite error generation when a view field is not found in the model

bzr revid: christophe@tinyerp.com-20090119110150-dzxto9uvwsqkva6s
2009-01-19 12:01:50 +01:00
Stephane Wirtel f987f9cccb [FIX] Store the string type function field (patch from Xavier ALT (AJM))
lp bug: https://launchpad.net/bugs/318543 fixed

bzr revid: stephane@tinyerp.com-20090119101201-20n79r2agfo03w36
2009-01-19 11:12:01 +01:00
Stephane Wirtel 7e4e42c34a [FIX] Encoding error
bzr revid: stephane@tinyerp.com-20090119100846-x4fp20cax93a4zf8
2009-01-19 11:08:46 +01:00
Fabien Pinckaers 875674d877 bugfixes
bzr revid: fp@tinyerp.com-20090117192214-m317lkham92f97ps
2009-01-17 20:22:14 +01:00
Christophe Simonis c3c0f345a0 [FIX] if not specify, _log_access has now the same value as _auto (True by default)
lp bug: https://launchpad.net/bugs/317699 fixed

bzr revid: christophe@tinyerp.com-20090116095217-bxtmwt7gxlm0kb88
2009-01-16 10:52:17 +01:00
Fabien Pinckaers 5305888c29 bugfixes
bzr revid: fp@tinyerp.com-20090115174103-2ix4fhc5adviwtyc
2009-01-15 18:41:03 +01:00
Christophe Simonis 586a737f6e [FIX] fix concurrency problem. Use last_modified instead of delta. Thanks to Tryton team for the idea.
lp bug: https://launchpad.net/bugs/314696 fixed

bzr revid: christophe@tinyerp.com-20090115115718-3jpkxhmjaa275jq2
2009-01-15 12:57:18 +01:00
Olivier Laurent f386b602a2 Added a new configuration option: 'csv_internal_sep' (equals ',' by default)
Some old import files used the pipe ('|') as a separator in records. It has
been changed to a comma but this causes problems with old import files when
some records have a comma that is not a separator.

bzr revid: olt@tinyerp.com-20090115101210-czdbqqeptbj8o1so
2009-01-15 11:12:10 +01:00
Stephane Wirtel 9089f665bd [FIX] Encoding
lp bug: https://launchpad.net/bugs/315378 fixed

bzr revid: stephane@tinyerp.com-20090109100759-hq2o03u54ftvrxmh
2009-01-09 11:07:59 +01:00
Stephane Wirtel 6600172e4a [FIX] Translation - read_string
lp bug: https://launchpad.net/bugs/313340 fixed

bzr revid: stephane@tinyerp.com-20090105152843-pyw6m15gzl4rxt1u
2009-01-05 16:28:43 +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
Christophe Simonis 5ff3af95e2 [IMP] use the pooler directly instead of the 'object_proxy'
[IMP] wkf_expr: remove dead code

bzr revid: christophe@cobalt-20090102231851-zzobv5dx3pplh265
2009-01-03 00:18:51 +01:00
Fabien Pinckaers c90140c3b2 bugfix
bzr revid: fp@tinyerp.com-20090102140903-jz4szuojasx9f5zg
2009-01-02 15:09:03 +01:00
Jay (Open ERP) 54508a24bc Bugfix : Record creation on databse views(ref : views used for dashboard).
bzr revid: jvo@tinyerp.com-20090101133956-le2wjye1tx1g1j1e
2009-01-01 19:09:56 +05:30
Jay (Open ERP) 9231286c74 Bugfix on report :Added unicode method on browse_null
bzr revid: jvo@tinyerp.com-20081229123601-y1bpr4syt2rtyu5d
2008-12-29 18:06:01 +05:30
Fabien Pinckaers 81b8a4c302 bugfix
bzr revid: fp@tinyerp.com-20081224155429-tdcmkvn7398h163b
2008-12-24 16:54:29 +01:00
Fabien Pinckaers c1c36eedea bugfixes
bzr revid: fp@tinyerp.com-20081224104811-54gb87thafjay1sj
2008-12-24 11:48:11 +01:00
Christophe Simonis d0e614aeed [IMP] "not x in l" -> "x not in l"
[IMP] use the second parameter of cr.execute instead of formating the query ourself

bzr revid: christophe@cobalt-20081219191759-79riaoi58pm0jsff
2008-12-19 20:17:59 +01:00
Stephane Wirtel 028dd2cc9b [IMP] Remove unused log
bzr revid: stephane@tinyerp.com-20081219155459-ofgwl03yo26s28ry
2008-12-19 16:54:59 +01:00
Amit Mendapara 643441fa49 * Fixed ir_model_field (custom reference field)
bzr revid: ame@tinyerp.com-20081219130758-2xfdw1jogpl21io6
2008-12-19 18:37:58 +05:30
Christophe Simonis 88c097516a [FIX] handle the case when xml are in unicode
bzr revid: christophe@cobalt-20081216105858-q0q02gxjt95qbmus
2008-12-16 11:58:58 +01:00
Fabien Pinckaers 3d84754c69 commit
bzr revid: fp@tinyerp.com-20081216103620-khy4x2gv3efvh0m1
2008-12-16 11:36:20 +01:00
Stephane Wirtel 73736db39d [REF] Clean
bzr revid: stephane@tinyerp.com-20081215114839-v3ixe1ktg1xhkd3r
2008-12-15 12:48:39 +01:00
Fabien Pinckaers bb507de5b9 improvement
bzr revid: fp@tinyerp.com-20081215043426-36w0t0jiwpqa8tyd
2008-12-15 05:34:26 +01:00
Fabien Pinckaers 8cb88b6054 improvements_bugfixes
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Fabien Pinckaers dbd44cd71a bugfixes
bzr revid: fp@tinyerp.com-20081213125314-t3csvq95lk0nbkk3
2008-12-13 13:53:14 +01:00
Mantavya Gajjar f3f97eff55 improve the server action
bzr revid: mga@tinyerp.com-20081213124204-zces6hdrj9oad8r6
2008-12-13 18:12:04 +05:30
Fabien Pinckaers cb59d883b8 bugfix_cache_speed_improvement_store
bzr revid: fp@tinyerp.com-20081213060118-icn54am74m6ntyqw
2008-12-13 07:01:18 +01:00
Stephane Wirtel cf09360444 [FIX] Remove the decode(utf8) function
lp bug: https://launchpad.net/bugs/307248 fixed

bzr revid: stephane@tinyerp.com-20081211220009-el7lc2bb0pqc99pc
2008-12-11 23:00:09 +01:00
Stephane Wirtel 242528a3b0 [IMP] Use the logger
bzr revid: stephane@tinyerp.com-20081210220800-pxm9xmkhnrnkvnzx
2008-12-10 23:08:00 +01:00
Christophe Simonis dd25d328f5 [MERGE]
bzr revid: christophe@tinyerp.com-20081210144113-6wdfu8mwpsojl4la
2008-12-10 15:41:13 +01:00
Najlaa 02663d9780 [IMP] convert varchar to text in database
bzr revid: nel@silver-20081210140856-easnep218it0bnqu
2008-12-10 15:08:56 +01:00
Fabien Pinckaers a0b7a8f4e6 modifs
bzr revid: fp@tinyerp.com-20081209141034-cj0f9clfgkr1eorz
2008-12-09 15:10:34 +01:00
Christophe Simonis e09455ccd8 [FIX] psycopg2: %d -> %s
[IMP] orm: use _symbol_f when updating database at initialization
[IMP] misc.ustr: function returning the unicode string representation of a object

bzr revid: christophe@tinyerp.com-20081209133540-zlb6wxs97cxa99nx
2008-12-09 14:35:40 +01:00
Christophe Simonis e80211fbc3 [MERGE]
bzr revid: christophe@tinyerp.com-20081208084816-n4ju99d7nz21gun5
2008-12-08 09:48:16 +01:00
Fabien Pinckaers f8f691f6ed bugfixes_store
bzr revid: fp@tinyerp.com-20081208074738-qspr61l0lnobpb1h
2008-12-08 08:47:38 +01:00
Fabien Pinckaers 6e55b73d26 bugfixes
bzr revid: fp@tinyerp.com-20081207124502-guf3osjkrd7tunwj
2008-12-07 13:45:02 +01:00
Fabien Pinckaers dfbcd29e8e Speed Improvement ORM
Better Store={...}

bzr revid: fp@tinyerp.com-20081207021654-wfgrjy7tj3ukgopv
2008-12-07 03:16:54 +01:00
Christophe Simonis eb08809553 [FIX] orm: searching an inexisting id (as integer) return False (patch from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205124158-hjmig1c8gyp9qme3
2008-12-05 13:41:58 +01:00
Raphaël Valyi 897d131fa2 merge
bzr revid: rvalyi@gmail.com-20081203084228-5cdji0n3zjy3yxcb
2008-12-03 09:42:28 +01:00
Christophe Simonis a5e5b5b8fc [IMP] views don't need to include the state field anymore to be state aware
bzr revid: christophe@tinyerp.com-20081202183821-iodzmaanf3ib0asb
2008-12-02 19:38:21 +01:00
Raphaël Valyi b2fdf09676 view debbugging improvement: cf branche definition
bzr revid: rvalyi@gmail.com-20081202174137-zwqbqx7is0vcvrkw
2008-12-02 18:41:37 +01:00
Fabien Pinckaers 6207fbdcd4 remove_print
bzr revid: fp@tinyerp.com-20081202091251-2zhoyjh02phwe1xp
2008-12-02 10:12:51 +01:00
Fabien Pinckaers caa92f7778 improve
bzr revid: fp@tinyerp.com-20081202091143-gq9q36cewvm499nq
2008-12-02 10:11:43 +01:00
Fabien Pinckaers e60d9ff7c5 Speed_improvement
bzr revid: fp@tinyerp.com-20081202081629-bchm1dum0elcs43q
2008-12-02 09:16:29 +01:00
Fabien Pinckaers 1e87af4390 bugfix_304008
bzr revid: fp@tinyerp.com-20081201151351-auit087r6pz2ii69
2008-12-01 16:13:51 +01:00
Christophe Simonis b75c40a3a6 [FIX] translation of some labels in one2many fields. Thanks to Dainius Malachovskis for the base patch.
lp bug: https://launchpad.net/bugs/279613 fixed

bzr revid: christophe@tinyerp.com-20081128090934-lffnwuf8q4zqvs6j
2008-11-28 10:09:34 +01:00
Stephane Wirtel 05613c2bea [FIX] Move the read_string and write_string methods from orm to orm_template
lp bug: https://launchpad.net/bugs/300754 fixed

bzr revid: stephane@tinyerp.com-20081127082444-rpa115twbkgy6oib
2008-11-27 09:24:44 +01:00
Fabien Pinckaers 843add7b69 improved_customization
bzr revid: fp@tinyerp.com-20081125233317-e9f3f4v99gmyyen0
2008-11-26 00:33:17 +01:00
Christophe Simonis b216e06e67 [IMP] better get_invalid_fields function
bzr revid: christophe@tinyerp.com-20081124154229-st6d2ehiyc5xip0h
2008-11-24 16:42:29 +01:00
Jay Vora 6fbcaf0194 Colored Fields red ,those fail in constraint validation.Modification for Updation of records
bzr revid: jvo@tinyerp.com-20081124132743-v90r8wx5o33nvfyd
2008-11-24 18:57:43 +05:30
Jay Vora 67409c5dec Colored Fields red ,those fail in constraint validation.
bzr revid: jvo@tinyerp.com-20081124124839-v4ryyp5odmm5bmqn
2008-11-24 18:18:39 +05:30
Christophe Simonis e2ef2a1782 [FIX] allow long to be used as id in browse_record
bzr revid: christophe@tinyerp.com-20081121220937-psm6o20p3yqkq98i
2008-11-21 23:09:37 +01:00
Fabien Pinckaers 9fcea67fab improve
bzr revid: fp@tinyerp.com-20081121181224-ms1h2p3nip6w93kx
2008-11-21 19:12:24 +01:00
hda@tinyerp.com 74af540f43 bugfix for active=false search
bzr revid: hda@tinyerp.com-20081110110721-t55bijn008yq4z7b
2008-11-10 16:37:21 +05:30
Christophe Simonis 78a71cc808 fields_view_get return also the fields specified in the attributes of the <calendar> tag
bzr revid: christophe@tinyerp.com-20081105201949-vdej2c2a8uwqqila
2008-11-05 21:19:49 +01:00
Stephane Wirtel 3fb1d0cb13 Bug fix from Xavier ALT (AJM)
lp bug: https://launchpad.net/bugs/291146 fixed

bzr revid: stephane@tinyerp.com-20081105133525-zv39jfj7gxhvxysx
2008-11-05 14:35:25 +01:00
Christophe Simonis e404e54e38 passing in GPL-3
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Fabien Pinckaers e048250071 improvment
bzr revid: fp@tinyerp.com-20081031141048-gohuvljsot9byn5g
2008-10-31 15:10:48 +01:00
Xavier ALT 8a657d79cb Bugfix: Search inactive (active = False) elements will always fail
Even if args contain ['active','=',0], _where_calc function add an active
   test, leading to 'where active = True and active = False' SQL queries.

bzr revid: x.alt@ajm.lu-20081030154226-7yd1xvqleisqksld
2008-10-30 16:42:26 +01:00
Fabien Pinckaers 9a5138791a bugfixes
bzr revid: fp@tinyerp.com-20081028001825-zj6lhbeazmdjdkpy
2008-10-28 01:18:25 +01:00
Christophe Simonis 08933b0200 browse_null objects doesn't fail anymore when accessing its attributes
bzr revid: chs@tinyerp.com-20081027135931-2772tugct3p1u3rx
2008-10-27 14:59:31 +01:00
Christophe Simonis f7273ecbc7 admin user is not restricted by roles
bzr revid: chs@tinyerp.com-20081027125413-lusm89mme25cclm8
2008-10-27 13:54:13 +01:00
Christophe Simonis 348d01795a fix bug with translation of empty string of selection entries
bzr revid: chs@tinyerp.com-20081027122807-a401uef1xctcr4gf
2008-10-27 13:28:07 +01:00
Fabien Pinckaers 96e69a0a25 merge
bzr revid: fp@tinyerp.com-20081027115900-21mykbjk7whhq7in
2008-10-27 12:59:00 +01:00