Merge pull request #3667 from expsa/dev_odex25_accounting
Dev odex25 accounting
This commit is contained in:
commit
15fa66e893
|
|
@ -54,9 +54,9 @@ class AccountPayment(models.Model):
|
|||
res = super(AccountPayment, self).action_post()
|
||||
|
||||
|
||||
payments = self.with_prefetch()
|
||||
self.env.flush()
|
||||
|
||||
for payment in payments:
|
||||
for payment in self:
|
||||
|
||||
#payment.state = 'posted'
|
||||
if payment.analytic_account_id and payment.move_id and payment.move_id.exist():
|
||||
|
|
|
|||
Loading…
Reference in New Issue