[FIX] account: Fix missing dependencies of _check_duplicate_supplier_reference
[FIX] account: Fix missing dependencies of _check_duplicate_supplier_reference

- Create a vendor bill for partner A with reference 'AAAAA'
- Create another vendor bill for partner A with the same reference:
=> Constraint is triggered.
- Create another vendor bill without partner with the same reference.
- Edit the vendor bill and set a partner:
=> Constraint not triggered.

closes odoo/odoo#40897

X-original-commit: 3f6254c8faa7dfb2484f4ac18d4c0fd717149e4b
Signed-off-by: oco-odoo <15533318955789ab09e4c2224ebf367eff32f177@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo