[tryton] Re: trytond while trying to create db

2014-07-28 Thread Simon Klemenc
hi marcelo, i am not an expert with tryton, but it seems to me like any of your desired modules has trytond stated as an dependency, which is not wrong by definition but its implicit and could (maybe) be the mistake... you can run the following in bash to find out if this is the case and in

[tryton] Re: trytond while trying to create db

2014-07-29 Thread Simon Klemenc
ok, i got it wrong first, but maybe there is accidentially a folder called trytond in your modules folder... simon On Sunday, July 27, 2014 8:00:59 PM UTC+2, Marcelo Zunino wrote: Hello, I installed tryton v3.0.0 from http://downloads.tryton.org/3.0/ as I need this version in order to

Re: [tryton] non existing config file

2014-11-15 Thread Simon Klemenc
On Monday, October 27, 2014 9:48:40 AM UTC+1, Cédric Krier wrote: On 27 Oct 12:07, Farid Shahy wrote: hi When running trytond with config file specified with -c parameter, if the file does not exist or the user does not have permission to access config file, no warning or error

[tryton] insert module into database

2014-11-18 Thread Simon Klemenc
hi there. is there a (command-line-) way to insert a module including its dependencies in a database? for example starting from a fresh virtualenv: pip2 install trytond-sale venv/bin/trytond -c my_config create database in client (123) venv/bin/trytond -c my_config -u sale -d 123 this

Re: [tryton] insert module into database

2014-11-19 Thread Simon Klemenc
thanks sergi, will only install necessary modules and run --all... On Tuesday, November 18, 2014 3:17:42 PM UTC+1, Sergi Almacellas Abellana wrote: El 17/11/14 a les 16:12, Simon Klemenc ha escrit: hi there. is there a (command-line-) way to insert a module including its

[tryton] disable 'new record' button

2014-12-07 Thread Simon Klemenc
hi there, Is there a way in trytond to disable the ability to create a new record? for example i want to allow the creation of invoices from sales but not directly from the invoice-list... can i disable the button completely (with a domain?) or only raise an error on validation? or, has this

Re: [tryton] disable 'new record' button

2014-12-08 Thread Simon Klemenc
On Monday, December 8, 2014 12:50:05 AM UTC+1, Cédric Krier wrote: On 07 Dec 05:32, Simon Klemenc wrote: hi there, Is there a way in trytond to disable the ability to create a new record? Yes if you remove to the user the access right to create [1] perfect, thanks.. i think i

[tryton] colors in tree view

2015-05-04 Thread Simon Klemenc
hi there, in mirgration from 3.4 to 3.6 i recognized that the pyson for tree color must have changed and i might need some help. My pyson is: tree string=Invoicescolors=If(Bool(Eval('is_marked')), 'purple', If(Greater(Eval('amount_to_pay_today',0), 0), 'red', 'black')) whats wrong with it?

Re: [tryton] colors in tree view

2015-05-04 Thread Simon Klemenc
On Monday, May 4, 2015 at 10:00:05 AM UTC+2, Cédric Krier wrote: On 04 May 09:39, Sergi Almacellas Abellana wrote: El 03/05/15 a les 14:13, Simon Klemenc ha escrit: hi there, in mirgration from 3.4 to 3.6 i recognized that the pyson for tree color must have changed and i might

[tryton] domain on relational fields

2015-04-29 Thread Simon Klemenc
Hi there, As there is active record available in on_change (Thanks for that!), i would like to make use of it to create invoice/shipment bound addresses. Now, the hassle is to hide those addresses from the party address subfield. I saw it is possible to add a domain clause to the many2many

[tryton] tryton 3.6 client translation

2015-05-07 Thread Simon Klemenc
hi, I recently made the migration from 3.4 to 3.6, but it seems the client is always shown in plain english... same on windows and linux, locale is installed.. Is this a known problem? or anything to configure?

Re: [tryton] Concurrency Exceptions

2015-05-11 Thread Simon Klemenc
On Sunday, May 10, 2015 at 11:40:04 PM UTC+2, Cédric Krier wrote: On 10 May 02:25, Simon Klemenc wrote: On Sunday, May 10, 2015 at 12:44:13 AM UTC+2, Albert Cervera Areny wrote: 2015-05-09 22:47 GMT+02:00 Simon Klemenc simon@gmail.com javascript:: Hi, me once

Re: [tryton] tryton 3.6 client translation

