Commit Graph
30457 Commits
Author SHA1 Message Date
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
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
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
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
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
Fabien Meghazi 97da93d3a1 [IMP] Added on_act_window_closed in ViewManager
bzr revid: fme@openerp.com-20110628103049-n7aje7d1a81zjnq3
2011-06-28 12:30:49 +02:00
Fabien Meghazi c2c64560c7 [FIX] Merge action context to dataset context from ViewManagerAction
bzr revid: fme@openerp.com-20110628100110-dy9p1r2gibuhk5ws
2011-06-28 12:01:10 +02:00
Fabien Meghazi d106b1479d [FIX] Correctly set index in DataSetStatic constructor
bzr revid: fme@openerp.com-20110628095858-euv72cho29rbu3hl
2011-06-28 11:58:58 +02:00
Fabien Meghazi 597f850be5 [IMP] Pass context & dataset in constructor of DataSetSearch
bzr revid: fme@openerp.com-20110628093559-dvzvbi51o2xf7kmy
2011-06-28 11:35:59 +02:00
Xavier Morel 3b87953ce7 [IMP] use fluent o2m commands for bulk replace in m2m as well
bzr revid: xmo@openerp.com-20110628083307-4pnzr7peavkv2nk2
2011-06-28 10:33:07 +02:00
Xavier Morel 77afa211fe [IMP] use a more fluent way to create o2m commands
bzr revid: xmo@openerp.com-20110628083050-x260mr5010o4v3gw
2011-06-28 10:30:50 +02:00
Xavier Morel d0a884a750 [IMP] replace cryptic 02M command codes by an enumeration and a switch/case
bzr revid: xmo@openerp.com-20110628082255-d3r94stgmxaq0q5q
2011-06-28 10:22:55 +02:00
Xavier Morel 7d30a1eea9 [IMP] creation of FieldOne2Many views registry: just clone the normal view registry and re-set the list key
bzr revid: xmo@openerp.com-20110628082228-xhm0c43qo91123w2
2011-06-28 10:22:28 +02:00
Xavier Morel 88dcdc93c4 [FIX] actions loading when action domain is 'false'
bzr revid: xmo@openerp.com-20110628075755-fefmksebrd7snyzj
2011-06-28 09:57:55 +02:00
Xavier Morel c10f4a7004 [FIX] minor style and logic fixes
* Improve the use of _.extend to merge a defined set of keys into a dict, rather than do it via []
* Array() should be newed
* Removed redundant variable (assignment to self)
* Remember to use hasOwnProperty when iterating on an object's properties

bzr revid: xmo@openerp.com-20110628060934-sh43wku6go3miwce
2011-06-28 08:09:34 +02:00
DBR (OpenERP) efc308e690 [FIX] Fix the problem of reconfirm
lp bug: https://launchpad.net/bugs/802539 fixed

bzr revid: dbr@tinyerp.com-20110628050350-yt7muh597au50xpr
2011-06-28 10:33:50 +05:30
Launchpad Translations on behalf of openerp eedefe1ebc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110628044031-fyrldmppur3u2vso
2011-06-28 04:40:31 +00:00
Launchpad Translations on behalf of openerp 3a5ebf6a0a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110628043920-ily8l9uswahaf0c0
2011-06-28 04:39:20 +00:00
Fabien Meghazi 37781f304b [FIX] name_get should use a list for ids, some addons are not tolerant to single id
bzr revid: fme@openerp.com-20110627170209-203toh7k14f58xg6
2011-06-27 19:02:09 +02:00
Fabien Meghazi 1d138cfdcc [FIX] Add dataset context to action executor for buttons
bzr revid: fme@openerp.com-20110627165752-0saluid6q3qu7sgt
2011-06-27 18:57:52 +02:00
tfr@openerp.com b9aee9396e [MERGE] fix bug lp:799182 by jam
bzr revid: tfr@openerp.com-20110627154637-fy9npyv1g8wzlo8a
2011-06-27 17:46:37 +02:00
Fabien Meghazi a36a3893eb [FIX] Fix m2o set_value()
bzr revid: fme@openerp.com-20110627145906-obv1s9g8ymy2eoip
2011-06-27 16:59:06 +02:00
Xavier Morel fe1a9ee4ec [IMP] in form view, try all widget possibilities in sequence, so that the form falls back on the default widget if it does not find a more precise spec
bzr revid: xmo@openerp.com-20110627141438-r0gq292w7jp4s79n
2011-06-27 16:14:38 +02:00
Fabien Meghazi 611e78218e [FIX] ViewManagerAction do not set the Dataset index when loading action's res_id
bzr revid: fme@openerp.com-20110627132911-e54mzgkmt28lyhi2
2011-06-27 15:29:11 +02:00
Vo Minh Thu 027d082936 [MERGE] some refactoring in fields_view_get.
bzr revid: vmt@openerp.com-20110627132601-qw6ejx2v4xywq4ai
2011-06-27 15:26:01 +02:00
Xavier Morel b8032a6eec [FIX] error reporting during domain and context evaluation failure
maybe, just maybe, interpolating reported data into the error string could be useful for debugging

