[FIX] sale: conflicting method names
Two methods on sale.order model had the same signature, i.e. _onchange_commitment_date. This commit renames one of the two methods to make sure both methods are correctly called.
This commit is contained in:
@@ -329,7 +329,7 @@ class SaleOrder(models.Model):
|
||||
order.expected_date = False
|
||||
|
||||
@api.onchange('expected_date')
|
||||
def _onchange_commitment_date(self):
|
||||
def _onchange_expected_date(self):
|
||||
self.commitment_date = self.expected_date
|
||||
|
||||
@api.depends('transaction_ids')
|
||||
|
||||
Reference in New Issue
Block a user