Re: [tryton-dev] Why supplier return shipments doesn't have supplier field?

2015-12-31 Thread Guillem Barba Domingo
2015-12-31 12:21 GMT+01:00 Sergi Almacellas Abellana : > El 31/12/15 a les 12:19, Guillem Barba Domingo ha escrit: > >> Hi, >> >> why supplier return shipments doesn't have supplier field? >> All other shipment have it, and for me doesn't make sense to h

[tryton-dev] Why supplier return shipments doesn't have supplier field?

2015-12-31 Thread Guillem Barba Domingo
Hi, why supplier return shipments doesn't have supplier field? All other shipment have it, and for me doesn't make sense to have a shipment without the party from which the goods comes. -- Guillem Barba http://www.guillem.alcarrer.net -- You received this message because you are subscribed to

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

2015-12-29 Thread Guillem Barba Domingo
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 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: > > > >

Re: [tryton-dev] RFC for ship to different party

2015-09-05 Thread Guillem Barba Domingo
2015-08-31 18:59 GMT+02:00 Cédric Krier : > On 2015-08-31 18:44, Albert Cervera i Areny wrote: > > 2015-08-31 14:46 GMT+02:00 Cédric Krier : > > > On 2015-08-31 14:43, Albert Cervera i Areny wrote: > > >> 2015-08-31 12:17 GMT+02:00 Cédric Krier : > > >> > Hi, > > >> > > > >> > I would like to have

Re: [tryton-dev] Slow queries when searching m2m fields in big databases

2015-06-18 Thread Guillem Barba Domingo
2015-06-12 9:43 GMT+02:00 Cédric Krier : > On 2015-06-11 21:55, Cédric Krier wrote: > > On 2015-06-11 21:37, Jordi Esteve wrote: > > > On 11/06/15 21:10, Cédric Krier wrote: > > > >>By the way, the default option in the new parameter 'target_search' > for m2o > > > >>fields is 'subquery'. Maybe is

Re: [tryton-dev] Get current value from class method.

2015-06-02 Thread Guillem Barba Domingo
2015-05-30 9:59 GMT+02:00 Christophe (net) : > > > Le 28/05/2015 18:00, Marc Murray a écrit : > >> On Thu, 2015-05-28 at 11:55 +0200, Christophe (net) wrote: >> >>> Le 28/05/2015 11:46, Cédric Krier a écrit : >>> On 28 May 11:10, Christophe (net) wrote: > Le 28/05/2015 10:34, Cédric

Re: [tryton-dev] Re: Expand product template view tree in Tryton 3.2

2015-05-27 Thread Guillem Barba Domingo
2015-05-25 16:00 GMT+02:00 TPH : > I made some mistakes in the description above, so here again: > > Working with Tryton 3.2 > > I want to add a new field "product_code" to "product.template" because > most Information I need is in "product.template", not in "product.product" > which is now a "var

Re: [tryton-dev] Apply inheritance when all models are loaded on the pool

2015-04-29 Thread Guillem Barba Domingo
El 23/04/2015 12:40, "Cédric Krier" va escriure: > > On 23 Apr 12:22, Sergi Almacellas Abellana wrote: > > El 22/04/15 a les 16:34, Prakash Pandey ha escrit: > > >Hello folks, > > > > > >I am working on a module which enables historization on tryton models > > >dynamically, by dynamic I mean - you

Re: [tryton-dev] Possible to disable toolbar?

2015-04-19 Thread Guillem Barba Domingo
El 04/04/2015 9:30, "Cédric Krier" va escriure: > > On 03 Apr 22:35, Markus Bala wrote: > > Hi, > > > > May I know, is it posible to disable the toolbar or make it invisible? > > No. > > > I am making an module which for production worker to record the weight > > scale reading. > > > > So I want t

Re: [tryton-dev] on_change update relationals

2015-02-27 Thread Guillem Barba Domingo
2015-02-27 10:21 GMT+01:00 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.. >>

[tryton-dev] Add producible field to products

2015-02-25 Thread Guillem Barba Domingo
Hi foks, I filled this issue to add a new boolean field to products to explicitly define what of them are producible. What do you think? https://bugs.tryton.org/issue4590 -- Guillem Barba http://www.guillem.alcarrer.net

Re: [tryton-dev] problem to register module 'email_queue'

2014-12-10 Thread Guillem Barba Domingo
2014-12-10 14:03 GMT+01:00 Sergi Almacellas Abellana : > El 10/12/14 a les 13:50, Axel Braun ha escrit: > > Hi Sergi >> >> Am Dienstag, 9. Dezember 2014 19:59:22 UTC+1 schrieb Sergi Almacellas >> Abellana: >> >> > I'm currently trying to migrate our database to a new system, and >> have

Re: [tryton-dev] Remove constrainte

