#!/usr/bin/env python # -*- coding: utf-8 -*- MISC_HTML_SOURCE = """ test1
test2
test3
test4
test5
test6
  1. test9
  2. test10
test11
test12

google test link """ EDI_LIKE_HTML_SOURCE = """

Hello ${object.partner_id.name},

A new invoice is available for you:

  REFERENCES
  Invoice number: ${object.number}
  Invoice total: ${object.amount_total} ${object.currency_id.name}
  Invoice date: ${object.date_invoice}
  Order reference: ${object.origin}
  Your contact: ${object.user_id.name}


It is also possible to directly pay with Paypal:


If you have any question, do not hesitate to contact us.

Thank you for choosing ${object.company_id.name or 'us'}!



${object.company_id.name}

${object.company_id.street}
${object.company_id.street2}
${object.company_id.zip} ${object.company_id.city}
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
Phone:  ${object.company_id.phone}
Web : ${object.company_id.website}
""" OERP_WEBSITE_HTML_1 = """

OpenERP HR Features

Manage your company most important asset: People

Streamline Recruitments

Post job offers and keep track of each application received. Follow applicants in your recruitment process with the smart kanban view.

Save time by automating some communications with email templates. Resumes are indexed automatically, allowing you to easily find for specific profiles.

Enterprise Social Network

Break down information silos. Share knowledge and best practices amongst all employees. Follow specific people or documents and join groups of interests to share expertise and documents.

Interact with your collegues in real time with live chat.

Leaves Management

Keep track of the vacation days accrued by each employee. Employees enter their requests (paid holidays, sick leave, etc), for managers to approve and validate. It's all done in just a few clicks. The agenda of each employee is updated accordingly.

""" OERP_WEBSITE_HTML_1_IN = [ 'Manage your company most important asset: People', 'img class="img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"', ] OERP_WEBSITE_HTML_1_OUT = [ 'Break down information silos.', 'Keep track of the vacation days accrued by each employee', 'img class="img-rounded img-responsive" src="/website/static/src/img/deers_thumb.jpg', ] OERP_WEBSITE_HTML_2 = """

OpenERP Project Management

Infinitely flexible. Incredibly easy to use.

OpenERP's collaborative and realtime project management helps your team get work done. Keep track of everything, from the big picture to the minute details, from the customer contract to the billing.

Organize projects around your own processes. Work on tasks and issues using the kanban view, schedule tasks using the gantt chart and control deadlines in the calendar view. Every project may have it's own stages allowing teams to optimize their job.

Manage Your Shops

OpenERP's Point of Sale introduces a super clean interface with no installation required that runs online and offline on modern hardwares.

It's full integration with the company inventory and accounting, gives you real time statistics and consolidations amongst all shops without the hassle of integrating several applications.

Enterprise Social Network

Make every employee feel more connected and engaged with twitter-like features for your own company. Follow people, share best practices, 'like' top ideas, etc.

Connect with experts, follow what interests you, share documents and promote best practices with OpenERP Social application. Get work done with effective collaboration across departments, geographies and business applications.

Our Porfolio

More than 500 successful projects

""" OERP_WEBSITE_HTML_2_IN = [ 'management helps your team get work done', ] OERP_WEBSITE_HTML_2_OUT = [ 'Make every employee feel more connected', 'img class="img-responsive shadow" src="/website/static/src/img/text_image.png', ] TEXT_1 = """I contact you about our meeting tomorrow. Here is the schedule I propose: 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ? -- MySignature""" TEXT_1_IN = ["""I contact you about our meeting tomorrow. Here is the schedule I propose: 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ?"""] TEXT_1_OUT = ["""-- MySignature"""] TEXT_2 = """Salut Raoul! Le 28 oct. 2012 à 00:02, Raoul Grosbedon a écrit : > I contact you about our meeting tomorrow. Here is the schedule I propose: (quote) Of course. This seems viable. > 2012/10/27 Bert Tartopoils : >> blahblahblah (quote)? >> >> blahblahblah (quote) >> >> Bert TARTOPOILS >> bert.tartopoils@miam.miam >> > > > -- > RaoulSignature Bert TARTOPOILS bert.tartopoils@miam.miam """ TEXT_2_IN = ["Salut Raoul!", "Of course. This seems viable."] TEXT_2_OUT = ["I contact you about our meeting tomorrow. Here is the schedule I propose: (quote)", """> 2012/10/27 Bert Tartopoils : >> blahblahblah (quote)? >> >> blahblahblah (quote) >> >> Bert TARTOPOILS >> bert.tartopoils@miam.miam >> > > > -- > RaoulSignature"""] HTML_1 = """

I contact you about our meeting for tomorrow. Here is the schedule I propose: (keep) 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ? -- MySignature

