Microsoft Dynamics Improves Information Interface

Microsoft Dynamics Improves Information Interface

The greater part of the organizations and foundations are working towards making their condition better without paper zone; this implies a wide range of information is put away and traded through virtual or electronic means. This spares these foundations from the danger of information misfortune, mess amassing, physical space use and from adding to the contamination. Microsoft Dynamics CRM now has a superior and more […]

Read More

How to Make Scheduler to Execute an Action on Given Duration?

How to Make Scheduler to Execute an Action on Given Duration?

Subject : Scheduler i.e.cron-job by application(Automated Action). Related: In Application, Automated Scheduled action will run on given time duration and number of execution between the duration. Descriptions: We can make scheduler to execute any action on given duration and number of execution between the date time. Example: In below example, we are creating on schedule which is of hr.employee. That means scheduler will execute method […]

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

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 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

How Invoicing Software Benefits your Business

How Invoicing Software Benefits your Business

Invoicing software is a basic apparatus for any small, enormous or medium size venture. The software engages the entrepreneurs by permitting them the adaptability to run their mind boggling accounting without breaking a sweat. It permits you to rapidly react to the changing elements of internet showcasing. Specific software is accessible in the market for extensive and little associations, and furthermore for consultants. In any […]

Read More

Start Server with Particular Database without showing list of Databases

how to Start Server with Particular Database without showing a list of Databases (Login page with database selection option) For database security purpose, sometimes we need end users just to login with their respective credentials without selecting database name from database dropdown list. For this Purpose, we need to write additional options when starting up with the server i.e –db-filter and -d.   ./odoo.py –addons=addons/,/opt/odoo-9_server/Pettols/pettools/ –xmlrpc-port=8000 […]

Read More

How to see subordinate’s leave and Time sheets with Record Rule?

How to see subordinate’s leave and Time sheets with Record Rule?

Take employee_ids as One2many Field of hr_employee in res_users class. Inverse field should exist in hr_employee class. Reporting person of that employee should able see his respective leaves and Time sheet submitted by that employee. Have 2 fields in hr_employee class that employee hr manager and reporting manager who have access to see his subordinate’s leaves and time sheet. As, In res_users class fields are” […]

Read More

How to Generate Report Using xlswriter Module in Python?

How to Generate Report Using xlswriter Module in Python?

How to Generate Report Using xlswriter Module in Python? import xlsxwriter # Create a workbook and add a worksheet. workbook = xlsxwriter.Workbook(‘ExcelTutorial.xlsx’) worksheet = workbook.add_worksheet() # Some random data we want to insert into our excel expenses = ( [‘A’, 1000], [‘B’,   100], [‘C’,  300], [‘D’,    50], ) # Start from the first cell. Rows and columns are zero indexed. row = 0 col = […]

Read More