[tryton] Re: restoring database

2014-04-01 Thread Jon Levy
On Tuesday, April 1, 2014 10:52:22 AM UTC-4, igomes wrote: > > Hi, > > I'm using version 3.0 from Tryton in my computer and in server. I did a > backup from my database, tried to restore on server and it raises an > error saying that "a.password_hash" doesn't exists on table "res_user". > Tr

[tryton] View within view within view is readonly

2014-08-14 Thread Jon Levy
-most of which occupies a tab of the main frame) that third-level form view is readonly--I wish it wasn't). Does anyone know if this is a constraint of Tryton? (I'm looking for a hint before I go hunting for a solution to something that may be unsolvable.) Thank you in advance. Jon Levy

[tryton] Re: Recommending Tryton

2014-08-25 Thread Jon Levy
> > I was wondering if there is someone in the South Florida/Caribbean area > who does consulting on Tryton? > My company uses Tryton and is based in Naples, Florida (basically a straight-shot East from Ft. Lauderdale). I would be happy to discuss it. Best, Jonathan Levy j...@advocatetax.com

Re: [tryton] Re: Tryton Unconference 2014

2014-09-10 Thread Jon Levy
On Tuesday, September 9, 2014 5:15:16 AM UTC-4, Jan Grasnick wrote: > > > If there is more interest in such a workshop we can do this on Sunday in > Sublab: > > Step 1: installing Tryton > Step 2: hello world module > Step 3: Extending existing module > Step 4: Hacking around with experts ne

[tryton] Action window domains restricting edits to records

2015-02-19 Thread Jon Levy
I had thought that the role of action window domains was to filter records, but, working with them further, I'm finding that they also prohibit the user from making any edits to a record that would make the record fail to meet the domain. Yes they filter the records, but they also seem to block

Re: [tryton] Action window domains restricting edits to records

2015-02-20 Thread Jon Levy
On Friday, February 20, 2015 at 10:35:04 AM UTC-5, Cédric Krier wrote: > > No but you can use a bookmark or put a search_value on the act_window. > search_value on act_window doesn't seem to be in the documentation. The examples I can find show that it has gone through an api change from recei

Re: [tryton] Action window domains restricting edits to records

2015-02-20 Thread Jon Levy
On Friday, February 20, 2015 at 10:35:04 AM UTC-5, Cédric Krier wrote: > > On 19 Feb 13:23, Jon Levy wrote: > > I'm finding that action window domains prohibit the > > user from making any edits to a record that would make the record fail > to > > meet the

Re: [tryton] Action window domains restricting edits to records

2015-02-21 Thread Jon Levy
On Friday, February 20, 2015 at 7:20:03 PM UTC-5, Cédric Krier wrote: > > On 20 Feb 15:47, Jon Levy wrote: > > I am finding some inconsistency as to which fields will block you > > from making edits that would take the record out of the domain. It > really > > seem

Re: [tryton] colors in tree view

2015-05-05 Thread Jon Levy
that can be altered, and, e.g., what colors are acceptable. Jon Levy

[tryton] Domain searching One2Many fields.

2015-10-15 Thread Jon Levy
When used on a One2Many field, the domain '=' operator evaluates True if at least one of the related objects meets its criterion. But is it possible to add an additional domain clause that tests whether any objects not only meet the first clause, but also meet the second clause? For example, l

Re: [tryton] Domain searching One2Many fields.

2015-10-16 Thread Jon Levy
On Thursday, October 15, 2015 at 4:55:04 PM UTC-4, Cédric Krier wrote: > > Otherwise, you can write it using a SQL query which return the matching > ids that you return like this: > > [('id', 'in', sql_query)] > Thanks for the help, Cedric, that proved to be a good solution. --Jon

[tryton] Active record performance issue

2016-01-04 Thread Jon Levy
I'm working on a script that reveals a strange performance issue that I'm wondering if anyone is aware of. My script retrieves around 1,000 instances of Model1, and calls a method on each of those instances, with each method call generating an instance of Model2. I call Model1's search method

Re: [tryton] Active record performance issue

2016-01-05 Thread Jon Levy
On Monday, January 4, 2016 at 3:15:04 PM UTC-5, Cédric Krier wrote: > > At the first call Tryton > will compute the Function fields for the all 1000 records. Then if you > call write/create (or save) the local cache will be cleared. And so on > the next call to the method, Tryton will compute

[tryton] Function fields broken by migration from 3.0 to 3.4

2016-04-02 Thread Jon Levy
I am working to migrate my 3.0 installation to 3.4, but I've run into problems with function fields. I can't find any relevant changes in the documentation or notes in the wiki. Two fields, so far, crash in tests that passed in 3.0. (1) Behavior: Given an instance of MyClass, attempts to