""" HTML_1_IN = ["""I contact you about our meeting for tomorrow. Here is the schedule I propose: (keep) 9 AM: brainstorming about our new amazing business app 9.45 AM: summary 10 AM: meeting with Ignasse to present our app Is everything ok for you ?"""] HTML_1_OUT = ["""-- MySignature"""] HTML_2 = """
I contact you about our meeting for tomorrow. Here is the schedule I propose:
Is everything ok for you ?
""" HTML_2_IN = ["I contact you about our meeting for tomorrow. Here is the schedule I propose:", "
  • 9 AM: brainstorming about our new amazing business app
  • ", "
  • 9.45 AM: summary
  • ", "
  • 10 AM: meeting with Fabien to present our app
  • ", "Is everything ok for you ?"] HTML_2_OUT = [] HTML_3 = """
    This is an answer.
    
    Regards,
    XXXXXX
    ----- Mail original -----
    Hi, 
    
    
    My CRM-related question.
    
    Regards, 
    
    XXXX
    """ HTML_3_IN = ["""
    This is an answer.
    
    Regards,
    XXXXXX
    ----- Mail original -----
    """] HTML_3_OUT = ["Hi,", "My CRM-related question.", "Regards,"] HTML_4 = """
    Hi Nicholas,

    I'm free now. 00447710085916.

    Regards,
    Nicholas

    From: OpenERP Enterprise <sales@openerp.com>
    Reply-To: <sales@openerp.com>
    Date: Wed, 17 Apr 2013 13:30:47 +0000
    To: Microsoft Office User <n.saxlund@babydino.com>
    Subject: Re: your OpenERP.com registration

    Hello Nicholas Saxlund,

    I noticed you recently registered to our OpenERP Online solution.

    You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?

    Best regards,

    http://openerp.com
    Belgium: +32.81.81.37.00
    U.S.: +1 (650) 307-6736
    India: +91 (79) 40 500 100
                            
    """ HTML_5 = """
    Hi,
    
    I have downloaded OpenERP installer 7.0 and successfully installed the postgresql server and the OpenERP.
    I created a database and started to install module by log in as administrator.
    However, I was not able to install any module due to "OpenERP Server Error" as shown in the attachement.
    Could you please let me know how could I fix this problem?
    
     Regards,
    Goh Sin Yih
    
    
    ________________________________
     From: OpenERP Enterprise <sales@openerp.com>
    To: sinyih_goh@yahoo.com 
    Sent: Friday, February 8, 2013 12:46 AM
    Subject: Feedback From Your OpenERP Trial
     
    
    Hello Goh Sin Yih, 
    Thank you for having tested OpenERP Online. 
    I noticed you started a trial of OpenERP Online (gsy) but you did not decide to keep using it. 
    So, I just wanted to get in touch with you to get your feedback. Can you tell me what kind of application you were you looking for and why you didn't decide to continue with OpenERP? 
    Thanks in advance for providing your feedback, 
    Do not hesitate to contact me if you have any questions, 
    Thanks, 
    
    """ GMAIL_1 = """Hello,

    Ok for me. I am replying directly in gmail, without signature.

    Kind regards,

    Demo.

    On Thu, Nov 8, 2012 at 5:29 PM, <dummy@example.com> wrote:
    I contact you about our meeting for tomorrow. Here is the schedule I propose:
    • 9 AM: brainstorming about our new amazing business app</span></li>
    • 9.45 AM: summary
    • 10 AM: meeting with Fabien to present our app
    Is everything ok for you ?

    --
    Administrator


    """ GMAIL_1_IN = ['Ok for me. I am replying directly in gmail, without signature.'] GMAIL_1_OUT = ['Administrator', 'Log in our portal at:'] THUNDERBIRD_1 = """
    On 11/08/2012 05:29 PM, dummy@example.com wrote:
    I contact you about our meeting for tomorrow. Here is the schedule I propose:
    • 9 AM: brainstorming about our new amazing business app</span></li>
    • 9.45 AM: summary
    • 10 AM: meeting with Fabien to present our app
    Is everything ok for you ?

    --
    Administrator

    Log in our portal at: http://localhost:8069#action=login&db=mail_1&token=rHdWcUART5PhEnJRaXjH

    Ok for me. I am replying directly below your mail, using Thunderbird, with a signature.

    Did you receive my email about my new laptop, by the way ?

    Raoul.
    -- 
    Raoul Grosbedonnée
    
    """ THUNDERBIRD_1_IN = ['Ok for me. I am replying directly below your mail, using Thunderbird, with a signature.'] THUNDERBIRD_1_OUT = ['I contact you about our meeting for tomorrow.', 'Raoul Grosbedon'] HOTMAIL_1 = """

      I have an amazing company, i'm learning OpenERP, it is a small company yet, but plannig to grow up quickly.
     
    Kindest regards,
    xxx

    Subject: Re: your OpenERP.com registration
    From: xxx@xxx.xxx
    To: xxx@xxx.xxx
    Date: Wed, 27 Mar 2013 17:12:12 +0000

    Hello xxx,
    I noticed you recently created an OpenERP.com account to access OpenERP Apps.
    You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?
    Best regards,
                    http://openerp.com
                    Belgium: +32.81.81.37.00
                    U.S.: +1 (650) 307-6736
                    India: +91 (79) 40 500 100
                
    """ HOTMAIL_1_IN = ["I have an amazing company, i'm learning OpenERP, it is a small company yet, but plannig to grow up quickly."] HOTMAIL_1_OUT = ["Subject: Re: your OpenERP.com registration", " I noticed you recently created an OpenERP.com account to access OpenERP Apps.", "We would like to know more about your your business needs and requirements", "Belgium: +32.81.81.37.00"] MSOFFICE_1 = """

    Our requirements are simple. Just looking to replace some spreadsheets for tracking quotes and possibly using the timecard module. We are a company of 25 engineers providing product design services to clients.

    I’ll install on a windows server and run a very limited trial to see how it works. If we adopt OpenERP we will probably move to Linux or look for a hosted SaaS option.


    I am also evaluating Adempiere and maybe others.

     

    I expect the trial will take 2-3 months as this is not a high priority for us.

     

    Alan

     

    From: OpenERP Enterprise [mailto:sales@openerp.com]
    Sent: Monday, 11 March, 2013 14:47
    To: Alan Widmer
    Subject: Re: your OpenERP.com registration

     

    Hello Alan Widmer,

    I noticed you recently downloaded OpenERP.

    Uou mentioned you wish to use OpenERP in your own company. Please let me more about your business needs and requirements? When will you be available to discuss about your project?

    Thanks for your interest in OpenERP,

    Feel free to contact me if you have any questions,

    Looking forward to hear from you soon.

     

    --

    Nicolas

    http://openerp.com

    Belgium: +32.81.81.37.00

    U.S.: +1 (650) 307-6736

    India: +91 (79) 40 500 100

                           

    """ MSOFFICE_1_IN = ['Our requirements are simple. Just looking to replace some spreadsheets for tracking quotes and possibly using the timecard module.'] MSOFFICE_1_OUT = ['I noticed you recently downloaded OpenERP.', 'Uou mentioned you wish to use OpenERP in your own company.', 'Belgium: +32.81.81.37.00'] MSOFFICE_2 = """

    Nicolas,

    We are currently investigating the possibility of moving away from our current ERP

     

    Thank You

    Matt

     

    Raoul Petitpoil

    Poil Industries

    Information Technology

    920 Super Street

    Sanchez, Pa 17046 USA

    Tel: xxx.xxx

    Fax: xxx.xxx

    Email: raoul@petitpoil.com

    www.poilindustries.com

    www.superproducts.com

     

    From: OpenERP Enterprise [mailto:sales@openerp.com]
    Sent: Wednesday, April 17, 2013 1:31 PM
    To: Matt Witters
    Subject: Re: your OpenERP.com registration

     

    Hello Raoul Petitpoil,

    I noticed you recently downloaded OpenERP.

    You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?

    Best regards,

          

     

    --

    Nicolas

          http://openerp.com
          

    Belgium: +32.81.81.37.00

    U.S.: +1 (650) 307-6736

    India: +91 (79) 40 500 100

                            

    """ MSOFFICE_2_IN = ['We are currently investigating the possibility'] MSOFFICE_2_OUT = ['I noticed you recently downloaded OpenERP.', 'You indicated that you wish', 'Belgium: +32.81.81.37.00'] MSOFFICE_3 = """

    Hi Nicolas !

     

    Yes I’d be glad to hear about your offers as we struggle every year with the planning/approving of LOA.

    I saw your boss yesterday on tv and immediately wanted to test the interface.

     

    Bien à vous,

    Met vriendelijke groeten,

    Best regards,

     

    R. Petitpoil   
    Human Resource Manager

    Field Resource s.a n.v.  
    Hermesstraat 6A
    1930 Zaventem

    ( xxx.xxx  
    7 +32 2 727.05.91
    P    Please consider the environment before printing this email.

     

    De : OpenERP Enterprise [mailto:sales@openerp.com]
    Envoyé : jeudi 18 avril 2013 11:31
    À : Paul Richard
    Objet : Re: your OpenERP.com registration

     

    Hello Raoul PETITPOIL,

    I noticed you recently registered to our OpenERP Online solution.

    You indicated that you wish to use OpenERP in your own company. We would like to know more about your your business needs and requirements, and see how we can help you. When would you be available to discuss your project ?

    Best regards,

          

     

    --

    Nicolas

          http://openerp.com
          

    Belgium: +32.81.81.37.00

    U.S.: +1 (650) 307-6736

    India: +91 (79) 40 500 100

                            

    """ MSOFFICE_3_IN = ['I saw your boss yesterday'] MSOFFICE_3_OUT = ['I noticed you recently downloaded OpenERP.', 'You indicated that you wish', 'Belgium: +32.81.81.37.00'] # ------------------------------------------------------------ # Test cases coming from bugs # ------------------------------------------------------------ # bug: read more not apparent, strange message in read more span BUG1 = """
    Hi Migration Team,
    
    Paragraph 1, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Paragraph 2, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Paragraph 3, blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
    blah blah blah blah blah blah blah blah.
    
    Thanks.
    
    Regards,
    
    -- 
    Olivier Laurent
    Migration Manager
    OpenERP SA
    Chaussée de Namur, 40
    B-1367 Gérompont
    Tel: +32.81.81.37.00
    Web: http://www.openerp.com
    """ BUG_1_IN = [ 'Hi Migration Team', 'Paragraph 1' ] BUG_1_OUT = [ 'Olivier Laurent', 'Chaussée de Namur', '81.81.37.00', 'openerp.com', ] BUG2 = """



    -------- Original Message --------
    Subject: Fwd: TR: OpenERP S.A. Payment Reminder
    Date: Wed, 16 Oct 2013 14:11:13 +0200
    From: Christine Herrmann <che@openerp.com>
    To: online@openerp.com





    -------- Message original --------
    Sujet: TR: OpenERP S.A. Payment Reminder
    Date : Wed, 16 Oct 2013 10:34:45 -0000
    De : Ida Siwatala <infos@inzoservices.com>
    Répondre à : catchall@openerp.my.openerp.com
    Pour : Christine Herrmann (che) <che@openerp.com>


    Bonjour,

     

    Pourriez-vous me faire un retour sur ce point.

     

    Cordialement

     

    De : Ida Siwatala [mailto:infos@inzoservices.com]
    Envoyé : vendredi 4 octobre 2013 20:03
    À : 'Followers of INZO-services-8-all-e-Maxime-Lisbonne-77176-Savigny-le-temple-France'
    Objet : RE: OpenERP S.A. Payment Reminder

     

    Bonsoir,

     

    Je me permets de revenir vers vous par écrit , car j’ai fait 2 appels vers votre service en exposant mon problème, mais je n’ai pas eu de retour.

    Cela fait un mois que j’ai fait la souscription de votre produit, mais je me rends compte qu’il est pas adapté à ma situation ( fonctionnalité manquante et surtout je n’ai pas beaucoup de temps à passer à résoudre des bugs).

    C’est pourquoi , j’ai demandé qu’un accord soit trouvé avec vous pour annuler le contrat (tout en vous payant le mois d’utilisation de septembre).

     

    Pourriez-vous me faire un retour sur ce point.

     

    Cordialement,

     

    Ida Siwatala

     

    De : che@openerp.com [mailto:che@openerp.com]
    Envoyé : vendredi 4 octobre 2013 17:41
    À : infos@inzoservices.com
    Objet : OpenERP S.A. Payment Reminder

     

    Dear INZO services,

    Exception made if there was a mistake of ours, it seems that the following amount stays unpaid. Please, take appropriate measures in order to carry out this payment in the next 8 days.

     

    Date de facturation

    Description

    Reference

    Due Date

    Amount (€)

    Lit.

    2013-09-24

    2013/1121

    Enterprise - Inzo Services - Juillet 2013

    2013-09-24

    420.0








    Amount due : 420.00 €

    Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to contact our accounting department.


    Best Regards,
    Aurore Lesage
    OpenERP
    Chaussée de Namur, 40
    B-1367 Grand Rosières
    Tel: +32.81.81.37.00 - Fax: +32.81.73.35.01
    E-mail : ale@openerp.com
    Web: http://www.openerp.com

    --
    INZO services Sent by OpenERP S.A. using OpenERP. Access your messages and documents in OpenERP
    -- 
    Christine Herrmann 
    
    OpenERP 
    Chaussée de Namur, 40 
    B-1367 Grand Rosières 
    Tel: +32.81.81.37.00 - Fax: +32.81.73.35.01 
    
    Web: http://www.openerp.com 




    """ BUG_2_IN = [ 'read more', '...', ] BUG_2_OUT = [ 'Fwd: TR: OpenERP S.A' 'fait un mois' ]