mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Set name='/' for contract invoices
This commit is contained in:
committed by
Maximilien TANTIN
parent
15209ddf95
commit
cbef21260a
@@ -429,7 +429,7 @@ class ContractContract(models.Model):
|
||||
move_form = Form(
|
||||
self.env["account.move"]
|
||||
.with_company(self.company_id)
|
||||
.with_context(default_move_type=invoice_type)
|
||||
.with_context(default_move_type=invoice_type, default_name="/")
|
||||
)
|
||||
move_form.partner_id = self.invoice_partner_id
|
||||
if self.payment_term_id:
|
||||
|
||||
Reference in New Issue
Block a user