Search 1.9 billion lines of Odoo code on GitHub

sbc_switzerland

Author: Compassion CH
License: AGPL-3
Branch: 10.0-emanuel
Repository: ecino/compassion-switzerland
Dependencies: child_switzerland, contract_compassion, mysql_connector, partner_communication_switzerland, partner_compassion, queue_job, and sbc_compassion
Languages: PO File (31, 1.7%), Python (1210, 68.1%), XML (495, 27.8%), and reStructuredText (42, 2.4%)
Other branches: 12.0-donation-fixes, CO-3615, CS-741, correspondence-fields, fix-name-inversion, generation-wizard, hold-postpone, mailchimp, mailchimp-merge, migration-fixes, my-accountPLUSonboarding, onboarding-process, onboarding-wrpr, product-ref, and signature
Other repositories: Alaggaerion/compassion-switzerland, CompassionCH/compassion-switzerland, Grazia976/compassion-switzerland, Nooka10/compassion-switzerland, Quillasp/compassion-switzerland, SylvainLosey/compassion-switzerland, Theyiot/compassion-switzerland, WithPrice/compassion-switzerland, c-meier/compassion-switzerland, cmtCousteau/compassion-switzerland, cokotracy/compassion-switzerland, consultingerp/theme_crowdfunding, davidwul/compassion-switzerland, eicher31/compassion-switzerland, jklay/compassion-switzerland, joblo-compassion/compassion-switzerland, jonathantarabbia/compassion-switzerland, josueBulle/compassion-switzerland, maxime-beck/compassion-switzerland, nbornand/compassion-switzerland, nfluckiger/compassion-switzerland, quentingigon/compassion-switzerland, samuel-fringeli/compassion-switzerland, samybucher/compassion-switzerland, simhayoz/compassion-switzerland, suningwz/compassion-switzerland, vidtsin/compassion-switzerland, vwvw/compassion-switzerland, and wvmrtn/compassion-switzerland

<img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="sponsor-to-beneficiary-for-switzerland"></a> <h2>Sponsor to beneficiary for Switzerland</h2> <p>This module tailors letters import for reading PDFs from the NAS. It adds option to import letters with import configuration and option to select multiple letters on import.</p> <p>It also manage the Swiss translation platform for letters that need translation</p> <a name="configuration"></a> <h2>Configuration</h2> <p>WARNING: You must install detectlanguage library on your server. It's used to detect language from a text. <a class="reference external" href="https://github.com/detectlanguage/detectlanguage-python">https://github.com/detectlanguage/detectlanguage-python</a></p> <p>pip install detectlanguage</p> <p>Add the following parameters to your Odoo configuration file:</p> <ul class="simple"> <li><code>detect_language_api_key</code> : api key for use detectlanguage library</li> <li><code>smb_user</code> : user for connecting on the NAS of Compassion with Samba</li> <li><code>smb_pwd</code> : password for Samba</li> <li><code>smb_ip</code> : IP address of the NAS of Compassion</li> <li><code>smb_port</code> : Samba port of the NAS</li> </ul> <a name="usage"></a> <h2>Usage</h2> <p>Used by the onramp_compassion module to send an email on reception of a new child letter.</p> <p>The letter is sent to the sponsor's email address, using a SendGrid email template corresponding to the sponsor's language. Templates for every language have to be registered in the TemplateList model after creating them on the <a class="reference external" href="https://sendgrid.com/templates">SendGrid web interface</a>.</p> <p>The template should contain the following substitution variables which will be replaced with corresponding values:</p> <ul class="simple"> <li><code>{sponsor}</code> Full name of the sponsor</li> <li><code>{child}</code> First name of the child</li> <li><code>{letter_url}</code> URL where the letter can be viewed/downloaded</li> </ul> <a name="credits"></a> <h2>Credits</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Emanuel Cino &lt;<a class="reference external" href="mailto:ecino&#64;compassion.ch">ecino&#64;compassion.ch</a>&gt;</li> <li>Stéphane Eicher &lt;<a class="reference external" href="mailto:eicher31&#64;hotmail.com">eicher31&#64;hotmail.com</a>&gt;</li> <li>Michaël Sandoz &lt;<a class="reference external" href="mailto:sandozmichael&#64;hotmail.com">sandozmichael&#64;hotmail.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h3>Maintainer</h3> <p>This module is maintained by <a class="reference external" href="https://www.compassion.ch">Compassion Switzerland</a>.</p>