
Search In
In OpenERP first create partner and then validate the partner form. After this compare it with the membership of the other partner. Then standard dictionary for contextual values and the dictionary of Membership state Value.
Use this function show b
If you want to use default_get method in OpenERP use below code -
self.pool.get(’sale.order.line’).default_get(cr, uid, [’product_id’,’product_uom_id’])
Note- If you want to migrating the module from OpenERP-7 to OpenERP-8(Odoo),then we have to us
The __init__.py file is the Python module descriptor, because an OpenERP
module is also a regular Python module.
1- Import all files & directories containing python code
2-import idea, wizard, report
The __openerp__.py is the OpenERP module man
If you want Edit __openerp__.py in OpenERP(Odoo) follow the below mentioned steps: -
Step-1 Go to given module and click it.
Step-2 You will find four files mentioned below.
(i)-__openerp__.py
(ii)- __init__.py
(iii)- _python.py
(iv)-_views.xml
Ste
If you want to create report for the session model ,first you have to move on .py file and setup all dependencies module. And For each session, it should display session's name, its start and end, and list the session's time date and unique number.
F
In Odoo first create the modules and then create a new field that saves images. Now to upload them correctly in your database and to resize images automatically and store them in database you can use the below function or steps I have mentioned:
Ste
In OpenERP first, create a custom module and then inherits the account.payment object in your own module like module name test.
Follow these steps given below
Step1- First create the __init__.py file in your test module and use this code given bel
In Django framework first we create the project and follow these step shown below:
Step1- First we create a project in your Django. If you are not able to create a project then use this link. This link helps to create a project in Django framework.
The delegation method is performed the reference fields automatically set up on the parent model:
For example you can take idea from below code-
class Child0(models.Model):
_name = 'delegation.child0'
field_0 = fields.Integer()
class
To create Account Analytic Line to compute the line and inherit the class account_analytic_line in odoo-9 then write this function in .py file in your module in odoo.
Use this code show in given below
def _compute_accountanalytic(self, domain=N