2015-05-09 Thread Simon Klemenc
On Thursday, May 7, 2015 at 8:10:08 PM UTC+2, Cédric Krier wrote: On 07 May 10:37, Simon Klemenc wrote: hi, I recently made the migration from 3.4 to 3.6, but it seems the client is always shown in plain english... same on windows and linux, locale is installed

[tryton] Concurrency Exceptions

2015-05-09 Thread Simon Klemenc
Hi, me once again... I need your advice as i'm running into concurrency exceptions from time to time Whenever that happens it results from a button triggered workflow transition after changing some field without a save in between... How can i avoid these? can the client be modified to

Re: [tryton] Concurrency Exceptions

2015-05-10 Thread Simon Klemenc
On Sunday, May 10, 2015 at 12:44:13 AM UTC+2, Albert Cervera Areny wrote: 2015-05-09 22:47 GMT+02:00 Simon Klemenc simon@gmail.com javascript:: Hi, me once again... I need your advice as i'm running into concurrency exceptions from time to time Whenever that happens

Re: [tryton] Sequence on Shipments

2015-04-18 Thread Simon Klemenc
On Saturday, April 18, 2015 at 11:55:03 AM UTC+2, Cédric Krier wrote: On 17 Apr 14:04, Simon Klemenc wrote: Hi there, I have a question regarding the setting of sequence numbers in shipments.. Is there a good reason to set the reference in the validate function

[tryton] Sequence on Shipments

2015-04-18 Thread Simon Klemenc
Hi there, I have a question regarding the setting of sequence numbers in shipments.. Is there a good reason to set the reference in the validate function, and not, say for example when assigning the shipment? To my opinion this would be more consistent with invoicing for example, and on top of

Re: [tryton] domain on relational fields

2015-05-19 Thread Simon Klemenc
On Tuesday, May 5, 2015 at 9:40:03 AM UTC+2, Cédric Krier wrote: On 29 Apr 11:28, Simon Klemenc wrote: Hi there, As there is active record available in on_change (Thanks for that!), i would like to make use of it to create invoice/shipment bound addresses. Now, the hassle

Re: [tryton] on_change_many2one

2015-05-29 Thread Simon Klemenc
On Friday, May 29, 2015 at 11:25:06 AM UTC+2, Giovanni wrote: 2015-05-29 11:17 GMT+02:00 Simon Klemenc simon@gmail.com javascript:: At the moment i try to update a many2one field within an on_change_* method.. What exactly are you trying to do ? Is it : - Updating the Many2One

[tryton] on_change_many2one

2015-05-29 Thread Simon Klemenc
hi there, At the moment i try to update a many2one field within an on_change_* method.. Unfortionately it seems like a one2many is updated correctly, while a many2one is not. Is this the current hehavior? Also i tried having a one2many function field to be updated, but actually that didn't

Re: [tryton] domain on relational fields

2015-05-21 Thread Simon Klemenc
On Tuesday, May 19, 2015 at 3:16:50 PM UTC+2, Sergi Almacellas Abellana wrote: El 19/05/15 a les 13:31, Simon Klemenc ha escrit: The fields instance have a domain attribute: http://doc.tryton.org/3.6/trytond/doc/ref/models/fields.html#domain http://doc.tryton.org/3.6

[tryton] performance on sale tree

2015-10-15 Thread Simon Klemenc
hi there, We are using tryton in a production environment, and we currently have around 1700 sales in the database. The database runs on ssd-raids and the tryton process runs on a xeon 3,2ghz. Now when querying the sale-tree, it takes a ridiculous amount of time to show up (~15-19sec). For

[tryton] colors in tree view

2016-01-21 Thread Simon Klemenc
hi there, when i read http://www.tryton.org/news/index.html, do i understand right, that the possibility to put colors on tree-view lines has been removed? This used to be very useful to mark due invoices in bright red. What is the alternative? Which kind of "icons" will be shown? Does someone

[tryton] "dont show again" on user warning

2016-05-04 Thread Simon Klemenc
hi, I want to show a warning message to a user under certain circumstances. However it seems that once the user checks "dont show again" he won't receive the message anymore... How can i avoid this choice? best regards simon -- You received this message because you are subscribed to the

[tryton-dev] module loader

2014-09-02 Thread simon . klemenc
hi there, first thing, im sorry for doing this in reverse order: i have already opened a codereview at http://codereview.tryton.org/10481002/ and am now writing in here to state my motivation. the reason i even took a deeper look at modules/__init__.py was that i wanted to run tryton in a

Re: [tryton-dev] module loader

