Add website and email fields to shop
This commit is contained in:
parent
f46a2e6f3c
commit
bb3d16d34e
|
@ -1 +1,6 @@
|
|||
* Add website and email fields to shop
|
||||
|
||||
Version 3.2.0 - 2014-06-04
|
||||
|
||||
Version 3.0.0 - 2014-01-10
|
||||
* Initial release
|
||||
|
|
|
@ -4,12 +4,20 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
|
|||
|
||||
msgctxt "field:sale.shop,address:"
|
||||
msgid "Address"
|
||||
msgstr "Adreces"
|
||||
msgstr "Adreça"
|
||||
|
||||
msgctxt "field:sale.shop,company_trade_name:"
|
||||
msgid "Company Trade Name"
|
||||
msgstr "Nom comercial empresa"
|
||||
|
||||
msgctxt "field:sale.shop,currency:"
|
||||
msgid "Currency"
|
||||
msgstr "Moneda"
|
||||
|
||||
msgctxt "field:sale.shop,email:"
|
||||
msgid "E-Mail"
|
||||
msgstr "Correu electrònic"
|
||||
|
||||
msgctxt "field:sale.shop,lang:"
|
||||
msgid "Language"
|
||||
msgstr "Idioma"
|
||||
|
@ -18,6 +26,10 @@ msgctxt "field:sale.shop,logo:"
|
|||
msgid "Logo"
|
||||
msgstr "Logotip"
|
||||
|
||||
msgctxt "field:sale.shop,website:"
|
||||
msgid "Website"
|
||||
msgstr "Lloc web"
|
||||
|
||||
msgctxt "view:sale.shop:"
|
||||
msgid "Trade Information"
|
||||
msgstr "Informació comercial"
|
||||
|
|
|
@ -2,16 +2,22 @@
|
|||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:sale.shop,address:"
|
||||
msgid "Address"
|
||||
msgstr "Direcciones"
|
||||
msgstr "Dirección"
|
||||
|
||||
msgctxt "field:sale.shop,company_trade_name:"
|
||||
msgid "Company Trade Name"
|
||||
msgstr "Nombre comercial empresa"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:sale.shop,currency:"
|
||||
msgid "Currency"
|
||||
msgstr "Moneda"
|
||||
|
||||
msgctxt "field:sale.shop,email:"
|
||||
msgid "E-Mail"
|
||||
msgstr "Correo electrónico"
|
||||
|
||||
msgctxt "field:sale.shop,lang:"
|
||||
msgid "Language"
|
||||
msgstr "Idioma"
|
||||
|
@ -20,6 +26,10 @@ msgctxt "field:sale.shop,logo:"
|
|||
msgid "Logo"
|
||||
msgstr "Logotipo"
|
||||
|
||||
msgctxt "field:sale.shop,website:"
|
||||
msgid "Website"
|
||||
msgstr "Sitio web"
|
||||
|
||||
msgctxt "view:sale.shop:"
|
||||
msgid "Trade Information"
|
||||
msgstr "Información comercial"
|
||||
|
|
2
shop.py
2
shop.py
|
@ -14,3 +14,5 @@ class Shop:
|
|||
logo = fields.Binary('Logo')
|
||||
lang = fields.Many2One("ir.lang", 'Language')
|
||||
company_trade_name = fields.Char('Company Trade Name')
|
||||
website = fields.Char('Website')
|
||||
email = fields.Char('E-Mail')
|
||||
|
|
|
@ -9,6 +9,10 @@ the full copyright notices and license terms. -->
|
|||
<field name="company_trade_name"/>
|
||||
<label name="lang"/>
|
||||
<field name="lang"/>
|
||||
<label name="email"/>
|
||||
<field name="email" widget="url"/>
|
||||
<label name="website"/>
|
||||
<field name="website" widget="url"/>
|
||||
<label name="logo"/>
|
||||
<field name="logo"/>
|
||||
</page>
|
||||
|
|
Loading…
Reference in New Issue