Review: Needs Fixing + if line.asset_category_id and line.asset_category_id.id: => if line.asset_category_id:
no need to write second condition. thanks, mra -- 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

