openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #03775
Re: Development Module Flow
David,
One thing to keep in mind is that Python files are loaded only on server
start, so if you make changes, you'll need to restart the server. On the
other hand, XML files are loaded dynamically, but only when the module is
reinstalled. Hence, if you make changes to both types of files, you'll need
to restart _and_ reinstall your module to see changes.
Hope this helps,
Brendan
On Thu, Oct 31, 2013 at 3:33 PM, David <trancen@xxxxxxxxx> wrote:
> I'm starting to spend more time working on building a simple module to get
> the change of things. I'm keeping it very simple now.
> OpenERP(7) is running on a linux box. I'm on a Windows machine, and SSHing
> into the Linux box to make my changes to the files with
> a text editor in the shell.
>
> I have the directory where I have my module mapped to in
> "openerp-server.conf", I can see my module listed in "Installed Modules"
> list. So that's not
> a problem.
> Now the issue I have is making changes to my *.py and *.xml. I see that
> they aren't updated in the new menu I created, I have found that I need to
> always go back to the Settings and UPDATE my model. But issues I have is
> that sometimes that doesn't update my changes and it's also time consuming
> going back and
> forth to force the update. And sometimes the changes don't even appear.
>
> Now the question is, is this the correct procedure? Is there a proper way
> to make changes to the module and see them in OE in a quicker manner? Do I
> have to flush a cache
> to see my changes even though I have forced a UPDATE they don't appear in
> my new menu.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
>
--
Brendan Clune
Information Technology
Logic Supply, Inc.
Direct: 802 861 7459 | Main: 802 861 2300
www.logicsupply.com | www.lgxsystems.com
References