Commit Graph
4811 Commits
Author SHA1 Message Date
Antoine Huvelle f661ad310e [NEW] Font form sizes and separator changes
bzr revid: ahu@openerp.com-20111122120459-54ljeteh1im0pm03
2011-11-22 13:04:59 +01:00
Yogesh (OpenERP) e5d3c062e5 [IMP] implement add and remove node functionality in vieweditor.
bzr revid: ysa@tinyerp.com-20111122112000-xqbd20hhpfjzocwx
2011-11-22 16:50:00 +05:30
Vidhin Mehta (OpenERP) 5c5d874f5f [FIX]fix issue of review.
bzr revid: vme@tinyerp.com-20111122111630-i5nekbbyilt16mpr
2011-11-22 16:46:30 +05:30
Antoine Huvelle 2c8d0d9a3f Some changes in list and form font sizes
bzr revid: ahu@openerp.com-20111122104609-m9kdnqptdo30faoe
2011-11-22 11:46:09 +01:00
Tejas (OpenERP) 733941e979 Fix search m2o field, default added
bzr revid: tta@openerp.com-20111122104145-ce1z32beh8ef6346
2011-11-22 16:11:45 +05:30
Xavier Morel a738f4390f [FIX] do not reload sidebar during form's on_loaded if it's already setup
There's no information provided to FormView#on_loaded which should
change the sidebar and reloading it apparently breaks
stuff... severely.

So just don't touch it if it's already setup (assigned to instance
variable), everything works right (as the readonly mode fundamentally
only changes the way the form is displayed, it should not alter its
internal behaviors)

lp bug: https://launchpad.net/bugs/891117 fixed

bzr revid: xmo@openerp.com-20111122102609-faldd3xkc0xhzvu2
2011-11-22 11:26:09 +01:00
Xavier Morel 2e5d7852f4 [FIX] comma-terminated object literals
bzr revid: xmo@openerp.com-20111122101950-mng5zy4os3mukj6d
2011-11-22 11:19:50 +01:00
Xavier Morel b7dfc8bb45 [FIX] semicolon warnings
bzr revid: xmo@openerp.com-20111122101813-61xmoekdio52j1oj
2011-11-22 11:18:13 +01:00
Yogesh (OpenERP) 2a75b1e935 [IMP] Improve code in vieweditor.
bzr revid: ysa@tinyerp.com-20111122100454-nzr2tn6mi1112usq
2011-11-22 15:34:54 +05:30
Yogesh (OpenERP) 2417d91e57 [IMP] code refactor in vieweditor.
bzr revid: ysa@tinyerp.com-20111122095153-jox0cz1ocj6tz57l
2011-11-22 15:21:53 +05:30
Xavier Morel 11bc9e1ad8 [ADD] support for string literals in on_change specifications, some tests for parsing of on_change specs
bzr revid: xmo@openerp.com-20111122094416-knguk9qgpnd1f9ws
2011-11-22 10:44:16 +01:00
Yogesh (OpenERP) ebb52f682f [IMP] implement add and remove node functionality in vieweditor.
bzr revid: ysa@tinyerp.com-20111122091627-mmwp49bkdqkjey2e
2011-11-22 14:46:27 +05:30
Vidhin Mehta (OpenERP) f1e0fefba0 [Merge]merge with main branch.
bzr revid: vme@tinyerp.com-20111122085146-khp27cdcja9e8gac
2011-11-22 14:21:46 +05:30
Vidhin Mehta (OpenERP) 37f2f7cd4c [IMP]improvement in code.
bzr revid: vme@tinyerp.com-20111122084447-jny55ehsiksd3v0d
2011-11-22 14:14:47 +05:30
Vidhin Mehta (OpenERP) 5c0b707510 [IMP] fix view for new field dialog box.
bzr revid: vme@tinyerp.com-20111122072157-rw2h87p6u4dyrjak
2011-11-22 12:51:57 +05:30
niv-openerp 452eca8952 [imp] added replace() method in Widget to ease insertion at a precise place in the dom
bzr revid: nicolas.vanhoren@openerp.com-20111122062431-zh762kivblfhwewk
2011-11-22 11:54:31 +05:30
Vidhin Mehta (OpenERP) 67e7ba0d00 [MERGE]resove conflict and merge with main branch.
bzr revid: vme@tinyerp.com-20111122061753-5uxqy3mxw0eedthn
2011-11-22 11:47:53 +05:30
Yogesh (OpenERP) c9830bb353 [FIX] vieweditor :- fix problem of _.include method/
bzr revid: ysa@tinyerp.com-20111122052234-gbdj2bj6vinfg1n8
2011-11-22 10:52:34 +05:30
Yogesh (OpenERP) 1a2277c140 [MERGE] Merge with trunk upto revision no 1521.
bzr revid: ysa@tinyerp.com-20111118044850-ygx7yd77oc4dd8ha
bzr revid: ysa@tinyerp.com-20111121051559-hqfcuel4vcqpsa62
bzr revid: ysa@tinyerp.com-20111122045234-35tg4dzgaadrfc95
2011-11-22 10:22:34 +05:30
Fabien Meghazi 5c014979c2 [IMP] Ensure form is saved when xmo's protocol for sidebar context is used
bzr revid: fme@openerp.com-20111121163441-y200rwxk4g2jtzuj
2011-11-21 17:34:41 +01:00
Xavier Morel 89e5c72b6e [ADD] cache eviction for buffereddataset on records on which call_button has been invoked
lp bug: https://launchpad.net/bugs/885679 fixed