2014-12-09 Thread Guillem Barba Domingo
El 05/12/2014 16:50, "Christophe" va escriure: > > Le 05/12/2014 16:16, Sergi Almacellas Abellana a écrit : > >> El 05/12/14 a les 15:41, Christophe ha escrit: >>> >>> Hello, >>> >>> Is there a way to remove constrainte put by a "required" clause ? >>> >>> In details, I have a field that have a co

Re: [tryton-dev] Are you interested in dependency info for modules?

2014-10-29 Thread Guillem Barba Domingo
El 29/10/2014 14:39, "Jean C" va escriure: > > Hi Guillem, > > I just remembered I already did something like this, though it is not perfect. > > http://codereview.tryton.org/1601002/ > > I did not complete it at the time, but feel free to use it. Thanks Jean, I will take it. In my script for OO

Re: [tryton-dev] Are you interested in dependency info for modules?

2014-10-29 Thread Guillem Barba Domingo
El 29/10/2014 15:36, "Oscar Alvarez" va escriure: > > > On 29/10/14 08:38, Cédric Krier wrote: >> >> On 29 Oct 14:26, Guillem Barba Domingo wrote: >>> >>> Hi, >>> I want to get two dependency graphs from a module: >>> -

Re: [tryton-dev] Wrong Tryton Server password

2014-10-29 Thread Guillem Barba Domingo
El 29/10/2014 16:50, "appu rongala" va escriure: > > Hi Devs, > > I installed latest tryton_3.4.When i am creating database getting this error "Wrong,Tryton Server Password,Please try again". > I am not understanding how to add tryton server password in config file. > In tryton_3.2 i added tryton

[tryton-dev] Are you interested in dependency info for modules?

