SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
Tryton SugarCRM Integration
Documentation
Release 2.6.1.0
Openlabs Technologies and Consulting (P) Ltd.
July 08, 2013
CONTENTS
1 Installing trytond-sugarcrm module 1
1.1 Installation from source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Installation from PYPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Configuring SugarCRM settings 5
2.1 Configure SugarCRM account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Cron for importing Opportunities from SugarCRM . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Import Opportunities from SugarCRM 7
3.1 Opportunities are imported as Parties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Understanding the import mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 Using Attachments 11
4.1 Accessing Attachments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5 About Openlabs Technologies & Consulting (P) Limited 15
5.1 About Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.2 Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
i
CHAPTER
ONE
INSTALLING TRYTOND-SUGARCRM MODULE
The steps below describes the process of installing the module on a tryton instance.
1.1 Installation from source code
Installing dependency
1. The module depends on a python module which can be downloaded from here.
2. The module can be downloaded as a zip or can be cloned by running
git clone https://github.com/sugarcrm/python_webservices_library.git
3. If the module is downloaded as a zip, extract the module which will give a directory.
4. From the module directory, use the setup.py script with the command:
python setup.py install
Installing tryton dependency module
1. This module depends on another non standard tryton module party_communication.
2. The module can be downloaded as a zip or can be cloned by running
hg clone https://bitbucket.org/zikzakmedia/trytond-party_communication
3. If the module is downloaded as a zip, extract the module which will give a directory.
4. From the module directory, use the setup.py script with the command:
python setup.py install
Installing tryton module
1. The module source is available online and can be downloaded from here.
2. The module can be downloaded as a zip or can be cloned by running
git clone https://github.com/openlabs/trytond-sugarcrm.git
3. If the module is downloaded as a zip, extract the module which will give a directory.
4. From the module directory, use the setup.py script with the command:
python setup.py install
5. The command above makes the module available for use by tryton server instance in a database.
1
Tryton SugarCRM Integration Documentation, Release 2.6.1.0
6. The module can be installed in a tryton database by following to menu:
Administration > Modules > Modules
7. This should show the modules list screen as below:
8. Install the module as shown below:
Step 1
2 Chapter 1. Installing trytond-sugarcrm module
Step 2
Step 3
1.2 Installation from PYPI
TODO
Configure SugarCRM account
1.2. Installation from PYPI 3
CHAPTER
TWO
CONFIGURING SUGARCRM SETTINGS
The module should be configured with the REST API URL of the SugarCRM instance. The username and password
of a user with sufficient access privileges is also required. This user can simply be the admin user.
2.1 Configure SugarCRM account
Menu: Party > Configuration > SugarCRM Configuration
Tip: Last import time indicates the last date time at which the opportunities were imported from SugarCRM to
Tryton.
2.2 Cron for importing Opportunities from SugarCRM
Menu: Administration > Scheduler > Scheduled Actions
Open the selected cron with name Import SugarCRM Opportunities.
4
Tryton SugarCRM Integration Documentation, Release 2.6.1.0
The details are described below:
• Interval Number and Interval Unit: These fields together make up the interval duration of this cron. By
default, it is set to 1 Day. This means that the import takes place once in a day. You could increase or decrease
the frequency by changing Interval Number, Interval Unit.
• Next Call: Indicates the date and time in which the import from Sugar will happen the next time. You could
change this time if you want to prepone or delay the import.
Tip: You need not change the time here to make a quick manual import. You could go back into configuration and
click on the Import button instead.
Tip: If the time of import just does not seem right to you, check your timezone in the preferences. Tryton displays
times in the timezone set in the preferences of the user.
5 Chapter2. ConguringSugarCRMsettings
CHAPTER
THREE
IMPORT OPPORTUNITIES FROM SUGARCRM
This section explains how the import of opportunities from SugarCRM will represent itself on Tryton.
Note: All the data represented below is demo data and is only for demonstration purposes.
3.1 Opportunities are imported as Parties
Only opportunities in the Closed Won state are imported in Tryton. This is periodically done by the Tryton CRON
system. The default interval between two imports is a day, but can be modified to your requirements. Cron for
importing Opportunities from SugarCRM.
Opportunities in SugarCRM
Opportunities imported as Parties in Tryton
Menu: Party > Parties
6
Tryton SugarCRM Integration Documentation, Release 2.6.1.0
Opportunity View in SugarCRM
Party in Tryton
7 Chapter3. ImportOpportunitiesfromSugarCRM
3.2 Understanding the import mappings
• Opportunities in ‘Closed Won‘ state are imported as Parties
• Accounts related to Opportunity are imported as addresses.
• Billing and Shipping addresses on each account are imported as addresses.
• Contacts related to the Opportunity are also imported as addresses.
• Any phone, fax, email or website linked to Account or Contact are imported as contact mechanisms.
• Any documents attached to Opportunity, Account or Contact are imported as attachments. It can be ac-
cessed as shown in section Accessing Attachments
3.2. Understandingtheimportmappings 8
CHAPTER
FOUR
USING ATTACHMENTS
4.1 Accessing Attachments
Below is a party record with a document attached.
Click the icon highlighted above to see the list of all attachments:
9
Tryton SugarCRM Integration Documentation, Release 2.6.1.0
Click on the icon highlighted above to open the document directly:
10 Chapter4. Using Attachments
4.1. Accessing Attachments 11
CHAPTER
FIVE
ABOUT OPENLABS TECHNOLOGIES & CONSULTING (P) LIMITED
5.1 About Us
Openlabs designs and delivers technology enabled innovative business solutions that address the needs of small and
medium enterprises. We are a team of technology enthusiasts working with customers for developing intriguing tech-
nology applications. Our goal is to create solutions that are exploratory, educational and inspirational. Our previous
efforts include nereid, Poweremail, Magento OpenERP integration & Callisto modules for OpenERP, Tryton and
Python based applications.
5.2 Contact Us
Contributions and suggestions to improve the module are always welcome, courtesy to the truly 100% Open Source
nature of the software. Developers can ping us or fork our repository for any suggestions or contributions to the
module. Customers needing assistance for implementation of the module can drop a mail or call us. The mails are
required to be directed at support@openlabs.co.in, while the dialling is to be restricted to this number, +1 813 793
6736 in order to reach us.
12

