[tryton] woes installing

2018-05-30 Thread Cato Nano
Hello, installing Tryton again in a debian machine, I can' t finish the installation $ trytond-admin -c ./trytond.conf -d tryton --all Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/trytond/backend/__init__.py", line 32, in get 'trytond.backend', db_type)

[tryton] Re: reports

2018-03-30 Thread Cato Nano
Il giorno venerdì 30 marzo 2018 11:00:41 UTC+2, Cato Nano ha scritto: > I could use an example of a report where "single" is False > > For one thing this form is incorrect > > > Bolletta > tributi.bolletta > trib

[tryton] reports

2018-03-30 Thread Cato Nano
I could use an example of a report where "single" is False For one thing this form is incorrect Bolletta tributi.bolletta tributi.bolletta tributi/bolletta.fodt False KeyError: 'name' and then I wonder: a not single

Re: [tryton] Re: updating a calculated field while filling a form

2018-03-30 Thread Cato Nano
Il giorno sabato 17 marzo 2018 13:30:06 UTC+1, Cédric Krier ha scritto: > Using One2Many in on_change method can be a little bit tricky because we > have not yet a way to express what values will be sent. So the client > for now send all the values it knows and if it is a saved record the >

[tryton] Re: updating a calculated field while filling a form

2018-03-17 Thread Cato Nano
Il giorno venerdì 16 marzo 2018 18:07:41 UTC+1, Cato Nano ha scritto: > Il giorno venerdì 16 marzo 2018 17:21:08 UTC+1, Cato Nano ha scritto: > > My "total" field on the Bolletta entity is calculated. > > > > It's the sum of a value from the lines PLUS some bits

[tryton] Re: updating a calculated field while filling a form

2018-03-16 Thread Cato Nano
Il giorno venerdì 16 marzo 2018 17:21:08 UTC+1, Cato Nano ha scritto: > My "total" field on the Bolletta entity is calculated. > > It's the sum of a value from the lines PLUS some bits > > In the GUI (and in SAO) the total gets updated while filling a line only with &

[tryton] updating a calculated field while filling a form

2018-03-16 Thread Cato Nano
My "total" field on the Bolletta entity is calculated. It's the sum of a value from the lines PLUS some bits In the GUI (and in SAO) the total gets updated while filling a line only with the value from said line The further bits get acconted for only after saving the Bolletta. I suppose that

[tryton] Re: not callable

2018-03-14 Thread Cato Nano
Il giorno martedì 13 febbraio 2018 12:20:10 UTC+1, Cato Nano ha scritto: > Il giorno lunedì 12 febbraio 2018 10:29:56 UTC+1, Cato Nano ha scritto: > > I am creating some new calculated fields, running tests along the way > > > > The last one of such fields

[tryton] Re: not callable

2018-02-13 Thread Cato Nano
Il giorno lunedì 12 febbraio 2018 10:29:56 UTC+1, Cato Nano ha scritto: > I am creating some new calculated fields, running tests along the way > > The last one of such fields is giving me troubles > > This is the result of running the tests > &

[tryton] not callable

2018-02-12 Thread Cato Nano
I am creating some new calculated fields, running tests along the way The last one of such fields is giving me troubles This is the result of running the tests .F == FAIL:

Re: [tryton] lineas attributes don' t get updated

2018-02-12 Thread Cato Nano
Il giorno mercoledì 7 febbraio 2018 23:15:07 UTC+1, Cédric Krier ha scritto: > On 2018-02-01 07:47, Cato Nano wrote: > > So, in Proteus I am seeing this sequence of lines > > > > In [52]: bolletta.tipo > > Out[52]: 'sociale' > > > > In [53]: aff.bolletta.

Re: [tryton] numeric values

2018-02-12 Thread Cato Nano
Il giorno lunedì 29 gennaio 2018 20:30:20 UTC+1, Cato Nano ha scritto: > Il giorno lunedì 29 gennaio 2018 10:35:08 UTC+1, Cédric Krier ha scritto: > > On 2018-01-28 02:43, Cato Nano wrote: > > > In my numeric calculated fields I should record 4 decimal digits but I > &

Re: [tryton] Proteus success

