
Search In
Hello Reader's if you are making the website and you want to create a switch which convert thumb view into listing and listing view in thumb view then you take the help from the code as below:-
Here is the html page and code will go like this:-
<
Sometimes we need to disable trigger on a table especially when performing admin tasks on a table. Following commands provide a quick way to disable all the triggers for a table. Please note
that when we are diabling triggers on a table we will ha
Cloning of Object using jQuery
For cloning any any object using jQuery, jQuery provides clone() method which is performing a deep copy of the set of matched elements i.e clone method not only copies the matched elements but also all descendant eleme
In SharePoint, each project has its own tasks, assignments, team members etc.While creating projects in SharePoint we have to also create its tasks, assignments, team members and custom fields.
Here below is the sample code for creating tasks in pro
If you want to put the invoice link and partner_id on the account_move follow the following code :
invoice_id = fields.Many2one('account.invoice', oldname="invoice")
partner_id = fields.Many2one('res.partner', string='Partner', index=True, ond
If you want to check and complete value of journal entry method 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 t
How to display the directions between to locations in google map?
The easiest way for adding driving directions to the webpage is to create a map and then create a DIV for the directions panel, and fire off a query to it!
Here's a very basic ex
Enterprise Custom Fields includes custom formula and lookup tables. We can create CustomField programmatically either from CSOM or PSI. Here below is the example of creating CustomField using CSOM.
Microsoft.ProjectServer.Client.CustomFieldCreation
CONCAT function is mysql plays a vital role. The CONCAT() function combine or concatenate the list of strings together .
We have 2 types of concat function ->
CONCAT() – This function will concate list of string together without any sepa
In Odoo first, we have to create own modules and then create a function to find the BOM in our own modules.
After this, we will search product on the basis of the product_tmpl_id and relate it to the BOM.
Here, product_uom is the Unit of mea
