On 31/08/10 16:30 -0500, Andres Vargas - zodman wrote:
> i have added:
> http://code.google.com/p/trytond-support/source/browse/configuration.py
> http://code.google.com/p/trytond-support/source/browse/configuration.xml
> 
> but when i try to update the module:
> 
> [Tue Aug 31 16:26:22 2010] ERROR:convert:Error while parsing xml file:
> In tag record: model ir.property with id property_ticket_sequence.
> Traceback (most recent call last):
>   File "trytond/bin/trytond", line 30, in <module>
>     trytond.server.TrytonServer().run()
>   File "/home/zodman/Desarrollo/try/trytond/trytond/server.py", line 110, in 
> run
>     Pool(db_name).init(update=update, lang=lang)
>   File "/home/zodman/Desarrollo/try/trytond/trytond/pool.py", line 127, in 
> init
>     lang=lang)
>   File "/home/zodman/Desarrollo/try/trytond/trytond/modules/__init__.py",
> line 441, in load_modules
>     load_module_graph(graph, pool, lang)
>   File "/home/zodman/Desarrollo/try/trytond/trytond/modules/__init__.py",
> line 258, in load_module_graph
>     tools.file_open(OPJ(module, filename)))
>   File "/home/zodman/Desarrollo/try/trytond/trytond/convert.py", line
> 429, in parse_xmlstream
>     self.sax_parser.parse(source)
>   File "/usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py",
> line 109, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.6/site-packages/_xmlplus/sax/xmlreader.py",
> line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py",
> line 216, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py",
> line 312, in start_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "/home/zodman/Desarrollo/try/trytond/trytond/convert.py", line
> 465, in startElement
>     self.taghandler.startElement(name, attributes)
>   File "/home/zodman/Desarrollo/try/trytond/trytond/convert.py", line
> 226, in startElement
>     self.values[field_name] = safe_eval(eval_attr, context)
>   File "/home/zodman/Desarrollo/try/trytond/trytond/tools/misc.py",
> line 441, in safe_eval
>     }}, data)
>   File "", line 1, in <module>
> 
>   File "/home/zodman/Desarrollo/try/trytond/trytond/convert.py", line
> 493, in get_id
>     ".".join([module,xml_id]))
> Exception: Reference to support.sequence not found

You did not create a ir.sequence record in the XML.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpKksNqrpLls.pgp
Description: PGP signature

Reply via email to