Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module event_registration_add_by_partner. #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions event_registration_add_by_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3

Add event registrations by partner
==================================

This module was written to extend the functionality of events to support
setting the partner that is linked to a registration directly in the event
form, without needing to open the registration form.

Usage
=====

To use this module, you need to:

* Open an event.
* In the *Registrations* page, add a new registration.
* Select a partner from the database and other fields should be autofilled.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/event/issues>`_.
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 feedback
`here <https://github.com/OCA/event/issues/new?body=module:%20event_registration_add_by_partner%0Aversion:%208.0.1.0.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* `Grupo ESOC <http://grupoesoc.es>`_:
* `Jairo Llopis <mailto:j.llopis@grupoesoc.es>`_.

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.
Empty file.
19 changes: 19 additions & 0 deletions event_registration_add_by_partner/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.

{
"name": "Add event registrations by partner",
"version": "8.0.1.0.0",
"category": "Project",
"author": "Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "http://www.grupoesoc.es",
"summary": "Allow setting the partner when adding a registration",
"depends": [
"event",
],
"data": [
"views/event_event_views.xml",
],
}
24 changes: 24 additions & 0 deletions event_registration_add_by_partner/views/event_event_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
© 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. -->

<openerp>
<data>

<record id="event_event_view_form" model="ir.ui.view">
<field name="name">Add registrations by partner</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='registration_ids']
//field[@name='name']"
position="before">
<field name="partner_id"/>
</xpath>
</data>
</field>
</record>

</data>
</openerp>