[tryton-dev] network

2014-12-10 Thread Vincent Bastos
Hi, I was wondering whether there was an old thread regarding the core design choice for the amount of network requests made by the GTK client? I feel that this is a relevant question in light of the fact that the community is pushing for a generic web client. I noticed that for each view the

Re: [tryton-dev] Taking picture from Camera

2015-07-13 Thread Vincent Bastos
> > > Even more, if a tablet or phone is used it is already possible to take > a picture simply using the file selection widget already used in > attachments, for example. > > Albert, Only with the web client right?

[tryton-dev] Re: Expenses on project

2015-09-09 Thread Vincent Bastos
On Wednesday, September 2, 2015 at 1:20:06 AM UTC+10, Cédric Krier wrote: > > Hi, > > I'm looking for a way to put expenses (purchases) into the cost of a > project. > The usual way I have seen in similar software is to use analytic account > but I think it is not the correct way for 2 reason

[tryton-dev] Need more tests

2015-10-04 Thread Vincent Bastos
Still need more tests?

[tryton-dev] Ubuntu Upstart script

2015-10-12 Thread Vincent Bastos
Hi, I was wondering if anyone had a good example of a simple Upstart script for Ubuntu 14.04?

Re: [tryton-dev] Ubuntu Upstart script

2015-10-13 Thread Vincent Bastos
;https://help.ubuntu.com/community/CronHowto> > > Or autostart=true with supervisord > > > https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps > > Best, > > Humberto > Hi, > > I was wondering if anyone had a good example of a simple Upstart script > for Ubuntu 14.04? > -- *Vincent Bastos* *Lava Lab Software*

[tryton-dev] Re: Mirror on bitbucket

2015-10-23 Thread Vincent Bastos
On Saturday, October 17, 2015 at 5:40:02 PM UTC+10, Cédric Krier wrote: > > Hi, > > I got feedbacks that on some remote place in the world, the connection > with hg.tryton.org is not so fast and cloning the repositories is slow. > So I started to setup a mercurial clone on bitbucket: > >

[tryton-dev] calendar module

2015-10-23 Thread Vincent Bastos
I noticed that there is a module called calendar in the repositories, but it is not mentioned in the doc. Any particular reason?

[tryton-dev] how to add unique contraint on char field

2015-12-08 Thread Vincent Bastos
Hi, How do you add a unique constraint on a char field? -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/5c3b718d-1e3a-47b3-bf28-76b54906c044%40googlegroups.com

[tryton-dev] Create a new item under an existing menu

2015-12-23 Thread Vincent Bastos
Hey, I am trying to create a new item under the Party menu. I thought that this would work but it does not seem to work as no item appears in the menu: Having said that after I run the command to update Tryton ( -u ) I don't see a menu entry in the menu table of Postgres, so perhaps my i

Re: [tryton-dev] Create a new item under an existing menu

2015-12-23 Thread Vincent Bastos
On Thu, Dec 24, 2015 at 4:50 PM, Raimon Esteve wrote: > > El dia 24/12/2015 6.28, "Vincent Bastos" va > escriure: > > > > Hey, > > > > I am trying to create a new item under the Party menu. > > > > I thought that this would work but it

Re: [tryton-dev] Create a new item under an existing menu

2015-12-29 Thread Vincent Bastos
mba...@gmail.com> wrote: > > El 24/12/2015 7:50 a. m., "Raimon Esteve" > escribió: > > > > > > El dia 24/12/2015 6.28, "Vincent Bastos" va > escriure: > > > > > > > > Hey, > > > > > > I am trying to cre

[tryton-dev] Re: Cookiecutter for Tryton modules

2016-01-17 Thread Vincent Bastos
Excellent! -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/03a4c96e-0402-460c-b08a-71e99d06a799%40googlegroups.com.

[tryton-dev] modules in trytond modules directory

2016-01-19 Thread Vincent Bastos
Hi, I noticed that if you create a Python module with a name that does not start with the word "trytond", its files are not copied to the modules directory inside the trytond python package directory. Why does Trytond copy the files to this directory? What is the purpose of this? NOTE - I hav

[tryton-dev] Re: New wiki

2016-01-27 Thread Vincent Bastos
Hey, Not sure if you wanted another suggestion, but if you did here is one: http://waliki.pythonanywhere.com/ But MoinMoin is definitely a proven solution. -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit

