Browse Source

[IMP] include journal onchange

pull/52/head
Cristian Salamea 8 years ago
parent
commit
0f55d94e65
  1. 3
      contract/models/contract.py

3
contract/models/contract.py

@ -247,8 +247,9 @@ class AccountAnalyticAccount(models.Model):
'contract_id': self.id,
'user_id': self.partner_id.user_id.id,
})
# Get other invoice values from partner onchange
# Get other invoice values from partner/journal onchange
invoice._onchange_partner_id()
invoice._onchange_journal_id()
return invoice._convert_to_write(invoice._cache)
@api.multi

Loading…
Cancel
Save