Skip to content

Commit

Permalink
Update dependency of subscription module (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap authored May 15, 2024
2 parents 970982a + 17b57d9 commit 207a8ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion membership_accessibility/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"membership_extension",
"sale",
"crm",
"mollie_subscription_ept",
"subscription_oca",
"project",
"hr_timesheet",
"membership_hr_recruitment",
Expand Down
2 changes: 1 addition & 1 deletion membership_accessibility/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def SELF_READABLE_FIELDS(self):
"member_lines",
"section_membership_ids",
"committee_membership_ids",
"mollie_subscription_ids",
"subscription_ids",
]
17 changes: 9 additions & 8 deletions membership_accessibility/views/views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,16 @@
</tree>
</field>
</page>
<page name="subscriptions" string="Subscriptions" attrs="{'invisible': [('mollie_subscription_ids', '=', False)]}">
<field name="mollie_subscription_ids" widget="one2many">
<page name="subscriptions" string="Subscriptions" attrs="{'invisible': [('subscription_ids', '=', False)]}">
<field name="subscription_ids" widget="one2many">
<tree create="0" delete="0" edit="0">
<field name="name"/>
<field name="description"/>
<field name="amount"/>
<field name="startDate"/>
<field name="nextPaymentDate"/>
<field name="status"/>
<field name="name" optional="show" />
<field name="recurring_next_date" optional="show" />
<field name="code" optional="show" />
<field name="recurring_total" sum="Total subtotal" optional="show" />
<field name="amount_tax" sum="Total Tax" optional="show" />
<field name="amount_total" sum="Total" optional="show" />
<field name="stage_str" optional="show" />
</tree>
</field>
</page>
Expand Down

0 comments on commit 207a8ff

Please sign in to comment.