Re: [tryton] Function fields broken by migration from 3.0 to 3.4

2016-04-03 Thread Jon Levy
Here is the traceback for errors in the first category: [Loop occurs lots of times] [Start of loop] File "/usr/local/lib/python2.7/dist-packages/trytond/modules/advocatetax/log.py", line 4367, in get_entity return self.log.lease.lessee.id File "/usr/local/lib/python2.7/dist-packages/try

Re: [tryton] Function fields broken by migration from 3.0 to 3.4

2016-04-05 Thread Jon Levy
On Sunday, April 3, 2016 at 6:00:05 PM UTC-4, Cédric Krier wrote: > > it seems that you > have a Function field for Many2One (or xxx2Many) for which the getter > returns a (list of) instances instead of a (list of) ids. > Bingo, that was it! Thank you. I'm still working on the recursion-lim

Re: [tryton] Function fields broken by migration from 3.0 to 3.4

2016-04-07 Thread Jon Levy
On Tuesday, April 5, 2016 at 5:34:16 PM UTC-4, Jon Levy wrote: > > I'm still working on the recursion-limit error, but this was a huge help. > For anyone else encountering this problem, it was caused in my case by using a function field in the context of another field. This

[tryton] Re: Funding GTK+-3 client

2016-06-22 Thread Jon Levy
+1. We will contribute. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/a9b0d948-4748-4341-b496-08ed68e1657f%40googlegroups.com.

[tryton] Re: Request for Succees Stories

2016-07-15 Thread Jon Levy
On Saturday, September 12, 2015 at 1:24:37 PM UTC-4, Cédric Krier wrote: > > Who can submit a success story? > Legal and Tax Firm Benefits from Tryton's Extensibility === Introduction Some fields have gained more from the ERP rev

[tryton] Conditional default view

2016-07-15 Thread Jon Levy
I have a window with a domain that will usually be satisfied by only a single record. Think of it as a "your next task to do" window. In most cases, there will be one "next" task. However, sometimes there will be zero, and sometimes more than one (the user has fallen behind). I would like t

[tryton] Having ModelSQL.write obey readonly set in states.

2016-08-16 Thread Jon Levy
I have a bit of code that calls ModelSQL.write([active_records], {values}) and have found that it will write to a field even if that field is readonly, per the `states` of the Model. Is this the expected behavior, and is there a way to have `write` honor the constraint set in `states`? I'm usi

[tryton] Re: [TUB2016] Call for Speakers

2016-09-11 Thread Jon Levy
On Saturday, September 10, 2016 at 4:40:04 AM UTC-4, Cédric Krier wrote: > > Indeed I think we will be very interested to hear > specific experiences about usage of Tryton. > I would be happy to do a presentation on the Tryton implementation in our company. -- You received this message becaus

[tryton] Re: [TUB2016] Call for speakers

2016-10-12 Thread Jon Levy
Can anyone switch speaking slots with me? I'm scheduled for Monday, but would much rather do Tuesday because I'm flying in on the red eye Sunday night/ Monday morning. I will be in pretty rough shape Monday. Any takers? -- You received this message because you are subscribed to the Google Gr

Re: [tryton] Re: [TUB2016] Call for speakers

2016-10-14 Thread Jon Levy
On Thursday, October 13, 2016 at 3:25:11 AM UTC-4, Cédric Krier wrote: > > The problem is that the business track is on Monday and Tuesday is for > development. But we can put you at the end of the day if you prefer like > that you have time to rest. > Are there people who are planning to atten

Re: [tryton] Re: [TUB2016] Call for speakers

2016-10-15 Thread Jon Levy
On Friday, October 14, 2016 at 3:55:03 PM UTC-4, Cédric Krier wrote: > > > I propose to talk about it Monday when we will have a clear picture > about expectation etc. > That's fine. See you Monday. -- You received this message because you are subscribed to the Google Groups "tryton" grou

[tryton] Reference fields with Many2Many

2016-11-02 Thread Jon Levy
I am trying to create a Many2Many field that has a Reference field on one side. I need a Reference because I have several models that all inherit from a mix-in (they model similar things and have numerous fields in common), and the Many2Many needs to be able to point to instances of any of the

Re: [tryton] Reference fields with Many2Many

2016-11-03 Thread Jon Levy
You nailed it. Thank you. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/b75c09d8-a499-4739-adac-c1e6e0bf8c9a%40googlegroups.com.

Re: [tryton] Re: Newb: Question? Tryton Software is it able to be a back-end solution to Magento

