[IMP]GOLEM Activity Session Registration add the capacity to create new registrations from tree

This commit is contained in:
Fabien Bourgeois 2016-09-22 14:08:52 +02:00
parent 2cef0be513
commit 3485948978

View File

@ -40,12 +40,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="name">Session registration list</field>
<field name="model">golem.activity.session.registration</field>
<field name="arch" type="xml">
<tree create="false" edit="false" delete="false">
<field name="season_id" />
<field name="member_id" />
<field name="session_id" />
<field name="invoice_id" />
<field name="invoice_line_id" />
<tree create="true" edit="false" delete="false" editable="top">
<field name="season_id" readonly="1" />
<field name="member_id" domain="[('is_current', '=', True)]" />
<field name="session_id" domain="[('is_current', '=', True)]" />
<field name="invoice_id" readonly="1" />
<field name="invoice_line_id" readonly="1" />
</tree>
</field>
</record>