Browse Source

"Label" instead of "Etiquette"

pull/14/head
EliseDup 8 years ago
parent
commit
4ff1b2ec0c
  1. 2
      beesdoo_product/models/beesdoo_product.py
  2. 2
      beesdoo_product/views/beesdoo_product.xml

2
beesdoo_product/models/beesdoo_product.py

@ -67,8 +67,6 @@ class BeesdooProduct(models.Model):
if(len(suppliers) > 0):
self.standard_price = suppliers[0].price
self.suggested_price = (suppliers[0].price)* (1 + suppliers[0].product_tmpl_id.categ_id.profit_margin / 100)
class BeesdooProductLabel(models.Model):
_name = "beesdoo.product.label"

2
beesdoo_product/views/beesdoo_product.xml

@ -26,7 +26,7 @@
<attribute name="invisible">1</attribute>
</field>
<xpath expr="//group[@name='inventory']/.." position="after">
<page string="Étiquette">
<page string="Label">
<group>
<group name="label">
<field name="total_with_vat" />

Loading…
Cancel
Save