Commit Graph

30597 Commits

Author SHA1 Message Date
Olivier Dony 06fb14130a [IMP] removed method=True params from all fields.function
Server revision 3495 odo@openerp.com-20110701232328-flgxulxva70vnyxr
removed the need for passing method=True to function fields,
so this is the equivalent addons fix, removing it everywhere.
Please be careful from now on, and do not pass it anymore!

bzr revid: odo@openerp.com-20110701234124-a61zl0idvdfz3hyb
2011-07-02 01:41:24 +02:00
Olivier Dony ce0d89e7e7 [IMP] fields.function: removed method=True param, added docstring
The 'method' param was quite useless, as 100% of functions
fields were using method=True. In addition, there is no need
to distinguish methods and functions, as methods are unbound
and passed as function objects in the declaration of a function
field, so they only need a proper signature.
Finally, docstring was added for fields.function class,
based on current doc from developer book (in preparation of
future API doc).
(A fix in addons follows, getting rid of all the useless
method=True params there too).

bzr revid: odo@openerp.com-20110701232328-flgxulxva70vnyxr
2011-07-02 01:23:28 +02:00
P. Christeas 7c8665bb69 [MERGE] docstrings improvements and preparation for api-doc structure
bzr revid: odo@openerp.com-20110701231956-93zu7xtibpo06eqm
2011-07-02 01:19:56 +02:00
Antony Lesuisse e093396b4a [MERGE] Add company column in taxes list
bzr revid: al@openerp.com-20110701165143-pwt947rfpprzg9lj
2011-07-01 18:51:43 +02:00
tfr@openerp.com 87dec6fe30 [MERGE] fix bug lp:789658 by uco
bzr revid: tfr@openerp.com-20110701162406-lvn22ylsdu1j24h2
2011-07-01 18:24:06 +02:00
Olivier Dony 1ac0c5f053 [REVERT] last 4 revisions on fields_view_get, need further review
bzr revid: odo@openerp.com-20110701151839-g8nhfr4z8pmkflah
2011-07-01 17:18:39 +02:00
tfr@openerp.com db976482fa [MERGE] fix bug lp:797715 by mtr
bzr revid: tfr@openerp.com-20110701142134-w8gk9oizibp4n6m3
2011-07-01 16:21:34 +02:00
tfr@openerp.com 19c88c744b [MERGE] fix bug lp:798190 bde
bzr revid: tfr@openerp.com-20110701130105-os7smkh9bpb0irhg
2011-07-01 15:01:05 +02:00
tfr@openerp.com cae27ffe71 [MERGE] fix bug lp:772724 by jam
bzr revid: tfr@openerp.com-20110701123941-35z9fp641lw3wdsf
2011-07-01 14:39:41 +02:00
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
bde a533d96236 [ADD] hr : converted ids in list of ids where _check method is called
lp bug: https://launchpad.net/bugs/798190 fixed

bzr revid: bde@tiny2-desktop-20110701094510-x6ysb65d71blszkd
2011-07-01 15:15:10 +05:30
Launchpad Translations on behalf of openerp f1ea42e230 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110701045457-prq3cv67drfa19xt
2011-07-01 04:54:57 +00:00
Vo Minh Thu 8845ae1259 [IMP]: fields_view_get: respect priority of node over fields, and of static invisible over dynamic invisible.
bzr revid: vmt@openerp.com-20110630153334-d34qep1727gdbh8l
2011-06-30 17:33:34 +02:00
Jigar Amin 9df301fd1b [MERGE]with lp:openobject-addons
bzr revid: jam@tinyerp.com-20110630122751-xd4w6p9e0iy1rga6
2011-06-30 17:57:51 +05:30
Jigar Amin 8fec9dab11 [FIX] project_long_term - scheduling task based on child task paretn shoud be at last
bzr revid: jam@tinyerp.com-20110630114731-usnnqe2y834chwb0
2011-06-30 17:17:31 +05:30
tfr@openerp.com 0c3109c29d [MERGE] fix bug lp:65150
bzr revid: tfr@openerp.com-20110630112251-rb63v0cj2icnpjkz
2011-06-30 13:22:51 +02:00
tfr@openerp.com 536d032427 [MERGE] fix bug lp:797233 by sbh
bzr revid: tfr@openerp.com-20110630101830-vg83lqij220cs2e5
2011-06-30 12:18:30 +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
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
DBR (OpenERP) c7b27ed027 [IMP] Improve the code
bzr revid: dbr@tinyerp.com-20110630090152-rgfh2y8wvs6l8omj
2011-06-30 14:31:52 +05:30
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
DBR (OpenERP) ffe4df20d4 [IMP]Improve code : save the host name value to avoid writing each time.
bzr revid: dbr@tinyerp.com-20110630084124-gd84vzblzarth5lg
2011-06-30 14:11:24 +05:30
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