mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
Merge branch '10.0_imp_sequence_journal' of git+ssh://github.com/efatto/contract into 10.0
This commit is contained in:
@@ -80,4 +80,5 @@ class AccountAnalyticContract(models.Model):
|
||||
domain = [
|
||||
('type', '=', 'sale'),
|
||||
('company_id', '=', company_id)]
|
||||
return self.env['account.journal'].search(domain, limit=1)
|
||||
return self.env['account.journal'].search(
|
||||
domain, order='sequence asc', limit=1)
|
||||
|
||||
Reference in New Issue
Block a user