
Search In
How to modify the PetToysList component so clicking on a toy replaces the homepage by the toy's form view in OpenERP/Odoo ?
If you want to modify the PetToysList component in OpenERP(Odoo) so that when you click on a toy it replaces the homepage by
To hide the field first we have to go in .XML file (OpenERP)
After that we have to decide where we want to hide the field and then give attribute invisible to that field.
As in example below, .XMLcode in XML file : -
<record id="view_order_form"
OpenERP enables utilizer to send and receive emails when an action is done from OpenERP. We can configure emails to be send when a sale is verify or invoice is paid etc. But to implements these type of functionality, we require to update the function
If you want to promote the page in OpenERP (Odoo) follow the below mentioned steps: -
Step-1 Go to website menu and clik it.
Step-2 Go to promote page and click it.
Step-3 Define Keywords->Add keyword->Reference Your Page->Title->Desc
If you want to use classical inheritance in OpenERP use below code -
class subscription_document(osv.osv):
_name = "subscription.document"
_description = "Subscription Document"
_columns = {
'name': fields.char('Name', size=60, r
Step-1 Install the purchase_usability_extension module.
Step-2 purchase_usability_extension->Purchases.py
Step-3 After that custmozie purchases.py(Python file) file: In below example, I have custmozied purchases.py file. You can directly copy the
To generate bar code image and bar code value in OpenERP(Odoo), you have to follow 3 simple steps as given below.
Step-1 Click Bar-code Menu
As shown in below screen-shot
Step-2 Click on Barcode->Barcode ->Model ->Res Id ->Type ->
In below example, I have written Python script to confirmation receipt through python code. Use below python code in your .py file :
'partner_id': fields.many2one('res.partner', 'Partner', change_default=True, required=True, states={'confirm':[('
Step-1 Install the warehouse module.
Step-2 After that custmozie .py(Python file) file:
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file -
class stock_warehouse(osv.osv):
_name = "stock
To Include only parent level class in OpenERP(Odoo) below is the method/code
In below example I have written Python script to Include only parent level class. You can directly use below python code in .py file :
def addMaterialsRecursive(componen