tryton 3.4 porque en 3.8 directamente no funciona
Error al registrar el modulo Farm.
*Failed to register the Farm module.*
Encontre esta linea
*I found **this line*
from sql import Cast, Literal, Values, With
from sql.aggregate import Avg, Count, Max, Sum
from sql.conditionals import Coalesce
from sql.functions import Extract, Now
¿de donde saco la librería que contiene esta clase ?
*Where do I get the library containing this class?*
sql
Server 3.4
[Wed May 04 19:42:50 2016] INFO:modules:farm:registering classes
Traceback (most recent call last):
File "/usr/local/bin/trytond", line 80, in
trytond.server.TrytonServer(options).run()
File "/usr/local/lib/python2.7/dist-packages/trytond/server.py", line 98,
in run
Pool(db_name).init(update=self.options.update, lang=lang)
File "/usr/local/lib/python2.7/dist-packages/trytond/pool.py", line 140,
in init
self.start()
File "/usr/local/lib/python2.7/dist-packages/trytond/pool.py", line 92,
in start
register_classes()
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/__init__.py", line
351, in register_classes
mod_file, pathname, description)
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/farm/__init__.py",
line 7, in
from .events import *
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/farm/events/__init__.py",
line 7, in
from .feed_inventory import *
File
"/usr/local/lib/python2.7/dist-packages/trytond/modules/farm/events/feed_inventory.py",
line 6, in
from sql import Cast, Literal, Values, With
ImportError: cannot import name Values
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton-dev/5a63ad32-24f0-4776-bd2d-c85bf30f9e8b%40googlegroups.com.