Blocked to enter invoice line if no company is set
The invoice line has a required field company that is filled from the invoice by the domain on the field lines.
The company field is not visible in the line form because it is not useful as it is made read-only by the domain.
But if the user tries to enter a line on an invoice without the company filled then he is blocked.