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
Pedro M. Baeza
parent
d977d238e3
commit
e38559580f
@@ -438,7 +438,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="/"),
|
||||
view="contract.view_account_move_contract_helper_form",
|
||||
)
|
||||
move_form.partner_id = self.invoice_partner_id
|
||||
|
||||
Reference in New Issue
Block a user