How To Create Deal From External Services Using Webhook?

How To Create Deal From External Services Using Webhook?

Today we will see how to check contact which already exist in Bitrix: If exist then create New deal with existing contact. If Not exist then create contact and deal associate with it. Step 1  First we need to genrate key using webhook. To genrate key: Applications->Web Hooks->Add web hook->inbound webhook->click CRM checkbox->Save Step 2  Then Add following code in your website contact us page. […]

Read More

How To Make Url Encryption And Decryption Using Php?

How To Make Url Encryption And Decryption Using Php?

Encryption is the most convenient way to pass variables to the next page through URL. e.g. index.php?id=3 This URL shows the value of id, so it will be vulnerable we need to encode it for security purpose. urlencode(string) : This PHP function is Encodes a string to be used in a query part of a URL. URL encoding is used when placing text in a […]

Read More

How to Set limit to Compare product in Magento 2?

How to Set limit to Compare product in Magento 2?

As we know that in magento 2 we can add as many product to compare, but in this case we can set limit and add only 4 products in compare section so that it would be easy to compare and check two products. Step 1 : Create a module named as app/code/Company/Catalog Step 2 : Create Registration.php Step 3 : Create a file inside following […]

Read More

Decorators and Its Utility in Odoo?

Decorators and Its Utility in Odoo?

A decorator is a function that takes a function as input and returns a function. The anatomy of the decorator is: @decorator-expression Function-definition Decorator-expression is an expression that returns a callable thing. The callable thing has to take a single argument. Function definition is a function definition (it, therefore, must begin with def). In older version of odoo, we use a cursor, uid, context and ids […]

Read More

How to Make Configuration Wizard for Application Settings

How to Make Configuration Wizard for Application Settings

It provides support for setting default values, assigning groups to employee users, and installing modules. To make such a ‘settings’ wizard, define a model like: class my_config_wizard(osv.osv_memory): _name = ‘my.settings’ _inherit = ‘res.config.settings’ _columns = { ‘default_foo’: fields.type(…, default_model=’my.model’), ‘group_bar’: fields.boolean(…, group=’base.group_user’,  implied_group=’my.group’), ‘module_baz’: fields.boolean(…), ‘other_field’: fields.type(…), } The method “execute“ provides some support based on a naming convention: For a field like ‘default_XXX’, “execute“ sets the (global) default value of the field ‘XXX’ in the model named by “default_model“ to the field’s value. E:g- “default_sale_tax_id” in account.config.settings allows you to set default taxes for sale. For a selection field like ‘group_XXX’ composed of 2 integers values (‘0’ and ‘1’), “execute“ adds/removes ‘implied_group’ to/from the implied groups of ‘group’, depending on the field’s value. E.g-”group_product_variant” in purchase.config.the setting allows you to define some variant of the same products if Checked. For a boolean field like ‘module_XXX’, “execute“ triggers the immediate installation of the module named ‘XXX’ if the field has value “True“. E.g-”module_crm_voip” in sale.config.setting if checked then it leads to installation of VOIP module. For a selection field like ‘module_XXX’ composed of 2 integers values (‘0’ and                                            ‘1’),“execute“ triggers the immediate installation of the module named ‘XXX’ if the field has the integer value “1“. *   For the other fields, the method “execute“ invokes all methods with a name that starts with ‘set_’; such methods can be defined to implement the effect of those fields. In View file add ‘oe_form_configuration’ class to the <form> tag. Contact Us for Customized ERP Solutions

Read More

How To Inherit JS In Xml?

How To Inherit JS In Xml?

Add custom css and javascript files in odoo.   Topic-1:Adding static resources (CSS and JavaScript) to Odoo Example : Creating the XML   The first step is to create a new XML file in your custom module. Create a new XML file under yourModuleName/views, like this: New XML file Now the first thing to do is to tell __openerp__.py that you’ve added this new XML […]

Read More

How To Get Emails Using Python And Imaplib

How To Get Emails Using Python And Imaplib

Below is the process of getting mails using python & imaplib Read on   1)connecting to mail server- import imaplib import email imap_server = imaplib.IMAP4_SSL(“server_name”,port) #Example:address of gmails imap server- imap.gmail.com:993 Imap_server.list() #this returns list of all labels/folders in email imap_server.login(username, password)# if successful login will return (‘OK’, [‘Logged in’])     Fetching mails from server – #Here we will be fetching unread mails. Imap_server.select(“Inbox”)#we […]

Read More

Decoding & Setting Up Image Display in Template

Decoding & Setting Up Image Display in Template

Subject : Display Images in Email (send using Templates). Related : Send Email using Templates via applications. Descriptions: We can send email using email template to the custom. That time suppose we have company logo then we would like to image display  logo in email. Sometimes image will not show in email or display in broken format. For that, we have to use python base64 […]

Read More

How Customized ERP Software Enhances Efficiency of an Enterprise?

How Customized ERP Software Enhances Efficiency of an Enterprise?

In today’s competitive world enterprises are utilizing different methodologies to stay ahead in the business along with. ERP software is such a solution suitable for small and medium enterprises which helps them in saving time and money. Still some ventures are skeptical about implementing and integrating Enterprise resource planning in their business structure due to the price tag it comes with. But they fail to […]

Read More

Purchase Management Software An Integral Part Of ERP

Purchase Management Software An Integral Part Of ERP

The IT methodology of an association concentrates on conveying IT systems and solutions to various capacities to catch the cost preferences empowered by those systems. Every capacity may have the expert to choose the zones to be robotized in conference with IT office. On the other hand, associations may convey ERP based systems that incorporates the entire association. The part of acquiring is viewed as […]

Read More