Wednesday, August 18, 2021

The fields vat_id and vat_regime are now implemented by the new model mixin lino_xl.lib.vat.VatSubjectable (instead of being injected). And lino_xl.lib.contacts.Partner inherits from lino_xl.lib.vat.VatSubjectable.

No functional change, but Sharif can now extend the full_clean() of lino_xl.lib.vat.VatSubjectable so that it validates the VAT id of a partner.

I am not yet sure how to document all this…