Fall 5402: CR1 - Händlerrabatt

develop
Ahmed Aly 2018-04-05 08:32:40 +02:00
parent 34e03cf31f
commit 14dc3c2f7e
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ class SaleOrderLine(models.Model):
pricelist_context = dict(context_partner, uom=self.product_uom.id)
price, rule_id = self.order_id.pricelist_id.with_context(pricelist_context).get_product_price_rule(
self.product_id, self.product_uom_qty or 1.0, self.order_id.partner_id)
self.product_id, self.product_uom_qty or 1.0, self.order_id.partner_invoice_id)
new_list_price, currency_id = self.with_context(context_partner)._get_real_price_currency(self.product_id,
rule_id,
self.product_uom_qty,

View File

@ -46,7 +46,7 @@
<attribute name="col">3</attribute>
</xpath>
<xpath expr="//group[@name='sales_person']" position="after">
<group name="positions" string="Position">
<group name="production" string="Produktion">
<field name="assembled"/>
<field name="line_id"/>
</group>