bzr revid: xmo@openerp.com-20110627131247-lv38qdg77v22u4hx
2011-06-27 15:12:47 +02:00
Fabien Meghazi 798cf867f6 [FIX] m2o's get_value() should return false when internal value is null
bzr revid: fme@openerp.com-20110627113221-br4h8hfedzbbhd22
2011-06-27 13:32:21 +02:00
Fabien Meghazi 3f543ba20a [FIX] compute_domain does not use form widget's get_value()
bzr revid: fme@openerp.com-20110627113122-lbe99a7381w54qyd
2011-06-27 13:31:22 +02:00
Vo Minh Thu a8facfdb38 [MERGE] fix regression
introduced at revno: 3466, revision-id: vmt@openerp.com-20110617072608-5tmwf2g2qb0pwrhk

bzr revid: vmt@openerp.com-20110627104748-hvvc3sb7nmxk85db
2011-06-27 12:47:48 +02:00
niv-openerp 90abbfc60f [imp] added method to get fields values in form view
bzr revid: nicolas.vanhoren@openerp.com-20110627100956-izjwcr9n5pgjun41
2011-06-27 12:09:56 +02:00
tfr@openerp.com 02f3363f91 [MERGE] import google project + calendar cleaning v1
bzr revid: tfr@openerp.com-20110627100343-msagwsa1nba29497
2011-06-27 12:03:43 +02:00
Vo Minh Thu ab0d721416 [REF] orm: added TODOs.
bzr revid: vmt@openerp.com-20110627095059-lf8lctk1z0yawgrk
2011-06-27 11:50:59 +02:00
tfr@openerp.com 37e5b6aa27 [MERGE] trunk
bzr revid: tfr@openerp.com-20110627094420-4hgyyo72orq3dp0u
2011-06-27 11:44:20 +02:00
Olivier Dony 8654be5ca3 [FIX] orm.unlink(): cascade deletion of ir.model.data performed as admin
Also replaced all uid == 1 references with a ROOT_USER_ID constant, 
to make it more explicit.

bzr revid: odo@openerp.com-20110627092538-kq8hrjoii5o9l7k4
2011-06-27 11:25:38 +02:00
niv-openerp 8ccc412493 [imp] made all relations accept the same value in input than the one created in output
bzr revid: nicolas.vanhoren@openerp.com-20110627090532-lrp05fal50sy0vna
2011-06-27 11:05:32 +02:00
Launchpad Translations on behalf of openerp dd1a492aba Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110625045901-98k6vcr38xovb98h
bzr revid: launchpad_translations_on_behalf_of_openerp-20110626043532-lxfq62fz43u0n5n0
2011-06-26 04:35:32 +00:00
tfr@openerp.com 26f64c51f3 [IMP] review of contact import
bzr revid: tfr@openerp.com-20110624161117-6n2qzn3u2iix1pvb
2011-06-24 18:11:17 +02:00
niv-openerp 3a2b31a128 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110624150547-w03jpa7nyik4srlz
2011-06-24 17:05:47 +02:00