Skip to content

Commit

Permalink
[ADD] description field for payment order
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTephaneMeyomesse committed Jun 30, 2017
1 parent d049fce commit 74c3133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions account_payment_order/models/account_payment_order.py
Expand Up @@ -91,6 +91,7 @@ class AccountPaymentOrder(models.Model):
move_ids = fields.One2many(
'account.move', 'payment_order_id', string='Journal Entries',
readonly=True)
description = fields.Char()

@api.multi
@api.constrains('payment_type', 'payment_mode_id')
Expand Down
2 changes: 2 additions & 0 deletions account_payment_order/views/account_payment_order.xml
Expand Up @@ -47,6 +47,7 @@
<field name="date_generated"/>
<field name="generated_user_id"/>
<field name="date_uploaded"/>
<field name="description"/>
</group>
</group>
<notebook>
Expand Down Expand Up @@ -81,6 +82,7 @@
<field name="journal_id"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="date_uploaded"/>
<field name="description"/>
<field name="total_company_currency" sum="Total Company Currency"/>
<field name="company_currency_id" invisible="1"/>
<field name="state"/>
Expand Down

0 comments on commit 74c3133

Please sign in to comment.