2018-02-11 Thread Cato Nano
ok, I was failing to build the project before running the tests I'm sorry for bothering :-/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] Proteus success

2018-02-11 Thread Cato Nano
I tried on a different computer, in a different environment and I get a different result: Ran 266 tests in 55.654s OK (skipped=6) !! -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] Proteus success

2018-02-11 Thread Cato Nano
Il giorno venerdì 2 febbraio 2018 10:19:18 UTC+1, Sergi Almacellas Abellana ha scritto: > El 02/02/18 a les 08:39, Cato Nano ha escrit: > > That' s my total !! > > > > This is a way saner cycle than creating the xml for the fields, then > > logging in the client, op

Re: [tryton] main entity and lines

2018-02-02 Thread Cato Nano
Il giorno venerdì 2 febbraio 2018 08:10:43 UTC+1, Cato Nano ha scritto: > Il giorno mercoledì 31 gennaio 2018 17:33:35 UTC+1, Sergi Almacellas Abellana > ha scritto: > > El 29/01/18 a les 20:28, Cato Nano ha escrit: > > > I made this field. the thing runs, but the field doesn

[tryton] Proteus success

2018-02-01 Thread Cato Nano
My Bolletta needed to sport a "Total" field that had to be the sum of a field in its lines. I arranged a draft of a couple clculated field/on_change method and then I tested it in proteus. My draft works ! In [7]: boll.totale

Re: [tryton] main entity and lines

2018-02-01 Thread Cato Nano
Il giorno mercoledì 31 gennaio 2018 17:33:35 UTC+1, Sergi Almacellas Abellana ha scritto: > El 29/01/18 a les 20:28, Cato Nano ha escrit: > > I made this field. the thing runs, but the field doesn't appear > > https://gitlab.com/humanitiesNerd/tributi/blob/master/af

[tryton] lineas attributes don' t get updated

2018-02-01 Thread Cato Nano
So, in Proteus I am seeing this sequence of lines In [52]: bolletta.tipo Out[52]: 'sociale' In [53]: aff.bolletta.tipo <-- aff is a bolletta line Out[53]: 'sociale' In [54]: bolletta.tipo = 'commerciale' In [55]: bolletta.save() In [56]: bolletta.tipo Out[56]: 'commerciale' In [57]:

Re: [tryton] database initialization

2018-02-01 Thread Cato Nano
Il giorno mercoledì 31 gennaio 2018 18:10:14 UTC+1, Cato Nano ha scritto: > more precisely, this is the string that is in my conf file > > uri = postgresql://tryton@/ ok I configured postgres in a liberl way and I managed to find an uri string that works with proteus I' d still love t

Re: [tryton] database initialization

2018-01-31 Thread Cato Nano
ok, this is what happens In [2]: config = config.set_trytond('postgresql://tryton:tryton@localhost/tryton ...: ') /home/catonano/tributi/env/lib/python3.6/site-packages/trytond/modules/__init__.py:143: DeprecationWarning: This method will be removed in future versions. Use

Re: [tryton] database initialization

2018-01-31 Thread Cato Nano
more precisely, this is the string that is in my conf file uri = postgresql://tryton@/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] database initialization

2018-01-31 Thread Cato Nano
Il giorno mercoledì 31 gennaio 2018 14:38:19 UTC+1, Sergi Almacellas Abellana ha scritto: > El 31/01/18 a les 14:34, Cato Nano ha escrit: > > I run this line > > > > trytond-admin -c ./trytond.conf -d tryton --all > > > > Then I try to start

[tryton] database initialization

2018-01-31 Thread Cato Nano
I run this line trytond-admin -c ./trytond.conf -d tryton --all Then I try to start Proteus like this config = config.set_trytond(database='postgresql://tryton@/') because I'd like to prod my methods with the same database tha I use when I' m in the client But this is what I get

Re: [tryton] numeric values

2018-01-29 Thread Cato Nano
Il giorno lunedì 29 gennaio 2018 10:35:08 UTC+1, Cédric Krier ha scritto: > On 2018-01-28 02:43, Cato Nano wrote: > > In my numeric calculated fields I should record 4 decimal digits but I > > should show only 2 decimal digits in my views > > > > How can I achieve that

Re: [tryton] main entity and lines