Más contenido relacionado

Similar a Trytond-SugarCRM integration

Magento 2 Spam and Bot Blocker
Magento 2 Spam and Bot BlockerMagento 2 Spam and Bot Blocker
Magento 2 Spam and Bot BlockerMageAnts
 
Toogas Featured Popup - Magento Extension
Toogas Featured Popup - Magento ExtensionToogas Featured Popup - Magento Extension
Toogas Featured Popup - Magento ExtensionToogas Lda.
 
Creating first project in mikroC PRO for 8051
Creating first project in mikroC PRO for 8051Creating first project in mikroC PRO for 8051
Creating first project in mikroC PRO for 8051inovabrasil
 
Patch Management Software - Administrator Guide
Patch Management Software - Administrator Guide Patch Management Software - Administrator Guide
Patch Management Software - Administrator Guide websecurity
 
Magento 2 Infinite Scroll
Magento 2 Infinite ScrollMagento 2 Infinite Scroll
Magento 2 Infinite ScrollMageAnts
 
Monitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo ScriptMonitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo ScriptMicrosoft TechNet
 
2013HT12504-Dissertation Report
2013HT12504-Dissertation Report2013HT12504-Dissertation Report
2013HT12504-Dissertation ReportSri Kumaran
 
Plc report with project
Plc report with projectPlc report with project
Plc report with projectPriya Hada
 
Magento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMagento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMageAnts
 
Daily deals for magento 2
Daily deals for magento 2Daily deals for magento 2
Daily deals for magento 2MageAnts
 
Madge Trueview/32 (GUI network management application from Madge Networks)
Madge Trueview/32 (GUI network management application from Madge Networks)Madge Trueview/32 (GUI network management application from Madge Networks)
Madge Trueview/32 (GUI network management application from Madge Networks)Ronald Bartels
 
IM Lock Cloud 2014 Users Guide
IM Lock Cloud 2014 Users GuideIM Lock Cloud 2014 Users Guide
IM Lock Cloud 2014 Users Guidecomvigo
 

Similar a Trytond-SugarCRM integration (20)

Tryton-Prestashop Integration
Tryton-Prestashop IntegrationTryton-Prestashop Integration
Tryton-Prestashop Integration
 
Magento 2 Spam and Bot Blocker
Magento 2 Spam and Bot BlockerMagento 2 Spam and Bot Blocker
Magento 2 Spam and Bot Blocker
 
