chat.freenode.net #tryton log beginning Tue Nov 29 00:00:02 CET 2011 | ||
2011-11-29 00:01 <jcm> hi cedk, trying to migrate the import script to 2.2 too. I added the config in the params of set_config, but get a IOError: Syntax error in po file (line 1) in tryton2.2/trytond/trytond/ir/translation.py", line 436, in translation_import | ||
2011-11-29 00:04 <cedk> jcm: strange | ||
2011-11-29 00:04 <cedk> jcm: could you give the full traceback? | ||
2011-11-29 00:05 <jcm> by mail ? | ||
2011-11-29 00:06 <jcm> done | ||
2011-11-29 00:14 <cedk> jcm: could you try to find on which file it fails | ||
2011-11-29 00:15 <jcm> sure, how ? running in verbose mode ? | ||
2011-11-29 00:16 <jcm> maybe i'll try tomorrow with my linux client to check 2.2. is correctly installed | ||
2011-11-29 00:34 <cedk> jcm: problem is polib that catches all exception and raise its onw generic | ||
2011-11-29 00:36 <jcm> seems the error comes in module activation. Trying to tweak the list of modules installed and try. It's a bit long... | ||
2011-11-29 00:39 <cedk> jcm: ok it is perhaps your module which is still using csv file | ||
2011-11-29 00:39 <cedk> jcm: it is that | ||
2011-11-29 00:39 <cedk> jcm: need to convert fr_FR.csv into po file | ||
2011-11-29 00:51 <jcm> is there a migration guide in 2.2 doc for such things? | ||
2011-11-29 00:55 <cedk> jcm: no we just migrate a pre-2.2 database and extract with 2.2 | ||
2011-11-29 00:56 <cedk> jcm: anyway, I think you can almost drop all terms as they are in product_measurements | ||
2011-11-29 00:58 <jcm> so translations cannot be made anymore from a text file, but have to be done through the client, isn't it? | ||
2011-11-29 00:58 <cedk> jcm: you can try to write it but it is easier using the client | ||
2011-11-29 00:59 <jcm> ok thks for your help | ||
2011-11-29 01:18 <zodman_> cedk: when you submit a codereview when will added to tip ? when is closed ' | ||
2011-11-29 01:18 <zodman_> ? | ||
2011-11-29 01:19 <cedk> zodman_: when it is ready | ||
2011-11-29 01:20 <zodman_> ok! | ||
2011-11-29 05:37 -!- plantian(~ian@c-69-181-220-245.hsd1.ca.comcast.net) has left #tryton | ||
2011-11-29 07:34 <ciupicri> VAT question: with a few exceptions, all products and services have a VAT of 24%. How do I add this tax? I'm using tryton 2.0. | ||
2011-11-29 07:52 <udono> ciupicri: Hi, use a product category for VAT and account preferences. | ||
2011-11-29 07:53 <ciupicri> udono, so I add my VAT to the customer taxes of a category, right? | ||
2011-11-29 07:55 <ciupicri> and also to the supplier taxes | ||
2011-11-29 07:59 <udono> ciupicri: yes, it's like shortcut for tax and account settings for products. To make it a real good shortcut, we need some more default settings in product configuration. | ||
2011-11-29 08:01 <ciupicri> you kind of lost me because I have no idea about accounting, but I'll take your word for it. I have another question: my company's customers are other companies. Where should I add them to the companies table? | ||
2011-11-29 08:01 <ciupicri> or the parties table should be enough enough? | ||
2011-11-29 08:02 <udono> ciupicri: "company" is only your enterprise(es). Customers/Suppliers are Parties in Tryton. | ||
2011-11-29 08:03 <ciupicri> udono, so it's parties. Thank you! | ||
2011-11-29 08:03 <udono> ciupicri: yes | ||
2011-11-29 08:03 <udono> ciupicri: welcome | ||
2011-11-29 08:17 <ciupicri> if I want the customer to pay everything upfront, I create a payment type that has a Remainder of 0 net days, right? | ||
2011-11-29 08:44 <udono> ciupicri: upfront means cash/creditcard payment? | ||
2011-11-29 08:45 <ciupicri> yes, he gives me cash for all the products | ||
2011-11-29 08:46 <ciupicri> "The debit account on journal is missing!". Gotta love accounting... | ||
2011-11-29 08:47 <udono> ciupicri: Yes, you can do it the way you wrote. And make sure _not_ to have the account_statement module installed. | ||
2011-11-29 08:48 <udono> ciupicri: for the user error: afaik just set accounts for expense and revenue journals. | ||
2011-11-29 08:49 <ciupicri> why is it that after choosing an account in a form, I can not change it to something else? The lookup/search button is transformed into a modify button. | ||
2011-11-29 08:50 <ciupicri> udono, account_statement is not installed | ||
2011-11-29 08:51 <udono> ciupicri: you need to set the default accounts for the journal. Maybe you need to set accounts for cash journal, too. | ||
2011-11-29 08:51 <ciupicri> yeah, I've chosen some defaults at random :-) | ||
2011-11-29 08:52 <udono> ciupicri: if you use Tryton mostly for cash payments, do better not install account_statement, because the pay button on invoice will be disabled. | ||
2011-11-29 08:53 <ciupicri> udono, I see. Thanks for the tip. | ||
2011-11-29 09:02 <grasbauer> albertca: Good morning. Can you give me the link to product_:measurement. I already deleted the message - but I have a comment ... | ||
2011-11-29 09:05 <grasbauer> it is not in http://codereview.tryton.org - anybody has the link to product_:measurement? | ||
2011-11-29 09:09 <grasbauer> got it | ||
2011-11-29 09:12 <udono> grasbauer: Hi, do you have a link? | ||
2011-11-29 09:16 <grasbauer> udono: yes - some days ago I was starting to code the same. In our case the packaging should be a many2many: the boxes are already defined from carrier - so we need to assign a box to a product ... | ||
2011-11-29 09:18 <grasbauer> udono: http://codereview.tryton.org/189002/ | ||
2011-11-29 09:19 <udono> grasbauer: I see, thanks for info. | ||
2011-11-29 09:28 <ciupicri> cedk, is http://downloads.tryton.org/TUL2011/mercurial.pdf supposed not to be public? | ||
2011-11-29 09:28 <cedk> ciupicri: no | ||
2011-11-29 09:28 <ciupicri> I'm getting "403 - Forbidden" | ||
2011-11-29 09:29 <cedk> ciupicri: should be fixed | ||
2011-11-29 09:30 <ciupicri> I've also wanted to put on someone's Facebook wall, the link to the GNUMed presentation and FB couldn't retrieve a title or an image | ||
2011-11-29 09:31 <cedk> ciupicri: I don't know what it means | ||
2011-11-29 09:31 <ciupicri> cedk, I wonder if you blocked Facebook like Paul Graham from Hacker News did with the Google spiders a couple of days ago | ||
2011-11-29 09:32 <cedk> ciupicri: no | ||
2011-11-29 09:33 <ciupicri> ok | ||
2011-11-29 09:33 <ciupicri> I've managed to download mercurial.pdf in the mean time | ||
2011-11-29 10:40 <Omk> Hi all | ||
2011-11-29 10:41 <Omk> Anyone has encountered a problem installing Tryton-client-2.2.0.exe installation? | ||
2011-11-29 10:41 <Omk> I installed succesfully the Win client on 6 XP & Win7 desktops, | ||
2011-11-29 10:42 <Omk> but starting the client fails to start on two | ||
2011-11-29 10:42 <Omk> with no obvious reason. | ||
2011-11-29 10:43 <Omk> Event viewer displays: Generate Activation Context failed for C:\Program | ||
2011-11-29 10:43 <Omk> Files\tryton-2.2.0\tryton.exe. | ||
2011-11-29 10:48 <cedk> Omk: no idea, never seen that | ||
2011-11-29 10:50 <ciupicri> is there any documentation about (pre)loading some data from XMLs like the company, customers, suppliers, tax(es)? | ||
2011-11-29 10:51 <cedk> ciupicri: not possible from XML because XML records are readonly by default | ||
2011-11-29 10:52 <ciupicri> is there any other way to load this data? I'm still experimenting with tryton and when I mess things up, I have to start over. | ||
2011-11-29 10:56 <ciupicri> also on an unrelated note, the subdivisions for Romania use the wrong characters. ş should be replaced with ș and ţ with ț. They're from an old deprecated standard. | ||
2011-11-29 10:56 <cedk> ciupicri: best is to use proteus | ||
2011-11-29 10:57 <cedk> ciupicri: for countries, we know we must update it but we got some difficulties with pycountry and the ISO standard that doesn't respect the standard | ||
2011-11-29 10:59 <ciupicri> so pycountry should take the blame :-) | ||
2011-11-29 10:59 <cedk> ciupicri: no the ISO | ||
2011-11-29 11:01 <ciupicri> I meant that not tryton needs to be updated, but that Python library (after the ISO standard gets corrected or something). | ||
2011-11-29 11:05 <cedk> ciupicri: I means that the ISO doesn't respect its own format so the script to generate the XML doesn't work anymore | ||
2011-11-29 11:07 <ciupicri> some standard... | ||
2011-11-29 11:08 <cedk> ciupicri: yes it is about duplicate code that should be uniq | ||
2011-11-29 11:19 <Omk> cedk: thanks - just trying to figure out what to do with those two clients.. | ||
2011-11-29 11:19 <Omk> checked service pack, it is 2 on all clients | ||
2011-11-29 11:20 <Omk> next option perhaps reinstall windows on those two... | ||
2011-11-29 11:20 <Omk> or manually install the client | ||
2011-11-29 11:26 <cedk> Omk: reinstalling the client doesn't fix? | ||
2011-11-29 11:26 <Omk> no | ||
2011-11-29 11:26 <cedk> Omk: antivirus? | ||
2011-11-29 11:26 <Omk> it is fresh install. I have uninstalled both with the uninstaller, reinstalled, and same problem | ||
2011-11-29 11:27 <Omk> then unistalled manually w/ regedit + deleting the files, and same result | ||
2011-11-29 11:27 <Omk> antivirus didn't try yet. Hmm what's in your mind in this regard? | ||
2011-11-29 11:28 <cedk> Omk: http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/0e441f6e-5591-48f7-afdd-dc71868e25d1/ | ||
2011-11-29 11:28 <cedk> Omk: so installing: VC++ redistributable package seems to fix it | ||
2011-11-29 11:39 <ciupicri> cedk, is it ok if I report a bug for that character issue? | ||
2011-11-29 11:40 <ciupicri> so that it won't be forgotten | ||
2011-11-29 11:40 <cedk> ciupicri: indeed https://bugs.tryton.org/issue2260 | ||
2011-11-29 11:42 <ciupicri> I'll add a comment | ||
2011-11-29 11:43 <Omk> thanks cedk, will check that out later today | ||
2011-11-29 12:01 <corro> cedk: http://codereview.tryton.org/93001. Do you remember what the reason for this change was? It has an big performance impact and I don't understand what it is for. | ||
2011-11-29 12:04 <cedk> corro: it is bad to store BrowseRecord instance in the cache | ||
2011-11-29 12:06 <corro> cedk: ok, is this to prevent the cache from exploding? | ||
2011-11-29 12:08 <cedk> corro: it generate loop referencing | ||
2011-11-29 12:08 <cedk> corro: and it can give you wrong values as it will reuse old BrowseRecord instance | ||
2011-11-29 12:10 <corro> cedk: so it is pretty important. Unfortunately it has a large impact on the performance | ||
2011-11-29 12:11 <cedk> corro: it should not | ||
2011-11-29 12:12 <corro> cedk: I am able to decrease the response time of the invoice list from ~15s to ~8s if I disable this check | ||
2011-11-29 12:14 <cedk> corro: this is due to the usage of fields function and wrong caches | ||
2011-11-29 12:17 <corro> cedk: I don't fully understand. You mean we should remove as many function fields as possible? | ||
2011-11-29 12:19 <sisalp> hello windows fans ! can someone help me | ||
2011-11-29 12:21 <sisalp> The job would be to make a screen video while setting up the tryton client on windows in "no installation mode" | ||
2011-11-29 12:25 <sisalp> lem0na: are you a windows fan ? | ||
2011-11-29 12:25 <lem0na> sisalp: not realy | ||
2011-11-29 12:26 <sisalp> too bad, cannot find one here for making a windows screen video of tryton client install | ||
2011-11-29 12:26 <lem0na> sisalp: i have a few windows machines so I can do it | ||
2011-11-29 12:27 <sisalp> you would ? thank you. I explain the job: tryton on windows has a "no_install" feature | ||
2011-11-29 12:28 <sisalp> download, set up and play, but I'm not able to explain to prospects what it looks like | ||
2011-11-29 12:29 <lem0na> sisalp: any requirements for specific windows version ? desktop or server? | ||
2011-11-29 12:30 <sisalp> I'm just considering the client, no need to complete a connection to the server | ||
2011-11-29 12:30 <sisalp> servers are on line across internet | ||
2011-11-29 12:31 <lem0na> sisalp: ok - will search some software for desktop recording | ||
2011-11-29 12:31 <sisalp> cedk indicated CamStudio, neither he or me know it | ||
2011-11-29 12:32 <lem0na> sisalp: will test it | ||
2011-11-29 12:32 <sisalp> you'd save my day ! | ||
2011-11-29 12:36 <Omk> cedk: I tried installing V C++ redistributable package, but no difference. But the link you gave was for 2005 release.. will see now | ||
2011-11-29 12:37 <lem0na> sisalp: i do not find the link to the windows client | ||
2011-11-29 12:38 <lem0na> sisalp: found it | ||
2011-11-29 12:38 <lem0na> sisalp: have to scroll | ||
2011-11-29 12:44 <sampac> Hi Tryton. I am trying to have a one2many of an object on itself. So I put parent = fields.many2one and childs = fields.one2many which updates nicely. But when I call <field name="childs" /> in my view I guet recursion error. Does it sound familiar to someone and what am I forgetting ? | ||
2011-11-29 12:55 <udono> sampac: hi, you need to add a recursion check, which avoids to build recursive parent/child relationships. | ||
2011-11-29 13:13 <Omk> cedk: Wow!!! It solved my problem! Had to install 2008 version of the redistributable pckg | ||
2011-11-29 13:28 <sampac> I have added: self._constraints += [ ('check_recursion', 'recursive_parties'), ] in __init__ but still | ||
2011-11-29 13:30 <udono> sampac: maybe you already have a recursion in the database table? | ||
2011-11-29 13:48 <sisalp> cedk : lem0na made the video but it looks like a full installation of the software | ||
2011-11-29 13:53 <sisalp> here it is http://lem0na.net/tryton/tryton2.avi | ||
2011-11-29 14:02 <cedk> sisalp, lem0na: you did not take the right exe | ||
2011-11-29 14:02 <cedk> http://downloads.tryton.org/current/tryton-last.exe | ||
2011-11-29 14:13 <sisalp> cedk: this feature would deserve an explicit link on the download page, wouldn't it ? | ||
2011-11-29 14:25 <udono> sisalp: lem0na: Cool idea! | ||
2011-11-29 14:28 <ndn_pit> I want to update my modules to tryton 2.2 ver. waht kind of modifications i should do... when I just trying install old module it says some errors that does not point to file. how can i debug it? | ||
2011-11-29 14:40 <sampac> udono: but I start from empty base :-( | ||
2011-11-29 14:42 <sisalp> Look and believe it if you can ! : http://lem0na.net/tryton/tryton4.avi | ||
2011-11-29 14:44 <sisalp> so simple : I'm planning to move to windows now ;-) Thank you lem0na ! | ||
2011-11-29 14:51 -!- ndn_pit(~ndn@95.56.24.48) has left #tryton | ||
2011-11-29 15:07 <cedk> sisalp: it is in http://www.tryton.org/demo.html | ||
2011-11-29 15:09 <yangoon> sisalp: lem0na nice video, but I don't now if it is good example to run the Tryton client as administrator... | ||
2011-11-29 15:11 <sisalp> yangoon: how do you see yje user has admin rights ? | ||
2011-11-29 15:11 <sisalp> the | ||
2011-11-29 15:14 <cedk> lem0na: it will be great to remove the antivirus scanning | ||
2011-11-29 15:15 <lem0na> yangoon: it is one of my developement machines where i MUST log as Administrator | ||
2011-11-29 15:15 <lem0na> cedk: if there is no problem later I will make another video on some other machine | ||
2011-11-29 15:16 <lem0na> cedk: without virus scaner and loged as normal user | ||
2011-11-29 15:16 <cedk> lem0na: ok otherwise it is good | ||
2011-11-29 15:16 <cedk> lem0na: we could upload it on vimeo | ||
2011-11-29 15:17 <lem0na> cedk: if the is no problem can you wait some hours to make another video? | ||
2011-11-29 15:18 <cedk> lem0na: yes of course | ||
2011-11-29 15:19 <lem0na> cedk: 10x | ||
2011-11-29 15:19 <sisalp> yangoon: found. Admin is in the path to the directory. Ok | ||
2011-11-29 15:31 <yangoon> sisalp: sorry, on the phone, yes | ||
2011-11-29 15:33 <cedk> yangoon, sisalp, lem0na: of course it is better to show that you don't need admin rights :-) | ||
2011-11-29 16:00 <lem0na> the lastest: http://lem0na.net/tryton/tryton6.avi | ||
2011-11-29 16:01 <lem0na> =latest | ||
2011-11-29 16:15 <cedk> coderview has reach the email limit for today | ||
2011-11-29 16:18 <cedk> will be reset in 17h | ||
2011-11-29 16:23 <lem0na> cedk: i almost finished the bulgarian translation for 2.2.0; do i have to open a bug or still have commit rights? | ||
2011-11-29 16:29 <cedk> lem0na: you get access before but I don't find any footprint of commits | ||
2011-11-29 16:30 <lem0na> cedk: i think i have some commits but I am not shure when and on what | ||
2011-11-29 16:31 <cedk> lem0na: let's go for some patches and after that we will give you back access | ||
2011-11-29 16:31 <lem0na> cedk: no problem - if I am not able to push will create a patch | ||
2011-11-29 16:31 <lem0na> cedk: tnaks | ||
2011-11-29 17:04 -!- pjstevns(~paul@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2011-11-29 17:32 <sampac> udono: I see that the check_recursion assumes the many2one field is named "parent". Is there a way to declare otherwise in the model definition ? | ||
2011-11-29 18:07 <sampac> in fact it works if I just display <field name="name"> in view but the recursion happen when I try to embed the view like for addresses within parties using: <field name="addresses" mode="form,tree"><tree string="Contacts"><field name="name"/></tree></field>... anyone ? | ||
2011-11-29 18:12 <udono> sampac: sorry, no idea. | ||
2011-11-29 18:13 <sampac> nevermind :) thanks for your help | ||
2011-11-29 18:24 <udono> sampac: maybe a small code example on the dev mailing list is a way to get better answers... | ||
2011-11-29 20:51 <oxcar> Hi, I have a problem with the migration 2.0 to 2.2 in stock.shipment module | ||
2011-11-29 20:53 <oxcar> Log info say me, Warning: it can not set NOT NULL column company in table stock_shipment_in | ||
2011-11-29 20:53 <oxcar> and Don't restore it. | ||
2011-11-29 21:03 <oxcar> this is the message: WARNING:init:Unable to set column company of table stock_shipment_in not null ! Try to re-run: trytond.py --update=module If it doesn't work, update records and execute manually: | ||
2011-11-29 21:03 <oxcar> ALTER TABLE "stock_shipment_in" ALTER COLUMN "company" SET NOT NULL | ||
2011-11-29 21:05 <cedk> oxcar: normally the system should fill it and add constraint automaticaly | ||
2011-11-29 21:09 -!- Guest33435(~seba@mnhm-4d0192fd.pool.mediaWays.net) has left #tryton | ||
2011-11-29 21:10 <oxcar> cedk: but this is not happen. | ||
2011-11-29 21:12 <oxcar> So, I reviewing code from stock.shipment.in in 2.0 do not include field company, but 2.2 yes and that is required. | ||
2011-11-29 21:13 <cedk> oxcar: yes and there is code to migrate that fill it |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!