In the new openERP gtk client 6.1, a new feature is causing confusing at times. the tab label of a certain record in form view is now as such:
Object: (Id, Name)
instead of the good 'ol
Object
Sometimes it just adds the name of the record and not both name and id, depends on the object's name whether it's a many2one field or not.
Ive been trying to pinpoint where in the new gtk client code is this added but i cant find it. i think it's in /bin/widget/view/form_gtk but im not sure.
another thing, once you good people tell me where the new code is added it's easy to modify the client on linux based OS, but how about patching the client on windows instead of building a new exe installer? i would very much appreciate it if someone could share some insight about this matter. I've already seen this Create exe open erp client GTK on launchpad, but when i followed it step by step on XP, i encountered errors. i think it's outdated. Thanks in advance
In the project lp:openerp-tools you will find the solution. There is the official script with the .exe is created.
BTW, you dont need to recreate the .exe, you can run python on windows as an script (exactly as in Linux does, I don give support for windows never, but i know in end clients it is frequent problem.
Regards, and i hope it can help you.
Noup..
In openerp-tools where the tools to build the .exe, not the tag problem, this is really easy if you know a little of python + gtk.
But BTW it should be cool if you post the solution you found for future people that need something like you...
Regards.
Related
i have made a windows application with a build in button with using visual studio as my application maker and virtual basic as my language.
i need help making the button change a registry folder in the hive due to one of our program that we got has a bug and the folder is miss named..
[Hkey_local_user\software\microsoft\(ERX). It needs to be ETRX
i know how to change it manually but cant be doing this to all 68 computers ,that is a big no-no and will take a long time.
can someone make me a blueprint on how i need to make this am not much of a programmer type plus no link helps me.
Don't want to sound lazy or unhelpful, but this link will explain it clearer and faster!:)
http://social.msdn.microsoft.com/Forums/vstudio/en-US/5b22e94c-37a9-4be5-ad55-3d9229220194/how-to-use-add-read-change-delete-registry-keys-with-vbnet?forum=vbgeneral
I'm trying to create a Mac version of an iPhone app, and specifically I need to be able to pick a person from the user's Address Book, akin to the ABPeoplePicker on iOS. The look of the interface isn't particularly important (be it a separate popup window or a subview etc), I just need to pull up a list from Address Book and have the user select a row, and then feed the First and Last names from that contact back into my code.
But from what I can tell, that functionality doesn't exist for Mac, or else it isn't nearly as user-friendly and intuitive to implement.
Can anyone shed any light on how I might do this? Are there built-in functions I haven't found yet, or any good 3rd party code sources you can recommend?
PS I know enough to be dangerous, but I'm still very much a beginner. Code samples and tutorial links are very much appreciated!
Perhaps Apple's CocoaPeoplePicker demo can help you.
Here's the AddressBook framework reference
My company does Linux embedded systems using Freescale PowerPC processors.
Some years back I wrote an internal HowTo on how to use Dan Kegel's crosstool to set up a cross compiler environment for our product. I hadn't touched it since then but I recently tried it and found it doesn't work. The scripts look for files on redhat.com's ftp server that are currently not there.
The latest cross tool script is the one I am using, version 0.43.
So before I roll up my sleeves and see if I can fix it myself, I am wondering if someone has already done this. Does anyone here know Kegel well enough to contact him and ask if he is planning to do an update? (My guess is not. He works at Google now.)
Alternatively, is there a better GNU cross tool builder than Kegel's cross tool? It might be easier to switch over than to update the old one.
As it turns out Mr. Kegel was kind enough to respond to my e-mail. It turns out his original scripts have been picked up by an open-source group that calls it crosstool-ng. They did an amazing amount of work on this and the tool now uses a curses-based menu system to select the options for the cross development to generate.
You can search for file names directly in Google (try '<filename> site:ftp.redhat.com' or something similar), and often results will yield revised links to the files. If that is the problem, it should just be a case of cut and paste. Alternately, I would recommend downloading the files locally, modifying the script to see them there and then bundling them with the script.
Kegel left Google for a startup. His resume is at http://www.kegel.com/resume.html . Have you tried emailing him? He might just respond.
I'm looking to create a print driver that will monitor jobs sent to a particular printer and add in a small amount of text to each page. I have downloaded the WDK and have the bitmap example working, but the monitor examples are complicated. The WDK documentation seems to be lacking any explanation of the samples. I also don't see any Visual Studio templates for Windows Drivers (not sure if they are supposed to be installed as part of the WDK or not).
I think what I'm struggling the most with is seeing the overall approach. Since this is printing to a printer (not file), I'm assuming I still need to use the printer's driver somehow. So does that make what I'm trying to do a "Filter Driver"? As you can tell, this is not something I've done before, so any help or direction would be greatly appreciated.
Thanks,
Ryan
What exactly do you need to add in? You can use the Mini Driver in the WinDDK and just hijack one of the commands.
If you need to add in something more you'll probably want a port monitor like Redmon (or we are about to release one) that can take your job and route it to some application that modifies the data and then routes to the final printer.
If you just need to insert some items at the very start (inject some PCL or something) then you can use the Windows separator page and insert the data at the start of the stream.
If you give some more detail about what exactly you need to modify or insert I can probably help a little more.
I am a newbie and not familiar with the setup environments and stuck at some point. I am developing a very simple database application using visual studio 2010. I want to release a demo program and want the demo setup to be executed just one time for a specific computer hardware. For example when one user downloads the demo and installs the setup, the demo setup content, a simple configuration file embedded in the setup or "what so ever I do not know" should be changed, so that setup (when coppied to another computer) could not be used in other computer hardwares.
The sollutions or design ideas for this specific problem should not include any online services checking that the user executes that install or not. All the problem should be solved locally if possible :) and be as generic as possible.
Any design ideas or a starting point
will be very appreciated.
Thanks in advance
This is not possible of course. Whatever breadcrumb you leave to record that the program was ran has to be left on the same machine. Leaving any user with sufficient skills or good enough tools (like SysInternals' ProcMon) to find out where you dropped it and remove it again. Assuming they care enough about making the effort.
The simple solution is to intentionally cripple your demo so that an important feature is missing that would make it useful. Like File + Save. Not just disabled, completely missing in the code as well so hacking the demo program doesn't work either. Easy to do with an #if directive in your source code.