Re: [tryton-dev] Re: New wiki

2016-02-02 Thread Vincent Bastos
Another suggestion is zwiki [1] built on Plone. [1] https://plone.org/products/zwiki -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/37ca6421-a6d4-430b-b8c3-4

Re: [tryton-dev] New wiki

2016-02-10 Thread Vincent Bastos
Discourse makes sense to me. One place to discuss features. Another for documentation. How about the old page linked to "Contribute" on the main project site? how about just recreating it on the main site? -- You received this message because you are subscribed to the Google Groups "tryton-de

[tryton-dev] formating string in Relatorio

2016-10-10 Thread Vincent Bastos
Hi, I was wondering if it is possible to format a string in Relatorio "inline"? -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/87edbba0-2bf4-45db-a14f-161f831

[tryton-dev] Account Payments

2016-10-10 Thread Vincent Bastos
Hi, We had a bit of a discussion on discuss.tryton.org [1], but the topic of of the discuss post is note mainly about account payments so I am continuing this conversation here. So, in regards to Account Payments, maybe I am missing something, but it seems that payment lines are not linked to

Re: [tryton-dev] Account Payments

2016-10-12 Thread Vincent Bastos
On Tue, Oct 11, 2016 at 5:33 PM, Cédric Krier wrote: > On 2016-10-10 23:19, Vincent Bastos wrote: > > Hi, > > > > We had a bit of a discussion on discuss.tryton.org [1], but the topic > of of > > the discuss post is note mainly about account payments so I am continu

Re: [tryton-dev] Account Payments

2016-10-12 Thread Vincent Bastos
On Wed, Oct 12, 2016 at 5:05 PM, Vincent Bastos wrote: > > On Tue, Oct 11, 2016 at 5:33 PM, Cédric Krier > wrote: > >> On 2016-10-10 23:19, Vincent Bastos wrote: >> > Hi, >> > >> > We had a bit of a discussion on discuss.tryton.org [1], but the

[tryton-dev] Where is _get_taxes() defined in invoice.py