bzr revid: xmo@openerp.com-20111121163412-jyvpoa9smrk4qy2g
2011-11-21 17:34:12 +01:00
Xavier Morel 84d46bf4ec [FIX] provide for values to sidebar links context
lp bug: https://launchpad.net/bugs/871714 fixed

bzr revid: xmo@openerp.com-20111121141418-x4623mk77ljx4nlv
2011-11-21 15:14:18 +01:00
Xavier Morel 542928adde [ADD] protocol to allow sidebar to query its parent view for context data
bzr revid: xmo@openerp.com-20111121140908-e9b3eygtt42m9bnp
2011-11-21 15:09:08 +01:00
Vidhin Mehta (OpenERP) d206d8dc42 [IMP]add new node last in group.
bzr revid: vme@tinyerp.com-20111121130231-zsv1py2lnljy5t3x
2011-11-21 18:32:31 +05:30
Xavier Morel b40b60e278 [IMP] use _.map to extract values from onchange parameter names, instead of doing it indirectly via _.each
bzr revid: xmo@openerp.com-20111121124532-ndo2me1ehos7mu0m
2011-11-21 13:45:32 +01:00
Xavier Morel 8f67c5c367 [ADD] support for string literals in form @on_change
lp bug: https://launchpad.net/bugs/889741 fixed

bzr revid: xmo@openerp.com-20111121124145-6i2kvesyc689g3ez
2011-11-21 13:41:45 +01:00
Fabien Meghazi 8ca42daf0a [FIX] Apply same behavior as gtk+ and old web clients concerning fields to be saved/created
Special case 'id' field, do not save this field
on 'create' : save all non readonly fields
on 'edit' : save non readonly modified fields

lp bug: https://launchpad.net/bugs/891164 fixed

bzr revid: fme@openerp.com-20111121124030-egiajgy6fgokwmm1
2011-11-21 13:40:30 +01:00
Xavier Morel 9d09c570ae [ADD] support for arguments-less onchange (why the hell not)
bzr revid: xmo@openerp.com-20111121122845-98lctm470ncttz74
2011-11-21 13:28:45 +01:00
Xavier Morel 95e2fcf884 [ADD] sanity tests for basic checking of onchange parsing
bzr revid: xmo@openerp.com-20111121122622-g6jzo74ctgc6r1hk
2011-11-21 13:26:22 +01:00
Xavier Morel e3a84ed7b6 [IMP] throw actual error objects to improve debugging experience
bzr revid: xmo@openerp.com-20111121120509-fa0rqj50w3zombs1
2011-11-21 13:05:09 +01:00
Xavier Morel ca95467bef [IMP] extract parsing of onchange specs into a separate method
bzr revid: xmo@openerp.com-20111121120413-xw2aanwbte79y8cr
2011-11-21 13:04:13 +01:00
Vidhin Mehta (OpenERP) 96212584c4 [IMP]make sequence for add node and edit node dialog box.
bzr revid: vme@tinyerp.com-20111121101326-xyhlum8idixqgkhr
2011-11-21 15:43:26 +05:30
Xavier Morel ceb67d96a6 [FIX] dialogs not closing when they trigger a report printing
bzr revid: xmo@openerp.com-20111121100257-yrhui8kx9zodnzqx
2011-11-21 11:02:57 +01:00
Yogesh (OpenERP) 7ec009c0ba [FIX] fix problem of close popup in actio type of ir_actions_report_xml.
bzr revid: ysa@tinyerp.com-20111121091451-i9lvmv6yibys17vp
2011-11-21 14:44:51 +05:30
Xavier Morel e1190b7a8a [FIX] correctly pass active_* context keys along when executing an action from the treeview
lp bug: https://launchpad.net/bugs/888397 fixed