2018-01-29 Thread Cato Nano
Il giorno lunedì 29 gennaio 2018 10:05:17 UTC+1, Sergi Almacellas Abellana ha scritto: > El 28/01/18 a les 18:12, Cato Nano ha escrit: > > Some time ago I asked how to have on my Bolletta lines fields defined on > > the main entity, the Bolletta > > > > I did

[tryton] numeric values

2018-01-28 Thread Cato Nano
In my numeric calculated fields I should record 4 decimal digits but I should show only 2 decimal digits in my views How can I achieve that ? Thanks -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] validation

2018-01-28 Thread Cato Nano
Il giorno venerdì 26 gennaio 2018 11:01:57 UTC+1, Sergi Almacellas Abellana ha scritto: > El 26/01/18 a les 10:58, Cato Nano ha escrit: > > One of my fields can contain values that are in a certain range only > > > > And such range depends on the content of another field

[tryton] validation

2018-01-26 Thread Cato Nano
One of my fields can contain values that are in a certain range only And such range depends on the content of another field If the user inserts a value that is out of that range, then the record shouldn't be saved. How do I achieve this ? -- You received this message because you are

Re: [tryton] Party view

2018-01-23 Thread Cato Nano
Il giorno giovedì 11 gennaio 2018 01:10:09 UTC+1, Cédric Krier ha scritto: > On 2018-01-10 11:56, Cato Nano wrote: > > The view/party_form.xml file contains a view with a "notebook" with 2 > > pages within it > > > > The 2 pages are "General" an

Re: [tryton] relations

2018-01-23 Thread Cato Nano
Il giorno domenica 21 gennaio 2018 10:30:17 UTC+1, Cato Nano ha scritto: > Il giorno mercoledì 17 gennaio 2018 09:32:12 UTC+1, Sergi Almacellas Abellana > ha scritto: > > El 17/01/18 a les 08:51, Cato Nano ha escrit: > > > Il giorno mercoledì 17 gennaio 2018 08:20:45 UTC+1,

Re: [tryton] run test

2018-01-23 Thread Cato Nano
Il giorno martedì 23 gennaio 2018 09:25:44 UTC+1, Sergi Almacellas Abellana ha scritto: > El 22/01/18 a les 19:02, Cato Nano ha escrit: > > Il giorno domenica 21 gennaio 2018 17:50:09 UTC+1, Cédric Krier ha scritto: > >> On 2018-01-21 07:58, Cato Nano wrote: > > > &

Re: [tryton] new error

2018-01-22 Thread Cato Nano
Il giorno lunedì 22 gennaio 2018 09:32:40 UTC+1, Sergi Almacellas Abellana ha scritto: > El 22/01/18 a les 05:11, Cato Nano ha escrit: > > In testing my module for the first time, this error is reported > > > > ---

Re: [tryton] run test

2018-01-22 Thread Cato Nano
Il giorno domenica 21 gennaio 2018 17:50:09 UTC+1, Cédric Krier ha scritto: > On 2018-01-21 07:58, Cato Nano wrote: > > The manual says that I nee dto run > > > > run-tests.py -m my_module > > > > but I can't find it > > > > It' s not a binary

[tryton] new error

2018-01-21 Thread Cato Nano
In testing my module for the first time, this error is reported -- Traceback (most recent call last): File "/home/catonano/tributi/env/lib/python3.6/site-packages/trytond/tests/test_tryton.py", line 198, in wrapper result

Re: [tryton] bool object ?

2018-01-21 Thread Cato Nano
Il giorno domenica 21 gennaio 2018 11:05:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-21 01:33, Cato Nano wrote: > > I' m getting this error > > > > $ tryton > > /home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form.py

[tryton] bool object ?

2018-01-21 Thread Cato Nano
I' m getting this error $ tryton /home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form.py:48: Warning: value "0" of type 'guint' is invalid or out of range for property 'n-columns' of type 'guint' self.table = gtk.Table(1, col)

Re: [tryton] relations

2018-01-21 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 09:32:12 UTC+1, Sergi Almacellas Abellana ha scritto: > El 17/01/18 a les 08:51, Cato Nano ha escrit: > > Il giorno mercoledì 17 gennaio 2018 08:20:45 UTC+1, Cato Nano ha scritto: > > > >> Aaah it' s like this > >