2014-09-03 Thread Simon Klemenc
Am 04.09.2014 00:17 schrieb Cédric Krier cedric.kr...@b2ck.com: On 03 Sep 23:56, Simon wrote: Am 03.09.2014 um 23:13 schrieb Cédric Krier: On 03 Sep 11:11, Simon Klemenc wrote: On Tuesday, September 2, 2014 11:07:44 PM UTC+2, Cédric Krier wrote: On 02 Sep 09:14, simon@gmail.com

Re: [tryton-dev] module loader

2014-09-03 Thread Simon Klemenc
Am 04.09.2014 01:07 schrieb Pierre-Louis Bonicoli pierre-louis.bonic...@gmx.fr: On 03/09/2014 20:11, Simon Klemenc wrote: but then i still have to add a setup.py and install using pip, which turns out to be not soo simple to automate with docker.. You may be interested by: https

Re: [tryton-dev] module loader

2014-09-04 Thread Simon Klemenc
Am 04.09.2014 02:19 schrieb Pierre-Louis Bonicoli pierre-louis.bonic...@gmx.fr: On 04/09/2014 01:04, Simon Klemenc wrote: You are right, this is more of a first-world-problem. Its absolutely doable to add a setup.py from the template in hg but when doing only slight modifications

Re: [tryton-dev] module loader

2014-09-04 Thread Simon Klemenc
Also, as a bonus this would come with the possibility to install modules inside the tryton data path, with tryton user rights. This would allow to have a module to install modules from the internet... Am 04.09.2014 08:09 schrieb Simon Klemenc simon.klem...@gmail.com: Am 04.09.2014 02:19 schrieb

Re: [tryton-dev] module loader

2014-09-04 Thread Simon Klemenc
Am 04.09.2014 08:53 schrieb Cédric Krier cedric.kr...@b2ck.com: On 04 Sep 01:04, Simon Klemenc wrote: Am 04.09.2014 00:17 schrieb Cédric Krier cedric.kr...@b2ck.com: On 03 Sep 23:56, Simon wrote: Am 03.09.2014 um 23:13 schrieb Cédric Krier: On 03 Sep 11:11, Simon Klemenc wrote

Re: [tryton-dev] Faster contribution

2014-11-19 Thread Simon Klemenc
- It should at least exist an additional field for the mail address. Since we are (still) tied to google for authentication, you don't want necessarily take the google registered address for the commit message. Use a google account for your preferred email address. I

Re: [tryton-dev] Faster contribution

2014-12-08 Thread Simon Klemenc
On Thursday, November 20, 2014 10:24:40 AM UTC+1, Pierre-Louis Bonicoli wrote: On 20/11/2014 01:42, Simon Klemenc wrote: The current contribution process seems very intransparent and it is not easy to see which party allowed for which change and who actually merged it. Hi

Re: [tryton-dev] Faster contribution

2014-12-08 Thread Simon Klemenc
On Monday, December 8, 2014 9:25:03 PM UTC+1, Cédric Krier wrote: On 08 Dec 09:42, Simon Klemenc wrote: sorry for putting this up top again, but from trying to contribute small pieces and looking at other codereviews a thing that remains unclear to me from howto contribute is pep8

Re: [tryton-dev] Faster contribution

2014-12-09 Thread Simon Klemenc
2014-12-09 14:01 GMT+01:00 tarun.bhard...@openlabs.co.in: On Tuesday, December 9, 2014 3:40:03 PM UTC+5:30, Cédric Krier wrote: On 09 Dec 10:45, Pierre-Louis Bonicoli wrote: On 09/12/2014 01:21, Simon Klemenc wrote: so just in case it becomes even more strict and there is no 8771002

Re: [tryton-dev] Faster contribution

2014-12-09 Thread Simon Klemenc
On Tuesday, December 9, 2014 4:40:03 PM UTC+1, Cédric Krier wrote: On 09 Dec 16:23, Albert Cervera i Areny wrote: 2014-12-09 15:28 GMT+01:00 Cédric Krier cedric...@b2ck.com javascript:: On 09 Dec 15:05, Simon Klemenc wrote: http://codereview.tryton.org/11681002/ might lead to just

[tryton-dev] Re: proteus: Add support for JSON-RPC (issue414002)

2015-01-30 Thread Simon Klemenc
On Friday, June 29, 2012 at 1:27:13 PM UTC+2, Sharoon Thomas wrote: Reviewers: , Please review this at http://codereview.tryton.org/414002/ Affected files: M COPYRIGHT M proteus/config.py A proteus/jsonrpc.py whats the current state of json-rpc in proteus? Is the

