[FIX] payment: remove extra field.

Commit 8a6e859 wrongly introduced this new field when adding the new
`payment_authorize` module.
As 8.0 is a [stable version](http://git.io/vfACM), no data model change
is allowed.

We convert this field to a `fields.dummy` in case someone installed (or
update) this module with this fields to ensure the view still applied
and is not broken.
This commit is contained in:
Christophe Simonis 2015-04-28 15:46:34 +02:00
parent 37bf219643
commit dd84e612d0
2 changed files with 1 additions and 5 deletions

View File

@ -19,7 +19,7 @@ class AccountPaymentConfig(osv.TransientModel):
'module_payment_buckaroo': fields.boolean(
'Manage Payments Using Buckaroo',
help='-It installs the module payment_buckaroo.'),
'module_payment_authorize': fields.boolean(
'module_payment_authorize': fields.dummy(
'Manage Payments Using Authorize.Net',
help='-It installs the module payment_authorize.'),
}

View File

@ -24,10 +24,6 @@
<field name="module_payment_buckaroo" class="oe_inline"/>
<label for="module_payment_buckaroo"/>
</div>
<div>
<field name="module_payment_authorize" class="oe_inline"/>
<label for="module_payment_authorize"/>
</div>
</xpath>
</field>
</record>