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, open all the windows to reach

Re: [tryton] Proteus success

2018-02-02 Thread Sergi Almacellas Abellana
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, open all the windows to reach the new field !! We normally use proteus to create doctest scenarios that ensure the module behaves

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 > > > because I was tired, it

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 > > > > >>> from proteus import config, Model,

Re: [tryton] Proteus

2018-01-13 Thread Cédric Krier
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 > > >>> from proteus import config, Model, Wizard, Report > >>> config = config.set_trytond('sqlite:///:memory:') >

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 (The database ":memory:" does

Re: [tryton] Proteus

2018-01-12 Thread Mathias Behrle
* Cato Nano: " Re: [tryton] Proteus" (Fri, 12 Jan 2018 11:23:19 -0800 (PST)): > So I bothered Mathias > > Oh well :-/ Not a problem, be welcome. Have fun, Mathias -- Mathias Behrle MBSolutions Gilgenmatten 10 A D-79114 Freiburg Tel: +49(761)4710

Re: [tryton] Proteus

2018-01-12 Thread Cédric Krier
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 (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
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 ? > > > > >>> config =

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 Cédric Krier
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 ? > > >>> config = config.set_trytond('sqlite:///:memory:') > Traceback (most recent call last): > File "", line 1, in > File >

Re: [tryton] Proteus

2018-01-12 Thread Axel Braun
Am Freitag, 12. Januar 2018, 18:35:21 CET schrieb Cato Nano: > Ok, now I' m at this (The database ":memory:" does not exist) What does psql -l say? -- 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

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 Axel Braun
Am Freitag, 12. Januar 2018, 18:29:26 CET schrieb 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):

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 > > > > Now I' m not sure I understand > >

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-11 Thread Mathias Behrle
* Cédric Krier: " Re: [tryton] Proteus" (Thu, 11 Jan 2018 01:07:32 +0100): > 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

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 declared as a dependency in the Proteus

Re: [tryton] Proteus

2018-01-10 Thread Cédric Krier
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 declared as a dependency in the Proteus setup.py file xmlrpclib is a standard library of Python so it should not be declared as

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", "copyright", "credits" or "license" for more information. >

Re: [tryton] Proteus

2018-01-10 Thread Cédric Krier
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", "copyright", "credits" or "license" for more information. > >>> from proteus import config, Model > Traceback (most recent call last): > File "",

Re: [tryton] proteus: is it possible to dynamically add/remove simple field to existing model

2017-09-25 Thread Richard PALO
Le 23/09/2017 à 22:41, Cédric Krier a écrit : No, I'm only answering to the removing a field, adding is possible and the basis of Tryton modularity. OK, noted. Works fine to add/remove programatically a module with the field. No problem then manually dropping the field afterwards with psql.

Re: [tryton] proteus: is it possible to dynamically add/remove simple field to existing model

2017-09-23 Thread Cédric Krier
On 2017-09-23 19:09, Richard PALO wrote: > Le 23/09/2017 à 18:43, Cédric Krier a écrit : > > On 2017-09-23 18:16, Richard PALO wrote: > >> As the title indicates, I'm interested to know if one can add/remove a > >> persistent > >> field (simple, non relational... like an integer) to an existing

Re: [tryton] proteus: is it possible to dynamically add/remove simple field to existing model

2017-09-23 Thread Richard PALO
Le 23/09/2017 à 18:43, Cédric Krier a écrit : On 2017-09-23 18:16, Richard PALO wrote: As the title indicates, I'm interested to know if one can add/remove a persistent field (simple, non relational... like an integer) to an existing model with proteus. Tryton enforce data integrity so a

Re: [tryton] proteus: is it possible to dynamically add/remove simple field to existing model

2017-09-23 Thread Cédric Krier
On 2017-09-23 18:16, Richard PALO wrote: > As the title indicates, I'm interested to know if one can add/remove a > persistent > field (simple, non relational... like an integer) to an existing model with > proteus. Tryton enforce data integrity so a client can not modify the data model. > Or

Re: [tryton] Proteus for database creation ?

2015-07-15 Thread Axel Braun
Am Mittwoch, 15. Juli 2015, 07:42:57 schrieb Christophe: Le 14/07/2015 22:19, Cédric Krier a écrit : On 2015-07-14 19:37, Christophe (net) wrote: Hi, I would need to create and configure several Tryton database. Proteus and scenario sounds like a good way to do. However, I stumble on

Re: [tryton] Proteus for database creation ?

2015-07-14 Thread Cédric Krier
On 2015-07-14 19:37, Christophe (net) wrote: Hi, I would need to create and configure several Tryton database. Proteus and scenario sounds like a good way to do. However, I stumble on the creation of the database (postgres). I tried several track found here and there (irc, etc) but nothing

Re: [tryton] Proteus for database creation ?

2015-07-14 Thread Christophe (net)
Le 14/07/2015 22:19, Cédric Krier a écrit : On 2015-07-14 19:37, Christophe (net) wrote: Hi, I would need to create and configure several Tryton database. Proteus and scenario sounds like a good way to do. However, I stumble on the creation of the database (postgres). I tried several track

Re: [tryton] Proteus search option

2013-12-10 Thread jomeyy
Am Dienstag, 10. Dezember 2013 08:20:13 UTC+1 schrieb Albert Cervera Areny: 2013/12/9 jomeyy jom...@gmail.com javascript:: hello Tryton user group, I try to search multiple products with Proteus. I want to find all products where the product code containing the word bunny.

Re: [tryton] Proteus search option

2013-12-10 Thread Albert Cervera i Areny
2013/12/10 jomeyy jom...@gmail.com: Am Dienstag, 10. Dezember 2013 08:20:13 UTC+1 schrieb Albert Cervera Areny: 2013/12/9 jomeyy jom...@gmail.com: hello Tryton user group, I try to search multiple products with Proteus. I want to find all products where the product code containing

Re: [tryton] proteus - change current company

2012-04-09 Thread Cédric Krier
On 09/04/12 04:28 -0700, kostas wrote: The above script works for the current company of user 'admin'. How can I change the current company in the proteus script ? Since 2.2, the current company can be changed with the context. In proteus, the context is defined on the config object but it is

Re: [tryton] proteus company wizard

2012-01-02 Thread Cédric Krier
On 02/01/12 10:04 +0100, lists.jc.mic...@symetrie.com wrote: Hi, With the proteus script to build a db (which was first written for 2.0) I get an error with 2.2.2 on the line : company_config = Wizard('company.company.config') company_config.execute('company') company =

Re: [tryton] proteus company wizard

2012-01-02 Thread lists.jc.mic...@symetrie.com
Hi, Le 2 janv. 2012 à 12:58, Cédric Krier a écrit : This is strange because it is the same code as in http://hg.tryton.org/2.2/modules/account_stock_continental/file/dcbf704c8769/tests/scenario_account_stock_continental.rst#l37 which runs http://tests.tryton.org/~test2_2/postgresql.html Sure,

Re: [tryton] proteus import

2011-12-08 Thread Nicolas Évrard
* Mariano DAngelo [2011-12-08 04:56 +0100]: Hello, I'm trying to import a list of products, and I having trouble saving product cost_price I see it's stored in ir_property table but I cannot save it as product.cost_price, how it most be done? You must assign to product.cost_price a