Toogas Featured Popup - Magento Extension
Toogas Featured Popup - Magento ExtensionToogas Featured Popup - Magento Extension
Toogas Featured Popup - Magento Extension
 
Creating first project in mikroC PRO for 8051
Creating first project in mikroC PRO for 8051Creating first project in mikroC PRO for 8051
Creating first project in mikroC PRO for 8051
 
Simatic protool manual
Simatic protool manualSimatic protool manual
Simatic protool manual
 
MobileXPRT 2015 User Manual
MobileXPRT 2015 User ManualMobileXPRT 2015 User Manual
MobileXPRT 2015 User Manual
 
Pragma Toolkit User Manual
Pragma Toolkit User ManualPragma Toolkit User Manual
Pragma Toolkit User Manual
 
SugarMob Pro
SugarMob ProSugarMob Pro
SugarMob Pro
 
Patch Management Software - Administrator Guide
Patch Management Software - Administrator Guide Patch Management Software - Administrator Guide
Patch Management Software - Administrator Guide
 
Pb32x
Pb32xPb32x
Pb32x
 
Magento 2 Infinite Scroll
Magento 2 Infinite ScrollMagento 2 Infinite Scroll
Magento 2 Infinite Scroll
 
Monitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo ScriptMonitoring Windows Server Systems Demo Script
Monitoring Windows Server Systems Demo Script
 
2013HT12504-Dissertation Report
2013HT12504-Dissertation Report2013HT12504-Dissertation Report
2013HT12504-Dissertation Report
 
Att E
Att EAtt E
Att E
 
Plc report with project
Plc report with projectPlc report with project
Plc report with project
 
Magento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMagento 2 Countdown Timer Extension
Magento 2 Countdown Timer Extension
 
Plc report
Plc reportPlc report
Plc report
 
Daily deals for magento 2
Daily deals for magento 2Daily deals for magento 2
Daily deals for magento 2
 
Madge Trueview/32 (GUI network management application from Madge Networks)
Madge Trueview/32 (GUI network management application from Madge Networks)Madge Trueview/32 (GUI network management application from Madge Networks)
Madge Trueview/32 (GUI network management application from Madge Networks)
 
IM Lock Cloud 2014 Users Guide
IM Lock Cloud 2014 Users GuideIM Lock Cloud 2014 Users Guide
IM Lock Cloud 2014 Users Guide
 

