
Search In
When we face any issue in database records value at that situation we use read records value and record data is accessible with the read() method, which takes a list of ids (as returned bysearch()) and optionally a list of fields to fetch.
Functional field is a field which gets its value on the basis of a function, for example an amount can be calculated using the various others values of the invoice like taxes, discounts, labor charges, extra charges etc, you will need a function that
I would like to add different kinds of dynamic views like textview, edittext, datepicker etc to already existed layout. With this existed layout have some static views which are mandatory. this dynamic views have to add based on API response count
I came across a project where I have to develop "Web Services Using Drupal 7". Though Drupal 7 core standard contains no RESTful API, but this is easy to set up using modules such as: Services, RestWS or Restful. While working on Web API's I found th
Demonstration data is the most important data in odoo-9 so it's possible to test it easily. This is done by adding a demodata file, which must be linked from the manifest. For example you can see below code .
<openerp>
<data>
As we know that we can't change the place holder color of the Text Fields but sometimes if we need to change it then we can do it by using following code.
UIColor *color = [UIColor grayColor];
self.myTextField.attributedPlaceholder = [[NSAttrib
A Scheduler helps to identify the necessary task, assigns a logical sequence to these tasks and monitor their execution. The main purpose of Scheduler is to identify tasks are on time.(Note: Tag is only used for the next Line).
There are two ways to
Relational types in OpenERP are:
many2one
one2many
many2many
related
many2one: associates an object to its parent object. Example Customer and Invoices. Many invoices belong to one customer.
Syntax:
fields.many2one(
'other.object.name
To create a wizard for a module, we need to create a wizard folder; this folder will be imported in our main __init__.py of the module. The wizard folder will contain another __init__.py which will import all the wizard class files.
The Wizard Fold
To update a a field in the database in cakephp we uses an array,
the task is done as,
$this->request->id = $id;
$data=array();
$data['User']['id'] = $this->request->id;
$data['User']['fname'] = $filename;
$this->User-&g