chat.freenode.net #tryton log beginning Sat Aug 10 00:00:01 CEST 2013 | ||
2013-08-10 08:36 -!- katr(~m@chello080109051236.3.14.vie.surfer.at) has left #tryton | ||
2013-08-10 14:17 <grek324> Hello, I have a problem with proteus and sale. I tried to change state of draft sale but only get error message | ||
2013-08-10 14:17 <grek324> AttributeError: type object 'sale.sale' has no attribute 'quote' | ||
2013-08-10 14:18 <grek324> my code is here: http://pastebin.com/ceAV4kYA | ||
2013-08-10 14:19 <cedk> grek324: which versions? | ||
2013-08-10 14:20 <grek324> hello 2.4 | ||
2013-08-10 14:24 <cedk> grek324: what contains con_data_dm | ||
2013-08-10 14:24 <grek324> pass, database, user, server | ||
2013-08-10 14:25 <cedk> grek324: import * is bad so it is difficult to know what is running | ||
2013-08-10 14:26 <grek324> cedk: ok | ||
2013-08-10 14:26 <grek324> cedk: http://pastebin.com/mMbivNXH | ||
2013-08-10 14:28 <grek324> cedk: I must confess, I've still never managed that it worked... | ||
2013-08-10 14:29 <grek324> cedk: to change the sale state | ||
2013-08-10 14:29 <cedk> grek324: which exact version of trytond ? | ||
2013-08-10 14:29 <cedk> grek324: because you need this: http://hg.tryton.org/2.4/trytond/rev/fdc865b05a3c | ||
2013-08-10 14:30 <grek324> cedk: Version 2.4.5 - 2013-02-12 | ||
2013-08-10 14:32 <grek324> cedk: this change is already included | ||
2013-08-10 14:34 <grek324> cedk: proteus version 2.4.2 | ||
2013-08-10 14:37 <cedk> grek324: I'm installing sale module on 2.4 demo server to test | ||
2013-08-10 14:58 <cedk> grek324: with latest version of 2.4, it works on demo server | ||
2013-08-10 14:59 <cedk> > from proteus import config, Model | ||
2013-08-10 14:59 <cedk> > config.set_xmlrpc('https://admin:admin@demo2.4.tryton.org:8069/demo2.4') | ||
2013-08-10 14:59 <cedk> > Sale = Model.get('sale.sale') | ||
2013-08-10 14:59 <cedk> > Sale.quote([], {}) | ||
2013-08-10 15:24 <grek324> if I try with demo server I get the message AttributeError: 'module' object has no attribute 'context' | ||
2013-08-10 15:24 <grek324> here is a test scenario for demo: | ||
2013-08-10 15:24 <grek324> http://pastebin.com/yKBurDNN | ||
2013-08-10 17:15 <cedk> grek324: here a version that should work: http://pastebin.com/kQYA8nMm | ||
2013-08-10 17:16 <cedk> grek324: if the product got the right accounts | ||
2013-08-10 23:29 -!- heg(~heg@dyn.83-228-134-186.dsl.vtx.ch) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!