+ res['asset_category_id'] = line.asset_category_id.id or False

remove this line because we dont need asset on the move.line of buying, it's 
only requested for depreciation lines
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account-asset-invoice_asset_state-uco/+merge/61369
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-account-asset.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to