diff options
| author | Prakash Prajapati <ppr@odoo.com> | 2019-01-22 11:13:47 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-04-04 08:59:01 +0000 |
| commit | 407834d1cadd6df6d548830d915f5b20b04b4e13 (patch) | |
| tree | 1bc027b77b9fa634f1a3d59f7fe759baa8ef48ac /addons | |
| parent | 4327fbebfdb8e95af18a0d849917be2caa76bfe5 (diff) | |
[IMP] product: “Public Price” into “Sales Price” in the pricelist.
TaskID: 1920476
closes odoo/odoo#30550
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/product/models/product_pricelist.py | 4 | ||||
| -rw-r--r-- | addons/product/views/product_pricelist_views.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/product/models/product_pricelist.py b/addons/product/models/product_pricelist.py index de1fd231b8f..22eb74a476e 100644 --- a/addons/product/models/product_pricelist.py +++ b/addons/product/models/product_pricelist.py @@ -416,12 +416,12 @@ class PricelistItem(models.Model): default='3_global', required=True, help='Pricelist Item applicable on selected option') base = fields.Selection([ - ('list_price', 'Public Price'), + ('list_price', 'Sales Price'), ('standard_price', 'Cost'), ('pricelist', 'Other Pricelist')], "Based on", default='list_price', required=True, help='Base price for computation.\n' - 'Public Price: The base price will be the Sale/public Price.\n' + 'Sales Price: The base price will be the Sales Price.\n' 'Cost Price : The base price will be the cost price.\n' 'Other Pricelist : Computation of the base price based on another Pricelist.') base_pricelist_id = fields.Many2one('product.pricelist', 'Other Pricelist') diff --git a/addons/product/views/product_pricelist_views.xml b/addons/product/views/product_pricelist_views.xml index 9f89adb2cc7..11493e82d2f 100644 --- a/addons/product/views/product_pricelist_views.xml +++ b/addons/product/views/product_pricelist_views.xml @@ -60,7 +60,7 @@ <label for="" string="New Price ="/> <div> - <span attrs="{'invisible':[('base', '!=', 'list_price')]}">Public Price - </span> + <span attrs="{'invisible':[('base', '!=', 'list_price')]}">Sales Price - </span> <span attrs="{'invisible':[('base', '!=', 'standard_price')]}">Cost - </span> <span attrs="{'invisible':[('base', '!=', 'pricelist')]}">Other Pricelist - </span> </div> |