2014-10-29 Thread Guillem Barba Domingo
Hi, I want to get two dependency graphs from a module: - module dependencies: not only the first level (or the dependencies defined in tryton.cfg) but all its dependencies recursively (dependencies of its dependencies) - module dependent: all modules that depend (directly or indirectly) from it (pa

[tryton-dev] The result of copy method preserves the order of supplied records?

2014-09-03 Thread Guillem Barba Domingo
Hi, when you call the copy() method of a model, does it preserves (or it must to) the order of supplied records in the returned ones? Is the first record of returning list the copy of the first element of supplied records? Explained in code: new_records = cls.copy(records) for new_r, old_r in zip(

Re: [tryton-dev] The way to remove ir.property

2014-07-25 Thread Guillem Barba Domingo
2014-07-25 17:27 GMT+02:00 Cédric Krier : > On 25 Jul 08:56, Guillem Barba Domingo wrote: > > 2014-07-24 18:34 GMT+02:00 Cédric Krier : > > > > > On 24 Jul 18:22, Guillem Barba Domingo wrote: > > > > Hi, > > > > > > > > it'

Re: [tryton-dev] The way to remove ir.property

2014-07-24 Thread Guillem Barba Domingo
2014-07-24 18:34 GMT+02:00 Cédric Krier : > On 24 Jul 18:22, Guillem Barba Domingo wrote: > > Hi, > > > > it's known that there is in the roadmap to remove "ir.property" from > Tryton. > > > > To be prepared for this change, which we strongly e

[tryton-dev] The way to remove ir.property

2014-07-24 Thread Guillem Barba Domingo
Hi, it's known that there is in the roadmap to remove "ir.property" from Tryton. To be prepared for this change, which we strongly endorse, NaN·tic and ZikZakMedia have started to implement company dependant values as Functional fields which get the value from auxiliar model. You can find an exa

Re: [tryton-dev] Split a move by number of moves

2014-07-24 Thread Guillem Barba Domingo
2014-07-24 15:37 GMT+02:00 Cédric Krier : > On 24 Jul 14:33, Guillem Barba Domingo wrote: > > 2014-07-24 12:12 GMT+02:00 Cédric Krier : > > > > If there is interest to add "split_by_number()" to Move API I will > supply a > > review and we can discuss abou

Re: [tryton-dev] Split a move by number of moves

2014-07-24 Thread Guillem Barba Domingo
2014-07-24 12:12 GMT+02:00 Cédric Krier : > On 24 Jul 11:21, Guillem Barba Domingo wrote: > > 2014-07-23 22:44 GMT+02:00 Cédric Krier : > > > > > On 23 Jul 18:39, Guillem Barba Domingo wrote: > > > > Hi, > > > > we have the requirement to split a m

Re: [tryton-dev] Split a move by number of moves

2014-07-24 Thread Guillem Barba Domingo
2014-07-23 22:44 GMT+02:00 Cédric Krier : > On 23 Jul 18:39, Guillem Barba Domingo wrote: > > Hi, > > we have the requirement to split a move in a defined number of moves > > despite of split by quantity (the goal of stock_split module). > > The move is splitted in the

[tryton-dev] Split a move by number of moves

2014-07-23 Thread Guillem Barba Domingo
Hi, we have the requirement to split a move in a defined number of moves despite of split by quantity (the goal of stock_split module). The move is splitted in the most similar quantities per each move: it divides the quantity by the number of moves getting the "floor" value in division (using the

Re: [tryton-dev] Permission for button wizards

2014-07-09 Thread Guillem Barba Domingo
El 09/07/2014 9:27, "Cédric Krier" va escriure: > > On 08 Jul 18:29, Markus Bala wrote: > > > > > > 2. How to give access permission to buttons that call wizards? They aren't > > >> listed neither on button neither in wizard permission access. > > >> > > > > > > I supose the button get permissions

Re: [tryton-dev] flask-tryton: multiple databases

2014-07-09 Thread Guillem Barba Domingo
El 09/07/2014 9:26, "Albert Cervera i Areny" va escriure: > > 2014-07-09 5:47 GMT+02:00 Sharoon Thomas : > > > > On Jul 9, 2014, at 3:41 AM, Cédric Krier wrote: > > > > > On 08 Jul 14:14, marsupo...@gmail.com wrote: > > >> On Tuesday, July 8, 2014 10:15:29 PM UTC+2, Cédric Krier wrote: > > >>> >

[tryton-dev] UX improvements: easly way to open Many2One (and *2Many?) instances in new tab

2014-07-06 Thread Guillem Barba Domingo
Hi, what do you think to allow to open the related instance in a Many2One field in a new tab when you click the "open form" button of field with the "Shilft" (or other modifier key). The option already exists in the context menu ("Edit..." entry), so it is only to add the modifyier way. And I thin

Re: [tryton-dev] GTK3 patch on codereview

2014-06-11 Thread Guillem Barba Domingo
2014-06-10 16:20 GMT+02:00 Albert Cervera i Areny : > 2014-06-10 16:09 GMT+02:00 Jean C : > > > > 2014-06-10 16:08 GMT+02:00 Albert Cervera i Areny : > > > >> > where? Create a codereview without source code review? > >> > >> codereview is a source code review... > > > > > > I think what Raimon me

[tryton-dev] Tryton bug: Time field doesn't take care of Timezone

2014-06-10 Thread Guillem Barba Domingo
Hi, I want to notice you about this bug in Tryton client [1]. The reason is that if we apply the patch the Database values must to be fixed (like it must to be fixed when upgrade to 3.2 with this script [2] In the core modules there isn't any fields.Time field, but in third party modules yes, of c

Re: [tryton-dev] Need more eyes on rounding issue

2014-06-04 Thread Guillem Barba Domingo
2014-06-03 17:57 GMT+02:00 Cédric Krier : > Hi, > > I would like to have more eyes on this issue and his resolution: > https://bugs.tryton.org/issue3965 > > Thanks, > The solution is good to me. A very similar issue exists in the "check_cost()" method of production module [1] I think, the operat

Re: [tryton-dev] RFC: client multi-notebook

2014-06-04 Thread Guillem Barba Domingo
2014-05-30 16:29 GMT+02:00 Cédric Krier : > On 30 May 16:02, Guillem Barba Domingo wrote: > > El 30/05/2014 0:08, "Cédric Krier" va escriure: > > > > > > On 29 May 20:16, Guillem Barba Domingo wrote: > > > > > It behaves the same

Re: [tryton-dev] RFC: client multi-notebook

2014-05-30 Thread Guillem Barba Domingo
El 30/05/2014 0:08, "Cédric Krier" va escriure: > > On 29 May 20:16, Guillem Barba Domingo wrote: > > > It behaves the same way always. SHIFT-click == open in the next right > > > notebook. And menu is considered in the first notebook. > > > > IMHO

Re: [tryton-dev] RFC: client multi-notebook

2014-05-29 Thread Guillem Barba Domingo
El 29/05/2014 19:56, "Cédric Krier" va escriure: > > On 29 May 19:12, Sergi Almacellas Abellana wrote: > > El 29/05/14 19:03, Cédric Krier ha escrit: > > >On 29 May 18:59, Sergi Almacellas Abellana wrote: > > >>>El 28/05/14 11:59, Cédric Krier ha escrit: > > >I created a patch [1] that is a P

Re: [tryton-dev] RFC: Pattern Matching Mixin

2014-05-01 Thread Guillem Barba Domingo
2014-04-28 9:04 GMT+02:00 Cédric Krier : > On 28 Apr 08:53, Guillem Barba Domingo wrote: > > 2014-04-25 12:55 GMT+02:00 Cédric Krier : > > > > > Hi, > > > > > > I created the issue3867 that implements a Mixin for a pattern we use in > > > some

Re: [tryton-dev] Python library dependencies in tryton.cfg

2014-04-28 Thread Guillem Barba Domingo
El 28/04/2014 13:52, "Cédric Krier" va escriure: > > On 28 Apr 13:32, Raimon Esteve wrote: > > 2014-04-28 9:45 GMT+02:00 Cédric Krier : > > > On 28 Apr 09:19, Guillem Barba Domingo wrote: > > >> Hi, > > >> I think it would be useful to hav

[tryton-dev] Python library dependencies in tryton.cfg

2014-04-28 Thread Guillem Barba Domingo
Hi, I think it would be useful to have Python library dependencies info in tryton.cfg I'm thinking in cases like "stdnum" in party module (it should be "extra depends") and "retrofix" in account_bank_statement module (it is third party module, but it's only an example of hard dependency). I'm thin

Re: [tryton-dev] RFC: Pattern Matching Mixin

2014-04-27 Thread Guillem Barba Domingo
2014-04-25 12:55 GMT+02:00 Cédric Krier : > Hi, > > I created the issue3867 that implements a Mixin for a pattern we use in > some places in Tryton (and to use it for supplier prices). > So comments are welcome (especially on wording). > I think the pattern list items should include the operator

Re: [tryton-dev] Product categories - unsorted and double entries

2014-03-25 Thread Guillem Barba Domingo
El 24/03/2014 18:50, "Cédric Krier" va escriure: > > On 24 Mar 18:36, Guillem Barba Domingo wrote: > > El 24/03/2014 14:51, "Cédric Krier" va escriure: > > > > > > On 24 Mar 08:51, Guillem Barba Domingo wrote: > > > > You can achieve

Re: [tryton-dev] Product categories - unsorted and double entries

2014-03-24 Thread Guillem Barba Domingo
El 24/03/2014 14:51, "Cédric Krier" va escriure: > > On 24 Mar 08:51, Guillem Barba Domingo wrote: > > You can achieve what you want with a UNIQUE sql_constraint and with _order > > property of model. > > UNIQUE constraints should always avoided if possible. Why?

Re: [tryton-dev] Product categories - unsorted and double entries

2014-03-24 Thread Guillem Barba Domingo
El 21/03/2014 16:20, "Axel Braun" va escriure: > > Hi, > > while creating product categories I noticed that it is possible to enter the same category twice. In a large number of product categories this is easily possible, but should be avoided. I assume it is stored not with the name, but with an

Re: [tryton-dev] Migration to named branch

2014-03-05 Thread Guillem Barba Domingo
2014-03-05 18:02 GMT+01:00 Cédric Krier : > On 05 Mar 17:45, Guillem Barba Domingo wrote: > > 2014-03-03 23:05 GMT+01:00 Cédric Krier : > > > > > > Migration is done. > > > I put an URL redirect for old hg.tryton.org path like > [0-9]+\.[0-9]+(.*) > >

Re: [tryton-dev] Migration to named branch

2014-03-05 Thread Guillem Barba Domingo
2014-03-03 23:05 GMT+01:00 Cédric Krier : > > Migration is done. > I put an URL redirect for old hg.tryton.org path like [0-9]+\.[0-9]+(.*) > -> $1 > It seems to work except for URL wihtout trailing / (don't find the right > configuration). It also works from mercurial but if you do a pull, you > m

Re: [tryton-dev] Not Able To Set Context Fields

2014-02-10 Thread Guillem Barba Domingo
El 10/02/2014 17:26, va escriure: > > Hi All, > > I am not able to set context in my module. > > In __setup__ method i am using cls._context_fields.insert(0, 'member'). > > But i am getting following trace when i update my module. > > AttributeError: type object 'my_module' has no attribute '_cont

[tryton-dev] Command options for test script

2014-01-14 Thread Guillem Barba Domingo
Hi dudes, Cedk has improved the run-tests script [1] allowing to execute the tests for only a set of modules [2]. We think it would be interesting to have options to execute only the unit tests, the scenarios or only a single scenario. What do you think? which command options you suggest? You ca

Re: [tryton-dev] Training modules (before: Custom view on Many2Many relationship)

2013-12-10 Thread Guillem Barba Domingo
2013/12/10 Jordi Esteve > On 10/12/13 16:33, Guillem Barba Domingo wrote: > > > 2013/12/10 Josias Pérez > >> Hi Guillem, >> >> I was talking with Zikzakmedia team about training module too. >> >> On Monday, December 2, 2013 11:43:46 AM UTC-6

Re: [tryton-dev] Custom view on Many2Many relationship

2013-12-10 Thread Guillem Barba Domingo
2013/12/10 Josias Pérez > Hi Guillem, > > I was talking with Zikzakmedia team about training module too. > > On Monday, December 2, 2013 11:43:46 AM UTC-6, Guillem Barba wrote: >> >> >> I want to contribute too with the development, I was been migrating the > OERP training module, I the work is i

Re: [tryton-dev] Doubt in sequences defined in Journal and Fiscal Year

2013-12-03 Thread Guillem Barba Domingo
2013/12/3 Jordi Esteve (Zikzakmedia) > El 03/12/13 11:31, Guillem Barba Domingo ha escrit: > > Hi, >> >> in account.journal there is a field 'sequence' defined with the domain >> ('code', '=', 'account.journal') [1], which is u

[tryton-dev] Doubt in sequences defined in Journal and Fiscal Year

2013-12-03 Thread Guillem Barba Domingo
Hi, in account.journal there is a field 'sequence' defined with the domain ('code', '=', 'account.journal') [1], which is used in account.move creation [2]. In account.fiscalyear there is another field pos_move_sequence with domain ('code', '=', 'account.move') [3] which is used here [4]. I think

Re: [tryton-dev] Custom view on Many2Many relationship

2013-12-02 Thread Guillem Barba Domingo
El 29/11/2013 7:24, "Josias Pérez" va escriure: > > Hi, > > I was working on a module for course management. Hi Josias, There is a Blueprint [1] for a Training Verticalisation (the name can be changed) which base module should be good for you. Based on the diagram you supplied, you don't need Ses

Re: [tryton-dev] Improving the patch submition workflow

2013-11-21 Thread Guillem Barba Domingo
El 16/11/2013 2:06, "Cédric Krier" va escriure: > > In the same idea about improving the development workflow, I setup a > mercurial hook [1] to update Roundup issue when changeset which contains > issue mention in commit message is pushed. > You can find an example of such message at [2]. > > So

Re: [tryton-dev] www.tryton.org: message to commit

2013-10-03 Thread Guillem Barba Domingo
2013/10/3 Cédric Krier > On 03/10/13 15:20 +0200, Guillem Barba Domingo wrote: > > 2013/10/3 Cédric Krier > > > > > Indeed all those arguments could be refuted by this simple question: > > > > > > If those "personal" packages are so good

Re: [tryton-dev] www.tryton.org: message to commit

2013-10-03 Thread Guillem Barba Domingo
2013/10/3 Cédric Krier > Indeed all those arguments could be refuted by this simple question: > > If those "personal" packages are so good why are not there as official > packages in the distribution? > Because "be official package" requires more time and effort and, as a people with limited res

Re: [tryton-dev] www.tryton.org: message to commit

2013-10-02 Thread Guillem Barba Domingo
El 02/10/2013 20:23, "Cédric Krier" va escriure: > > On 02/10/13 19:50 +0200, Guillem Barba Domingo wrote: > > El 02/10/2013 16:05, "Cédric Krier" va escriure: > > > > > > On 02/10/13 06:46 -0700, Axel Braun wrote: > > > > >

Re: [tryton-dev] www.tryton.org: message to commit

2013-10-02 Thread Guillem Barba Domingo
El 02/10/2013 16:05, "Cédric Krier" va escriure: > > On 02/10/13 06:46 -0700, Axel Braun wrote: > > > > > > Am Dienstag, 1. Oktober 2013 18:39:08 UTC+2 schrieb Cédric Krier: > > > > > > > > > > > URL: http://codereview.tryton.org/1110002/ > > > > > > > > > > My concern is that it is a personal pac

Re: [tryton-dev] Permission for button wizards

2013-10-02 Thread Guillem Barba Domingo
2013/10/2 Josias Pérez > Hi, > > I'm working for a POS module on tryton. > > At the moment, have 2 question: > > 1. We create a group called Team Sales, that can access to Sales and Sales > Lines, but we want that they can't view some fields (specially related to > cost_price). We can hide on fie

Re: [tryton-dev] Customize sales.

2013-09-17 Thread Guillem Barba Domingo
2013/9/17 Cédric Krier > On 16/09/13 09:34 -0700, Josias Pérez wrote: > > > > On Monday, September 16, 2013 2:22:21 AM UTC-6, Cédric Krier wrote: > > > > > > This must be managed by giving to each one a login with the proper > right > > > linked. > > > > Well, we login in each computer assigning

Re: [tryton-dev] http://demo.tryton.org/ does not accept logins

2013-09-17 Thread Guillem Barba Domingo
2013/9/17 Jordi Esteve (Zikzakmedia) > It seems that the demo of SAO (http://demo.tryton.org/) does not accept > logins (user demo, password demo). It goes inside a loop asking the > password. > > try with admin/admin -- Guillem Barba http://www.guillem.alcarrer.net

[tryton-dev] Stylesheet in Sao

2013-09-17 Thread Guillem Barba Domingo
Hi people, I only want to notice you that SAO already has a base stylesheet that show it so beauty to be presented to customers [1]. Cedk has improved a lot my first version [2] and he has added grunt management of stylesheet files (I have to look the patch more deeply). It would be very nice to

Re: [tryton-dev] Hide products and categories based on groups permission.

2013-09-10 Thread Guillem Barba Domingo
2013/9/10 Josias Pérez > Hi, > > I want to know if its possible to hide products and products categories > based on permissions? And if it is, how do that? > > Grettings! > With rules (ir.rule). Which rules? depending on the criteria you want to apply or how do you want to manage it. You can cre

Re: [tryton-dev] sao: Improve selection management in tree view

2013-09-05 Thread Guillem Barba Domingo
2013/9/5 Cédric Krier > On 05/09/13 12:56 +0200, Udo Spallek wrote: > > Hi Cedric, > > > > Thu, 5 Sep 2013 11:21:07 +0200 > > Cédric Krier : > > >On 04/09/13 15:07 +0200, Cédric Krier wrote: > > >> On 04/09/13 12:14 +0200, Cédric Krier wrote: > > >> > On 04/09/13 09:09 -, Code Review - New is

Re: [tryton-dev] sao: Improve selection management in tree view

2013-09-05 Thread Guillem Barba Domingo
2013/9/5 Raimon Esteve > 2013/9/5 Raimon Esteve : > >> As I don't get answer, I guess I have to simplify the testing so > >> http://demo.tryton.org/ contains this patch to test. > > > > Now, https://demo.tryton.org:8000/ is a blank page . > > Not login; not menu > > > > Tested on firefox & chrome

Re: [tryton-dev] Cache on function fields

2013-09-05 Thread Guillem Barba Domingo
2013/9/5 Sergi Almacellas Abellana > > What do you mean by "re-instanciate"??? > > Something like: > > new_records = [ cls(r.id) for r in records] > > There is any possiblity to "re-instanciate" a list of records? > with a cls.browse() -- Guillem Barba http://www.guillem.alcarrer.net

Re: [tryton-dev] trytond: Migration to python-sql

2013-08-27 Thread Guillem Barba Domingo
El 28/08/2013 7:12, "Nicolas Évrard" va escriure: > > * Sergi Almacellas Abellana [2013-08-27 19:38 +0200]: >> >> As hg review doesn't work with nested repositories the patch must >> split by hand. If anyone is interesed on the invididual files for >> modules I can share it :) > > > In theory hgr

Re: [tryton-dev] Client development

2013-08-23 Thread Guillem Barba Domingo
2013/8/23 Cédric Krier > Hi, > > I think we reach the point in sao development where we could ask for > each change request in the GTK client to get also the same in sao (if > the feature exists). Otherwise the patches will be postponed. > > Any comments? > good -- Guillem Barba http://www.guil

Re: [tryton-dev] self.user is none?

2013-08-15 Thread Guillem Barba Domingo
2013/8/15 Demoy Blake > I am making a script to import remote data then create patient records > from data. > the scripts are working individually but called from a tryton wizard I > receive these errors. > > File "/trytond/modules/aa/aa.py", line 110, in map_Mdata > with Transaction().star

Re: [tryton-dev] sao: binary fields

2013-08-14 Thread Guillem Barba Domingo
2013/8/14 Cédric Krier > On 06/08/13 16:46 -, Code Review - New issues: nicoe wrote: > > (No description) > > > > URL: http://codereview.tryton.org/1010002/ > > This breaks the goal we setup to support IE8 and IE9 [1] but we did not > find any other solution. > As it is just for a small part

Re: [tryton-dev] Proteus API improvements

2013-08-10 Thread Guillem Barba Domingo
2013/8/9 Cédric Krier > On 09/08/13 16:00 +0200, Cédric Krier wrote: > > On 09/08/13 06:53 -0700, oscar_alvarez wrote: > > > > > > Hi, Devs > > > > > > I need to know if this change (improvement) would be included in next > > > version or will be rejected? > > > > > > http://codereview.tryton.org

Re: [tryton-dev] create basic password field

2013-07-29 Thread Guillem Barba Domingo
2013/7/25 Demoy Blake > > To appear on the view, it must be added to the view. >> By the way fields.Sha will be stored hashed in the DB. >> >> I have added the Fields.sha to a view along with other fields; the other > field appear but not the fields.sha. > Can you paste the XML of the view? >

Re: [tryton-dev] Error in compute_price (it was Meaning of compute_qty/price params)

2013-07-17 Thread Guillem Barba Domingo
El 17/07/2013 16:05, "Cédric Krier" va escriure: > > On 17/07/13 15:55 +0200, Guillem Barba Domingo wrote: > > 2013/7/17 Cédric Krier > > > > > On 17/07/13 15:11 +0200, Guillem Barba Domingo wrote: > > > > It should be useful to have a '

Re: [tryton-dev] Error in compute_price (it was Meaning of compute_qty/price params)

2013-07-17 Thread Guillem Barba Domingo
2013/7/17 Cédric Krier > On 17/07/13 15:11 +0200, Guillem Barba Domingo wrote: > > It should be useful to have a 'compute_qty()' method compatible with > > Decimal quantities. > > Have you a use case? > yes. A system which has to distribute all the quantity in

Re: [tryton-dev] Error in compute_price (it was Meaning of compute_qty/price params)

2013-07-17 Thread Guillem Barba Domingo
2013/7/17 Cédric Krier > On 17/07/13 09:24 +0200, Guillem Barba Domingo wrote: > > You can see an example in test0050uom_compute_price() [1] > > The error is that, as well as in compute_qty() the 'factor' of 'from_uom' > > is multiplied [2], in comput

Re: [tryton-dev] Error in compute_price (it was Meaning of compute_qty/price params)

2013-07-17 Thread Guillem Barba Domingo
2013/7/15 Giedrius Slavinskas > 2013/7/15 Guillem Barba Domingo > >> Hi, related to the poll about bew methods in UoM instances, I found >> confusing the names of parameters of compute_qty/price claamethods of UOM >> (really, I think it's wrong). >> >> T

[tryton-dev] Meaning of compute_qty/price params

2013-07-14 Thread Guillem Barba Domingo
Hi, related to the poll about bew methods in UoM instances, I found confusing the names of parameters of compute_qty/price claamethods of UOM (really, I think it's wrong). The signature is compute_qty(from_uom, qty, to_uom, round) But it does the next conversion: "qty" of "to_UoM" => "from_UoM" I

Re: [tryton-dev] Poll about new instance method on Uom

2013-07-14 Thread Guillem Barba Domingo
El 15/07/2013 2:16, "Oscar Alvarez" va escriure: > > El 14/07/13 17:20, Cédric Krier escribió: > >> Hi, >> >> I would like to submit this poll for this change: >> >> http://codereview.tryton.org/969002/#msg9 >> >> >> kg.convert(1000, gr) == 1 >> >> gr.convert(1000, kg) == 1 >> >> >> Whic

Re: [tryton-dev] Changes in stock computation API

2013-07-14 Thread Guillem Barba Domingo
2013/7/8 Cédric Krier > On 08/07/13 10:23 +0200, Guillem Barba Domingo wrote: > > Changes in products_by_location() > > = > > Add two more OPTIONAL params (maybe replacing the current product_ids > > param): > > > > - grouping_filte

[tryton-dev] Changes in stock computation API

2013-07-08 Thread Guillem Barba Domingo
Hi, recetly has been commited changes to allow the stock computation by lots [1] (and virtually by other move fields). It has changed the signature of products_by_location() method [2] which allow to get the "stock by grouping" filtering by locations and products. In a scenario with lot of Lots in

Re: [tryton-dev] "Instant search" using tryton search filter

2013-07-03 Thread Guillem Barba Domingo
El 03/07/2013 19:31, "Cédric Krier" va escriure: > > On 03/07/13 09:53 -0700, Demoy Blake wrote: > > I would like to be able to *query** records each time search filter text is > > altered*. > > i.e I type "c" into search filter (from the Modules tree view) *without > > pressing enter* and "calen

Re: [tryton-dev] Improving ModelStorage.write

2013-06-19 Thread Guillem Barba Domingo
2013/6/19 Cédric Krier > Hi, > > In the same idea as the changeset [1], I would like to propose this > change for the write method: > sounds good > @classmethod > def write(cls, records, values): > … > > => > > @classmethod > def write(cls, records, values, *args):

Re: [tryton-dev] Roadmap Web Client

2013-06-11 Thread Guillem Barba Domingo
ok 2013/6/11 Cédric Krier > On 11/06/13 08:31 +0200, Guillem Barba Domingo wrote: > > 2013/6/10 Cédric Krier > > > > > On 02/05/13 23:05 +0200, Cédric Krier wrote: > > > > On 02/05/13 13:55 -0700, erik.myllym...@gmail.com wrote: > > > > On chro

Re: [tryton-dev] Roadmap Web Client

2013-06-10 Thread Guillem Barba Domingo
2013/6/10 Cédric Krier > On 02/05/13 23:05 +0200, Cédric Krier wrote: > > On 02/05/13 13:55 -0700, erik.myllym...@gmail.com wrote: > > On chrome, you have to accept the certificate and "Load Anyway" (shield > > beside the bookmark star). > > I changed the demo to use the Google CDN instead of of

Re: [tryton-dev] Style for SAO (web client)

2013-05-30 Thread Guillem Barba Domingo
Hi Raimon, you are talking in catalan in tryton-dev :-P El 30 de maig de 2013 11.28, Raimon Esteve ha escrit: > @guillem. Si tens un screen del CSS del codereview podem opinar ;) Tenim > pendent encara de mirar-me el SAO > I'll attach an screenshot but the best way is to apply the patch in the

Re: [tryton-dev] Style for SAO (web client)

2013-05-29 Thread Guillem Barba Domingo
2013/5/28 Bertrand Chenal > Le Mon, 27 May 2013 20:18:16 +0200, > Guillem Barba Domingo a écrit : > > > Hi, > > > > I've started to explore SAO to see if I can contribute in the > > styling. I'm not a designer but I know CSS enough. > > > >

[tryton-dev] Style for SAO (web client)

2013-05-27 Thread Guillem Barba Domingo
Hi, I've started to explore SAO to see if I can contribute in the styling. I'm not a designer but I know CSS enough. Are expected contributions (codereviews) in the CSS of SAO? I seen that currently there isn't is any specific CSS. The custom "widgets" (user menú, main menú, tab content...) does

Re: [tryton-dev] Performance problems with 2.6

2013-04-23 Thread Guillem Barba Domingo
El 23/04/2013 22:32, "Albert Cervera i Areny" va escriure: > > A Dilluns, 22 d'abril de 2013 11:24:15, Udo Spallek va escriure: > > > We could try a test script and measuring the pystones. > > > It is a whetstone[1] implementation for python and found in the stdlib > > > *test*. > > > The idea is

Re: [tryton-dev] Tired of fixing inherits

2013-02-19 Thread Guillem Barba Domingo
2013/2/8 Cédric Krier > On 08/02/13 16:56 +0100, Guillem Barba Domingo wrote: > > I think there are some * customer that doesn't work with Product > variants, > > so base 'product' module could work only with 'product.product' and new > > module &

Re: [tryton-dev] Tired of fixing inherits

2013-02-08 Thread Guillem Barba Domingo
2013/2/8 Sergi Almacellas Abellana > Al 08/02/13 11:32, En/na Mathias Behrle ha escrit: > >> Maybe we should try to have better names than > >> > "Product Template" and "Product": > >> > "Product" and "Variant" ? > > +1 > Thank's to this explanation I realy understood why there are two > mode

Re: [tryton-dev] trytond: Replace (Field, Operator, Operand) by Domain in Rule (issue 599002)

2012-12-14 Thread Guillem Barba Domingo
I think to leave two options is the best solution, prevailing the field 'domain' (it culd be renamed to 'force_domain'?) over the definition with fields. Most of times the rules are created by expert users (the consultor), but some users want to define it's rules and the current solution, even thou

[tryton-dev] How to share data structures between Wizard steps

2012-12-12 Thread Guillem Barba Domingo
Hi, I'm doing a wizard which get some data from internet, save them in a data structure and then, import them into Tryton. I want to do this in two steps: In the first one I ask to user to select a 'version' from a selection and get data from internet depending on user's selection. In a 'on_change

Re: [tryton-dev] About naming of external module

2012-11-08 Thread Guillem Barba Domingo
2012/11/7 Cédric Krier > On 30/10/12 12:58 +0100, Cédric Krier wrote: > > Hi, > > > > I already talked about this topic but here I got a first example what we > > are going to face when the number of modules will increase [1]. > > It is clear that prepends "trytond_" to the module name makes it l

Re: [tryton-dev] Website on top of PyPI

2012-09-24 Thread Guillem Barba Domingo
El 24/09/2012 17:02, "zodman" va escriure: > > On Mon, Sep 24, 2012 at 9:31 AM, Guillem Barba Domingo > wrote: > > I'm working in the specification of a website like what you are talking. > > https://github.com/gbarba/multierp-apps > > > > I w

Re: [tryton-dev] Website on top of PyPI

2012-09-24 Thread Guillem Barba Domingo
2012/9/24 zodman > On Sun, Sep 23, 2012 at 3:52 AM, Cédric Krier > wrote: > > On 22/09/12 23:56 -0500, zodman wrote: > >> I seen on de wiki[1]. Why not use the opencomparison ? > > > > It looks great. I see it uses PostgreSQL as backend so it will be > > interresting to see if we can plug the au

Re: [tryton-dev] New development: Timesheet Sheet

2012-04-26 Thread Guillem Barba Domingo
El 26 d’abril de 2012 17:38, Cédric Krier ha escrit: > On 26/04/12 17:06 +0200, Guillem Barba Domingo wrote: > > Yes this is "Timesheet" but I never saw anywhere else than in OpenERP > the name "Timesheet Sheet" (a sheet of sheets?). Right. -- Guillem Barba

Re: [tryton-dev] New development: Timesheet Sheet

2012-04-26 Thread Guillem Barba Domingo
El 26 d’abril de 2012 11:33, Cédric Krier ha escrit: > > And what is in the *real* world a "Timesheet Sheet"? For example, it is a form with all entries of employee (or work/customer) for each day with the sign of responsible wich is presented to Customer if there are conflicts with the hours o

Re: [tryton-dev] New development: Timesheet Sheet

2012-04-26 Thread Guillem Barba Domingo
El 26 d’abril de 2012 10:25, Cédric Krier ha escrit: > On 26/04/12 09:44 +0200, Guillem Barba Domingo wrote:. > Even the name "Timesheet Sheet" is a mess. But it has a direct mapping with an "object" in the real (fisical) world... and sometimes with the same name