Label Special Price field

This commit is contained in:
resteve 2014-05-15 11:21:34 +02:00
parent 7d0c64f7e7
commit 83ff2ef7cc
3 changed files with 5 additions and 5 deletions

View File

@ -31,8 +31,8 @@ msgid "Special Pricelist"
msgstr "Tarifa especial"
msgctxt "field:sale.shop,type_special_price:"
msgid "Price"
msgstr "Preu"
msgid "Special Price"
msgstr "Preu especial"
msgctxt "selection:sale.shop,type_special_price:"
msgid "Special Price"

View File

@ -31,8 +31,8 @@ msgid "Special Pricelist"
msgstr "Tarifa especial"
msgctxt "field:sale.shop,type_special_price:"
msgid "Price"
msgstr "Precio"
msgid "Special Price"
msgstr "Precio especial"
msgctxt "selection:sale.shop,type_special_price:"
msgid "Special Price"

View File

@ -16,7 +16,7 @@ class SaleShop:
type_special_price = fields.Selection([
('price', 'Special Price'),
('pricelist', 'Special Pricelist'),
], 'Price', states={
], 'Special Price', states={
'required': Eval('special_price', True),
}, depends=['special_price'])
special_pricelist = fields.Many2One('product.price_list',