diff options
| author | Goffin Simon <sig@odoo.com> | 2016-04-25 17:11:34 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-04-26 15:12:55 +0200 |
| commit | 64e822c8259ae7d7410a4e91c6181e8959a5d041 (patch) | |
| tree | 4958b13aee39161d9a6bb68c3f26665c190ddf63 /addons/web | |
| parent | ba34df1ead38f3ae60b1ef182601817c4512c98d (diff) | |
[FIX] account_asset: asset_create
When creating assets from invoice lines, the system must check
that assets have not already been created for the related invoice.
If assets already exist then these assets have to be removed.
Used case:
- In the purchase journal, tick "allow canceling entries"
- On a supplier invoice line, set an asset category
- validate the invoice
- cancel the invoice
- set to draft
- validate the invoice
Before the fix: the asset is created twice.
After the fix: the asset is created once.
opw:674674
Note: This is a cherry-pick of commits 9d14230 and 58a5b5e
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