Re: [tryton] Proteus

2018-01-21 Thread Cato Nano
Il giorno giovedì 18 gennaio 2018 09:51:51 UTC+1, Cato Nano ha scritto: > Il giorno sabato 13 gennaio 2018 10:00:08 UTC+1, Cédric Krier ha scritto: > > On 2018-01-12 23:16, Cato Nano wrote: > > > Today the error message is different. Yesterday I probably messed up > &g

Re: [tryton] Proteus

2018-01-18 Thread Cato Nano
Il giorno sabato 13 gennaio 2018 10:00:08 UTC+1, Cédric Krier ha scritto: > On 2018-01-12 23:16, Cato Nano wrote: > > Today the error message is different. Yesterday I probably messed up > > because I was tired, it happens > > > > So here I am now > > > >

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 08:20:45 UTC+1, Cato Nano ha scritto: > Aaah it' s like this > > bollettaDataCommissione = fields.Function(fields.Date('tributi.bolletta', > 'Data di Commissione'), 'on_change_with_bollettaDataCommissione') > > @fields.depends

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 07:57:29 UTC+1, Cato Nano ha scritto: > Il giorno mercoledì 17 gennaio 2018 07:55:23 UTC+1, Cato Nano ha scritto: > > Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana > > ha > > > > > > You have

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 07:55:23 UTC+1, Cato Nano ha scritto: > Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana > ha > > > > You have to create a function fields which is updated via > > on_change_with. For example the product_uom

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana ha > > You have to create a function fields which is updated via > on_change_with. For example the product_uom_category [1]on the sale > lines uses the value from the product relation. > > [1]

[tryton] Re: relations

2018-01-16 Thread Cato Nano
Il giorno martedì 16 gennaio 2018 11:09:15 UTC+1, Cato Nano ha scritto: > Il giorno martedì 16 gennaio 2018 11:02:29 UTC+1, Cato Nano ha scritto: > ah the field has to be different > > I think I made it No I didn' t make it On the client I see a key error here it is https://imgur

[tryton] relations

2018-01-16 Thread Cato Nano
I have 2 models, with a relation between them Much like Sales and SaleLine Let' s say I have Bolletta and BollettaLine Some BollettaLine fields are calcolated and they depend on some Bolletta fields How do I do that ? Also, I' d like to show on the BollettaLine form view some Bolletta fields

Re: [tryton] why doesn' t this field get assigned ?

2018-01-16 Thread Cato Nano
Il giorno sabato 13 gennaio 2018 11:05:07 UTC+1, Cédric Krier ha scritto: > On 2018-01-13 01:31, Cato Nano wrote: > > Il giorno venerdì 12 gennaio 2018 23:45:06 UTC+1, Cédric Krier ha scritto: > > > On 2018-01-10 09:03, Cato Nano wrote: > > &

Re: [tryton] why doesn' t this field get assigned ?

2018-01-13 Thread Cato Nano
Il giorno venerdì 12 gennaio 2018 23:45:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-10 09:03, Cato Nano wrote: > > I have these 2 fields > > > > numeroGiorni = fields.Function(fields.Integer('Numero > > Giorni'),'on_change_with_numeroGiorni') > >

Re: [tryton] Proteus

2018-01-12 Thread Cato Nano
Il giorno venerdì 12 gennaio 2018 23:15:07 UTC+1, Cédric Krier ha scritto: > On 2018-01-12 11:28, Cato Nano wrote: > > Il giorno venerdì 12 gennaio 2018 19:10:06 UTC+1, Cédric Krier ha scritto: > > > On 2018-01-12 09:35, Cato Nano wrote: > > > > Ok, now I' m at this

Re: [tryton] Proteus

2018-01-12 Thread Cato Nano
Il giorno venerdì 12 gennaio 2018 19:10:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-12 09:35, Cato Nano wrote: > > Ok, now I' m at this (The database ":memory:" does not exist) > > > > This is the pip3 based setup. Which component is missing ? > > > &

Re: [tryton] Proteus