2016-10-31 Thread Vincent Bastos
I don't know why but I can't find _get_taxes() in invoice.py for an invoice. For example at line 514 [1] in invoice.py of account_invoice. I am assuming that there should be a line starting with def _get_taxes(? [1] - https://bitbucket.org/tryton/account_invoice/src/5a47902594a6f0c8b206f1e2cfe

Re: [tryton-dev] Where is _get_taxes() defined in invoice.py

2016-11-01 Thread Vincent Bastos
On Tue, Nov 1, 2016 at 6:42 PM, Cédric Krier wrote: > On 2016-10-31 23:27, Vincent Bastos wrote: > > I don't know why but I can't find _get_taxes() in invoice.py for an > invoice. > > > > For example at line 514 [1] in invoice.py of account_invoice. I am >

Re: [tryton-dev] Where is _get_taxes() defined in invoice.py

2016-11-01 Thread Vincent Bastos
On Tue, Nov 1, 2016 at 9:27 PM, Cédric Krier wrote: > On 2016-11-01 21:06, Vincent Bastos wrote: > > On Tue, Nov 1, 2016 at 6:42 PM, Cédric Krier > wrote: > > > > > On 2016-10-31 23:27, Vincent Bastos wrote: > > > > I don't know why but I

[tryton-dev] Limit of One2Many

2016-11-23 Thread Vincent Bastos
How can I see what the maximum number of id's a One2Many field returns? -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/9b026ef5-39b5-4c8b-b147-e75a7685dbbc%40g

[tryton-dev] read order by create_date

2016-11-23 Thread Vincent Bastos
Is there any reason why ordering by create_date wouldn't work? Can't I use the following domain - 'create_date', 'DESC'? Thanks -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d

Re: [tryton-dev] Limit of One2Many

2016-11-24 Thread Vincent Bastos
On Thu, Nov 24, 2016 at 6:37 PM, Nicolas Évrard wrote: > * Vincent Bastos [2016-11-24 01:38 +0100]: > >> How can I see what the maximum number of id's a One2Many field returns? >> > > Just specify size=… in the definition of the One2Many > > http://doc.tr

Re: [tryton-dev] read order by create_date

2016-11-24 Thread Vincent Bastos
On Thu, Nov 24, 2016 at 6:42 PM, Cédric Krier wrote: > On 2016-11-23 22:16, Vincent Bastos wrote: > > Is there any reason why ordering by create_date wouldn't work? > > > > Can't I use the following domain - 'create_date', 'DESC'? > > You

[tryton-dev] non authenticated end point

2016-11-24 Thread Vincent Bastos
Is it possible to create an end point on the server that does not require authentication? I would like to implement a queue to send SMS's using the Twilio API. When you send a request to send a message, it is possible to set a callback url [1] with a parameter in the domain rather than as a par

Re: [tryton-dev] non authenticated end point

2016-11-24 Thread Vincent Bastos
On Thu, Nov 24, 2016 at 10:17 PM, Sergi Almacellas Abellana < se...@koolpi.com> wrote: > Hi Vincent, > > El 24/11/16 a les 13:11, Vincent Bastos ha escrit: > >> Is it possible to create an end point on the server that does not >> require authentication? >> >

Re: [tryton-dev] non authenticated end point

2016-11-24 Thread Vincent Bastos
On Thu, Nov 24, 2016 at 10:34 PM, Cédric Krier wrote: > On 2016-11-24 22:22, Vincent Bastos wrote: > > On Thu, Nov 24, 2016 at 10:17 PM, Sergi Almacellas Abellana < > > se...@koolpi.com> wrote: > > > > > Hi Vincent, > > > > > > El 24/11/16

Re: [tryton-dev] non authenticated end point

2016-11-28 Thread Vincent Bastos
On Thursday, November 24, 2016 at 11:20:02 PM UTC+10, Cédric Krier wrote: > > On 2016-11-24 22:44, Vincent Bastos wrote: > > ok, so for now I can create an sms_queue module but without updating > the > > status of an sms. > > I do not think you need a queue [1]. Y

[tryton-dev] log details from 500 ( Internal Server Error )

2017-01-04 Thread Vincent Bastos
Hi, I am currently testing a custom javascript application and I am getting 500 ( Internet Server Error ) responses, but I don't know where to get details of the error. I am running the server (4.2) with -v and --dev, but this just outputs: NFO werkzeug 127.0.0.1 - - [05/Jan/2017 04:50:33] "PO

[tryton-dev] Re: log details from 500 ( Internal Server Error )

2017-01-04 Thread Vincent Bastos
I didn't find the error messages, but I did find out that one error was caused by doing an RPC on a non-existing method and the other RPC was missing some parameters -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the

[tryton-dev] Tryton cookiecutter error

2017-01-12 Thread Vincent Bastos
Hey, I thought I would try to use the Tryton cookiecutter, but I am getting the following error: (tryton38testmodule)*➜ **tryton38testmodule* cookiecutter https://hg.tryton.org/cookiecutter Traceback (most recent call last): File "/usr/local/bin/cookiecutter", line 11, in sys.exit(ma

[tryton-dev] Re: More comment on "UPDATE FOR" patch

2017-01-15 Thread Vincent Bastos
I don't understand what assignation is? -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/e0faa75a-7a68-401a-9a74-202f67cb86fd%40googlegroups.com.

[tryton-dev] Force an account on a product in a configuration form

2017-02-17 Thread Vincent Bastos
Hi, I would like to create a Configuration form for a module that has a mandatory field for a product and I would like this form to force the user to create a product with accounts being setup. Is this possible? How would I do this? -- You received this message because you are subscribed to t

[tryton-dev] How to add to the configuration wizard when a new module is installed

2017-02-17 Thread Vincent Bastos
Hi, I am unable to figure out how modules are able to "append" to the configuration wizard when a new module is installed. I have created a configuration.py file and configuration.xml file with a form, but this does not come up when I install my module. I thought that Tryton automatically adde

Re: [tryton-dev] Force an account on a product in a configuration form

2017-02-18 Thread Vincent Bastos
On Sat, Feb 18, 2017 at 10:13 PM, Cédric Krier wrote: > On 2017-02-17 20:37, Vincent Bastos wrote: > > Hi, > > > > I would like to create a Configuration form for a module that has a > > mandatory field for a product and I would like this form to force the > use

[tryton-dev] module for an SMS queue

2017-02-22 Thread Vincent Bastos
I would like to suggest a module to manage an SMS queue. I am interested to get feedback/comments. I need to create a module to send SMS's via an SMS gateway provider called Twilio [1]. The reason for this queue is because users should be able to tell if messages have been sent or not without h

Re: [tryton-dev] module for an SMS queue

2017-02-23 Thread Vincent Bastos
On Thu, Feb 23, 2017 at 6:39 PM, Cédric Krier wrote: > On 2017-02-22 23:04, Vincent Bastos wrote: > > I would like to suggest a module to manage an SMS queue. I am interested > to > > get feedback/comments. > > > > I need to create a module to send SMS's v

Re: [tryton-dev] module for an SMS queue

2017-02-23 Thread Vincent Bastos
On Thu, Feb 23, 2017 at 7:45 PM, Cédric Krier wrote: > On 2017-02-23 18:53, Vincent Bastos wrote: > > On Thu, Feb 23, 2017 at 6:39 PM, Cédric Krier > wrote: > > The way the Twilio API works is that you send it a request to send a > > message and it manages the queue. In

[tryton-dev] Running trytond-admin -u on my module throws me an error

2017-02-24 Thread Vincent Bastos
I have installed my custom module on 4.2 and it worked with no errors. Now, after having made some code changes I ran >trytond-admin -v -c file.conf -d dbname -u module_name and I am getting the following error which I don't know how to debug: Traceback (most recent call last): File "/Users/

Re: [tryton-dev] Force an account on a product in a configuration form

2017-03-02 Thread Vincent Bastos
On Sun, Feb 19, 2017 at 9:40 AM, Cédric Krier wrote: > On 2017-02-19 06:00, Vincent Bastos wrote: > > For this module there is a function which automatically applies a charge > > based on certain conditions. So I guess the right way of implementing > this > > is actu

Re: [tryton-dev] How to add to the configuration wizard when a new module is installed

2017-03-02 Thread Vincent Bastos
On Saturday, February 18, 2017 at 10:20:07 PM UTC+10, Cédric Krier wrote: > > On 2017-02-17 22:42, Vincent Bastos wrote: > > Hi, > > > > I am unable to figure out how modules are able to "append" to the > > configuration wizard when a new module

Re: [tryton-dev] How to add to the configuration wizard when a new module is installed

2017-03-03 Thread Vincent Bastos
On Fri, Mar 3, 2017 at 6:23 PM, Sergi Almacellas Abellana wrote: > El 03/03/17 a les 08:42, Vincent Bastos ha escrit: > >> >> >> On Saturday, February 18, 2017 at 10:20:07 PM UTC+10, Cédric Krier wrote: >> >> On 2017-02-17 22:42, Vincent Bastos wrote:

[tryton-dev] Best way to test for a date in a date field

2017-05-03 Thread Vincent Bastos
Hi, I wanted to know what the best way to write a domain for a search call to test for records that have a date in a particular field. My idea is something like this: nodate = Date(0) invoices = Invoice.search([ ('lease', '=', self.id), ('state', '!=', 'paid'),

Re: [tryton-dev] Best way to test for a date in a date field

2017-05-04 Thread Vincent Bastos
On Wednesday, May 3, 2017 at 5:31:49 PM UTC+10, Sergi Almacellas Abellana wrote: > > El 02/05/17 a les 07:59, Vincent Bastos ha escrit: > > Hi, > > > > I wanted to know what the best way to write a domain for a search call > > to test for records that hav

[tryton-dev] Should Date.today() in account.invoice use company timezone?

2017-05-11 Thread Vincent Bastos
be in a timezone different enough to impact the date. I guess this just has not happened yet, but perhaps I'm thinking about it because I'm 10 hours in front of UTC :) Vincent Bastos -- You received this message because you are subscribed to the Google Groups "tryton-dev&

Re: [tryton-dev] Should Date.today() in account.invoice use company timezone?

2017-05-12 Thread Vincent Bastos
On Fri, May 12, 2017 at 5:10 PM, Cédric Krier wrote: > On 2017-05-11 21:40, Vincent Bastos wrote: > > Hi, > > > > I am curious as to why the module account.invoice does not use the > timezone > > variable from company if it has been set when calling Date.today()? &g

[tryton-dev] PEP-0008 Dunder names

2018-05-24 Thread Vincent Bastos
Hi, Just wondering why Tryton does not follow one of the points in PEP-0008[1]? [1] - https://www.python.org/dev/peps/pep-0008/#id24 -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.