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