
Search In
Crud used to creates a new record for the model.
The new record is initialized using the values from vals and if necessary those from default_get()..
browse([ids]) → records:
Returns a recordset for the ids provided as parameter in the
Adding a primary key using ALTER Command:
Alter command is generally used to modify table . It can be used to add columns or to remove columns. Using Alter command we can also add or remove a key from a table.
Syntax:
ALTER TABLE tablename ADD CON
Suppose you have a list containing objects. You can export it to the excel file.
You will require the following jars for this:
xmlbeans-2.3.0.jar
poi-3.9-20121203.jar
poi-ooxml-3.9-20121203.jar
poi-ooxml-schemas-3.9-20121203.jar
dom4j-1
In this tutorial we will see how we can use pluck and select in rails active record queries.
Select is used to fetch records with specific attributes. It returns ActiveRecord::Relation object.
Project.select(:id)
Project Load (41.5m
Step-1 Install base report module.
Step-2 After that customize base report module.
In below example, I have customised base report module. You can directly use the below base report module in your addons and run in Odoo server.
def onchange_
Hello friend's
If you are looking to created WebView function in android below example will help you. WebView is used for display web pages inside your application and it turns application to a web application.
Here I have added <webview> ele
If you want to call custom create method if method is not defined then follow the following code in your .py file.
if values.get('acquirer_id'):
acquirer = self.pool['payment.acquirer'].browse(cr, uid, values.get('acquirer_id'), contex
In OpenERP first, install the sale and account module so that users can transfer one bill to another bill.
Follow these step given below:
Step1- First create own module and then create file like as merge.py file and pass this file in your __init__.
Store Procedure:-- These are set of SQL Statements which are grouped in such a way that they execute to do a certain task and make processing of our application fast.
Advantages:- They are stored in precompiled format and therefore are fast.
Only
In MySQL, the UNIQUE constraint is used to uniquely identify each record in a table.
UNIQUE Constraint on CREATE TABLE
The following statement creates a UNIQUE constraint on the "id" column when the "employee" table is created:
Example
CREATE TABL
