OCA / account-financial-tools

Odoo Accountant Financial Tools and Utils
GNU Affero General Public License v3.0
298 stars 739 forks source link

[16.0][FIX] account_asset_management: no create asset from cash basis #1909

Open Saran440 opened 4 days ago

Saran440 commented 4 days ago

This PR fixes issue in case vendor bills have asset profile and undue vat. It shouldn't create asset when create cash basis entry.

Step to test:

  1. Create bill and select asset profile and undue vat (cash basis)
  2. After register payment, it will create CABA Selection_010
  3. In cash basis entry will create asset too. Selection_011 Selection_012