summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data.js
AgeCommit message (Collapse)Author
2014-01-30[FIX] simplify a computation of raw_fields to make sure it doesn't crash ↵Gery Debongnie
(_.contains expects a list, and not a string) (addon web) bzr revid: ged@openerp.com-20140130153700-2lno0uefta93ex53
2014-01-29[FIX] correctly compute the attribute 'length' in a query_group so that the ↵Gery Debongnie
list view properly display groups when grouped by 'date:interval' (addon web) bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-22[FIX] makes the querygroup methods compatible with the 'field:interval' ↵Gery Debongnie
format of groupbys accepted by read_group bzr revid: ged@openerp.com-20140122124449-4nodai5vkoz3eryf
2014-01-15[MERGE] forward port of branch saas-2 up to revid 3897 ↵Christophe Simonis
dle@openerp.com-20140115121441-bskbyxxbc09ubavh bzr revid: chs@openerp.com-20140115221349-3lw7b0kpo3f2d04l
2014-01-16[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 ↵Denis Ledoux
revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1 bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2013-12-03[FIX]Web: Fixed the issue of immediate update of many2one field when ↵Mohammed Shekha (OpenERP)
many2one object name has been changed from follow button popup, reloaded the record from database forcefull to update dataaset, do not call form-blur when follow button is clicked, also do not evict record when record is still not created. bzr revid: msh@openerp.com-20131203123856-gce4li1igo9k1mak
2013-11-25[MERGE] forward port of branch saas-2 up to revid 3887 ↵Christophe Simonis
chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-22[IMP] webclient: Introducing SimpleIndexedDB, a key value wrapper around ↵Frédéric van der Essen
IndexedDB bzr revid: fva@openerp.com-20131122140048-goaplzrx26jvcmmu
2013-11-14[MERGE][FIX] web: fix race condition in BufferedDataset.Christophe Simonis
Backport of saas-2 commit 3867 nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6 lp bug: https://launchpad.net/bugs/1248531 fixed bzr revid: chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
2013-11-05[FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.Christophe Simonis
lp bug: https://launchpad.net/bugs/1195631 fixed bzr revid: chs@openerp.com-20131105121843-rqplhk83fczxww0t
2013-11-07[FIX] rare race condition in BufferedDatasetniv-openerp
lp bug: https://launchpad.net/bugs/1248531 fixed bzr revid: nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6
2013-11-05[MERGE] forward port of branch 7.0 up to revid 4055 ↵Christophe Simonis
chs@openerp.com-20131105121843-rqplhk83fczxww0t bzr revid: chs@openerp.com-20131105125947-2q11suxxpxh18hyc
2013-09-11[MERGE] point_of_sale: various fixes and improvementsFrédéric van der Essen
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64 bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
2013-09-06[FIX] broken pagerXavier Morel
Turns out when code looks somewhat odd there may well be a good reason for it, and changing it without wondering breaks the pager. In this case, `/web/dataset/search_read` has a significant difference with Model.search_read: it returns the records slice specified by (``limit``, ``offset``) but it also returns the *total number of records* for ``domain`` which is sort-of useful to generating the pager. lp bug: https://launchpad.net/bugs/1218266 fixed bzr revid: xmo@openerp.com-20130906150101-2qb349fzaz6rye36
2013-09-05[FIX] OPW 597162 : context not properly retreived and therefore not sent ↵Anael Closson
when retreiving o2m and m2m lines lp bug: https://launchpad.net/bugs/1217374 fixed bzr revid: acl@openerp.com-20130905155817-llmjnsmd252q3286
2013-08-06[IMP] Removed old JavaScript module loading system in the 'web' addons. ↵niv-openerp
Still has some retro-compatibility for other addons. bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-05Corrected some stuff in openerp.web.Modelniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130805134059-3ayw6b0tqqberkaw
2013-08-05Simplified a little the Query class by removing a reference to a controller ↵niv-openerp
and using call_kw instead bzr revid: nicolas.vanhoren@openerp.com-20130805130458-21w806v9wc456oq4
2013-08-05Ported model to the frameworkniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130805123916-s62upxq3jwqjygt0
2013-07-25Added semicolonsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25Added Gruntfile with jshint and corrected most js errorsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-06-07[FIX] bugs discovered by failing onwrite test caseXavier Morel
Following xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw: * add_ids should not add ids which are already in the dataset, this leads to duplicates which the web client does not overly like * methods which add or remove records should not manipulate dataset.ids as well as that's now automatic (on_write feature) * record add should only insert the id in the dataset on non-false ids (e.g. list edition uses "pending" record with false id during creation, then sets the id it got from create() call) bzr revid: xmo@openerp.com-20130607152326-2pja1kuwo0ropfuw
2013-06-07[IMP] correctly reinsert ids into dataset when moving them around in the ↵Xavier Morel
list view bzr revid: xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw
2013-06-06[FIX]Refixed the issue of resequence, added id at specified index in dataset.Mohammed Shekha
bzr revid: msh@openerp.com-20130606065630-r536yqlcq0wihs8l
2013-05-30[FIX] triggering of dataset_changed events to correctly happen *after* the ↵Xavier Morel
operation also added it to DataSet#create calls where it seems to be missing lp bug: https://launchpad.net/bugs/1185752 fixed bzr revid: xmo@openerp.com-20130530131115-tzap50w2ydnqmxit
2013-05-09[FIX]Fixe the issue of listview record re-ordering which is not working due ↵Mohammed Shekha
to revision 3898. bzr revid: msh@openerp.com-20130509085102-ln4lidp7caqw25ur
2013-04-16[FIX] ids of deleted records living in shared dataset when clicking on list rowXavier Morel
When a record is activated, the listview will do some jiggling around assigning the ids of internal dataset to the one shared between all views, this is mostly for the case where one switches from a "grouped" list view, so the form view only cycles on the "current" group. Problem is, that internal dataset is not correctly synchronized with the shared one, so when the id is removed from the shared dataset it is *not* removed from the internal one(s), and when the switch is made the ids from the internal dataset are set on the shared one and reintroduce the deleted record, leading to the form view's incorrect state. Fix the issue by updating the dataset's ids list when a record is deleted from the records tree. Also extracted some stuff from DataSetSearch's unlink callback so it can be overridden and is more stable across datasets. lp bug: https://launchpad.net/bugs/1161210 fixed bzr revid: xmo@openerp.com-20130416152000-06dbwkgdb8zlf9pc
2013-04-16[FIX] correctly handle group_by_no_leaf when no grouping appliedXavier Morel
If there are no grouping field specified *but* group_by_no_leaf is specified, should call read_group with no grouping fields: will generate a single group (which can not be opened) for all of the model. Necessary for analysis views since individual "records" make no sense. bzr revid: xmo@openerp.com-20130416092344-2pqog8f7xprn6hsh
2013-04-04[FIX] DataSet#size() problem + FormView#on_button_delete() shall pop ↵Fabien Meghazi
breadcrumb on empty dataset bzr revid: fme@openerp.com-20130404101459-m9q90e32qwf068lw
2013-03-19[FIX] small problem with m2o, does not uses context when opening them in ↵niv-openerp
read-only mode bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-08added readonly fields to buffered dataset cacheniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130308104050-uqt5qi2n9dmcd2hb
2013-03-01[FIX] O2M record reloading after workflow progressXavier Morel
Evict record from BufferedDataSet cache as is done with button calls, otherwise when caller reloads record (read) after having executed the workflow action, it'll get the old one back from the BDS's cache. bzr revid: xmo@openerp.com-20130301103543-jra87w2wm417tgyc
2013-02-19[FIX]Fixed the issue of reload record affter callign exec_workflow for ↵Mohammed Shekha
one2many dataset. bzr revid: msh@openerp.com-20130219101940-uum7iqbvvhg619uk
2012-11-28[FIX] context evaluation in kanban resequencingXavier Morel
bzr revid: xmo@openerp.com-20121128151044-i58uwcdem2cgyyrv
2012-11-27[FIX] group_by using old codeXavier Morel
bzr revid: xmo@openerp.com-20121127143917-pk4un6zi1v96niyr
2012-11-20[MERGE] from trunkXavier Morel
when creating the instance, set instance.session.uid to 42 so the evaluator has something to chew on when it tries to create the evaluation context bzr revid: xmo@openerp.com-20121120101733-b0ire11bbuywfi8u
2012-11-16[IMP] Added feature in the rpc() method to be able to perform a call without ↵niv-openerp
triggering the loading messages. bzr revid: nicolas.vanhoren@openerp.com-20121116094200-q4cby6jofcrk87hd
2012-11-14[FIX] problem with invalid on*|do* refactoringniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20121114125922-cirvs06k133dwako
2012-11-10[FIX] dataset classAntony Lesuisse
bzr revid: al@openerp.com-20121110222822-ey7vzl7excr70j9k
2012-11-10remove CallbackEnabledAntony Lesuisse
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind() it doesnt clutter stack traces anymore. However the fate of this automatic binding feature remains uncertain. bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-05[MERGE] trunkFabien Meghazi
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-10-31[FIX] dataset methods to get their request context through Dataset#get_contextXavier Morel
if they go directly through the embedded model, child classes to DataSet don't get the occasion to override the generation/fetching of the context, and e.g. relational fields thus don't work correctly (as their field context isn't forwarded). bzr revid: xmo@openerp.com-20121031143723-j4q0t8cbzttela1r
2012-10-30[IMP] jQuery deferred API changes refactoring. Changed 'then's in ↵Fabien Meghazi
'done'/'fail' and 'pipe's in 'then' bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-22[FIX] problem in read_group, caused an exception "cannot read 'lang' in ↵niv-openerp
undefined" in a lot of views bzr revid: nicolas.vanhoren@openerp.com-20121022124935-mxfzx2wg431bqhm9
2012-10-19[FIX] problem with exec_workflow in dataset: does not return the expected ↵niv-openerp
result format bzr revid: nicolas.vanhoren@openerp.com-20121019165211-n6oh82sv4uc6jfsg
2012-10-17[FIX] group_by_no_leaf handlingXavier Morel
bzr revid: xmo@openerp.com-20121017110750-vrtx04b40e4kralm
2012-10-17[MOVE] datagroup to a private ListView APIXavier Morel
bzr revid: xmo@openerp.com-20121017105213-sfosutg26zg0w2ax
2012-10-16[FIX] Broken Dataset#unlinkFabien Meghazi
bzr revid: fme@openerp.com-20121016093834-ulhdzbhvasw9msp5
2012-10-15[FIX] Fixed some small issues concerning event triggering.vta vta@openerp.com
bzr revid: vta@openerp.com-20121015075320-2zgo32vy5fengm7b
2012-10-15[MERGE] Latest trunk.vta vta@openerp.com
bzr revid: vta@openerp.com-20121015071605-jgupguux9p1aavdm