2017-01-24 Thread Jon Levy
On Tuesday, January 24, 2017 at 7:50:52 AM UTC-5, Dominique Chabord wrote: > > 2017-01-24 11:38 GMT+01:00 Axel Braun >: > > (BTW, does anyone know if this is then new company of Sharoon?) > > yes it is, but got no news since a year. > I just spoke with them last week and saw a demo of their s

Re: [tryton] Re: Newb: Question? Tryton Software is it able to be a back-end solution to Magento

2017-01-24 Thread Jon Levy
On Monday, January 23, 2017 at 5:30:08 AM UTC-5, Lewis Seals wrote: > > Thanks for all of your replies. I am actually looking for an out of the > box solution. I saw a video on Full.io, and a very smart young entrepreneur > explained that he was able to accomplish this at cost around $400 per

[tryton] Tryton 3.4 on Windows 10 won't open, uninstall, or re-install.

2017-09-26 Thread Jon Levy
We run Tryton 3.4 on a few dozen Windows 10 desktops, but one of them became unable to open the program. I tried to uninstall and re-install, but whenever I try re-installing, I get the message, "Tryton 3.4.12 Setup Please uninstall previous Tryton installation." Any ideas how I can get this

Re: [tryton] Tryton 3.4 on Windows 10 won't open, uninstall, or re-install.

