update customize

This commit is contained in:
ivan deng
2017-12-19 02:34:48 +08:00
parent b4c2703e0a
commit 67e59352f3
3 changed files with 11 additions and 9 deletions

View File

@@ -113,8 +113,8 @@ msgstr "删除所有产品属性"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Delete All Purchase Order"
msgstr "删除所有采购单"
msgid "Delete All Purchase Order and Requisition"
msgstr "删除所有采购单及协议"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings

View File

@@ -196,6 +196,8 @@ class AppThemeConfigSettings(models.TransientModel):
# 清除采购单据
['purchase.order.line', ],
['purchase.order', ],
['purchase.requisition.line', ],
['purchase.requisition', ],
]
try:
for line in to_removes :

View File

@@ -89,12 +89,6 @@
<div>
<button string="Delete All Sales Order" type="object" name="remove_sales"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Product" type="object" name="remove_product"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="POS"/>
<div>
@@ -102,7 +96,7 @@
</div>
<label string="Purchase"/>
<div>
<button string="Delete All Purchase Order" type="object" name="remove_purchase"
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="MRP"/>
@@ -125,6 +119,12 @@
</div>
<label string="Base Models"/>
<div>
<button string="Delete All Product" type="object" name="remove_product"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Message" type="object" name="remove_message"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|