Skip to content

Commit

Permalink
[IMP] Fix pending TODO and add known issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Jul 3, 2017
1 parent 1ea65f4 commit 285e5c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 5 additions & 1 deletion partner_event/README.rst
Expand Up @@ -27,6 +27,9 @@ be created automatically with name, email and phone fields.
If partner already exists and user only fills email, name and phone fields will
be filled with partner's data.

If partner's email, name or phone is changed and the event end date has not
passed so will those partner's registration values be changed.

Usage
=====

Expand All @@ -46,7 +49,8 @@ and welcomed feedback.
Known Issues / Roadmap
======================

* Remove some TODOs if https://github.com/odoo/odoo/pull/12997 is merged.
* In registration contact field has no onchange check so changing the partner
is not going to change any info on the registration.

Credits
=======
Expand Down
6 changes: 2 additions & 4 deletions partner_event/views/event_registration_view.xml
Expand Up @@ -10,14 +10,12 @@
<field name="model">event.registration</field>
<field name="inherit_id" ref="event.view_registration_search"/>
<field name="arch" type="xml">
<!-- TODO Change expr if https://github.com/odoo/odoo/pull/12997 is merged -->
<xpath expr="//filter[@domain=&quot;[('state', 'in', ['draft', 'open', 'done'])]&quot;]"
position="after">
<filter name="confirm" position="after">
<filter
name="done"
domain="[('state', '=', 'done')]"
string="Attended"/>
</xpath>
</filter>
</field>
</record>

Expand Down

0 comments on commit 285e5c1

Please sign in to comment.