2017-09-26 Thread Jon Levy
On Tuesday, September 26, 2017 at 9:38:53 AM UTC-4, Sebastián Marró wrote: > Try to remove the client configuration directory [1] located in the APPDATA > directory.  It is recreated when you launch the client again. I located and removed the .config/tryton folder under AppData (removing both

Re: [tryton] Tryton 3.4 on Windows 10 won't open, uninstall, or re-install.

2017-09-26 Thread Jon Levy
On Tuesday, September 26, 2017 at 9:50:06 AM UTC-4, Cédric Krier wrote: > Indeed you must probably clean the Registry from the key: > > http://hg.tryton.org/tryton/file/3.4/setup.nsi#l83 No luck cleaning the registry, but thanks for the suggestion. Next, we are going to restore the compute

Re: [tryton] Tryton 3.4 on Windows 10 won't open, uninstall, or re-install.

2017-09-26 Thread Jon Levy
On Tuesday, September 26, 2017 at 10:54:48 AM UTC-4, Armand wrote: > Did you check if your computer is not infected with viruses or malware? > I had a similar case. We did clean the computer and re-install the Tryton > client. We have active anti-virus that has not detected any problems. Neithe

[tryton] Moving addresses and contact mechanisms among parties

2017-09-26 Thread Jon Levy
We use the trytonspain's party_communication module, which basically uses Addresses to model individuals associated with the Party, and makes Contact Mechanism many2one on Addresses. (party_relationship may be the more recommended solution, but we found it not as helpful.) Now we want to be ab

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-27 Thread Jon Levy
On Wednesday, September 27, 2017 at 2:35:10 AM UTC-4, Cédric Krier wrote: > We could not use 'readonly' attribute because it is not yet an enforced > constraint [1]. So it sounds like the overloading the write method was just to enforce readonly. Are you aware of anything that would break by lif

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-27 Thread Jon Levy
On Wednesday, September 27, 2017 at 11:50:07 AM UTC-4, Cédric Krier wrote: > On 2017-09-27 08:25, Jon Levy wrote: > > Companies are made up of individuals. This is a real-world concept > > that Tryton should embrace modeling it (when appropriate to a given > > And Tryton

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-27 Thread Jon Levy
On Wednesday, September 27, 2017 at 9:39:52 PM UTC-4, Jon Levy wrote: > On Wednesday, September 27, 2017 at 11:50:07 AM UTC-4, Cédric Krier wrote: > > On 2017-09-27 08:25, Jon Levy wrote: > > > Companies are made up of individuals. This is a real-world concept > > >

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-28 Thread Jon Levy
On Thursday, September 28, 2017 at 2:35:05 AM UTC-4, Cédric Krier wrote: > I guess we would need to have a widget similar to One2Many but for > Many2One. Yes, that would be awesome. Indeed, I think it would be transformative to the interfaces that Tryton allows. > It is also possible to add a Ma

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-28 Thread Jon Levy
On Thursday, September 28, 2017 at 3:30:47 AM UTC-4, Sergi Almacellas Abellana wrote: > I must admint that I have used party_comunication and the same aproach > when party_relationship did not exist. Once having tested the new > party_relationship module, we did the switch immediately as the la

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-09-28 Thread Jon Levy
Cédric and Sergi, Thank you for you help in understanding this. I have worked with the UI of party_relationship and gotten it to a point that I think is adequate. I made One2Many function field for related contact mechanisms on party. That way, you only have to drill down when adding a contac

[tryton] Recommended way to merge duplicate parties?

2017-09-29 Thread Jon Levy
I see that OpenLabs and Nantic have developed versions of party-merge modules[1]. The Nantic one has been updated within about the last year[2]. However, Cedric also expressed concerns about the module. Does anyone have any recommendations for this? I am migrating away from party_communicati

Re: [tryton] Recommended way to merge duplicate parties?

2017-09-30 Thread Jon Levy
On Friday, September 29, 2017 at 6:05:07 PM UTC-4, Cédric Krier wrote: > Since 4.2, there is a standard wizard PartyReplace in party module. Thank you for the information (and shame on me for being so far behind). I will look at the PartyReplace implementation and compare it to the OpenLabs/Na

Re: [tryton] Recommended way to merge duplicate parties?

2017-09-30 Thread Jon Levy
On Friday, September 29, 2017 at 6:05:07 PM UTC-4, Cédric Krier wrote: > Since 4.2, there is a standard wizard PartyReplace in party module. To make sure I understand, it appears that PartyReplace only moves over the addresses and contact_mechanisms (the 'fields_to_replace'). I'm guessing the w

Re: [tryton] Recommended way to merge duplicate parties?

2017-09-30 Thread Jon Levy
Now that I see the messy issues in merging parties better, I will avoid it by not creating those duplicates in the first place. Thanks for the help. No need for a response. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on

Re: [tryton] Moving addresses and contact mechanisms among parties

2017-10-02 Thread Jon Levy
On Sunday, October 1, 2017 at 4:20:06 AM UTC-4, Cédric Krier wrote: > After some more thoughts, you can open the party of a relation directly > without having to open the relation popup first. You just have to use > the context menu (right click) on the line and select To>Edit. Woah! I didn't kno

[tryton] Generating warnings during report run

2018-01-17 Thread Jon Levy
I am wondering what the correct idiom is to issue warnings while running a report. Reports do not inherit from WarningErrorMixin, and run in readonly transaction. I have a report that requires quite a bit of computation, and I would like to be able to possibly issue a warning. If I try to cal

[tryton] Warnings without the option to silence in future

2018-01-17 Thread Jon Levy
Warnings give the user the option to check a box and not receive the warning in the future. If I don't want to provide the user to be able to silence in future, is it appropriate to instead call raise_user_error with raise_exception=False? -- You received this message because you are subscrib

Re: [tryton] Warnings without the option to silence in future

2018-01-17 Thread Jon Levy
On Wednesday, January 17, 2018 at 1:05:06 PM UTC-5, Cédric Krier wrote: Thank you. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/a68a8271-b89b-46d5-8534-7a97e30359ab

Re: [tryton] Generating warnings during report run

2018-01-17 Thread Jon Levy
On Wednesday, January 17, 2018 at 12:40:06 PM UTC-5, Cédric Krier wrote: That's what I suspected. Thanks for verifying. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryto

[tryton] Making use of Tryton URLs

2018-04-06 Thread Jon Levy
Views in the GTK include URLs for fast navigation to that same view. I understand that this URL can be passed as a positional argument when invoking Tryton from the command line. But is there a more user-friendly way? For example, can a computer be se up to click on the link and open it with

[tryton] Conditionally present tab in spreadsheet report?

2018-05-18 Thread Jon Levy
Is it possible to conditionally include (or not) a tab in a spreadsheet report? If not, it is possible to conditionally hide or show a tab? -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.goog

[tryton] IP address of user

2018-07-28 Thread Jon Levy
Is there a way to see a user's IP address (e.g., in the Transaction context)? This is for a time clock functionality, and would be used to know whether the user is at the office, or somewhere else. -- You received this message because you are subscribed to the Google Groups "tryton" group. To

[tryton] Time clock module

2018-07-28 Thread Jon Levy
Does anyone know of an existing module for employees to clock in/clock out? -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/81b2da76-ac5d-40ba-b24e-8911f265964d%40googl

[tryton] Bypassing cache for function field.

2018-08-02 Thread Jon Levy
When a function field is accessed multiple times without there being any database operations, it will be calculated the first time, cached, and subsequently recalled out of cache. https://github.com/tryton/trytond/blob/1af9530e187d766598afd55bb6399ab0a5e8689b/trytond/model/modelstorage.py#L1232

Re: [tryton] Bypassing cache for function field.

2018-08-09 Thread Jon Levy
On Thursday, August 2, 2018 at 6:25:06 PM UTC-4, Cédric Krier wrote: > . . . you should > instantiate the record with each context. This way the computation will > be redone. Perfect. Thanks. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view t