Commit Graph
848 Commits
Author SHA1 Message Date
niv-openerp b3f48d4432 [fix] possible issue with rpc
bzr revid: nicolas.vanhoren@openerp.com-20110701120025-nzv1gmm19fn5uo9t
2011-07-01 14:00:25 +02:00
niv-openerp a8e6836f3c [imp] refactoring related to the usage of dataset.context
bzr revid: nicolas.vanhoren@openerp.com-20110701115912-40hkax6c4s28quop
2011-07-01 13:59:12 +02:00
niv-openerp 723c39a304 [fix] removed team song ;(
bzr revid: nicolas.vanhoren@openerp.com-20110701102918-4l9ullsenqeg3zqr
2011-07-01 12:29:18 +02:00
niv-openerp 320601a54f [imp] added context handling in m2m
bzr revid: nicolas.vanhoren@openerp.com-20110701102727-rxuv241pea5w9xhh
2011-07-01 12:27:27 +02:00
niv-openerp 3c4330da9c [fix] forgot on_ui_change in m2m
bzr revid: nicolas.vanhoren@openerp.com-20110701101349-l1n2o0y59ucywm13
2011-07-01 12:13:49 +02:00
niv-openerp f0a1342d5d [imp] added necessary team song
bzr revid: nicolas.vanhoren@openerp.com-20110630151358-zan8osv4vnh0y3h9
2011-06-30 17:13:58 +02:00
Fabien Meghazi 6102406eea [REM] Removed debug remains, sorry everyone
bzr revid: fme@openerp.com-20110630140817-65xvlcqia2b6m9xw
2011-06-30 16:08:17 +02:00
niv-openerp 1712ad5dea [imp] refactoring of context/domain + optimisations + added context in on_change
bzr revid: nicolas.vanhoren@openerp.com-20110630130713-a3relc19bpehg94s
2011-06-30 15:07:13 +02:00
niv-openerp eceae3def4 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110630123204-nhccni0tvm1bk4bb
2011-06-30 14:32:04 +02:00
niv-openerp d80b269891 [imp] corrected some problems with context and domains in relation + evalution of non literal context/domains
bzr revid: nicolas.vanhoren@openerp.com-20110630123113-tnzb6owv8kxtl3sw
2011-06-30 14:31:13 +02:00
Fabien Meghazi f84f7f5729 [IMP] Improved dates widgets
bzr revid: fme@openerp.com-20110630121008-qt4yr12z6sk70yua
2011-06-30 14:10:08 +02:00
Fabien Meghazi 987b8f1e9f [FIX] Need time & datetime modules for evaluation
bzr revid: fme@openerp.com-20110630095931-nysrcqz8666gafgb
2011-06-30 11:59:31 +02:00
Fabien Meghazi d9d9fa18cf [FIX] Date form widgets does not handle readonly property
bzr revid: fme@openerp.com-20110630094053-ci91lzfg1cc5qtzu
2011-06-30 11:40:53 +02:00
niv-openerp fc03e1e818 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110630091818-no4996vcikhp48uo
2011-06-30 11:18:18 +02:00
niv-openerp f4faa0dcfb [imp] reverted some code removed for on_change
bzr revid: nicolas.vanhoren@openerp.com-20110630091439-do2bjsf30r1iemgw
2011-06-30 11:14:39 +02:00
Fabien Meghazi 825330e016 [FIX] on_change result set the fields values but does not set touched state
bzr revid: fme@openerp.com-20110630091326-jgu5l45yvcsil1g0
2011-06-30 11:13:26 +02:00
niv-openerp 2cc0d8d537 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110630090946-x8j4m4s6cjiyh0c3
2011-06-30 11:09:46 +02:00
niv-openerp e3e84b2dc3 [imp] small bug in onchange and o2m
bzr revid: nicolas.vanhoren@openerp.com-20110630090706-roj51y66hlmqo7xz
2011-06-30 11:07:06 +02:00
Fabien Meghazi 122d7b06ba [FIX] Fixed on_change warning
bzr revid: fme@openerp.com-20110630090537-q3jsm5su2cu9frqk
2011-06-30 11:05:37 +02:00
niv-openerp cd19d41e8c [imp] removed useless additional code in o2m
bzr revid: nicolas.vanhoren@openerp.com-20110630074616-43tq258uu9otewp1
2011-06-30 09:46:16 +02:00
niv-openerp 62fc1d41ba [imp] removed warning in o2m
bzr revid: nicolas.vanhoren@openerp.com-20110630071507-huww146gjkm4bri5
2011-06-30 09:15:07 +02:00
Xavier Morel 1e8072ea2d [FIX] act_window actions not coming from the db and missing a views key (and collection): generate views from whatever can be found in view_mode and view_id
bzr revid: xmo@openerp.com-20110630064651-701903va7mgbps7g
2011-06-30 08:46:51 +02:00
Xavier Morel 3cd6c86f87 [ADD] support for server actions
bzr revid: xmo@openerp.com-20110630062424-gmnlahmexklnftbk
2011-06-30 08:24:24 +02:00
niv-openerp b76fa13dc7 [imp] made o2m capable of giving a correct value for on_change
bzr revid: nicolas.vanhoren@openerp.com-20110629162136-fmg79kt6549rd9gx
2011-06-29 18:21:36 +02:00
niv-openerp 6df623519b [imp] added possibility to set value of a one2many using an on_change
bzr revid: nicolas.vanhoren@openerp.com-20110629153526-ewu12haop290o6ru
2011-06-29 17:35:26 +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
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
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
Fabien Meghazi f84c547a84 [REM] Removed Dataset#count property
bzr revid: fme@openerp.com-20110629084459-x762jowmu14j6xak
2011-06-29 10:44:59 +02:00
Xavier Morel 7b91cbdab8 [FIX] trailing comma
bzr revid: xmo@openerp.com-20110628145508-jimwnt2syyptkg89
2011-06-28 16:55:08 +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 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
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
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
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 ad6ed2ac50 [IMP] Improved action management with dialogs
bzr revid: fme@openerp.com-20110628124355-gumchng9zuimrpra
2011-06-28 14:43:55 +02:00
niv-openerp 46d87b34b0 [imp] added evaluation context to compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628121747-e8y1y3avglshzxv1
2011-06-28 14:17:47 +02:00