IRC logs of #tryton for Saturday, 2012-02-18

chat.freenode.net #tryton log beginning Sat Feb 18 00:00:01 CET 2012
2012-02-18 15:19 <sisalp> hello, did some of you use lo,g sale orders, invoices, picking lists ? I mean 250 order lines ?
2012-02-18 15:20 <sisalp> how is tryton performance impacted in this case ?
2012-02-18 15:21 <sisalp> lo,g/long
2012-02-18 15:28 <cedk> sisalp: I don't think it will be very good
2012-02-18 15:29 <cedk> sisalp: I think if you have such case, it will be better to remove the one2many lines of sale and use a relate form
2012-02-18 15:29 <sisalp> openerp collapses. The dashboard blocks the web interface because of timeout.
2012-02-18 15:30 <sisalp> what would be the process with relate form ?
2012-02-18 15:30 <cedk> sisalp: I don't think Tryton will collapse but it will be slow to work on the sale
2012-02-18 15:31 <cedk> sisalp: create the sale order without any lines -> click on relate button -> it opens a new tab for sale lines linked to the sale order -> encode the lines -> when done, go back to sale order and validate it
2012-02-18 15:32 <cedk> sisalp: inside a tab, we can manage thousands of lines in Tryton
2012-02-18 15:33 <cedk> sisalp: hope it will be enough :-)
2012-02-18 15:34 <sisalp> will it need to build a new format for documents ?
2012-02-18 15:36 <cedk> sisalp: what do you name documents?
2012-02-18 15:37 <sisalp> proposal to send to the customer, order, piking lists and invoices
2012-02-18 15:38 <cedk> sisalp: they will be long but I don't see how they can not be
2012-02-18 15:38 <cedk> sisalp: by the way, what kind of business have such sale order?
2012-02-18 15:39 <sisalp> my question was about the relate form. Will documents auto adapt to this alternative way ?
2012-02-18 15:39 <sisalp> probably a stupid question
2012-02-18 15:41 <cedk> sisalp: yes, because it will not change the internal Model of the object
2012-02-18 15:42 <cedk> sisalp: it is just a workarround for the client
2012-02-18 15:42 <cedk> sisalp: indeed the issue will be that on current sale order, when you change a line, there is a call to the server with all the lines values to update the total
2012-02-18 15:45 <sisalp> the first point this user was ranting about is the sequence number of the lines. Tryton is far better with drag and drop lines to auto-adapt sequences :-)
2012-02-18 15:47 <sisalp> he did not compalain about the slowness of the order itself, but the web interface just becomes destabilized by time outs.
2012-02-18 15:47 <cedk> sisalp: strange because it is a feature that was copy/paste by OE
2012-02-18 15:48 <sisalp> hae also has a problem with serial numbers because it requires several syeps at picking and with so many lines, it is quite impossible
2012-02-18 15:49 <sisalp> tthe oe dashboard is showed first in web interface and it takes more than two minutes to be set, so it never appears afer 2mn hold
2012-02-18 15:50 <sisalp> syeps/steps
2012-02-18 15:50 <sisalp> you mean drag and drop ?
2012-02-18 15:51 <cedk> sisalp: yes
2012-02-18 15:52 <cedk> also this https://bugs.tryton.org/issue1382 could become an issue
2012-02-18 15:56 <sisalp> I checked frag and drop also works on openerp-web. I didn't know this. The user does know either ;-)
2012-02-18 15:59 <gltripp> hello
2012-02-18 16:01 <gltripp> ouh - my tryton client is dead when im trying finish an invoice
2012-02-18 16:02 <gltripp> oO
2012-02-18 16:03 <sisalp> gltripp: what's there in the logs ?
2012-02-18 16:05 <gltripp> thats the ting: there is no communication to the server
2012-02-18 16:05 <gltripp> is seems like the client is in a dead-lock
2012-02-18 16:07 <gltripp> +h
2012-02-18 16:07 <gltripp> the client just.. hangs
2012-02-18 16:08 <cedk> gltripp: which version?
2012-02-18 16:09 <gltripp> 2.2.1
2012-02-18 16:09 <cedk> gltripp: can you print the draft invoice report?
2012-02-18 16:09 <gltripp> last output of strace is "recvfrom(12,
2012-02-18 16:09 <gltripp> thats all
2012-02-18 16:10 <gltripp> server is idle
2012-02-18 16:13 <cedk> gltripp: what about the report?
2012-02-18 16:13 <gltripp> which report ?
2012-02-18 16:13 <cedk> gltripp: the invoice report
2012-02-18 16:14 <cedk> gltripp: before opening the invoice, you can retreive the report
2012-02-18 16:15 <gltripp> hm
2012-02-18 16:15 <gltripp> ouh
2012-02-18 16:15 <gltripp> it worked
2012-02-18 16:15 <gltripp> strange
2012-02-18 16:15 <gltripp> last 15 minutes - it hang on this
2012-02-18 16:15 <gltripp> o.O
2012-02-18 16:16 <cedk> gltripp: network issue?
2012-02-18 16:17 <gltripp> don't think so - my network runs fast enough. even on ipv6
2012-02-18 16:39 <gltripp> hm
2012-02-18 16:39 <gltripp> i can specify the argument ${to} in the mail actions
2012-02-18 16:40 <gltripp> but it seams not to work. the attachment arguments works instead
2012-02-18 16:41 <cedk> gltripp: how did you define it in the action?
2012-02-18 16:43 <gltripp> thunderbird -compose "to='${to}',subject='Rechnung',attachment='${attachment}'"
2012-02-18 16:43 <gltripp> subject and attachment works
2012-02-18 16:45 <cedk> gltripp: ok, but you must define for each report what is the field of the record that contains the to
2012-02-18 16:45 <gltripp> where ?
2012-02-18 16:48 <cedk> gltripp: on the report action
2012-02-18 16:50 <gltripp> i'm confused
2012-02-18 16:50 <gltripp> i only understand half of the options in the settings...
2012-02-18 16:56 <gltripp> where can i find this setting ?
2012-02-18 17:01 <cedk> gltripp: in Administartion>User Interface>Actions>Reports
2012-02-18 17:01 <gltripp> okay
2012-02-18 17:01 <gltripp> there is an "E-Mail" field
2012-02-18 17:01 <gltripp> but...
2012-02-18 17:02 <gltripp> no tooltip, drop down or any other clue
2012-02-18 17:05 <cedk> gltripp: there is a tooltop
2012-02-18 17:07 <gltripp> not on this field, for me
2012-02-18 17:08 <cedk> gltripp: yeps, the help was added after 2.2 release
2012-02-18 17:09 <gltripp> :-D
2012-02-18 17:09 <gltripp> okay, but i'm not upgrading yet :-)
2012-02-18 17:09 <gltripp> what says the tooltip ?
2012-02-18 17:11 <cedk> gltripp: http://hg.tryton.org/trytond/file/tip/trytond/ir/action.py#l343
2012-02-18 17:12 <gltripp> ouhm
2012-02-18 17:13 <gltripp> i cant define a models field?
2012-02-18 17:13 <gltripp> when somebody wants to send an invoice to a customer, it should be the customers mail, right?
2012-02-18 17:14 <cedk> gltripp: you can use a PYSON expression
2012-02-18 17:14 <gltripp> oO
2012-02-18 17:14 <gltripp> oh no..
2012-02-18 17:15 <gltripp> defining what should be the "to" becomes a mess..
2012-02-18 18:07 <cedk> gltripp: I don't see how it could be different

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!