
Search In
With the help of multi api we will be able to set the current RecordSet without iteration. It is the default behavior.
In below code i have used search_read function to set the current RecordSet
@api.multi
def afun(self):
len(self)
Note- Multi.api
If you want to use the amount booked in the company currency as the basis of the conversion into the voucher currency in OpenERP(Odoo) follow the below given steps-
Step-1 Install the account_voucher module.
Step-2 After that customize account_vouch
If on installing OpenERP 6.1 using all-in-one setup, pgAdmin is note getting installed or you are not
able to select pgadmin while installation then you might be having a registy issue with postgres
application. To solve this king of problem.
Follo
If you want to import customize module in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
import decimal_precision as dp
from osv import fields, osv, orm
from tools.translate import _
import one2many_sorted
cl
It’s right to call a domain a list of criteria. The point to note here is that each criterion is a triple (either a list or a tuple) of (field_name, operator, value) where:
field_name (str)
It can be defined as a field name of the current model
In object-oriented languages, javascript does not build in classes although it provides equivalent (if lower-level mechanisms.
For simplicity and developer-friendliness Odoo web provides a class system based on John Resig's Simple JavaScript Inher
Javascript does not have built-in modules. As a result variables defined in different files are all mashed together and may conflict. This has given rise to various module patterns used to build clean namespaces and limit risks of naming conflict.
T
In followers linked to old partner fields first we have to go in .py file (Python file) After that we have to decide where we want to remove followers linked to old partner fields and then write python code to that field from start to end.
Use below
In followers all records and new notification models, first we have to go in .py file (Python file) After that we have to decide where we want all records and new notification models of followers and then write below python code to that field at star
In below example, I have written Python script for account cashflow operations. see below python code in .py file :
import time
from datetime import datetime, date, timedelta
import tools
from osv import osv, fields
import decimal_precision as dp
fr