Odoo Help

0
1
Emipro
On 1/11/15, 1:09 PM

Do the following:

@api.onchange('product_code')
def make_uppercase(self):
    print "something"

Hope this helps !!.

Thanks you. That is what I did. but gives the looping error

OdooTec, Hesham ELMAHDY
on 1/11/15, 2:38 PM

Did you tried copy & paste of my code. Still I can see that you not put "single quote" around the field "product_code" in @api.onchange line. This code definitely works.

Emipro
on 1/11/15, 11:42 PM
Perfect. Thank you so much for being patient.

On Mon, Jan 12, 2015 at 7:42 AM, Emipro Technologies Pvt. Ltd. <erp@emiprotechnologies.com> wrote:

Did you tried copy & paste of my code. Still I can see that you not put "single quote" around the field "product_code" in @api.onchange line. This code definitely works.

Emipro Technologies is best in Odoo & eCommerce Application development based outsourcing software firm. We deliver any kind of complex solutions in the domain of Odoo and eCommerce to customers accross the globe. Being in IT business since 2011, We have a strong team of skilled experienced IT experts.Our customers are companies of all sizes ranging from startups to large enterprises who realize that they need a professional internet solution to generate revenue streams, establish communication channels or streamline business operations.

Our Services in Odoo includes,
  • Installation
  • Customization
  • Configuration
  • Software Training
  • After Sale Support
  • Maintenance
  • Consulting
Contact info@emiprotechnologies.com for any kind of queries in Odoo. Visit www.emiprotechnologies.com for more details.




 

Sent by Odoo S.A. using Odoo about Forum Post False



--

Regards,

Hesham ELMAHDY
OdooTec, Techno-functional Advisor

OdooTec, Hesham ELMAHDY
on 1/12/15, 5:52 AM
2
Akhil P Sivan
On 1/11/15, 2:22 PM

Hi Hesham, the error occured because as shown the syntax is wrong. No need to put colon after @api.onchange(). Also the field name should be in quotes.

Thanks you. That is what I did. but gives the looping error

OdooTec, Hesham ELMAHDY
on 1/11/15, 2:38 PM
0
Hesham ELMAHDY
On 1/11/15, 2:40 PM

Someone with a priviledge, please delete this question. i will re-post it

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/11/15, 12:52 PM
Seen: 1577 times
Last updated: 3/16/15, 8:10 AM