
Search In
If you want to perform all checks on lines in Odoo follow the following code:
if 'account_id' not in vals or 'journal_id' not in vals:
raise UserError(_("It is mandatory to specify an account and a journal to create a write-off."))
For this you have to install these modules :-
views
geophp
geocoder
geofield
addressfield
libraries
leaflet
Creating PDF from HTML in rails
Hi friends,
In rails if you want to generate a pdf, there are multiple gems available that will make your task easy. Normally the approach for creating a pdf will be first create a html template and then convert that
Hello reader's in this blog we will discuss about the blend modes in CSS3, by the use of blend mode you can create some artistic look to images and text for the websites without using photoshop you can modify the images.
With CSS3 blend mode we
Different kind of content is hold by wordpress. From that content a single item is known as post, in spite of the fact that post is also post type in a particular place all the post are placed i.e. it resides in the wp_post data table, by post_type c
Hello Readers!
Online shopping is a very common thing to do nowadays. We all must have tried our hands on it some time. It does save our money, and of course, a lot of time.
Whenever we shop a product, we are made to go through various steps before
Hi there.
In a web page, we get a particular message for a particular action. For example, after completing a form, you receive a success message; on entering a wrong password, you receive a warning/error message etc. Thus, we know already if w
The md-switch which is a Angular directive can be used to show a switch in your angular application.
These are the attributes:
* ng-model - bind data.
name - It is the name of property in the form under which the control is published.
ng-
Am working on a coding exercise which I am somewhat confused on how to implement a solution.
According to the JavaDoc, I have to implement this EmployeeManager interface.
Presume that employee data arrives in a separate thread from other requ
Need a help in appactivity crash issue My code is:
package wallet.ask.com.abcd;
import android.app.ProgressDialog;
import android.graphics.Color;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle
