Search 1.9 billion lines of Odoo code on GitHub

event_product

Author: Grupo ESOC IngenierĂ­a de Servicios, Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0
Repository: adolfoeliazat/event
Dependencies: event, event_sale, and product
Languages: PO File (54, 10.4%), Python (282, 54.5%), XML (98, 19.0%), and reStructuredText (83, 16.1%)
Other repositories: AnilKesariya/event, Antiun/event, Change2improve/event, ClearCorp/oca-event, Cloudxtreme/event, Dobtor-OCA/event, ERPLibre/event, Endika/event, ForgeFlow/event, Gabinete-Digital/event, Gofekra/event, Guobower/event, Ingeos/event, KolushovAlexandr/event, LTechCS/event, LasLabs/event, LevelPrime/event, Martronic-SA/event, MathBenTech/event, NL66278/event, NeatNerdPrime/event, Nikul-Chaudhary/event, Numigi/odoo-event, OCA-MUK/event, OCA/event, Ommo73/event, SanteLibre/event, SeuMarco/event, Tecnativa/event, VishnuPrasad1998/event, VisiionSolucionesTecnologicas/event, andhit-r/event, angelmoya/event, anhvu-sg/event, anishukserg/event, ap305194/event, apachesep/event, apetbiz/event, archeti-org/event, aryajimbaran/event, brain-tec/event, coopiteasy/event, cristinamartinrod/event, dhp-denero/event, dsasoftware/event, ecosoft-odoo/event, emagdalenaC2i/event, garzadekoster/event, gastonfeng/event, glm-conseil/event, haroldtamo/event, humanilog/event, iRichGit/event, initOS/event, it-projects-llc/event, j-zaballa/event, kmee/event, lfreeke/event, lideritjnma/event, mikevhe18/event, molandtoxx/event, ntsirintanis/event, nucleoosystem/event, oihane/event, open-synergy/event, osiell/event, pedrobaeza/event, popcomputadores-desenv/event, pscloud/event, rousseldenis/event, rsullivan2704/event, sanube/event, schmidtwastl/event, thinkopensolutions/oca-event, tschanzt/event, vdedyukhin/event, yelizariev/event, and yveshoyos/event

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="event-products"></a> <h2>Event Products</h2> <p>This module extends the functionality of events and products allowing their combination and the organization of a catalog of events.</p> <p>Those events in your catalog can have variants, and any event can be linked to any product as long as:</p> <ul class="simple"> <li>The product's <em>Is an event</em> checkbox is enabled.</li> <li>The product's event type is empty, or matches the event's.</li> </ul> <p>Examples:</p> <ul class="simple"> <li><dl class="first docutils"> <dt>Wedding.</dt> <dd><ul class="first last"> <li><dl class="first docutils"> <dt>Variants:</dt> <dd><ul class="first last"> <li>Up to 50 attendees.</li> <li>Up to 100 attendees.</li> <li>In beach.</li> <li>In countryfield.</li> </ul> </dd> </dl> </li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Congress.</dt> <dd><ul class="first last"> <li><dl class="first docutils"> <dt>Variants:</dt> <dd><ul class="first last"> <li>Up to 50 attendees.</li> <li>Up to 100 attendees.</li> </ul> </dd> </dl> </li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Opening.</dt> <dd><ul class="first last"> <li><dl class="first docutils"> <dt>Variants:</dt> <dd><ul class="first last"> <li>1 day.</li> <li>2 days.</li> <li>3 days.</li> </ul> </dd> </dl> </li> </ul> </dd> </dl> </li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>To create your <em>event products</em>, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Sales &gt; Products &gt; Products &gt; Create</em>.</li> <li>Give it a name, such as <em>Wedding</em>.</li> <li>Enable <em>Is an event</em>.</li> <li>Choose event type in <em>Event &gt; Type of Event</em> (or leave blank for events of any type).</li> <li>Press <em>Save</em>.</li> </ol> <p>To create variants for that, you need to:</p> <ol class="arabic simple"> <li>Edit previous product.</li> <li>Go to <em>Variants</em> tab.</li> <li>Press <em>Add an Item</em>.</li> <li>Add your attribute and values as usual.</li> </ol> <p>To link an event to any of those variants, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Marketing &gt; Events &gt; Events &gt; Create</em>.</li> <li>Set name, start and end dates.</li> <li>Choose the same <em>Type of Event</em> as when creating the product (unless you left it blank, in which case you do not need this).</li> <li>Choose one of your variants in <em>Product</em>.</li> </ol> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/199/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul> <li><p class="first">Installing this module will install sale too. If you do not intend to sell events, but just handle internal ones, this can be annoying since the sale module requires complex configuration with accounting and external dependencies.</p> <p>However, this happens because this module needs the <code>event_type_id</code> field in products, which is added by the <em>event_sale</em> module, which installs <em>sale</em>; so unless Odoo divides that module in smaller parts with smaller dependencies, the only workaround is to give permissions to use <em>sale</em> to nobody.</p> </li> <li><p class="first">Support creating a sales order from the event.</p> </li> <li><p class="first">Support creating an event when confirming an event product sales order.</p> </li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/event/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/event/issues/new?body=module:%20event_product%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Jairo Llopis &lt;<a class="reference external" href="mailto:yajo.sk8&#64;gmail.com">yajo.sk8&#64;gmail.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>