chat.freenode.net #tryton log beginning Sun Jan 22 00:00:02 CET 2012 | ||
2012-01-22 14:56 <sisalp> hi, got pip and environments working, but get an exception on unoconv | ||
2012-01-22 14:57 <sisalp> it is listed in extra requirements of setup.py, but is not installable with pip iiuc | ||
2012-01-22 14:57 <sisalp> is classical apt-get install the way to go ? | ||
2012-01-22 14:58 <sisalp> in which case do we need it ? | ||
2012-01-22 15:00 <cedk> sisalp: indeed it is a simple script that can be just put in $PATH | ||
2012-01-22 15:02 <sisalp> thank you, but it depends on several java packages | ||
2012-01-22 15:03 <sisalp> how is used " extras_require={" in setup.py ? | ||
2012-01-22 15:03 <cedk> sisalp: best is to see if your system doesn't package it | ||
2012-01-22 15:04 <sisalp> yes, unoconv is ok on debian/ubuntu | ||
2012-01-22 15:05 <sisalp> if we don't need a specific version it can be installed on the system | ||
2012-01-22 15:06 <sisalp> I was thinking to automate the use of extras_require={ but I won't | ||
2012-01-22 15:07 <sisalp> I populate the environment with the content of install_requires=[ and it is enough | ||
2012-01-22 15:09 <cedk> sisalp: unoconv is used as an external program | ||
2012-01-22 15:10 <sisalp> ok, seems to be the only one, isn't it ? | ||
2012-01-22 15:11 <cedk> sisalp: I think | ||
2012-01-22 15:16 <cedk> sisalp: I highly suggest you to install also simplejson | ||
2012-01-22 15:16 <sisalp> ok. | ||
2012-01-22 15:17 <sisalp> do --version and --help require dependencies to be available ? | ||
2012-01-22 15:18 <sisalp> I noticed that with openerp, so wondered if it is also the case with tryton | ||
2012-01-22 15:18 <sisalp> It is a small problem for me because, depending on the version, I activate the environment | ||
2012-01-22 15:23 <cedk> sisalp: don't know, but the information is in setup.py | ||
2012-01-22 15:23 <sisalp> I like this http://www.youtube.com/watch?v=JXTP09hLv0A about unoconv, it is simple enough for me ;-) | ||
2012-01-22 15:25 <sisalp> I agree, but if I have 50 trytons of the same version, I use only one environment | ||
2012-01-22 16:01 <cedk> sisalp: I don't understand | ||
2012-01-22 16:08 <jcm> sisalp: for your information, on debian I had to install the unoconv version 0.4-1 to get it work, and on squeeze I needed to add backports and testing | ||
2012-01-22 16:22 <sisalp> I need the software version to activate the environment and start the service | ||
2012-01-22 16:22 <sisalp> up to now I used --version option to get it | ||
2012-01-22 16:24 <jcm> cedk: list_price is always 0.0 in all my account_invoice_line. So on my invoice I get rebate=0 on each line and cannot print it on the invoice... is it a known bug? | ||
2012-01-22 16:25 <cedk> sisalp: right way do get it when not installed: python setup.py -V | ||
2012-01-22 16:26 <sisalp> jcm: version of squeeze is 0.3.6. Not enough ? | ||
2012-01-22 16:27 <cedk> jcm: normally, it should be set when selecting a product | ||
2012-01-22 16:28 <jcm> sisalp: tell me, I tried and read this info on version on some codereview comment. Cannot find out which one... | ||
2012-01-22 16:29 <jcm> cedk: on sale it's perfect. But when the invoice is generated, the lines have all list_price set to 0... | ||
2012-01-22 16:29 <jcm> cedk: only the unit_price is set, to the price with rebate included | ||
2012-01-22 16:31 <cedk> jcm: do you have the latest sale_rebate version? | ||
2012-01-22 16:33 <cedk> jcm: http://codereview.tryton.org/66001/diff2/26001:31004/sale.py | ||
2012-01-22 16:43 <sisalp> cedk: super, thank you | ||
2012-01-22 16:52 <jcm> cedk: you're right, I don't have the last version | ||
2012-01-22 16:52 <jcm> was not aware it changed since I got it | ||
2012-01-22 16:55 <cedk> jcm: best way, is to set yourself as reviewer, you will receive notifications | ||
2012-01-22 16:55 <cedk> jcm: but anyway, I think I will setup repositories on b2ck.com for those modules | ||
2012-01-22 16:56 <jcm> cedk: sure, hg pull -u would be simpler than updating a script with uptodate codereview links | ||
2012-01-22 16:57 <jcm> cedk: will you include rebate into trunk ? or build a single rebate module with all these codereviews ? | ||
2012-01-22 16:59 <cedk> jcm: for rebate, I'm not yet sure | ||
2012-01-22 17:00 <cedk> jcm: we did not receive a lot of comments about it | ||
2012-01-22 19:09 <jcm> cedk: I updated all the custom modules, updated the db; now I get Rebate field set to 100,00 each time I change quantity in Sell Line view, though unit_price is correctly computed with the Rebate price list... | ||
2012-01-22 19:20 <cedk> jcm: rebate doesn't depend on quantity | ||
2012-01-22 19:41 <cedk> jcm: ok I think I fixed in the last Set | ||
2012-01-22 20:50 <jcm> cedk: thanks, it works | ||
2012-01-22 20:51 <jcm> cedk: for my information, what was wrong ? the values were not mixed into result ? | ||
2012-01-22 20:53 <cedk> jcm: sometimes we need to use the value from the client and other times the value from the result of the on_change | ||
2012-01-22 21:09 <jcm> cedk: how can I order the lines in sale so that the carrier line is the last one ? I cannot drag (feature of mac client :/) and cannot edit the sequences for lines ? | ||
2012-01-22 21:12 <cedk> jcm: why can't you edit the sequence? | ||
2012-01-22 21:17 <jcm> cedk: ah, thought it didn't work, but seems lines are reordered when going from Draft to Quotation | ||
2012-01-22 21:21 <cedk> jcm: it is done after save | ||
2012-01-22 21:24 <jcm> cedk: sry, there's another error in sale_rebate (app error) when validating move. Should I paste the trace into the codereview? | ||
2012-01-22 21:24 <cedk> jcm: why not | ||
2012-01-22 22:06 <cedk> jcm: should be fixed | ||
2012-01-22 23:23 <jcm> cedk: thks |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!