2014-12-15 17:41 GMT+01:00 Cédric Krier <[email protected]>:
>
> On 15 Dec 08:12, Oscar Tark wrote:
> > Hello!,
> >
> > I am using the Prestashop module provided by Zikzakmedia. Everything
> works
> > fine and all is imported from taxes and customer groups. but when I try
> to
> > import the shop using the "Import Prestashop Store" button i get the
> > following error:
> >
> > Traceback (most recent call last):
> >   File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
> >     response['result'] = dispatch_method(method, params)
> >   File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
> >     res = dispatch(*args)
> >   File "/trytond/protocols/dispatcher.py", line 168, in dispatch
> >     result = rpc.result(meth(*args, **kwargs))
> >   File "/trytond/model/modelview.py", line 513, in wrapper
> >     return func(cls, *args, **kwargs)
> >   File "/trytond/modules/prestashop/prestashop_core.py", line 211, in
> > core_store
> >     websites.extend(cls.core_store_website(app, client))
> >   File "/trytond/modules/prestashop/prestashop_core.py", line 154, in
> > core_store_website
> >     shop = SaleShop.create([values])[0]
> >   File "/trytond/model/modelsql.py", line 339, in create
> >     insert_values.append(field.sql_format(value))
> >   File "/trytond/model/fields/many2one.py", line 85, in sql_format
> >     assert value is not False
> > AssertionError
> >
> > Thanks in advance for the help!,
>
> This is really not the place to report bugs.
> But something tries to write False as value for a Many2One instead of
> None.
>
> @zikzakmedia could you activate the issue tracker on your published
> modules to avoid such annoyance here.
>

Sorry for the noise. Here it is [1]

[1] https://bitbucket.org/zikzakmedia/trytond-prestashop/issues


>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected]
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>


-- 

Jesús Martín

Zikzakmedia SL
C/ de Sant Jaume, 9, baixos, 2ª
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to