[IMP] account_payment_partner: Remove label field

There's already a field in the payment mode called 'note' that is
printed on the invoices, so there's no need of another field for
that purpose. This field is added by account_banking_payment_export
This commit is contained in:
Pedro M. Baeza
2016-02-15 23:12:49 +01:00
parent 4a62d6d30b
commit 3fbd4f663c
2 changed files with 0 additions and 6 deletions

View File

@@ -9,9 +9,6 @@ from openerp import models, fields
class PaymentMode(models.Model):
_inherit = "payment.mode"
label = fields.Char(
string='Label', translate=True,
help="This field is designed to be used in the invoice report")
default_payment_mode = fields.Selection([
('same', 'Same'),
('same_or_null', 'Same or empty'),

View File

@@ -12,9 +12,6 @@
<field name="default_payment_mode"
attrs="{'invisible': [('default_invoice', '=', False)]}"/>
</group>
<field name="name" position="after">
<field name="label"/>
</field>
</field>
</record>