
Search In
Odoo-7 and Odoo-8 support the angularjs using Odoo Web Services but Odoo-9 and Odoo-10 does not supports angular js, the reason is that Odoo-9 and Odoo-10 supports back-bone.js.
Below are few steps how Odoo-7 and Odo
The easiest and possibly the best idea of importing data from another database to a new database is the CSV export. OpenErp gives you this feature in the versions 6.1 and 7.0.
Following is the example on how you can export customers to a csv file:
Step-1 Go to browser
Step-2 Click on Administrator:
Step-3 Click on about OpenERP
Step-4 Click on activate the developer mode.
You can activate the developer mode in the About Box located under your username in the top right corner of OpenERP
If you want to change or edit the label in module in OpenERP, follow the below example.
EXAMPLE:- change label like that in product form change label of list_price(Sale Price ) to list_price(Max Price) in product.product
.xml file-
<record
In openerp It will first clean the leave intervals, to have an ordered list of not-overlapping intervals and initiate the current interval to be the base interval then before finishing skip the current interval and go to next beginning after the curr
In openerp first install account module and inherit the views of account module and pass the id of account module views form xml file then give reference in your own module and add your new fields in xml file.
Use this code in your own module in xml
In openerp If the report is using a custom model to render its html and fallback on the generic html rendering. report is generates and returns html version of a new report.
use this function in your own module in .py file,
def get_html(self, c
If you want to make loops and special fields in OpenERP use below code -
def get_totals(self, cr, uid, ids):
countries = {}
for sale in self.browse(cr, uid, ids):
country = sale.partner_invoice_id.country
countries.setdefault(country, 0.0)
countr
To add a separator line separator string is used, below us the way to do this.
Go to .xml file and use the below code .
<separator string="Session" colspan="4"/>
<field name="session" nolabel="1">
<tree>
<field name="name"/>
If you want to mapped the records in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
# returns a list of summing two fields for each record in the set
records.mapped(lambda r: r.field1 + r.field2)
# returns a l