Último

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Último (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

Trytond-SugarCRM integration

  • 1. Tryton SugarCRM Integration Documentation Release 2.6.1.0 Openlabs Technologies and Consulting (P) Ltd. July 08, 2013
  • 2. CONTENTS 1 Installing trytond-sugarcrm module 1 1.1 Installation from source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Installation from PYPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Configuring SugarCRM settings 5 2.1 Configure SugarCRM account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Cron for importing Opportunities from SugarCRM . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 Import Opportunities from SugarCRM 7 3.1 Opportunities are imported as Parties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Understanding the import mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 Using Attachments 11 4.1 Accessing Attachments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5 About Openlabs Technologies & Consulting (P) Limited 15 5.1 About Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.2 Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 i
  • 3. CHAPTER ONE INSTALLING TRYTOND-SUGARCRM MODULE The steps below describes the process of installing the module on a tryton instance. 1.1 Installation from source code Installing dependency 1. The module depends on a python module which can be downloaded from here. 2. The module can be downloaded as a zip or can be cloned by running git clone https://github.com/sugarcrm/python_webservices_library.git 3. If the module is downloaded as a zip, extract the module which will give a directory. 4. From the module directory, use the setup.py script with the command: python setup.py install Installing tryton dependency module 1. This module depends on another non standard tryton module party_communication. 2. The module can be downloaded as a zip or can be cloned by running hg clone https://bitbucket.org/zikzakmedia/trytond-party_communication 3. If the module is downloaded as a zip, extract the module which will give a directory. 4. From the module directory, use the setup.py script with the command: python setup.py install Installing tryton module 1. The module source is available online and can be downloaded from here. 2. The module can be downloaded as a zip or can be cloned by running git clone https://github.com/openlabs/trytond-sugarcrm.git 3. If the module is downloaded as a zip, extract the module which will give a directory. 4. From the module directory, use the setup.py script with the command: python setup.py install 5. The command above makes the module available for use by tryton server instance in a database. 1
  • 4. Tryton SugarCRM Integration Documentation, Release 2.6.1.0 6. The module can be installed in a tryton database by following to menu: Administration > Modules > Modules 7. This should show the modules list screen as below: 8. Install the module as shown below: Step 1 2 Chapter 1. Installing trytond-sugarcrm module
  • 5. Step 2 Step 3 1.2 Installation from PYPI TODO Configure SugarCRM account 1.2. Installation from PYPI 3
  • 6. CHAPTER TWO CONFIGURING SUGARCRM SETTINGS The module should be configured with the REST API URL of the SugarCRM instance. The username and password of a user with sufficient access privileges is also required. This user can simply be the admin user. 2.1 Configure SugarCRM account Menu: Party > Configuration > SugarCRM Configuration Tip: Last import time indicates the last date time at which the opportunities were imported from SugarCRM to Tryton. 2.2 Cron for importing Opportunities from SugarCRM Menu: Administration > Scheduler > Scheduled Actions Open the selected cron with name Import SugarCRM Opportunities. 4
  • 7. Tryton SugarCRM Integration Documentation, Release 2.6.1.0 The details are described below: • Interval Number and Interval Unit: These fields together make up the interval duration of this cron. By default, it is set to 1 Day. This means that the import takes place once in a day. You could increase or decrease the frequency by changing Interval Number, Interval Unit. • Next Call: Indicates the date and time in which the import from Sugar will happen the next time. You could change this time if you want to prepone or delay the import. Tip: You need not change the time here to make a quick manual import. You could go back into configuration and click on the Import button instead. Tip: If the time of import just does not seem right to you, check your timezone in the preferences. Tryton displays times in the timezone set in the preferences of the user. 5 Chapter2. ConguringSugarCRMsettings
  • 8. CHAPTER THREE IMPORT OPPORTUNITIES FROM SUGARCRM This section explains how the import of opportunities from SugarCRM will represent itself on Tryton. Note: All the data represented below is demo data and is only for demonstration purposes. 3.1 Opportunities are imported as Parties Only opportunities in the Closed Won state are imported in Tryton. This is periodically done by the Tryton CRON system. The default interval between two imports is a day, but can be modified to your requirements. Cron for importing Opportunities from SugarCRM. Opportunities in SugarCRM Opportunities imported as Parties in Tryton Menu: Party > Parties 6
  • 9. Tryton SugarCRM Integration Documentation, Release 2.6.1.0 Opportunity View in SugarCRM Party in Tryton 7 Chapter3. ImportOpportunitiesfromSugarCRM
  • 10. 3.2 Understanding the import mappings • Opportunities in ‘Closed Won‘ state are imported as Parties • Accounts related to Opportunity are imported as addresses. • Billing and Shipping addresses on each account are imported as addresses. • Contacts related to the Opportunity are also imported as addresses. • Any phone, fax, email or website linked to Account or Contact are imported as contact mechanisms. • Any documents attached to Opportunity, Account or Contact are imported as attachments. It can be ac- cessed as shown in section Accessing Attachments 3.2. Understandingtheimportmappings 8
  • 11. CHAPTER FOUR USING ATTACHMENTS 4.1 Accessing Attachments Below is a party record with a document attached. Click the icon highlighted above to see the list of all attachments: 9
  • 12. Tryton SugarCRM Integration Documentation, Release 2.6.1.0 Click on the icon highlighted above to open the document directly: 10 Chapter4. Using Attachments
  • 14. CHAPTER FIVE ABOUT OPENLABS TECHNOLOGIES & CONSULTING (P) LIMITED 5.1 About Us Openlabs designs and delivers technology enabled innovative business solutions that address the needs of small and medium enterprises. We are a team of technology enthusiasts working with customers for developing intriguing tech- nology applications. Our goal is to create solutions that are exploratory, educational and inspirational. Our previous efforts include nereid, Poweremail, Magento OpenERP integration & Callisto modules for OpenERP, Tryton and Python based applications. 5.2 Contact Us Contributions and suggestions to improve the module are always welcome, courtesy to the truly 100% Open Source nature of the software. Developers can ping us or fork our repository for any suggestions or contributions to the module. Customers needing assistance for implementation of the module can drop a mail or call us. The mails are required to be directed at support@openlabs.co.in, while the dialling is to be restricted to this number, +1 813 793 6736 in order to reach us. 12