Re: [tryton-dev] sql dumps

2015-01-20 Thread Simon Klemenc
however, this does nothing for me... it just passes silently really quick and doesnt insert anything into my database... Did you use it recently? regards On Tuesday, January 20, 2015 at 1:23:48 PM UTC+1, Simon Klemenc wrote: Am 20.01.2015 um 13:22 schrieb Sergi Almacellas Abellana: El 20

[tryton-dev] sql dumps

2015-01-20 Thread Simon Klemenc
hi there, as i wanted to migrate an sqlite dump to a postgres server today i discovered that the dump command is actually just copying the sqlite file and the restore command in postgres is actually a 'pg_restore'.. however this might seem ok for some, but it causes me a lot of hassle i didnt

Re: [tryton-dev] Github mirror

2015-03-12 Thread Simon Klemenc
just to avoid having the other mirror out of sync: http://google-opensource.blogspot.co.at/2015/03/farewell-to-google-code.html whats next? regards simon On Thursday, February 5, 2015 at 12:15:03 PM UTC+1, Cédric Krier wrote: On 04 Feb 12:43, Nicolas Évrard wrote: * Sharoon Thomas

Re: [tryton-dev] on_change update relationals

2015-02-27 Thread Simon Klemenc
2015-02-27 13:20 GMT+01:00 Cédric Krier cedric.kr...@b2ck.com: On 27 Feb 04:05, Simon Klemenc wrote: Let me explain: We sell certain Systems, those consist of several pieces of varying size/quantity. Most of the time we use a predefined quotation, adapt its size (pieces). We include

Re: [tryton-dev] on_change update relationals

2015-02-27 Thread Simon Klemenc
On Friday, February 27, 2015 at 1:14:38 AM UTC+1, Cédric Krier wrote: On 26 Feb 15:53, Simon Klemenc wrote: hi there, I recognized that when i update the party from a sale, the tax rule is not updated for the sales line.. Easy, i thought, just add it to an on_change_party

Re: [tryton-dev] on_change update relationals

2015-02-27 Thread Simon Klemenc
On Friday, February 27, 2015 at 11:00:03 AM UTC+1, Cédric Krier wrote: On 27 Feb 01:21, Simon Klemenc wrote: On Friday, February 27, 2015 at 1:14:38 AM UTC+1, Cédric Krier wrote: On 26 Feb 15:53, Simon Klemenc wrote: hi there, I recognized that when i update the party

Re: [tryton-dev] on_change update relationals

2015-02-27 Thread Simon Klemenc
On Friday, February 27, 2015 at 12:55:04 PM UTC+1, Cédric Krier wrote: On 27 Feb 03:33, Simon Klemenc wrote: On Friday, February 27, 2015 at 11:00:03 AM UTC+1, Cédric Krier wrote: On 27 Feb 01:21, Simon Klemenc wrote: We have sale templates which we reuse quite often and i really

[tryton-dev] on_change update relationals

2015-02-26 Thread Simon Klemenc
hi there, I recognized that when i update the party from a sale, the tax rule is not updated for the sales line.. Easy, i thought, just add it to an on_change_party... however, I dont know how i would update relational fields (sale lines) calling line.save() is not really intended here i think

[tryton-de] Re: Mehrere Rechnungen auf ein Mal drucken - Tryton 3.2

2015-05-29 Thread Simon Klemenc
hoi! soweit ich das verstanden habe wird das nicht so einfach sein, weil bei festgeschriebenen rechnungen dein dokument gespeichert wird und ebendieses dann ausgegeben wird... ansonsten würde ich da anfangen zu schauen: https://github.com/tryton/account_invoice/blob/develop/invoice.py#L2299

Re: [tryton-de] Installation tryton 3.6 auf Client-Server Umgebung

2017-01-24 Thread Simon Klemenc
warum kann man da nicht einfach klartext akzeptieren und crypt optional? On Tuesday, July 5, 2016 at 2:30:49 PM UTC+2, Mathias Behrle wrote: > > * Waltix: " Re: [tryton-de] Installation tryton 3.6 auf Client-Server > Umgebung" (Tue, 5 Jul 2016 04:27:10 -0700 (PDT)): > > > Ja, tatsächlich das

[tryton-dev] search zip code on party

2016-10-12 Thread Simon Klemenc
Hi, I found a very old thread on this, but it seems all the docs covering this have disappeared. So, in order to search parties by zip code, i need to make a function field for the party and a function field searcher function? Is there an example i can have a look? The other idea would be to