Commit Graph
30503 Commits
Author SHA1 Message Date
niv-openerp c2ceeb2c6f [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110629153444-tngz8b9p7zg7e4u4
2011-06-29 17:34:44 +02:00
niv-openerp 25a1a7fba0 [imp] refactored dataset to use get_context()
+ added parenting in o2m and form view
+ modified on_change so it will crash if it can not resolve on of the arguments

bzr revid: nicolas.vanhoren@openerp.com-20110629143707-xtxr2iuui71e675p
2011-06-29 16:37:07 +02:00
niv-openerp 42a474d8ee [imp] refactored dataset to use get_context()
added parenting in o2m & form view
modified on_change to raise an exception when it can't resolve correctly one of the arguments

bzr revid: nicolas.vanhoren@openerp.com-20110629143506-8kr93moo0dug9u6m
2011-06-29 16:35:06 +02:00
tfr@openerp.com a6df7ad48f [FIX] bug lp:707984 by jam
bzr revid: tfr@openerp.com-20110629140154-ray8he3drqujsfyv
2011-06-29 16:01:54 +02:00
Xavier Morel fe062e1c6f [IMP] use type void instead of null for jsdoc annotations
Void is not a real type, but neither is null (it's Null) and intellij whines that it does not understand null

bzr revid: xmo@openerp.com-20110629135849-9p1qyn9s6n32dnzv
2011-06-29 15:58:49 +02:00
tfr@openerp.com be10c98ff3 [CLEAN] remove print
bzr revid: tfr@openerp.com-20110629134636-qyk3xgafn420khhj
2011-06-29 15:46:36 +02:00
Xavier Morel e6483eb6ba [FIX] typos in python code
bzr revid: xmo@openerp.com-20110629131233-tvxwkrke73ytrw2a
2011-06-29 15:12:33 +02:00
tfr@openerp.com fabc50ca62 [FIX] bug lp:66248 by jam
bzr revid: tfr@openerp.com-20110629121240-04k35fxqjb7m7ruj
2011-06-29 14:12:40 +02:00
tfr@openerp.com c5d10cfe8d [clean] remove print statement
bzr revid: tfr@openerp.com-20110629111500-v1u6uncjsblx7rkd
2011-06-29 13:15:00 +02:00
tfr@openerp.com 52fd99498c [MERGE + clean] bug fix lp:689566
bzr revid: tfr@openerp.com-20110629110531-baxztn7ro4cznbtn
2011-06-29 13:05:31 +02:00
niv-openerp c3f342c8c1 [imp] made some modifications in rpc() that could possibly break compatibility, made the error_callback consistant (now you must use the second argument and make a prefentDefault() on it) and removed the default context in rpc calls
bzr revid: nicolas.vanhoren@openerp.com-20110629103046-rbsy0m6pke3ytqyl
2011-06-29 12:30:46 +02:00
niv-openerp 00cf247377 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110629103025-0duqk2j8pe0ewhj5
2011-06-29 12:30:25 +02:00
niv-openerp 2810459e5e [imp] made some modifications in rpc() that could possibly break compatibility, made the error_callback consistant (never overwrites the default one) and removed the default context
bzr revid: nicolas.vanhoren@openerp.com-20110629102858-8e6xyhgpeyo5kml2
2011-06-29 12:28:58 +02:00
niv-openerp 55fb19b0f7 [imp] Modifier rpc calls to handle correctly the promises.
bzr revid: nicolas.vanhoren@openerp.com-20110629100109-m9z598dy2rqy8pn3
2011-06-29 12:01:09 +02:00
Olivier Dony e50fa20f19 [FIX] netsvc: corrected copyright header
Corrected license to AGPLv3, and removed obsolete copyright lines
as confirmed by Cedric Krier by email on 2011-06-29.
These copyright lines referred to a refactoring copied from Tryton
in revision rev 1439 - stephane@tinyerp.com-20081218235433-cnsc5a4iyfzqvbdx
All this code has disappeared since then, specifically after
a major rewrite by xrg, merged at revision 1900 
(mga@tinyerp.com-20091126113653-0ym60nvtjinvp82h).

bzr revid: odo@openerp.com-20110629095138-hmo91mvk1m8u4643
2011-06-29 11:51:38 +02:00
Fabien Meghazi f84c547a84 [REM] Removed Dataset#count property
bzr revid: fme@openerp.com-20110629084459-x762jowmu14j6xak
2011-06-29 10:44:59 +02:00
Jigar Amin 5b19375301 [FIX] missing context param
bzr revid: jam@tinyerp.com-20110629083222-47rl2yy2vj3tdxfd
2011-06-29 14:02:22 +05:30
niv-openerp 46c6db5928 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110629081431-t6b8n2xtvsix1gw3
2011-06-29 10:14:31 +02:00
Jigar Amin 09f6d30a1a [FIX] removed unsed cnotext checking
bzr revid: jam@tinyerp.com-20110629072812-ht43md6u43a7lb8f
2011-06-29 12:58:12 +05:30
Jigar Amin 46a7bb30c7 [BUG/FIX] base_calendar - day need to store to db values is being updated
bzr revid: jam@tinyerp.com-20110629071813-dwvkaiizvkqdojbi
2011-06-29 12:48:13 +05:30
Launchpad Translations on behalf of openerp 9decec9915 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110629044336-up8sg0vsmd59rewj
2011-06-29 04:43:36 +00:00
niv-openerp 6cf3210c9b [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628172304-8l1kzi2dwve83dj1
2011-06-28 19:23:04 +02:00
niv-openerp 31e7760e1a [imp] refactoring of the name_... methods + refactoring of the context and domain handling in many2ones
bzr revid: nicolas.vanhoren@openerp.com-20110628171852-1393loyd5ln1tsom
2011-06-28 19:18:52 +02:00
Fabien Meghazi f07f60b3da [IMP] Use label@colspan in order to diferentiate fields label from paragraph
bzr revid: fme@openerp.com-20110628164238-zctbvza7isf4166t
2011-06-28 18:42:38 +02:00
Fabien Meghazi 48a7655126 [FIX] Use record_id instead of dataset in View#execute_action
bzr revid: fme@openerp.com-20110628163507-diaevrugqyxkfcvn
2011-06-28 18:35:07 +02:00
niv-openerp 667dce3344 [fix] fixed some problems with m2o (too much on_change and "theorically unreachable state")
bzr revid: nicolas.vanhoren@openerp.com-20110628162254-072qiigm32d897wv
2011-06-28 18:22:54 +02:00
niv-openerp 4b4e8cdf7d [fix] fixed some problems with m2o (too much on_change and "theorically unreachable state")
bzr revid: nicolas.vanhoren@openerp.com-20110628162206-3dowhy9t5ffj2mzp
2011-06-28 18:22:06 +02:00
tfr@openerp.com 2ea0b6a37c [MERGE] fix calendar unlink traceback
bzr revid: tfr@openerp.com-20110628160829-236tsg07n940isk9
2011-06-28 18:08:29 +02:00
Fabien Meghazi 23ec19c2fb [ADD] Added DataSet#call_button javascript side
bzr revid: fme@openerp.com-20110628160103-jpkd4r1batz5nlfp
2011-06-28 18:01:03 +02:00
Fabien Meghazi d933184dcc [ADD] Added Dataset#call_button for form's buttons triggering action that should be cleaned
bzr revid: fme@openerp.com-20110628155956-yj8m2r7kpjye5m8v
2011-06-28 17:59:56 +02:00
Vo Minh Thu a101398751 [MERGE] netsvc+ir_cron: display the execution time in debug_rpc.
bzr revid: vmt@openerp.com-20110628153705-6mattiub65b7ozq3
2011-06-28 17:37:05 +02:00
Vo Minh Thu 5ae5809dab [REF] ir_cron: use DEBUG instead of DEBUG_RPC (as done previously).
bzr revid: vmt@openerp.com-20110628153148-hkxh5n1ct4y8k6z3
2011-06-28 17:31:48 +02:00
tfr@openerp.com ea870219e8 [MERGE] fix bug lp:802418
bzr revid: tfr@openerp.com-20110628150325-fksj714nwqj5roge
2011-06-28 17:03:25 +02:00
niv-openerp 3d81e16e9b [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628150016-nw2ft9g7v3ornw6y
2011-06-28 17:00:16 +02:00
niv-openerp a6ccfd6b24 [imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation
bzr revid: nicolas.vanhoren@openerp.com-20110628145516-2ts81ufkvjuwirku
2011-06-28 16:55:16 +02:00
Xavier Morel 7b91cbdab8 [FIX] trailing comma
bzr revid: xmo@openerp.com-20110628145508-jimwnt2syyptkg89
2011-06-28 16:55:08 +02:00
niv-openerp e819561d1a [imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation
bzr revid: nicolas.vanhoren@openerp.com-20110628145413-ljqdmunxi7ykmytz
2011-06-28 16:54:13 +02:00
Xavier Morel de0d177627 [FIX] bug in CompoundDomain: need self alias to this
bzr revid: xmo@openerp.com-20110628144925-c138oielqt6ukozj
2011-06-28 16:49:25 +02:00
niv-openerp 801c05ccbd [imp] refactoring of the name_... methods + refactoring of the context and domain handling in many2ones
bzr revid: nicolas.vanhoren@openerp.com-20110628172325-hsz1w986vweahg54
2011-06-28 19:23:25 +02:00
tfr@openerp.com 9619f362e3 [MERGE] fix bug lp:802539
bzr revid: tfr@openerp.com-20110628144818-tqjtu8yilv298spf
2011-06-28 16:48:18 +02:00
niv-openerp 6d03efa638 [fix] redesigned evaluation context
bzr revid: nicolas.vanhoren@openerp.com-20110628142759-r7j8t8u1lgleklbv
2011-06-28 16:27:59 +02:00
Xavier Morel 6f0f3de251 [FIX] severe callbacks bug, and a few warnings
bzr revid: xmo@openerp.com-20110628142225-4ct5zodjpaopqkxt
2011-06-28 16:22:25 +02:00
Xavier Morel 62ef841b15 [FIX] warnings, typos, globals which should not be globals, and use jquery shortcuts when there is no reason not to
bzr revid: xmo@openerp.com-20110628142124-oexuucl4dpic6x1x
2011-06-28 16:21:24 +02:00
tfr@openerp.com 810a2472a4 [MERGE] fix undefined get_db_only in ftp and webdav by sbh
bzr revid: tfr@openerp.com-20110628141309-oag99snygj3vuqwn
2011-06-28 16:13:09 +02:00
Xavier Morel 79a24bd46e [FIX] removal of unique() callbacks from callback chains
Array.prototype.pop() does *not* take a parameter, it always removes the last item of the array.

To remove items in the middle of an array, Array.prototype.splice(index, 1) has to be used.

This fixes an issue where adding a unique non-last callback (either added as non-last, or with other stuff added after it) would result in nonsensical behavior

bzr revid: xmo@openerp.com-20110628140907-5sch98gmwcnpvk3t
2011-06-28 16:09:07 +02:00
niv-openerp 63a5ac2355 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628140534-3lvqp50zrav7s7ld
2011-06-28 16:05:34 +02:00
niv-openerp 58e236eb44 [fix] redesigned evaluation contexts
bzr revid: nicolas.vanhoren@openerp.com-20110628140418-lxmclab51ll0iwdd
2011-06-28 16:04:18 +02:00
niv-openerp aa9eedee9e [imp] added evaluation context into compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628133407-yoqcfl6z3gm90ct6
2011-06-28 15:34:07 +02:00
Fabien Meghazi 85e0fbc6fe [FIX] Removed global bin_size causing problems in context. Will activate it only when needed.
Don't forget to logout/login in order to purge context after you pull this revision

bzr revid: fme@openerp.com-20110628133044-dp9jm6aj7ixzc69p
2011-06-28 15:30:44 +02:00
niv-openerp bbd9df8fc4 [imp] added super dict
bzr revid: nicolas.vanhoren@openerp.com-20110628131254-2cj2l9k4zsuxb7u0
2011-06-28 15:12:54 +02:00