chat.freenode.net #tryton log beginning Fri Feb 3 00:00:01 CET 2012 | ||
gueux | how can I put the siret (from party_siret) on my invoices? | 10:52 |
---|---|---|
cedk | gueux: just edit the template and add an entry like for the vat number | 11:26 |
gueux | cedk: thanks :-). hum, sorry for that newbie question but where is that template I have to edit? | 11:31 |
cedk | gueux: you can find them in Administration>User Interface>Actions>Reports | 11:34 |
gueux | cedk: mmh... Then, I guess I have to open "Invoice"... But then? | 11:43 |
gueux | I have account_invoice/invoice.odt that I can "save as", but it looks like a usual .odt | 11:45 |
cedk | gueux: save the content, edit it, and put it back | 11:46 |
gueux | oh wait, you're right, there are some <...> inside of the .odt file | 11:47 |
gueux | thanks | 11:47 |
gueux | cedk: sorry for that other newbie question: how can I get the equivalent of invoice.party.vat_code for the "siret field"? | 12:01 |
cedk | gueux: it is the siret or the siren? | 12:03 |
gueux | I'd love you to tell me how to access both :) | 12:04 |
gueux | btw, siren should be sirene (with an "e") | 12:04 |
bechamel | gueux: invoice.party.siren and invoice.adress.siret or something like that | 12:05 |
cedk | it is invoice.invoice_address.siret | 12:06 |
cedk | gueux: https://fr.wikipedia.org/wiki/SIREN | 12:07 |
gueux | isn't there a way for me to get this name from tryton? (I mean different from asking on #tryton) | 12:07 |
bechamel | gueux: look at the code | 12:07 |
gueux | cedk: ok, sirene is the register :) | 12:10 |
gueux | bechamel: you mean directy in tryton's installation folder? wouldn't it be better to check this kind of things directly in tryton? | 12:12 |
bechamel | gueux: in the client you can find this info via Administration > Models > Fields | 12:14 |
bechamel | and then filter on Model: =Invoice | 12:15 |
gueux | bechamel: well, I don't get any information about siren nor siret (nor vat) with this filter... and searching there directly for "siret" gives "siret" and "siret_nic", but does not give the "invoice.invoice_address." part | 13:29 |
cedk | gueux: you have to look at the invoice definition | 13:36 |
gueux | after modifying sale/sale.odt to include invoice.invoice_address.siret, I can't generate a Draft Sale anymore: http://pastealacon.com/29642 | 13:40 |
gueux | cedk: ok, I'll try that | 13:40 |
cedk | gueux: of course it is not an invoice | 13:40 |
gueux | oh sure, stupid me | 13:41 |
gueux | thanks | 13:41 |
cedk | gueux: I guess it will be sale.party etc. | 13:41 |
gueux | grmblbl! I've tried to look at the sale model definition, but it does not tell about siren. I've tried sale.party.siren, sale.invoice_address.siren, ... | 14:06 |
cedk | gueux: of course it doesn't show siren, but only the field it contains | 14:09 |
cedk | gueux: Tryton is based on a relational schema | 14:09 |
bechamel | gueux: search sale to find a link to party, then search party to find siren | 14:10 |
gueux | so why does sale.party.siren does not work? | 14:15 |
gueux | sale.sale contains a field party which links to a party.party, and then party.party contains a field siren | 14:16 |
gueux | but inserting "<sale.party.siren>" in sale.odt does not seem to but it anywhere in the Draft Sale I generate (but it does compile, so I guess it exists) | 14:18 |
bechamel | gueux: strange, it should work | 14:20 |
gueux | ohhh! wait, in fact it works! but it did not show because I did not put the siren of the recipient company | 14:20 |
gueux | ok | 14:20 |
gueux | but that's not what I wanted :(. I'd like to write the siren of _my_ company | 14:21 |
gueux | so, I guess I have to change "company/header_A4.odt", right? | 14:21 |
bechamel | :) | 14:24 |
bechamel | gueux: yes, if you want to show the siren also on the other reports | 14:24 |
gueux | ok. so now, the issue is that I don't know how to edit that "company/header_A4.odt"... | 14:29 |
gueux | I don't see it in Actions > Reports | 14:30 |
gueux | and in the Report sale.sale, "sale/sale.odt" is the only template I can edit | 14:30 |
cedk | gueux: you can edit the header or footer field of company | 14:35 |
gueux | cedk: you mean with Party > Configuration > Companies > Companies > Reports? | 14:37 |
gueux | if so, that's not what I'd like to do... is that "company/header_A4.odt" impossible to edit? | 14:39 |
pilou | i encounter this error when using "create chart of account" http://imageshack.us/photo/my-images/818/trytonm.png/ Is there a bug or have I misconfigured something ? | 14:50 |
cedk | gueux: no, in Party>Configuration>Companies | 15:29 |
cedk | pilou: it is a bug already fixed | 15:31 |
gueux | cedk: and then? I select my company and choose "Reports" and then edit "Header"? | 15:32 |
pilou | could you point me the issue / patch please ? | 15:32 |
cedk | pilou: I think there was no issue reported | 15:32 |
cedk | pilou: changeset e59e1ced9f77 | 15:33 |
pilou | cedk: thanks ! | 15:33 |
cedk | gueux: yes | 15:33 |
gueux | that writes the siret number at the top of the page, which is not clean at all. and if I had to change the siret number, I would have to think to change the header, too. | 15:34 |
gueux | isn't possible to edit that "company/header_A4.odt"? | 15:34 |
gueux | as the other template files? | 15:34 |
gueux | cedk: ? | 15:37 |
cedk | gueux: there is no good way to edit header except editing the source | 15:37 |
cedk | gueux: that's why it will be removed in the future | 15:37 |
gueux | ok | 15:38 |
gueux | you mean that the header template will be completely removed? | 15:39 |
gueux | wouldn't it be better to be able to edit it in the user interface and then, to include it in other templates with (let's say) <extends template "header.odt"> | 15:41 |
gueux | (like in django) | 15:41 |
gueux | maybe it would be better to use another template language? | 15:43 |
gltripp | does it make any sense to use psyco on tryton to get more speed ? | 15:54 |
bechamel | gltripp: I would be really interested by a pypy port, but I don't know if it's difficult or not | 16:07 |
gltripp | i think pypy would be much more slower | 16:22 |
gltripp | my instance is running on a intel atom cpu - that doesn't rock very well | 16:23 |
bechamel | gltripp: I made some test with small test progams ad pypy was really impressive | 16:26 |
bechamel | I don't know how it behaves for bigger softwares though | 16:26 |
gltripp | faster thatn cython ? | 16:26 |
bechamel | gltripp: fatser than non-annotated cython | 16:27 |
bechamel | gltripp: you can check page 38 on http://www.cism.ucl.ac.be/Services/Formations/python_hpc.pdf | 16:28 |
gltripp | ouh | 16:29 |
gltripp | thats faster | 16:29 |
bechamel | gltripp: yes they made a lot of speed improvement recently and iirc they just received a donation from google to support python 3 | 16:31 |
cedk | indeed, I'm really not sure that it will speed up trytond | 16:41 |
cedk | I think the main botleneck is the database communication | 16:42 |
gltripp | cedk: why is the search form removed in 2.2 ? | 16:46 |
cedk | gltripp: I don't understand | 16:47 |
gltripp | in 1.8, there was a search formular in list views where you could generate a serch term by picking the conditions from picklists | 16:49 |
gltripp | in 2.2, there is only a search line | 16:49 |
cedk | gltripp: yes it is the same but improved | 16:50 |
gltripp | improved ? | 16:50 |
gltripp | so, how to get a list of searchable fields and options ? | 16:50 |
gltripp | i'm in the view where you can list all accounts, the filter wont find anything :-( | 16:52 |
cedk | gltripp: http://doc.tryton.org/2.2/tryton/doc/usage.html#id13 | 16:52 |
gltripp | oO | 16:55 |
gltripp | thats not true ? | 16:55 |
gltripp | removing the filter gui is called "improvement" by you? | 16:56 |
gltripp | ouhm, sorry - but any dump enduser would not like to use this search syntax | 16:57 |
gltripp | and i dont like to remember the search syntax either | 16:59 |
gltripp | ... nor alle the field names at all | 16:59 |
bechamel | gltripp: https://bugs.tryton.org/msg9976 | 17:00 |
gltripp | :-D | 17:01 |
cedk | gltripp: you don't have to remember the syntax, autocompletion is there | 17:03 |
gltripp | however - the search formular as "addon" was very intuitive | 17:05 |
gltripp | why not to combine ? | 17:05 |
cedk | gltripp: because it will be a duplicate functionnality | 17:06 |
gltripp | and? | 17:07 |
gltripp | generating a search term by clicking is an usabilitiy feature: not everybody likes to remember the fieldnames, operators and so on | 17:08 |
cedk | gltripp: you don't have to remember it | 17:08 |
cedk | gltripp: autocompletion is there | 17:08 |
cedk | gltripp: and more over you have the name in the header of the list | 17:08 |
gltripp | not all | 17:09 |
gltripp | in my opintion: the funcionality of the formular was an usability feature | 17:09 |
cedk | gltripp: it is your opinion | 17:10 |
gltripp | may be | 17:11 |
gltripp | but atm, i'm not able to formulate a query "name contains 'string'" | 17:12 |
cedk | gltripp: it is very easy: name: string | 17:14 |
gltripp | does not find anything (in the account list) | 17:15 |
gltripp | i'm in the tree view where all accounts are listed | 17:16 |
gltripp | and the search does not find anything | 17:16 |
cedk | gltripp: I don't know what you are searching | 17:16 |
cedk | gltripp: but such simple stuffs work | 17:17 |
gltripp | i'm in the tree view, where all accounts are hierarchical listed | 17:18 |
bechamel | gltripp: as I said in the bug tracker, the idea is to simply type "string" | 17:18 |
gltripp | and i like to search a special account by name | 17:18 |
gltripp | but it does not find anything - even if i type "a" in the form | 17:19 |
bechamel | gltripp: keep in mind that search search is made on the beginning of the name, not inside | 17:20 |
cedk | gltripp: in tree view, the search will only apply on root | 17:20 |
gltripp | (hm, damn) | 17:57 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!