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
Jiten (OpenERP)
990ece97a5
[MERGE] Merge from openerp-web.
...
bzr revid: jra@tinyerp.com-20111122051803-1ttx64ilabhxo4p1
2011-11-22 10:48:03 +05:30
Launchpad Translations on behalf of openerp
0e8b913842
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111122050046-eb2hd81qu2801nxi
bzr revid: launchpad_translations_on_behalf_of_openerp-20111122051316-eovfu9qj7puxspbf
2011-11-22 05:13:16 +00:00
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
Xavier Morel
69dba424e7
[IMP] error messages during database creation failure, with thanks to Serpent Consulting
...
bzr revid: xmo@openerp.com-20111121102141-95si5svzfycon9ob
2011-11-21 11:21:41 +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
Launchpad Translations on behalf of openerp
7dc7a38490
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121052226-yhr6ydr2i8dbwp8x
bzr revid: launchpad_translations_on_behalf_of_openerp-20111119051322-q109g1zgszi27u9e
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121052251-ee9tr9wvqumk7n8u
bzr revid: launchpad_translations_on_behalf_of_openerp-20111121055048-51rwikms7xtq4bkz
2011-11-21 05:50:48 +00:00
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
Fabien Meghazi
c4a10281e4
[IMP] FormView: on_record_loaded returns a promise
...
bzr revid: fme@openerp.com-20111117124319-61ruoa9g8we1a438
2011-11-17 13:43:19 +01:00
Fabien Meghazi
eaee8c47b0
[IMP] Allows to define options per view in action flags
...
bzr revid: fme@openerp.com-20111117111857-bot6h87bh4tv3dfw
2011-11-17 12:18:57 +01:00
Yogesh (OpenERP)
aa08bb9368
[FIX] Vieweditor :- if type is tree then pass list view in action.
...
bzr revid: ysa@tinyerp.com-20111117101316-9t8saf6t9wfgr9yz
2011-11-17 15:43:16 +05:30
Yogesh (OpenERP)
fa079e79f5
[FIX]
...
bzr revid: ysa@tinyerp.com-20111117095854-w7ivkrucm32g5ug9
2011-11-17 15:28:54 +05:30
Fabien Meghazi
42cdd75942
[FIX] Strange overflow of unwrapped text in 100% width buttons under Firefox
...
lp bug: https://launchpad.net/bugs/885765 fixed
bzr revid: fme@openerp.com-20111117090117-m5du8bph807nhpju
2011-11-17 10:01:17 +01:00
Yogesh (OpenERP)
fa3998b744
[IMP] Vieweditor :- improve edit field dialog box.
...
bzr revid: ysa@tinyerp.com-20111117084739-lzj2jw8woj984054
2011-11-17 14:17:39 +05:30
Yogesh (OpenERP)
3da3b4873a
[IMP] Vieweditor :- improve widget.
...
bzr revid: ysa@tinyerp.com-20111117070840-obtnw5c98e7ywncz
2011-11-17 12:38:40 +05:30
Vidhin Mehta (OpenERP)
d272f9d03b
[IMP] implement functionlity of new field add.
...
bzr revid: vme@tinyerp.com-20111117065525-60ooggze1xh38v63
2011-11-17 12:25:25 +05:30
Yogesh (OpenERP)
7a71c2c821
[IMP] vieweditor :- improve some small issue.
...
bzr revid: ysa@tinyerp.com-20111117061136-h4eh9ksi2kydqaz5
2011-11-17 11:41:36 +05:30
Yogesh (OpenERP)
1d76679c4a
[IMP] vieweditor :- used setAttribute and removeAttribute instead of attr.
...
bzr revid: ysa@tinyerp.com-20111117060520-x0z8xvb4q5s8s1yt
2011-11-17 11:35:20 +05:30
Yogesh (OpenERP)
a2bc7dc12c
[FIX] Vieweditor :- fix some merge problem like change _.sprintf to _.str.sprintf.
...
bzr revid: ysa@tinyerp.com-20111117055436-3pqgbd7exh4h18sm
2011-11-17 11:24:36 +05:30