
Search In
In OpenERP first we create the product and then calculates the quantity of product. In product form picking Id is generated and picking id will return to the value of this product and then product will calculated automatically in stock.
Use thi
Creating a module in OpenErp is very simple. All you need to know is the basic skeleton of any module to be used in the system. There are four major files that build up your module:
1.) init.py file
2.) openerp.py file
3.) mymodel.py file
In openerp first override the orm model and add fields field_view_get in orm model then return the Dictionary of Fields, arch and toolbar in orm model.
you can use this function as given below.
def fields_view_get(self, cr, user, view_id=None, view
To upgrade list of each database given information about one particular error. Each dictionary can contain various keys depending on the type of error but you will always get the reason and the message keys as below:
reason: the error type
message: a
In product module use onchange function and sets some value and return dictionary of value in on_client_changed function to first inherit the product module class like as product.template class and then use this function in .py file in openerp
use th
To resolve Severe Assertion Error in openerp follow these step given below
After getting sever assertion error then first :
Step1- In pgAdmin run the following query:
update ir_module_module set state = 'installed' where state = 'to install'
Step2-
The __openerp__.py file has containing list of dependencies,conditioning startup order,data files to load at module install,always load groups first and load access rights after groups.
For example code below.
{'name' : 'SHIVA',
'version' : '1.0',
If you want to get access right in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: →
class test_partner_firstname(common.TransactionCase):
def setUp(self):
super(test_partner_firstname, self).setUp()
self.user_mode
A functional field is a field whose value is calculated by a function in openerp, hence in openerp functional fields values is calculated by the function and its process of function given below,
Parameters:
fnct,
arg=None,
fnct_inv=None,
fnct_se
In OpenERP first create delivery address in delivery form and then we need to define a partner for the brand of the product and also dedicated_delivery_address stand for the case a new type of address. In stock form move all the delivery address to s