Testing Invoice Deferred module and try to create a new record, company field is null.
Some reason why there isn’t “default_company” method when company field is required?
https://hg.tryton.org/modules/account_invoice_defer/file/tip/account.py#l65
Testing Invoice Deferred module and try to create a new record, company field is null.
Some reason why there isn’t “default_company” method when company field is required?
https://hg.tryton.org/modules/account_invoice_defer/file/tip/account.py#l65
Because the deferred is created when posting the invoice, so the invoice company is already set.
It does not hurt to add it for the rare manual use case.