chat.freenode.net #tryton log beginning Sat Sep 1 00:00:01 CEST 2012 | ||
2012-09-01 08:13 <scrapper> hello guys, I try to have one account with a different currency in my account chart... but the currency for all accounts seems to be bound to company.currency. My companies currency is "Euro" but on one PayPal account I do have "US-Dollar". I need this money in US-Dollar WITHOUT conversion to Euro. Any hints? | ||
2012-09-01 15:56 <scrapper> I try to install a module which was created for Tryton Version 1.8 on Version 2.2.0 and i get the following error on install: trytond/model/modelsql.py line 306: in create if not hasattr(self._columns[field], 'set'): | ||
2012-09-01 15:56 <scrapper> KeyError: u'view_type' | ||
2012-09-01 15:56 <cedk> scrapper: it doesn't work | ||
2012-09-01 15:57 <scrapper> cedk: I try to make it work. | ||
2012-09-01 15:57 <cedk> scrapper: only same major release | ||
2012-09-01 15:57 <scrapper> cedk: does KeyError: u'view_type' mean... that self._columns for some reason in this case is a "view_type" | ||
2012-09-01 15:58 <scrapper> cedk: the model is quit simple. | ||
2012-09-01 15:59 <cedk> scrapper: I guess you try to create a value that doesn't exist | ||
2012-09-01 16:00 <scrapper> cedk: upgrade module tries to create a new record. | ||
2012-09-01 16:03 <scrapper> cedk: maybe i should try to add default values... but I have no idea. sorry for asking that question I try to install currency-auto-update for 2.2.0. As soon as I have it a talk to sharoonthomas. | ||
2012-09-01 16:05 <cedk> scrapper: I don't know what does this module | ||
2012-09-01 16:06 <scrapper> cedk: it updates the currency rates "automatically" instead of "manually"... source: https://bitbucket.org/openlabs/trytond-currency-auto-update/src | ||
2012-09-01 16:07 <scrapper> but it was written for version 1.8 not for 2.2.0. But it looks pretty simple to adjust it. (I hope so...) | ||
2012-09-01 16:07 <scrapper> cedk: the models are small. I think you are right it tries to work with some values which are not available. | ||
2012-09-01 16:09 <scrapper> cedk: I need to understand the whole process of "modules upgrade" better... to make this magic work. | ||
2012-09-01 16:22 <cedk> scrapper: http://hg.tryton.org/trytond/rev/46aceb527d78 | ||
2012-09-01 16:23 <cedk> scrapper: view_type was removed | ||
2012-09-01 16:23 <scrapper> cedk: thx for your help ced! |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!