
Search In
If you want to use _inherit and _name attributes together in OpenERP use below code -
class sale_order(osv.osv):
_name = "sale.order"
_inherit = ['mail.thread', 'ir.needaction_mixin']
_description = "Sales Order"
_track = {
'
If you want to build an Odoo module in OpenERP(Odoo) follow the below mentioned step.
For creation of any module in Odoo you have to make four files,given below-
1-__init__.py // its indicate the import instructions for various Python files in
To achieve the oldest cache time first you have to install point of sale module and inherit the pos_config class in your own module and fetch cache ids in pos_config class and then use this function in your own module.
@api.depends('cache_ids')
In Odoo-9 first we install the accounting module and then create new module and inherits the account.invoice object in account module to own your module and give type is pdf in module.
Follow these step show below:
Step1:- First we create new modul
Barcode is the most important part of point dale module its indicate the unique number of any product in stocks. So you will need the following kind of python code declaration in your .py file:
from openerp.osv import fields, orm
from openerp.tools
If you want to configure website settings and Social Media in OpenERP-8(Odoo), you just have to follow the 3 simple steps mentioned below-
Step-1 Go to Settings menu->website settings
Step-2 Domain ->Website Name ->Google Analytics Key
Step
In OpenERP notifyChannel API shouldn't be used anymore because API is used to connect to other framework. OpenERP provide the logging module instead and it is used for any one in OpenERP server.
Use this funtion given below
def notify(self, na
In Odoo module is contained in its own directory within the server/bin/addons
directory in the server installation.
profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py file like in below
In Openerp first Override the method of function and then write the function in your own module and link the documents at of the classic form view and redirect the documents to the online quote if exists using this get_access function as show in giv
If you want to edit __openerp_.py in odoo-9 ,for example you can use below code.
{
'name':'Tutorial theme',
'description': 'A description for your theme.',
'version':'1.0',
'author':'Your name',
'data': [
],
'category': 'Theme/Creativ