
Search In
A company which is using OpenERP for their sales operations may face the problem of loading sales module quite slow. It can be difficult to handle a situation where there can be many sales counters, the customer and salesman waiting for more than a m
To get small image in product module first inherit the product.product object in product module and add one fields like image_small and write the fucntion _get_image in your own module in openerp.
for example you can use the below fucntion in .py fil
Hello Guys,
If you are looking to set flash messages in Zend framework please follow the below process::
1) Open your controller and set below line under init()
$this->_flashMessenger = $this->_helper->getHelper('FlashMessenger'); // De
Hello Friends,
If you are looking to set flash messages in Codelgniter framework. Please follow the below code for the same:
1) Open your controller function and put the below code to define flash message
$this->session->set_flashdata('msg',
To display images from a directory randomly first of all we will give the path to the directory. Then we will select the directory. After that we will open the directory and will get all the files of the directory.
<?php
$Image_Path = ""; // Roo
Hello Friends,
If you are looking to set any controller as a default controller in your project like when open any website generally Index controller call automatically. For example you want to run "Project Controller" instead of "Wel
This tutorial will help you to generate a PDF file in Android. Follow below steps to generate PDF file.
Step 1 :- First download .jar files from following URL and put it into your application's libs folder.
Download URL:- https://www.dr
In OpenERP first, create custom module and than override the function in .py file in custom module and pass this file to the __init__.py file. Then get the correct line residual amount and pass this line in account invoice. using thi
Step 1. Build your server
you can install the openssh-server during the install procedure or install subsequently depending on your preference.
<pre>sudo apt-get install openssh-server denyhosts</pre>
Now make sure you are running all
Api.depends will trigger the call to the decorated function if any of the fields specified in the decorator is altered by ORM or changed in the form:
In below code you can use in your .py file.
@api.depends('name', 'an_other_field')
def afun(self):