
Search In
To Called within an except block to allow converting exceptions to arbitrary responses. Anything returned (except None) will be used as response. use this code given below in openerp.
def _handle_exception(self, exception):
"""Called within
TO retrieve all children projects of project ids in project module and return a dictionary mapping each project to appiar its parent.id in parent project in project module (or None)in openerp. use this code given below in .py file in openerp.
def
How to simply manage expense of utility bills and daily expense in odoo ... example electricity bill food bill telephone bill service charges and how to make auto estimate for next month and on certain date it gives us reminder ....? I need answer w
To restart postgresql database in ubuntu
Run this command in terminal:-
step1- sudo service postgresql
step2- sudo service postgresql restart
use these command to restart postgresql service
There are some specific variables accessible to make template reports.
1. docs : records for the current report
2. doc_ids : list of ids for the docs records
3. doc_model : model for the docs records
4. time : a reference to time from the Python stan
For current cordinate we have to add a button resetting the product's coordinates to the location of the user, you can get these coordinates using the javascript geolocation API.
Now we would like to display an additional button to automatically set
In OpenERP first, install the account module and then create the own module and relate it to the fields payment term in account module.
Follow these steps given below:
Step1- First create add_penalty.py file in your own module and pass this file in
We have two methods and features to display content.
1-format the widget's data
2-display the widget
The HomePage widget already has a start() method. This method is part of the normal widget lifecycle and it is automatically call
First we have to define the States
So to define states follow the below code.
columns = {
’state’: fields.selection([
(’new’,’New’),
(’assigned’,’Assigned’),
In OpenERP first, create existing module and then inherits the account.invoice object in your own module and also create report file in your own module.
Follow these step given belowas
Step1- First create module like, test then create file in your