i
e-Zest
Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
There are three types of inheritance in Odoo: model inheritance, view inheritance, and functional inheritance.
Model inheritance allows a new model to inherit fields and methods from an existing model.
View inheritance allows modifying existing views by adding or removing elements.
Functional inheritance involves extending the behavior of a method without modifying the original code.
Example: In model inheritance, a new mo...
Odoo.sh is a cloud platform for hosting and managing Odoo applications.
Odoo.sh allows developers to easily deploy, test, and manage Odoo instances in the cloud.
It provides features like automated testing, staging environments, and easy collaboration.
Developers can use Odoo.sh to streamline their development process and ensure smooth deployment of Odoo applications.
SQL query to fetch second highest salary from employee table
Use ORDER BY clause to sort salaries in descending order
Use LIMIT to fetch only the second row
Consider handling cases where there may be ties for the highest salary
Arrays are fixed in size and contain elements of the same data type, while lists are dynamic and can hold elements of different data types.
Arrays are fixed in size, while lists are dynamic and can grow/shrink as needed.
Arrays can only hold elements of the same data type, while lists can hold elements of different data types.
Arrays are more memory efficient compared to lists.
In Python, arrays are implemented using the '...
You can trigger a compute method every time by setting the 'compute' attribute in the field definition.
Set the 'compute' attribute in the field definition to trigger the compute method every time the field is accessed.
Ensure that the compute method is properly defined to perform the desired computation.
Use the '@api.depends' decorator to specify the dependencies for the compute method.
Avoid using the 'store' attribute ...
To create a new branch in git, use the 'git checkout -b' command.
Use 'git checkout -b
Alternatively, use 'git branch
Make sure to commit any changes before creating a new branch
Functions and methods are both blocks of code that can be called to perform a specific task, but methods are functions that are associated with an object.
Functions are standalone blocks of code that can be called independently.
Methods are functions that are associated with a specific object or class.
Functions can be defined using the 'def' keyword, while methods are defined within a class.
Example: 'def my_function():' ...
Property fields in Odoo are fields that are computed based on other fields or methods.
Property fields are not stored in the database but are computed on the fly when accessed.
They are defined using the @property decorator in Python.
Property fields are useful for displaying calculated values without storing them in the database.
Example: calculating the total price of a sale order based on the unit price and quantity.
Context and domain are used in Odoo to filter records in views and models respectively.
Context is used to pass additional information to the server when performing actions like creating, updating, or deleting records.
Domain is used to filter records in models based on certain conditions.
Example: context={'lang': 'en_US'} will set the language to English for the current session.
Example: domain=[('field_name', '=', 'valu...
Security in Odoo can be managed through user roles, access rights, and authentication mechanisms.
Define user roles with specific access rights to restrict permissions.
Set up strong authentication mechanisms like two-factor authentication.
Implement secure coding practices to prevent common vulnerabilities like SQL injection or cross-site scripting.
Regularly update Odoo to patch security vulnerabilities and stay protecte...
No, onchange field value is not stored in the database.
Onchange field value is only temporarily stored in memory during the current session.
The value is not saved to the database until the record is saved.
Onchange methods are used to update the UI based on user input without saving to the database.
Server action and schedule action are tools in Odoo for automating tasks and actions within the system.
Server action is a predefined sequence of actions that can be triggered manually or automatically based on certain conditions.
Schedule action is a way to automate the execution of server actions at specific times or intervals.
Server actions can be used to perform tasks like sending emails, updating records, or generat...
Lambda function is an anonymous function in Python that can have any number of arguments, but can only have one expression.
Lambda functions are defined using the lambda keyword.
They are commonly used for small, one-time operations.
Lambda functions can be used as arguments to higher-order functions like map, filter, and reduce.
Example: lambda x: x*2 defines a lambda function that doubles the input x.
Top trending discussions
posted on 27 May 2024
List is a built-in Python data structure that can hold elements of different data types, while Array is a data structure from the NumPy library that can hold elements of the same data type.
List is a dynamic array that can grow or shrink in size, while Array has a fixed size.
List can hold elements of different data types, while Array can only hold elements of the same data type.
List is a part of Python's standard librar...
DRF provides JSON, BrowsableAPI, TemplateHTML, and AdminRenderer classes for rendering responses.
JSONRenderer: Renders data in JSON format.
BrowsableAPIRenderer: Renders data in a browsable HTML format with forms for interacting with the API.
TemplateHTMLRenderer: Renders data using a specified template in HTML format.
AdminRenderer: Renders data in a format suitable for Django admin interface.
Method Resolution Order (MRO) is the order in which classes are searched for a method or attribute in Python.
MRO is determined by the C3 linearization algorithm in Python.
It follows a depth-first left-to-right traversal of the class hierarchy.
MRO is important in multiple inheritance scenarios to resolve method conflicts.
Example: class A: pass class B(A): pass class C(A): pass class D(B, C)
Class method is bound to the class itself, while static method is not bound to any specific instance or class.
Class method takes 'cls' as the first parameter, allowing access to class variables and methods.
Static method does not take any special parameters and does not have access to class or instance variables.
Class method can be called on both the class and instances of the class.
Static method is mainly used for util...
Transactions in SQL are a way to ensure data integrity by grouping multiple SQL statements into a single unit of work.
Transactions help maintain the ACID properties (Atomicity, Consistency, Isolation, Durability) of a database.
They allow multiple SQL statements to be executed as a single unit, either all succeeding or all failing.
Transactions can be started with BEGIN TRANSACTION, COMMIT to save changes, or ROLLBACK to...
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are used to add functionality to existing functions without modifying their code.
Types of decorators in Python include function decorators, class decorators, and method decorators.
Example: @staticmethod and @classmethod are built-in decorators in Python.
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
I applied via campus placement at Vellore Institute of Technology (VIT) and was interviewed before Aug 2022. There were 4 interview rounds.
General Aptitude question and english Verbels
based on 1 interview
Interview experience
Softwaretest Engineer
558
salaries
| ₹2.5 L/yr - ₹6 L/yr |
Software Engineer
305
salaries
| ₹5.5 L/yr - ₹20.7 L/yr |
Senior Software Engineer
228
salaries
| ₹9 L/yr - ₹28.5 L/yr |
Software Quality Analyst
139
salaries
| ₹3.4 L/yr - ₹5.8 L/yr |
Software Developer
114
salaries
| ₹5.2 L/yr - ₹21.7 L/yr |
Persistent Systems
TCS
Infosys
Wipro