Hi,

I was trying the subscription module in a 2.8 server.

The module are on 
https://bitbucket.org/zikzakmedia/trytond-subscription/src/be5c8fe688037558882bd8779578fa0769e451d2/subscription.py?at=default

This cannot create a recurrent document cause is give the follow message: 

Traceback (most recent call last):
  File 
"/home/.virtualenvs/tryton28/local/lib/python2.7/site-packages/trytond/ir/cron.py",
 
line 155, in _callback
    getattr(Model, cron.function)(*args)
  File 
"/home/.virtualenvs/tryton28/local/lib/python2.7/site-packages/trytond/modules/subscription/subscription.py",
 
line 291, in model_copy
    Request.create(to_create)
  File 
"/home/.virtualenvs/tryton28/local/lib/python2.7/site-packages/trytond/model/modelsql.py",
 
line 360, in create
    field.set([new_id], cls, fname, value)
  File 
"/home/.virtualenvs/tryton28/local/lib/python2.7/site-packages/trytond/model/fields/one2many.py",
 
line 140, in set
    vals = vals.copy()
AttributeError: 'str' object has no attribute 'copy'

Maybe it is easy fixed but at this moment dont know how.

Any help will be appreciated. 

Reply via email to