2018-01-12 Thread Cato Nano
> Another good example why you should never mess up an installation from > distribution with an installation from source. Right I had downloaded Proteus because I was _consideing_ to try to build and install it myself But I never embarked in such a process. I never began I just decomprrressed

Re: [tryton] Proteus

2018-01-12 Thread Cato Nano
Ok, now I' m at this (The database ":memory:" does not exist) This is the pip3 based setup. Which component is missing ? >>> config = config.set_trytond('sqlite:///:memory:') Traceback (most recent call last): File "", line 1, in File

Re: [tryton] Proteus

2018-01-12 Thread Cato Nano
Il giorno giovedì 11 gennaio 2018 15:00:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-11 13:38, Mathias Behrle wrote: > > * Cédric Krier: " Re: [tryton] Proteus" (Thu, 11 Jan 2018 01:07:32 +0100): > > > > > On 2018-01-10 11:52, Cato Nano wrote: > > >

Re: [tryton] Proteus

2018-01-11 Thread Cato Nano
Il giorno giovedì 11 gennaio 2018 16:41:36 UTC+1, Sergi Almacellas Abellana ha scritto: > El 11/01/18 a les 16:23, Cato Nano ha escrit: > > > > I think Mathis is referring to my own Tryton module > > > > He saw the path to my module in the stacktrace > > &

Re: [tryton] Proteus

2018-01-11 Thread Cato Nano
Il giorno giovedì 11 gennaio 2018 15:00:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-11 13:38, Mathias Behrle wrote: > > * Cédric Krier: " Re: [tryton] Proteus" (Thu, 11 Jan 2018 01:07:32 +0100): > > > > > On 2018-01-10 11:52, Cato Nano wrote: > > >

Re: [tryton] Proteus

2018-01-10 Thread Cato Nano
Il giorno giovedì 11 gennaio 2018 01:10:06 UTC+1, Cédric Krier ha scritto: > On 2018-01-10 11:52, Cato Nano wrote: > > When called from within a python3 prompt, Proteus gets found > > > > But this time xmlrpclib is missing > > > > Also, xmlrpclib is not declar

[tryton] Party view

2018-01-10 Thread Cato Nano
The view/party_form.xml file contains a view with a "notebook" with 2 pages within it The 2 pages are "General" and "identifiers" But in the GUI I see 2 more tabs: Accounting and Stock Where do they come from ? Thanks in advance -- You received this message because you are subscribed to

Re: [tryton] Proteus

2018-01-10 Thread Cato Nano
Il giorno mercoledì 10 gennaio 2018 19:30:07 UTC+1, Cédric Krier ha scritto: > On 2018-01-10 08:59, Cato Nano wrote: > > This > > > > $ python > > Python 2.7.14 (default, Sep 17 2017, 18:50:44) > > [GCC 7.2.0] on linux2 > > Type "help", "c

[tryton] why doesn' t this field get assigned ?

2018-01-10 Thread Cato Nano
I have these 2 fields numeroGiorni = fields.Function(fields.Integer('Numero Giorni'),'on_change_with_numeroGiorni') @fields.depends('dataInizio', 'dataFine') def on_change_with_numeroGiorni(self, name=None): if self.dataInizio and self.dataFine: return

[tryton] Proteus

2018-01-10 Thread Cato Nano
This $ python Python 2.7.14 (default, Sep 17 2017, 18:50:44) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from proteus import config, Model Traceback (most recent call last): File "", line 1, in ImportError: No module named proteus >>> Of

Re: [tryton] what are sequences ?

2018-01-10 Thread Cato Nano
Il giorno mercoledì 10 gennaio 2018 11:01:04 UTC+1, Sergi Almacellas Abellana ha scritto: > El 10/01/18 a les 10:15, Cato Nano ha escrit: > > Hello > > > > I' d like to have a setup with a relation in my project > > > > Similar to Sale and Sale Lines > &g

[tryton] what are sequences ?

2018-01-10 Thread Cato Nano
Hello I' d like to have a setup with a relation in my project Similar to Sale and Sale Lines I made the models, they compile and run. Now I only neeed a basic form with a list of lines within it But I' m a bit confused In sale.xml I see these 2 records: sale.line

Re: [tryton] calculated fields

