
Search In
If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Sales Menu and Click it.
Step-2 Go to Customer button and Click it.
Step-3 Click on Import Button and file will be uploaded to
If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Settings Menu and Click it.
Step-2 Go to Modules -> Update Modules List and Click it.
Step-3 Click on Update button
If define Payment Transaction in sale order in sale module then first override the function and inherit to the view from sale and add fields acquirer_name in sale order model and set default draft method and use this function in your own module. Use
To override the function first install the sale module and override the class sale.order and set draft and use feedback function as show in given below code
def feedback(self, cr, uid, data, acquirer_name, context=None):
tx = None
r
Step-1 Go to audittrail module.
Step-2 audittrail->audittrail.py.
Step-3 After that used below code in audittrail.py file.
if self.check_rules(cr, SUPERUSER_ID, field_obj._obj, method):
x2m_model_ids = pool.get('ir.model').se
Step-1 Go to picking_invoice_relation module.
Step-2 invoice->invoice.py.
Step-3 After that used below code in invoice.py file.
if not isinstance(ids, types.ListType): # Ensure it is a list before proceeding.
ids = [ids]
If you want to use method decorators in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
model = self.pool.get(MODEL)
ids = model.search(cr, uid, DOMAIN, context=context)
for rec in model.browse(cr, uid, ids, co
In search function returns directly a RecordSet.
In below code i have explain search function.
def LinkedIn_check_similar_partner(self, cr, uid, LinkedIn_datas, context=None):
res = []
res_partner = self.pool.get('res.partner')
A client action is an action type defined almost entirely in the client, in javascript for Odoo web. The server simply sends an action tag and optionally adds a few parameters, but beyond that everything is handled by custom client code.For example c
If you want to use this._super() to call the original method in OpenERP/Odoo When overriding a method using inheritance below is the example.
For example code look like below.
say_hello: function () {
setTimeout(function () {
this._sup