mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[ADD] description field for payment order
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
{
|
||||
'name': 'Account Payment Order',
|
||||
'version': '10.0.1.3.1',
|
||||
'version': '10.0.1.3.2',
|
||||
'license': 'AGPL-3',
|
||||
'author': "ACSONE SA/NV, "
|
||||
"Therp BV, "
|
||||
|
||||
@@ -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
|
||||
def unlink(self):
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
<field name="date_generated"/>
|
||||
<field name="generated_user_id"/>
|
||||
<field name="date_uploaded"/>
|
||||
<field name="description"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
@@ -83,6 +84,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"/>
|
||||
@@ -95,6 +97,7 @@
|
||||
<field name="model">account.payment.order</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Payment Orders">
|
||||
<field name="description"/>
|
||||
<filter name="draft" string="Draft" domain="[('state', '=', 'draft')]"/>
|
||||
<filter name="open" string="Confirmed" domain="[('state', '=', 'open')]"/>
|
||||
<filter name="generated" string="File Generated" domain="[('state', '=', 'generated')]"/>
|
||||
|
||||
Reference in New Issue
Block a user