From 28a493d5387de3604591dcb4d88ecaa8ebd645be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 20 Mar 2009 13:06:13 +0100 Subject: [PATCH] Fix spell --- purchase.py | 2 +- purchase.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/purchase.py b/purchase.py index 0a85b2a9f8..55be0aded1 100644 --- a/purchase.py +++ b/purchase.py @@ -30,7 +30,7 @@ class Purchase(ModelWorkflow, ModelSQL, ModelView): ('quotation', 'Quotation'), ('confirmed', 'Confirmed'), ('done', 'Done'), - ('cancel', 'Cancel'), + ('cancel', 'Canceled'), ], 'State', readonly=True, required=True) purchase_date = fields.Date('Purchase Date', required=True, states=_STATES) payment_term = fields.Many2One('account.invoice.payment_term', diff --git a/purchase.xml b/purchase.xml index 6f58c7e5ae..a7e3b25b81 100644 --- a/purchase.xml +++ b/purchase.xml @@ -475,7 +475,7 @@ this repository contains the full copyright notices and license terms. --> - Cancel + Canceled function write({'state': 'cancel'})