Commit Graph
919 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
Xavier Morel 1b236bd882 [FIX] xmlrpclib being an asshole
xmlrpclib.ServerProxy will convert XMLRPC strings to 'str'. Or to 'unicode' if it does not feel right today, or just wants to fuck with you. Competence is overrated!

Check precise type of view archiectures and re-encode to str if we're facing unicode strings, so it's possible to feed these little bastards to ElementTree

bzr revid: xmo@openerp.com-20110630142528-1xtj61gaou2klzme
2011-06-30 16:25:28 +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
Xavier Morel ef3a71fec3 [IMP] let non-act_window actions pass through unmolested by clean_action, which is currently mostly there to cleanup the junk in act_window actions
bzr revid: xmo@openerp.com-20110629151400-pyv48na2wecp7rhj
2011-06-29 17:14:00 +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
Xavier Morel e6483eb6ba [FIX] typos in python code
bzr revid: xmo@openerp.com-20110629131233-tvxwkrke73ytrw2a
2011-06-29 15:12:33 +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
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
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
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
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