[Imp] Remove Unnecessary change.
bzr revid: amb@tinyerp.com-20131119100202-95y4r5t2g74a61of
This commit is contained in:
@@ -1534,7 +1534,7 @@ class account_invoice_line(osv.osv):
|
||||
if type in ('in_invoice', 'in_refund'):
|
||||
result.update( {'price_unit': price_unit or res.standard_price,'invoice_line_tax_id': tax_id} )
|
||||
else:
|
||||
result.update({'price_unit': res.lst_price, 'invoice_line_tax_id': tax_id})
|
||||
result.update({'price_unit': res.list_price, 'invoice_line_tax_id': tax_id})
|
||||
|
||||
result['uos_id'] = uom_id or res.uom_id.id
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ Main Features
|
||||
'test': [
|
||||
'test/01_order_to_payment.yml',
|
||||
'test/02_order_to_invoice.yml',
|
||||
'test/point_of_sale_report.yml',
|
||||
'test/point_of_sale_report.yml'
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<group name="procurement">
|
||||
<group name="general">
|
||||
<field name="cost_method" groups="product.group_costing_method"/>
|
||||
<field name="standard_price" string="Base Cost Price" attrs="{'readonly':[('cost_method','=','average')]}"/>
|
||||
<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"/>
|
||||
</group>
|
||||
<group name="procurement_uom" groups="product.group_uom" string="Purchase">
|
||||
<field name="uom_po_id"/>
|
||||
|
||||
@@ -36,7 +36,7 @@ To this end, a new check box named 'Visible Discount' is added to the pricelist
|
||||
Unit price=225, Discount=0,00, Net price=225.
|
||||
""",
|
||||
'depends': ["sale","purchase"],
|
||||
'demo': ['product_visible_discount_data.xml'],
|
||||
'demo': [],
|
||||
'data': ['product_visible_discount_view.xml'],
|
||||
'auto_install': False,
|
||||
'installable': True,
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<!-- while use product_visible_discount module at that time sale order
|
||||
line do not use lst_price(Public Sale Price). That's why override type
|
||||
list_price to lst_price. -->
|
||||
<record id="product.list_price" model="product.price.type">
|
||||
<field name="name">Public Price</field>
|
||||
<field name="field">lst_price</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -139,7 +139,7 @@
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="standard_price" position="replace" version="7.0">
|
||||
<label string="Cost Price of Template" for="standard_price" align="1.0" groups="base.group_user"/>
|
||||
<label for="standard_price" align="1.0" groups="base.group_user"/>
|
||||
<div groups="base.group_user">
|
||||
<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" nolabel="1"/>
|
||||
<button name="%(action_view_change_standard_price)d" string="- update"
|
||||
|
||||
Reference in New Issue
Block a user