Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
Lines of code | 21 |
Technical Name |
webshop_digital_files_mail |
License | OPL-1 |
Website | http://www.flexerp.dk |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
Lines of code | 21 |
Technical Name |
webshop_digital_files_mail |
License | OPL-1 |
Website | http://www.flexerp.dk |
Send product digital files in order confirmation email from webshop
Customer receives digital files via email after purchase in webshop
This module attaches the digital files on a product, which is sold through the webshop, to the order confirmation email sent to the customer. The digital files are only sent when the product is added to a specific product category, which is set in the module code.
How it works:
- Activate digital products in the webshop.
- Digital files on products in the product category with ID=75 are set up to be attached to the order confirmation email in the webshop (the product category ID can easily be changed in the module code).
- When products in this category are sold in the webshop, the digital files will be attached to the order confirmation email sent to the customer.
Create product and add it to the given product category (ID=75 is default but can be changed in module code):

Add one or more digital files to the product:

Publish the product in the webshop, so it can be purchased online:

The digital file is attached in the order confirmation email sent to the customer:

Please note that the default product category used in this module is ID=75. This can, however, easily be changed from 75 to anything else in the mail_composer.py file:

Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module