From aabace0e1e023f9908e15534670405319c9f8d19 Mon Sep 17 00:00:00 2001 From: gilles Date: Mon, 26 Jun 2017 14:10:41 +0200 Subject: [PATCH] [ADD] description field for payment order --- account_payment_order/__manifest__.py | 2 +- account_payment_order/models/account_payment_order.py | 1 + account_payment_order/views/account_payment_order.xml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index 9b7f34b09..34d75aab6 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -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, " diff --git a/account_payment_order/models/account_payment_order.py b/account_payment_order/models/account_payment_order.py index 17e0f1743..7cf975b74 100644 --- a/account_payment_order/models/account_payment_order.py +++ b/account_payment_order/models/account_payment_order.py @@ -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): diff --git a/account_payment_order/views/account_payment_order.xml b/account_payment_order/views/account_payment_order.xml index bfa639387..c09d692a3 100644 --- a/account_payment_order/views/account_payment_order.xml +++ b/account_payment_order/views/account_payment_order.xml @@ -49,6 +49,7 @@ + @@ -83,6 +84,7 @@ + @@ -95,6 +97,7 @@ account.payment.order +