diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-10-03 11:21:48 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-10-03 11:41:00 +0200 |
| commit | cb30783aba642627c6bf71d4aa812de00e7d536d (patch) | |
| tree | 23d9524fbd6e22b3a35d8504798cf1f280d2a427 /addons/website_quote/data/website_quotation_data.xml | |
| parent | 6349048ba0e5e74c74e783ffce8c3c0083d2f060 (diff) | |
[FIX] web: avoid force_reload in list editable
When creating a new record in list editable, due to previous commit 6349048, the load_record was called twice and the first record of the current list view (self.dataset.index) was used to fill the new record.
With this, we make sure a new record is indeed created.
Fix the web test to have a default_get call in mock models and increase the number of default_get assertions (for creations in list editable, the default_get is then called twice, not optimal but due to the absence of distinction between empty datarecord and filled with default values).
Diffstat (limited to 'addons/website_quote/data/website_quotation_data.xml')
0 files changed, 0 insertions, 0 deletions
