
Search In
Welcome to this blog.
Today we are going to discuss non-default themes in magento. We all knows magento is a powerful eCommerce platform where you can easily build your stores. If you want to work on magento then you need to understand it's file str
In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder.
profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py
Hi Friends,
Rails provides several methods for fetching single object from table, one of the method is find_by. It fetches the first record in the table matching some specific conditions. Example can be if we want to fetch the first blog with title "
Hello Readers!
Here in this blog I am gonna to explain you about the Ribbon banner using pure CSS. As Images are used in web pages to make them look more interactive and appealing but it takes little time of user while image is loading in the backgro
Sometimes we need a checkbox to verify that a user has check or uncheck to give answer to some question/statement in yes/no.
As we know that the default checkbox is not so attractive, so we add our style to make a custom checkbox.
So today we will
To add a separator line separator string is used, below us the way to do this.
Go to .xml file and use the below code .
<separator string="Session" colspan="4"/>
<field name="session" nolabel="1">
<tree>
<field name="name"/>
Suppose you have two strings and you need if they contains same words. Then in this case you have to use 'strName.indexOf' function.
Let's consider the example below:-
var MyString= "I'm explaining string match on findnerd portral";
var Find = My
To randomly select any single record in MySQL you need to execute the following MySQL statement:
select * from tablename order by rand() limit 1
The above statement returns a single record randomly.
For multiple records you need to execute the
In record data is accessible via the read() method, which takes a list of ids (as returned by search()) and optionally a list of fields to fetch.
ids = models.execute_kw(db, uid, password,
'res.partner', 'search',
[[['is_company', '=', True]
To achieve the oldest cache time first you have to install point of sale module and inherit the pos_config class in your own module and fetch cache ids in pos_config class and then use this function in your own module.
@api.depends('cache_ids')
