mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update customize
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -196,6 +196,8 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
# 清除采购单据
|
||||
['purchase.order.line', ],
|
||||
['purchase.order', ],
|
||||
['purchase.requisition.line', ],
|
||||
['purchase.requisition', ],
|
||||
]
|
||||
try:
|
||||
for line in to_removes :
|
||||
|
||||
@@ -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"/>
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user