Odoo Python Developer

Odoo Python Developer Interview Questions and Answers for Freshers

Updated 4 Jul 2025
2d ago

Q. Which tag is used to display the text exactly as written in HTML?

Ans.

The <pre> tag is used to display text exactly as written in HTML.

  • The <pre> tag preserves both spaces and line breaks in the text

  • It is commonly used for displaying code snippets or text that needs to maintain its formatting

  • Example: <pre>This is some text with spaces and line breaks.</pre>

3d ago

Q. How can we add an element to a tuple, given that tuples are immutable?

Ans.

Tuples are immutable in Python, but you can create a new tuple with the desired elements added.

  • Tuples cannot be modified directly; instead, create a new tuple.

  • Example: existing_tuple = (1, 2, 3); new_tuple = existing_tuple + (4,); # new_tuple is (1, 2, 3, 4)

  • You can also convert a tuple to a list, modify it, and convert it back to a tuple.

  • Example: existing_tuple = (1, 2, 3); temp_list = list(existing_tuple); temp_list.append(4); new_tuple = tuple(temp_list); # new_tuple is (1,...read more

1d ago

Q. What will be the output of the following code?

Ans.

The output of the code depends on its specific logic and structure, which needs to be analyzed.

  • Check for syntax errors that may prevent execution.

  • Identify variable values and their types before execution.

  • Consider control flow statements (if, for, while) that affect output.

  • Look for function definitions and their return values.

  • Examine any imported modules that may influence the code.

1d ago

Q. Given a string, select all the names from a given table that contain that string.

Ans.

Filter names from a table based on a substring match in Python/Odoo.

  • Use SQL query: SELECT name FROM table WHERE name LIKE '%substring%'.

  • In Odoo, use ORM: records = model.search([('name', 'ilike', 'substring')]).

  • Example: If substring is 'John', it retrieves 'John Doe', 'Johnny'.

  • Ensure case-insensitivity by using 'ilike' in Odoo or lower() in SQL.

Are these interview questions helpful?
2d ago

Q. How do you add space between rows of a table in HTML?

Ans.

Use CSS to add space between rows of a table in HTML.

  • Add 'padding' or 'margin' to the <tr> or <td> elements in the table.

  • Example: <tr style='padding: 10px;'>...</tr>

  • Example: <td style='margin-bottom: 20px;'>...</td>

1d ago

Q. Which tag is used to make a text blink in HTML?

Ans.

The <blink> tag is used to make a text blink in HTML.

  • The <blink> tag is a non-standard HTML tag that causes the enclosed text to flash slowly.

  • It is not recommended to use the <blink> tag as it is deprecated and not supported in modern browsers.

  • Example: <blink>This text will blink</blink>

Odoo Python Developer Jobs

MarsDevs logo
MarsDevs - Python Odoo Developer (2-4 yrs) 2-4 years
MarsDevs
4.6
TRooTech Business Solutions logo
Python Odoo Developer 1-3 years
TRooTech Business Solutions
2.7
Ahmedabad
Maven Autotech Pvt. Ltd. logo
Python Odoo Developer 2-6 years
Maven Autotech Pvt. Ltd.
4.9
Ahmedabad
4d ago

Q. Given two tuples, combine all their elements into a new list in reverse order.

Ans.

Create a new list by putting elements of two tuples in reverse order.

  • Iterate through each tuple and reverse the elements before adding to the new list.

  • Use list comprehension for a more concise solution.

  • Example: Tuple 1 = (1, 2, 3), Tuple 2 = (4, 5, 6) -> New list = [6, 5, 4, 3, 2, 1]

Asked in Brainvire

1d ago

Q. Armstrong number using pallindrome, fibonacci code.

Ans.

Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits.

  • Create a function to check if a number is an Armstrong number by calculating the sum of its digits raised to the power of the number of digits.

  • Implement a function to check if a number is a palindrome by comparing it to its reverse.

  • Write a function to generate Fibonacci numbers up to a certain limit and check if a number is in the Fibonacci sequence.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
5d ago

Q. What is the difference between override and overwrite?

Ans.

Override is when a subclass provides a specific implementation for a method in the superclass, while overwrite is when a file or data is replaced with new content.

  • Override is used in object-oriented programming to change the behavior of a method in a subclass.

  • Overwrite is used in file systems to replace existing data with new data.

  • Example of override: class ChildClass(ParentClass): def method(self): # new implementation

  • Example of overwrite: Writing new content to a file that ...read more

2d ago

Q. Write a query for Left Join.

Ans.

A Left Join query combines rows from two tables based on a related column, including all rows from the left table.

  • Use the LEFT JOIN keyword in the query

  • Specify the columns to select from both tables

  • Use ON keyword to specify the join condition

Interview Experiences of Popular Companies

e-Zest Logo
4.1
 • 30 Interviews
Odoo Logo
3.3
 • 28 Interviews
Brainvire Logo
3.2
 • 24 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Odoo Python Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits