Commit Graph
30530 Commits
Author SHA1 Message Date
Xavier Morel cbbae67165 [ADD] possibility to use a client action in a menu
bzr revid: xmo@openerp.com-20110701130517-p8dz909jho2658vk
2011-07-01 15:05:17 +02:00
Xavier Morel 139c844655 [ADD] client action
bzr revid: xmo@openerp.com-20110630115134-m5tppqs9whmqtqow
2011-06-30 13:51:34 +02:00
Xavier Morel 3a17944671 [IMP] view_id should really be a m2o-style pair of (id, name).
And replace the and/or hack by an if expression, because it's more fool-proof

bzr revid: xmo@openerp.com-20110630095142-g600bg6nqvnnpkw5
2011-06-30 11:51:42 +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 0baf6088a3 [imp] small improvement for o2m & on_change
bzr revid: nicolas.vanhoren@openerp.com-20110630092014-g9g462b3rmagct2p
2011-06-30 11:20:14 +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 3f02624843 [merge] small improvements to on change & o2m
bzr revid: nicolas.vanhoren@openerp.com-20110630090959-91so3ci089woknew
2011-06-30 11:09:59 +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
tfr@openerp.com 05c283a6ea [MERGE] fix bug lp:799812 by jam
bzr revid: tfr@openerp.com-20110630084612-nooehdpfnkelwxqi
2011-06-30 10:46:12 +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 b54146c30b [ADD] support for server actions
Also implement Python fix for act_window created by hand (rather than obtained from db), which are usually missing a views key (as it's generated from a function field on the model itself)

bzr revid: xmo@openerp.com-20110630064958-i9jb16hm53ir3hbt
2011-06-30 08:49:58 +02:00
Xavier Morel 60842d0f06 [FIX] view_id should be a scalar
bzr revid: xmo@openerp.com-20110630064831-ibfsljiwik52huj6
2011-06-30 08:48:31 +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
Launchpad Translations on behalf of openerp fe98d57143 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110630043443-rwrzpu2jsuhgol5i
2011-06-30 04:34:43 +00: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 c2ceeb2c6f [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110629153444-tngz8b9p7zg7e4u4
2011-06-29 17:34:44 +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 70cd94aeae [merge] added many things for on_changes and one2many
bzr revid: nicolas.vanhoren@openerp.com-20110629162307-a0m0ot6k9qeaq6qm
2011-06-29 18:23:07 +02:00
tfr@openerp.com 1065d2ac66 [MERGE] fix bug:791903 by sbh
bzr revid: tfr@openerp.com-20110629160528-f961b276inpb47bb
2011-06-29 18:05:28 +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
Jigar Amin 55f5d283d3 [BUG/FIX] project : return action close from web compability
lp bug: https://launchpad.net/bugs/799812 fixed

bzr revid: jam@tinyerp.com-20110629103146-pvyo9isbq8hfjszv
2011-06-29 16:01:46 +05:30
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