2018-01-02 Thread Cato Nano
Il giorno martedì 2 gennaio 2018 23:55:08 UTC+1, Cédric Krier ha scritto: > Answered at > http://www.tryton.org/~irclog/2018-01-02.log.html#t2018-01-02%2023:48 > > Please avoid to ask same questions on multiple channel in a so short > time frame. Sorry ! Karla, tanks fofr your clarrification.

Re: [tryton] calculated fields

2018-01-02 Thread Cato Nano
Karla, Il giorno venerdì 29 dicembre 2017 15:06:02 UTC+1, Karla Stenger ha scritto: > 2017-12-29 7:31 GMT-03:00 Cato Nano <cato...@gmail.com>: > > Hello, > Hello > > > > > Could anyone give me a brief, clear example of how to have a calculated > > field

[tryton] calculated fields

2017-12-29 Thread Cato Nano
Hello, Could anyone give me a brief, clear example of how to have a calculated field ? I' m trying to have my first calculated field I have 2 Date fields and I want my calculated field to be the difference in days between the 2 dates How do I set that ? The documentation says that

Re: [tryton] workflow

2017-12-20 Thread Cato Nano
Il giorno mercoledì 20 dicembre 2017 10:24:46 UTC+1, Sergi Almacellas Abellana ha scritto: > El 19/12/17 a les 18:12, Cato Nano ha escrit: > > Until now, I have been editing the sources of my module "off line" then I > > have rebuilt my modue on every edit, in order to

[tryton] workflow

2017-12-19 Thread Cato Nano
Until now, I have been editing the sources of my module "off line" then I have rebuilt my modue on every edit, in order to see the results I saw there s the Proteus project that seems to be aimed at providing a prompt to interactively work with my modules How am I supposed to use that ?

[tryton] using the Party module

2017-12-19 Thread Cato Nano
I d like to establish a relation between my entity (Bolletta) and the parties represented by the Party module I m not sure I undertsand how to do that The manual doesn t mention the possibility it seems. Does it ? The "sale" module has a model like this class PartyReplace: __metaclass__ =

Re: [tryton] selection field

2017-12-19 Thread Cato Nano
Il giorno martedì 19 dicembre 2017 07:38:05 UTC+1, Cato Nano ha scritto: > Il giorno lunedì 18 dicembre 2017 17:27:03 UTC+1, Mark Shane Hayden ha > scritto: > > On Dec 18, 2017 04:08, "Cato Nano" <cato...@gmail.com> wrote: > > Now that a list of entities rep

Re: [tryton] selection field

2017-12-18 Thread Cato Nano
Il giorno lunedì 18 dicembre 2017 17:27:03 UTC+1, Mark Shane Hayden ha scritto: > On Dec 18, 2017 04:08, "Cato Nano" <cato...@gmail.com> wrote: > Now that a list of entities represented by my model get correctly shown, I > want to add a selectio

[tryton] selection field

2017-12-18 Thread Cato Nano
Now that a list of entities represented by my model get correctly shown, I want to add a selection field to my model. Like this tipo = fields.Selection('tipo', [ ('M', 'Male') ('F', 'Female') ], ) I copied this from the manual, here

Re: [tryton] Re: a simple view

2017-12-18 Thread Cato Nano
Il giorno lunedì 18 dicembre 2017 00:05:07 UTC+1, Cédric Krier ha scritto: > On 2017-12-17 14:31, Cato Nano wrote: > > Il giorno domenica 17 dicembre 2017 19:35:09 UTC+1, Cédric Krier ha scritto: > > > > > > > > You did not register in the Pool you model in

Re: [tryton] Re: a simple view

2017-12-17 Thread Cato Nano
Il giorno domenica 17 dicembre 2017 19:35:09 UTC+1, Cédric Krier ha scritto: > > You did not register in the Pool you model in __init__.py > Also I just see that the file bolletta.py has syntax errors. Sorry to bother with such trivial issues :-/ Anyway, I didn' t register my model in

Re: [tryton] Re: a simple view

2017-12-17 Thread Cato Nano
we are still unable to tame the SAO installation. The frontend is not really our thing In the meantime we mananged to connect to our server with a native client and the error is there too !! So the problem must be in my code !! Here s a picture https://imgur.com/a/ICSri And here s the

