Commit Graph

302 Commits

Author SHA1 Message Date
P. Christeas 281c7c980a Merge commit 'origin/master' into mdv-gpl3
bzr revid: p_christ@hol.gr-20081207195509-2tb8fb3d7qr2xigt
bzr revid: p_christ@hol.gr-20081210075901-97mt6chs3ljokpsx
2008-12-10 09:59:01 +02:00
Fabien Pinckaers a0b7a8f4e6 modifs
bzr revid: fp@tinyerp.com-20081209141034-cj0f9clfgkr1eorz
2008-12-09 15:10:34 +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
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
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
P. Christeas 17631aef94 Merge branch 'master' of openobject-server into mdv-gpl3
Conflicts:
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081124152658-xvkszq1j9xrm98mv
2008-11-24 17:26:58 +02:00
P. Christeas 7f3ee0107e Instrument missing tag exception.
bzr revid: p_christ@hol.gr-20081124151809-ydhawyy1map7wd7y
2008-11-24 17:18:09 +02: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
P. Christeas ba195ed72d orm optimization: don't compute all fields for view.
Some fields may not be requested by the view DOM. Don't try to fetch
their information.
This is an experimental optimization. Testing pending.

bzr revid: p_christ@hol.gr-20081118153447-5reuu322ikudppr8
2008-11-18 17:34:47 +02:00
P. Christeas 4e4c02351f Orm: model fields may be a subset of the views.
When the view asks more fields than the OM has, the result
may have less ones. Iterate through the smallest set.

bzr revid: p_christ@hol.gr-20081118143318-vvns3suey0g4e3x6
2008-11-18 16:33:18 +02:00
P. Christeas ee881fa7e0 Armor the export lang wizard against faulty model fields.
Sometimes objects or field definitions in db may have some errors
(especially in dev setups). The export translation algorithm should
just skip those fields and try to continue, instead of raising an
exception. These errors can still be logged, of course.

bzr revid: p_christ@hol.gr-20081115085854-2xpnypbas4sxt15u
2008-11-15 10:58:54 +02: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
P. Christeas 8220e0ad02 Merge commit 'origin/master' into mdv-gpl3
Conflicts:
	bin/tools/convert.py

bzr revid: p_christ@hol.gr-20081025224421-g367ati5b2eeplw6
bzr revid: p_christ@hol.gr-20081104201238-oy0vgsunt2jxgu2p
2008-11-04 22:12:38 +02: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
Fabien Pinckaers 54f4c8f1cc bugfix
bzr revid: fp@tinyerp.com-20081027104650-1c3tf9xsx0rmmoat
2008-10-27 11:46:50 +01:00
Fabien Pinckaers d5e50a5159 improvement
bzr revid: fp@tinyerp.com-20081025085356-9ezz9r2qj6q52a3r
2008-10-25 10:53:56 +02:00
Fabien Pinckaers 6b87952e23 bugfix
bzr revid: fp@tinyerp.com-20081024144733-qxsdkum4c8arcb5a
2008-10-24 16:47:33 +02:00
Fabien Pinckaers 93cbe3d14a improve
bzr revid: fp@tinyerp.com-20081023174549-yooeluxdpfrsizgs
2008-10-23 19:45:49 +02:00
Amit Mendapara 08e80733c4 * Support for adding custom O2M & M2M fields
* Improved fields view definitions

bzr revid: ame@tinyerp.com-20081023132828-nvjtv26qna56cztk
2008-10-23 18:58:28 +05:30
Christophe Simonis 0649604ee1 merge syleam branch
bzr revid: christophe@tinyerp.com-20081020120537-ncgcqa2vzlo6of0j
2008-10-20 14:05:37 +02:00
Stephane Wirtel f2644d5bc2 Show an error and raise an exception if the _name is not present in an object
bzr revid: stephane@tinyerp.com-20081017224112-7sr2ihk7l7wuc2hg
2008-10-18 00:41:12 +02:00
Jay Vora c10ba024aa Corrected copy functionality for fields translated=True (Ref: Yajushi Yagnik)
bzr revid: jvo@tinyerp.com-20081016115441-k0ctdfcygqbici3w
2008-10-16 17:24:41 +05:30
P. Christeas d85b9a74fa Behave better at exceptions (l10n, __getitem__() )
bzr revid: p_christ@hol.gr-20081010091805-93a1el2izcfdc5an
2008-10-10 12:18:05 +03:00
Jay Vora 6b589c87ad Bugfix :email sending and minor edit on constraint validation
bzr revid: jvo@tinyerp.com-20080925054703-0eui2prn54hw2q59
2008-09-25 11:17:03 +05:30
Stephane Wirtel 9e83fed250 If the ids is an int or a long, convert it to array, to avoid an error from the orm
bzr revid: stephane@tinyerp.com-20080924032135-q52ns1968r88mdxt
2008-09-24 05:21:35 +02:00
Fabien Pinckaers 88a6b3780c bugfix
bzr revid: fp@tinyerp.com-20080923162716-qbaxamq0btfongpw
2008-09-23 18:27:16 +02:00
Christophe Simonis 500e964ebb get_binary_size is renamed bin_size and its behavior is reversed (False by default)
bzr revid: christophe@tinyerp.com-20080923104745-m5osg61ukqtk0szi
2008-09-23 12:47:45 +02:00