forked from Yaltik/golem
[IMP]GOLEM Member multi-season management
This commit is contained in:
parent
4eb12b4510
commit
b27084fe73
@ -40,3 +40,4 @@ class GolemMember(models.Model):
|
||||
number = fields.Char('Number', size=50, index=True)
|
||||
pictures_agreement = fields.Boolean('Pictures agreement?')
|
||||
opt_out_sms = fields.Boolean('Out of SMS campaigns')
|
||||
season_ids = fields.Many2many('golem.season', string='Seasons')
|
||||
|
@ -32,6 +32,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
options="{'preview_image': 'image_medium', 'size': [90, 90]}" />
|
||||
<field name="name" class="oe_inline" readonly="True" />
|
||||
</h1>
|
||||
<group>
|
||||
<field name="season_ids" widget="many2many_tags" />
|
||||
</group>
|
||||
</div>
|
||||
<group string="Personal details">
|
||||
<group>
|
||||
@ -121,11 +124,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<search>
|
||||
<field name="number" />
|
||||
<field name="name" />
|
||||
<field name="season_ids" widget="many2one" />
|
||||
<field name="contact_address" />
|
||||
<field name="city" />
|
||||
<field name="phone" />
|
||||
<field name="mobile" />
|
||||
<field name="email" />
|
||||
<field name="category_id" widget="many2one" />
|
||||
<group string="Group By">
|
||||
<filter name="group_city" string="By city"
|
||||
context="{'group_by': 'city'}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user