Migration from 6.2 to 6.4


  • [CONSOLE] compute clearing reconciled of Payment
    >>> Payment = pool.get('account.payment')
    >>> Payment.update_reconciled(Payment.search([]))
    >>> transaction.commit()

A post was merged into an existing topic: Tryton Release 6.4

A post was split to a new topic: What are the types of migration

I got this message:

>>> Payment.update_reconciled(Payment.search([]))
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
  File "/usr/lib/python3.8/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
AttributeError: type object 'account.payment' has no attribute 'update_reconciled'

Just to let you know, 6.4 started flawlessly, I’ll report back if any problems occur.

This is probably because you do not have account_payment_clearing activated so there is nothing to run.

I am unable to trace it. Sorry, a beginner here.

FTR, don’t know if it’s the right place, but a new group permissions are created for 6.4, check if your users needs them.
Are the group_account_party (Accounting Party) and group_account_product_admin (Account Product Administration)