mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
Add option to clean description html in item description. (#11565)
* [fix] add item settings * [docs] Item Settings * [fix] enqueue in item_settings.py * [refactor] move to stock settings * [refactor] move to stock settings
This commit is contained in:
@@ -4,3 +4,4 @@ item-variants
|
||||
purchase-details
|
||||
reorder
|
||||
item-valuation-fifo-and-moving-average
|
||||
item-settings
|
||||
|
||||
@@ -4,4 +4,12 @@ You can set default settings for your stock related transactions here.
|
||||
|
||||
<img class="screenshot" alt="Stock Settings" src="/docs/assets/img/stock/stock-settings.png">
|
||||
|
||||
### Clean HTML Description
|
||||
|
||||
Usually descriptions are copy-pasted from a website or Word / PDF file and they contain a lot of embedded style. This messes up the Print view of your invoices or quotes.
|
||||
|
||||
To fix this, you can check "Convert Item Description to Clean HTML" in Stock Settings. This will ensure that when you save your Items, their descriptions will be cleaned up.
|
||||
|
||||
If you want control your description views and llow any HTML to be embedded, you can uncheck this property.
|
||||
|
||||
{next}
|
||||
Reference in New Issue
Block a user