Re: [tryton] Re: a simple view

2017-12-15 Thread Cato Nano
Il giorno venerdì 15 dicembre 2017 16:55:06 UTC+1, Cédric Krier ha scritto: > On 2017-12-15 07:49, Cato Nano wrote: > > Il giorno venerdì 15 dicembre 2017 16:25:06 UTC+1, Cédric Krier ha scritto: > > > On 2017-12-15 07:15, Cato Nano wrote: > > > > Il giorno venerdì 1

Re: [tryton] Re: a simple view

2017-12-15 Thread Cato Nano
Il giorno venerdì 15 dicembre 2017 16:25:06 UTC+1, Cédric Krier ha scritto: > On 2017-12-15 07:15, Cato Nano wrote: > > Il giorno venerdì 15 dicembre 2017 15:30:22 UTC+1, Cédric Krier ha scritto: > > > On 2017-12-15 06:04, Cato Nano wrote: > > > > The machine is h

Re: [tryton] Re: a simple view

2017-12-15 Thread Cato Nano
Il giorno venerdì 15 dicembre 2017 15:30:22 UTC+1, Cédric Krier ha scritto: > On 2017-12-15 06:04, Cato Nano wrote: > > The machine is here, you can see that yourself > > http://52.59.227.113:8000/index.html > > user admin > > pwd tryton > > OK, I clicked an

Re: [tryton] Re: a simple view

2017-12-15 Thread Cato Nano
Il giorno venerdì 15 dicembre 2017 11:24:17 UTC+1, Sergi Almacellas Abellana ha scritto: > El 15/12/17 a les 11:17, Cato Nano ha escrit: > > Il giorno giovedì 14 dicembre 2017 16:40:07 UTC+1, Cédric Krier ha scritto: > >> On 2017-12-14 07:29, Cato Nano wrote: > >>>

[tryton] Re: a simple view

