summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data.js
AgeCommit message (Collapse)Author
2015-11-23[FIX] web: method `BufferedDataSet._update_cache` must purge `changes` from ↵Raphael Collet
useless changes
2015-10-29[FIX] web: can remove record in many2many kanban viewChristophe Matthieu
Wrong underscore method called. Issue: go on customer form view, remove a contacts in the many2many kanban view and save. The record is not unlink.
2015-10-26[FIX] web: proper update of the datasetNicolas Martinelli
The method evict_record calls _update_cache with an empty dictionary, which will not replace any cached value. Therefore, the cache is never cleaned. opw-652393
2015-10-01[FIX] web: use _.clone to avoid change of 'default_value'Christophe Matthieu
2015-09-24[FIX] web: clone values in read_ids (avoid external changes)Christophe Matthieu
Some widgets like list editable use and change values dictionary. When the write is called, the values in the cache is equal to the changes send => field no dirty => no change triggered.
2015-08-28[FIX] web: BufferedDataSet must update the cache when reset_ids is calledChristophe Matthieu
2015-08-27[REF] web: data.js: refactoring of BufferedDataSet (less code and speed up)Christophe Matthieu
2015-08-19[FIX] web: many2one try to read a creating record but the cache doesn't yet ↵Christophe Matthieu
contain the record
2015-08-17[FIX] web: need to initialize values into the cacheChristophe Matthieu
2015-08-14[FIX] web: make the web client process the new output format of `onchange`Raphael Collet
The dataset implementation has been improved to handle the result of a `read` on ids that are already modified in the dataset: the lists `to_create` and `to_write` are updated properly.
2015-07-22[MERGE] forward port of branch saas-6 up to 63e92cbChristophe Simonis
2015-06-17[FIX] web: one2many listChristophe Matthieu
Error when click on other record after an update on a one2many record in list editable which have an 'add an item' by checkbox selection
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
The module system needs to know the dependencies of a given module before executing the function. This is why the dependencies were defined once in an array, and then were described one more times in the call to require. But a trick can simplify this: the boot function can parse the string representation of the module and extract the calls to require from it. It is more work for the processor, but it leads to simpler module definitions.
2015-03-18[REF] web: add module system to the web clientGéry Debongnie
This commit introduces a new module system for the javascript code. Instead of using global (namespaced) variables everywhere (like openerp.web.whatever, ...), each file declare one (or more) module with its dependencies. Each module will be loaded after its dependencies, and will be given a reference to the return values. This change is a massive departure from the way the client worked previously. It will sadly break some/most history, but I am sure that the future git ecosystem will allow you to easily browse the history past this revision (one can dream). This commit feature: * main namespace is now odoo instead of openerp * a way to define modules and dependencies (inspired by requirejs) * many files have been splitted in simpler subfiles * basic support for debugging in odoo.__DEBUG__ * no global variable (i.e. nothing in window.openerp) * many bug fixes, many new bugs Future vision: this modularization should simplify future code development, simplify debugging and will allow a serious testing effort