bzr revid: xmo@openerp.com-20111118134555-tmnh06kmx81mvqhx
2011-11-18 14:45:55 +01:00
Xavier Morel 4df84629ea [IMP] pass along the action context when requesting a tree view
bzr revid: xmo@openerp.com-20111118134502-t6ltgtooij0ob0bt
2011-11-18 14:45:02 +01:00
Vidhin Mehta (OpenERP) 2f13563b21 [IMP]add event for clone element.
bzr revid: vme@tinyerp.com-20111118132735-35gkiai7l4oq0pin
2011-11-18 18:57:35 +05:30
Christophe Simonis f994e70e41 merge upstream
bzr revid: chs@openerp.com-20111117125432-zhfrcyrtwy9b9cv8
bzr revid: chs@openerp.com-20111118132606-6gh7zmrx7606w8fv
2011-11-18 14:26:06 +01:00
Xavier Morel e6f0378bd8 [FIX] display user login in static home page
lp bug: https://launchpad.net/bugs/887969 fixed

bzr revid: xmo@openerp.com-20111118111521-7dem9bsa3z0fy3ej
2011-11-18 12:15:21 +01:00
Yogesh (OpenERP) 0aca8061fa [FIX] correct selection fields help. False not display in help text.
lp bug: https://launchpad.net/bugs/890558 fixed

bzr revid: ysa@tinyerp.com-20111118095905-guzif5hgr4m0nk2j
2011-11-18 15:29:05 +05:30
Yogesh (OpenERP) 9d1e3b7534 [FIX] action is ir_actions_report_xml then wizard automatically close.
lp bug: https://launchpad.net/bugs/891342 fixed

bzr revid: ysa@tinyerp.com-20111118073041-x28pnecgtredpc97
2011-11-18 13:00:41 +05:30
Vidhin Mehta (OpenERP) 379c9fab24 [IMP]code refactor.
bzr revid: vme@tinyerp.com-20111118055903-llouzhuhdw5j64mh
2011-11-18 11:29:03 +05:30
Fabien Meghazi 1465ab1446 [IMP] Improve listview styling
bzr revid: fme@openerp.com-20111117165426-h0hbjrd3rqojgewm
2011-11-17 17:54:26 +01:00
Xavier Morel 7c629a31cc [FIX] synchronization of o2m widget saving, avoid race condition when clicking on button of unsaved record
After saving, the formview would both refresh the form and lauch the
action itself, which launches a refresh of its own.

Issue is that o2m's filling of themselves (a read) is async and
triggered by the set_value on the o2m field, so the second reload of
the form would be interspersed (between the first reload and the end
of the o2ms loading), resulting in corrupted state for the o2ms if the
button's action somehow changed the contents of the o2m (it would
remove the old records and return brand new ids during the refresh):
the set_value on the o2m would empty the o2m's dataset cache, and the
returning fetch request would try to find in cache values removed from
it, or something, blowing up everything.

Anyway, this was fixed by ensuring the button action is only executed
after the form is completely done doing its post-save reload (using
the new async set_value). This is a tiny bit brittle in that onchanges
are synchronous but call set_value, so a set_value on an o2m from an
onchange may have issues. It also increases the flicker of the view,
as the o2m is reloaded twice in quick succession.

lp bug: https://launchpad.net/bugs/885658 fixed

bzr revid: xmo@openerp.com-20111117161426-72jzhvv3dm387uom
2011-11-17 17:14:26 +01:00
Xavier Morel 6bd9084740 [FIX] issues with asynchronous set_value handling
* field could be changed from under the closure, use _.each
* There's a bug in Deferred.queue() when passing synchronous deferred
  (including non-deferred) it's instantanously resolved

bzr revid: xmo@openerp.com-20111117160009-s702939kji69v3zf
2011-11-17 17:00:09 +01:00
Fabien Meghazi efbef31770 [FIX] callers of on_record_loaded to use promises
bzr revid: fme@openerp.com-20111117131816-991odq4m45146vfv
2011-11-17 14:18:16 +01:00
Fabien Meghazi 5ebcc65fc5 [FIX] Fixed data#read_index() so it returns same argument to callback and to .then()
bzr revid: fme@openerp.com-20111117130913-lji983yp8b7vb0do
2011-11-17 14:09:13 +01:00
Fabien Meghazi 41aded04c4 [IMP] Core callbacks always return value of original method
instead of last callback in the stack

bzr revid: fme@openerp.com-20111117130802-gyrzythtzs2nzmz5
2011-11-17 14:08:02 +01:00
Christophe Simonis 4e85f0762c [IMP] Connection: add utility method that bind() then login()
bzr revid: chs@openerp.com-20111117124926-y3z3osoq76va0kjy
2011-11-17 13:49:26 +01:00
Christophe Simonis a113e971fb [FIX] typo
bzr revid: chs@openerp.com-20111117124819-qmxoit9i2ryo8szo
2011-11-17 13:48:19 +01:00