2017-12-14 Thread Cato Nano
Il giorno giovedì 7 dicembre 2017 13:50:32 UTC+1, Cato Nano ha scritto: > I have a simple entity and I d like to show a simple tree view (as a first > step) > > I tried to follow the manual in creating that but the tree view doesnt get > showed > > Here s a picture (my

[tryton] a simple view

2017-12-07 Thread Cato Nano
I have a simple entity and I d like to show a simple tree view (as a first step) I tried to follow the manual in creating that but the tree view doesnt get showed Here s a picture (my menu in the red shape) https://imgur.com/a/I5XMc And here is the relevant file

Re: [tryton] making a menu appear

2017-12-07 Thread Cato Nano
Il giorno sabato 2 dicembre 2017 18:30:07 UTC+1, Cédric Krier ha scritto: > On 2017-12-01 03:15, Cato Nano wrote: > > I attempted this but it didn't work > > Did you update the database? yes > Did you logout/login? yes > Did you check your > us

Re: [tryton] making a menu appear

2017-12-02 Thread Cato Nano
Il giorno venerdì 1 dicembre 2017 12:25:06 UTC+1, Cato Nano ha scritto: > Il giorno venerdì 1 dicembre 2017 09:13:52 UTC+1, Sergi Almacellas Abellana > ha scritto: > > El 30/11/17 a les 21:17, Cato Nano ha escrit: > > > what's wrong with this file ? > > > >

Re: [tryton] making a menu appear

2017-12-01 Thread Cato Nano
Il giorno venerdì 1 dicembre 2017 09:13:52 UTC+1, Sergi Almacellas Abellana ha scritto: > El 30/11/17 a les 21:17, Cato Nano ha escrit: > > what's wrong with this file ? > > > > The difinition is correct. > > > I'd like a menu to appear but it doesn't > &g

[tryton] making a menu appear

2017-11-30 Thread Cato Nano
what's wrong with this file ? I'd like a menu to appear but it doesn't Thanks in advance Tributi -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] developing a module and deploying it

2017-11-26 Thread Cato Nano
Il giorno venerdì 24 novembre 2017 11:56:49 UTC+1, Sergi Almacellas Abellana ha scritto: > El 24/11/17 a les 09:10, Cato Nano ha escrit: > If the module is correctly installed you should see on the modules list. > If the database already exists you should update the mo

Re: [tryton] developing a module and deploying it

2017-11-24 Thread Cato Nano
be in the modules list at least It's not I'm sorry, I don't now how to set up a python based project. Il giorno domenica 19 novembre 2017 14:00:07 UTC+1, Cédric Krier ha scritto: > On 2017-11-18 22:56, Cato Nano wrote: > > I'm going to develop a small module of mine to manage taxes c

Re: [tryton] modules

2017-11-19 Thread Cato Nano
Il giorno sabato 18 novembre 2017 11:20:07 UTC+1, Cédric Krier ha scritto: > On 2017-11-17 22:56, Cato Nano wrote: > > Il giorno venerdì 17 novembre 2017 23:53:11 UTC+1, Mark Shane Hayden ha > > scritto: > > > Did you make sure the modules were registered with trytond-admi

[tryton] modules

2017-11-17 Thread Cato Nano
I installed successully Tryton 4.6 with apt-get on Debian Sid It runs, the Sao based site works I also installed the sale module also with apt-get but it doesn't show up in the admin interface I only see the 2 fundamental modules Thanks in advance -- You received this message because you

Re: [tryton] getting started with Tryton (on an amazon aws instance)

2017-11-13 Thread Cato Nano
Il giorno domenica 12 novembre 2017 22:10:08 UTC+1, Cédric Krier ha scritto: > On 2017-11-12 10:04, Cato Nano wrote: > > Now I' d like to propose this picture > > I don' t think it' s phisiological > > > > https://imgur.com/a/BqpoR > > > > The folder c

Re: [tryton] getting started with Tryton (on an amazon aws instance)

2017-11-12 Thread Cato Nano
Il giorno domenica 12 novembre 2017 12:15:13 UTC+1, Cédric Krier ha scritto: > On 2017-11-11 13:42, Cato Nano wrote: > > Hello, > > > > I just installed Tryton and Sao on a freshely installed Sid instable Debian > > machine > > > > in the conf file this is

[tryton] getting started with Tryton (on an amazon aws instance)

2017-11-11 Thread Cato Nano
Hello, I just installed Tryton and Sao on a freshely installed Sid instable Debian machine in the conf file this is the uri for my db uri = postgresql://tryton:tryton@/ both postgresql and tryton-server are running BUT when I try to open the page in a web browser I get no reply Shall I

Re: [tryton] data folder (configuring Trytond)

2017-09-10 Thread Cato Nano
Il giorno domenica 10 settembre 2017 14:44:11 UTC+2, Axel Braun ha scritto: > Am Sonntag, 10. September 2017, 14:28:18 CEST schrieb Cato Nano: > No. Its used for attachments for example. Ah. Thank you Axel -- You received this message because you are subscribed to the Google Groups &

[tryton] data folder (configuring Trytond)

2017-09-10 Thread Cato Nano
Hello, in the "database" section of the configuration, the documentation about configuring Trytond refers to a "data folder" See here: http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#database but if I want my Trytond to rely on a Postgresql service (already taken care of) what

Re: [tryton] building from source

2017-04-05 Thread Cato Nano
Il giorno mercoledì 5 aprile 2017 21:40:07 UTC+2, Cédric Krier ha scritto: > > On 2017-04-05 09:25, Cato Nano wrote: > > in the tests of trytond I see pysqlite2 is used. > > > > As far as I understand, pysqlite2 is not compatible with Python3 > > It is an optio

Re: [tryton] building from source

2017-04-05 Thread Cato Nano
Il giorno mercoledì 5 aprile 2017 21:14:02 UTC+2, Axel Braun ha scritto: > > Hi, > > Am Mittwoch, 5. April 2017, 18:25:05 CEST schrieb Cato Nano: > > Hello, > > > > in the tests of trytond I see pysqlite2 is used. > > If you don't define a proper dat

[tryton] building from source

2017-04-05 Thread Cato Nano
Hello, in the tests of trytond I see pysqlite2 is used. As far as I understand, pysqlite2 is not compatible with Python3 Does this mean that trytond is meant to be for Python2 only ? I ask this because I'm trying to package Tryton for GuixSD Thanks in advance -- You received this message