summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2017-01-05 12:49:31 +0100
committerGoffin Simon <sig@odoo.com>2017-01-05 13:21:51 +0100
commit416892279d24c3142205234257a7e8fd17a87ad8 (patch)
tree67f1cb702624f09c5ccb9cfae047ae03e0c64eb7 /addons/web/static/src/js/views/basic/basic_controller.js
parentbf89a58acdb5b6ab4508c3fc25f1803a85080b3d (diff)
[FIX] account_asset: Wrong account set in Vendor Bill
This reverts commit 804ef6f. 1. Generating the vendor bill by adding the related Purchase Order: in that case, it works well since the system has a first on-change on the product when selecting the asset type; it sets the asset account in the expense account of the product which in turn is used as the vendor bill account. 2. Creating the vendor by adding manually the product which is an asset: in that case it takes the wrong account since it used the depreciation account instead of the asset one. But the labels cannot be changed because the case 1 works. opw:702265
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions