diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-08-06 10:29:57 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-08-06 10:29:57 +0200 |
| commit | 1f92477cf46af9580d6cb4b2a430254875e83ed1 (patch) | |
| tree | 9dedf5e875a5b5100f14ff1faaa1522d28c806e0 /addons | |
| parent | 7836c4176358ac5a741b878ca83b68b5a3e1ccfe (diff) | |
| parent | 2b7c525982fa4ef9f964bf6374f6f77c2f043455 (diff) | |
[MERGE] forward port branch 10.0 up to 2b7c525982f
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account_asset/models/account_asset.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/account_asset/models/account_asset.py b/addons/account_asset/models/account_asset.py index 52d2c48a0d9..2663bff2d00 100644 --- a/addons/account_asset/models/account_asset.py +++ b/addons/account_asset/models/account_asset.py @@ -333,6 +333,8 @@ class AccountAssetAsset(models.Model): 'target': 'current', 'res_id': move_ids[0], } + # Fallback, as if we just clicked on the smartbutton + return self.open_entries() @api.multi def set_to_draft(self): |
