I understand that if I have 4.6.0 installed with this module, I cannot upgrade
(easily) to 4.8.0, am I right ?
I've tried the upgrade, but it clashes while doing the database update. I
understand that this happens because Tryton is using functionality that is not
present in 4.6's implementation of es ES chart of accounts module.
I'm not in production. This is just a test server to check if Tryton can
fulfill our needs.
To upgrade, I did:
ALTER TABLE ir_lang ADD parent VARCHAR;
(as root)
pip install tryton trytond trytond-account trytond-account-eu
trytond-account-invoice trytond-account-invoice-stock trytond-account-product
trytond-company trytond-company-work-time trytond-country trytond-currency
trytond-party trytond-product trytond-product-attribute
trytond-product-price-list trytond-production trytond-production-routing
trytond-production-work trytond-production-work-timesheet trytond-purchase
trytond-sale trytond-sale-extra trytond-sale-opportunity
trytond-sale-price-list trytond-stock trytond-timesheet --upgrade
...all fine and succesfully updated.
Then I try to update the database:
trytond-admin -c tryton/tryton.conf -d tryton --all
Traceback (most recent call last):
File "/usr/local/bin/trytond-admin", line 21, in <module>
admin.run(options)
File "/home/esteve/.local/lib/python2.7/site-packages/trytond/admin.py", line
54, in run
installdeps=options.installdeps)
File "/home/esteve/.local/lib/python2.7/site-packages/trytond/pool.py", line
144, in init
self.start()
File "/home/esteve/.local/lib/python2.7/site-packages/trytond/pool.py", line
97, in start
register_classes()
File
"/home/esteve/.local/lib/python2.7/site-packages/trytond/modules/__init__.py",
line 373, in register_classes
mod_file, pathname, description)
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/currency/__init__.py",
line 5, in <module>
from .currency import *
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/currency/currency.py",
line 11, in <module>
from trytond.model import (
ImportError: cannot import name DeactivableMixin
I'm stuck here.
Regards,
Esteve
El dimecres, 21 març de 2018 17:00:07 UTC+1, Cédric Krier va escriure:
> On 2018-03-20 17:08, Cédric Krier wrote:
> > In the last release 4.6, we included a module for the Spanish
> > accounting. But it showed that there was many issues with its design:
> > https://bugs.tryton.org/issue7150
> >
> > Currently, I'm envisaging to remove it from the standard modules (hide
> > the only release on PyPI) and move it to the sandbox repositories until
> > a proper design is found.
> > This way, we will be able to break migration path for it and restart it
> > with a good basis.
>
> I had a call with Sergi and we discussed about the module design etc.
>
> We found that the tax code chart and the taxes need to have a cleaning
> in depth. We will remove too specific stuffs (like agriculture taxes,
> Canary special taxes etc.) to have a simpler but cleaner basis to built
> on.
>
> As it will take time and the release freeze is close, we will move the
> module into sandbox and release it for 4.8 only when it is ready (so it
> may be long after the fixed date).
> As there are not much users of it now, we do not guarantee any migration
> paths fro 4.6 to 4.8 for this module. (Sergi will maybe publish some
> migration script later).
>
> The removed features may be implemented later with extra modules like
> account_es_agricultura or account_es_cn etc.
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected]
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/e4488557-46ab-4dac-aa8a-8d7576c8a9c3%40googlegroups.com.