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 #. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Delete All Purchase Order" msgid "Delete All Purchase Order and Requisition"
msgstr "删除所有采购单" msgstr "删除所有采购单及协议"
#. module: app_odoo_customize #. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings #: 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.line', ],
['purchase.order', ], ['purchase.order', ],
['purchase.requisition.line', ],
['purchase.requisition', ],
] ]
try: try:
for line in to_removes : for line in to_removes :

View File

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