Community mailing list archives

community@mail.odoo.com

Re: Snippit package for rapid development

by
vijay
- 05/19/2015 13:58:34
Hi,

It worked for me.
create a templates directory under ~/.PyCharm40/config and then put Odoo.xml file there.
so hierarchy is this

~/.PyCharm40/config/templates/Odoo.xml









Thanks !
-- 
Regards,
Vijay Maurya  || Sr. Software Engineer 

Mobile: +91 8097 423 668


On Tue, May 19, 2015 at 11:22 PM, Chris Jones <chris.jones@saasier.com> wrote:
Ubuntu 12.04 in Virtualbox. I also tried the prior version of PyCharm, still no luck. 

On Tue, May 19, 2015 at 10:35 AM, John Pia Jr <jpiajr@southmill.com> wrote:

Chris are you using windows?

If so I had the same problem. What I did to resolve it was create a "live template" in pycharm then in the folder it creates place the XML template file.

On May 19, 2015 1:18 PM, "Chris Jones" <chris.jones@saasier.com> wrote:
I've been trying to get your template to work for about 2 hours now. There was no templates folder in ~/.PyCharm40 so I created one and put the file in. No luck.

I tried putting it in Live Templates and it would just display the entire XML in the python document. Some instructions I found online said to go into Project Structure but I don't see anyway to specify that a folder was a template folder like documentation suggested. I'm using 4.5 Community. Is it possible things changed since it looked like you're using an earlier version in your Youtube video. 

On Sun, May 17, 2015 at 11:52 AM, Mohamed Magdy <moh.magdy40@gmail.com> wrote:
Hi All,

Thank you John and Zahid for your kind words :)
It helped me to do more.
Please, Update your templates, as I have just uploaded an update:
  • odoo_form_header
To add a new header to your form for the Workflow:
<header>
<button name="" string="" class="oe_highlight" states="" type=""/>
<field name="state" widget="statusbar" statusbar_visible="" statusbar_colors="{'KEY_IS_STATE':'VALUE_IS_COLOR'}"/>
</header>  
  • odoo_form_social To add the social messaging and followers to your form:
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
 
Have Fun :)

Best Regards,

Mohamed Magdy

On Sat, May 16, 2015 at 2:12 PM, zahid jalal <j.zahid@gmail.com> wrote:
Hi Magdy
I've been using your pycharm template for 2 mounths. It'a a life saver.
Thank you for the good work.
 

regards


SSLL, Intégrateur Odoo.
Intégration de Services.
BI and IT consulting.
j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Sat, May 16, 2015 at 2:08 AM, John Pia Jr <jpiajr@southmill.com> wrote:

Wow Mohamed this is great.

Thank you

On May 15, 2015 10:44 AM, "Mohamed Magdy" <moh.magdy40@gmail.com> wrote:
Hi John,

I created a template for PyCharm not for Sublime. you can find the source of the template here and I uploaded a video as a demo here.

I know you asked for a Sublime Snippets Package, but if it is your first time to develop an IDE like PyCharm will help you more than an editor like Sublime.



Best Regards,

Mohamed Magdy

On Fri, May 15, 2015 at 1:28 PM, John Pia Jr <jpiajr@southmill.com> wrote:

All,

I was broswing the package store on sublime text and came across a package for snippits for openERP development (https://github.com/drdran/Sublime-OpenERP)

Unfortunately the package above is related to version 7.

My question is, is anybody familiar with such a package or tool relative to version 8?

Thank you

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Chris Jones
SaaSier.com
Open Source ERP Solutions
Skype: chrishjones20 - Preferred Contact Method

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Chris Jones
SaaSier.com
Open Source ERP Solutions
310-400-0256
Skype: chrishjones20 - Preferred Contact Method

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe