Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051195
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorN/A2022-12-19 12:362024-01-09 16:32
Reportergonzalo_fernandezView Statuspublic 
Assigned Togonzalo_fernandez 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051195: Send email on e-commerce order

DescriptionThis project has the goal to automate the email sending of a Click&Collect sales order. That consists of sending the corresponding order and the sales invoice automatically to the customer without human interaction, in order to avoid mistakes.
Steps To ReproduceThe newly added properties are the following:
  - email: true / false (whether we should send an email or not)
  - emailDocument: "Order" / "Invoice" / "Both" (documents to send in the email)
  - emailAddress: "targetemail@sample.foo" (the target email address)

When processing an order with the External Order Loader, if the request has the previously mentioned properties, an email with the selected reports will be sent to the desired email address. An example of an order to process with The White Valley as organization is the following:

{
    "messageId": "test1",
    "posTerminal": "VBS-1",
    "channel": "External",
    "data": [{
        "currency": "EUR",
        "step": "all",
        "grossAmount": 24.9,
        "netAmount": 20.58,
        "businessPartner": "VBS/C0001",
        "lines": [{
            "product": "WVG/S0011",
            "qty": 1,
            "grossAmount": 24.9,
            "netAmount": 20.58,
            "taxAmount": 4.32,
            "taxLines": {
                "Entregas IVA 21%": {
                    "rate": 21,
                    "netAmount": 20.58,
                    "taxAmount": 4.32
                }
            }
        }],
        "payments": [{
            "paidAmount": 24.9,
            "date": "2015-11-16T08:48:51.524Z",
            "kind": "OBPOS_payment.cash",
            "rate": "1",
            "isocode": "EUR"
        }],
        "taxes": {
            "Entregas IVA 21%": {
                "rate": 21,
                "netAmount": 20.58,
                "taxAmount": 4.32
            }
        },
        "email": true,
        "emailDocument": "Both",
        "emailAddress": "targetemail@sample.foo"
    }]
}

You should know that, before testing this, you should have properly configured your email client and set The White Valley Group Admin as your default role.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0144815)
hgbot (developer)
2022-12-19 12:40

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/794 [^]
(0144816)
hgbot (developer)
2022-12-19 12:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.orderloader.email/-/merge_requests/1 [^]
(0151666)
hgbot (developer)
2023-06-27 09:54

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.orderloader.email/-/merge_requests/1 [^]
(0151871)
hgbot (developer)
2023-06-29 16:00

Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/794 [^]

- Issue History
Date Modified Username Field Change
2022-12-19 12:36 gonzalo_fernandez New Issue
2022-12-19 12:36 gonzalo_fernandez Assigned To => gonzalo_fernandez
2022-12-19 12:40 hgbot Note Added: 0144815
2022-12-19 12:42 hgbot Note Added: 0144816
2023-06-27 09:54 hgbot Note Added: 0151666
2023-06-29 16:00 hgbot Note Added: 0151871
2024-01-09 16:32 AugustoMauch Project Contribution Requests => Retail Modules
2024-01-09 16:32 AugustoMauch Triggers an Emergency Pack => No
2024-01-09 16:32 AugustoMauch Category Core Contributions => Web POS


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker