forked from Yaltik/golem
[IMP]GOLEM Activity Registration Payment : better invoicing form organization
This commit is contained in:
parent
f1aa568e78
commit
8b40f33a9d
@ -19,7 +19,7 @@
|
||||
'name': 'GOLEM Activity Member Registration Payments',
|
||||
'summary': 'GOLEM Activities Member Registration Payments',
|
||||
'description': 'GOLEM Activities Member Registration Payments',
|
||||
'version': '10.0.0.3.2',
|
||||
'version': '10.0.0.3.3',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
Please confirm activity prices and choose a payment schedule if needed.
|
||||
</p>
|
||||
<group states="init">
|
||||
<group name="lines" colspan="2">
|
||||
<field name="season_id" readonly="1" />
|
||||
<field name="member_id" readonly="1" />
|
||||
<field name="line_ids" string="Activities and Prices">
|
||||
@ -40,20 +41,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="price" sum="Total" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
<group name="payment" colspan="2">
|
||||
<field name="schedule_id" context="{'default_season_id': season_id}" />
|
||||
<field name="journal_id" string="Payment method"
|
||||
options="{'no_create': True}"
|
||||
attrs="{'invisible': [('schedule_id', '=', False)],
|
||||
'required': [('schedule_id', '!=', False)]}" />
|
||||
</group>
|
||||
</group>
|
||||
<p states="init">If the service user wants to pay with several payment methods, please validate with the main one, go to the payments and change journal on those needed.</p>
|
||||
<p states="final">
|
||||
Congratulations, activities had been confirmed and invoiced.
|
||||
</p>
|
||||
<group states="final">
|
||||
<group>
|
||||
<field name="invoice_id" readonly="1" />
|
||||
<field name="payment_ids" readonly="1" />
|
||||
</group>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="validate" string="Validate" type="object"
|
||||
states="init" class="oe_highlight" />
|
||||
|
Loading…
Reference in New Issue
Block a user