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
|
#. 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
|
||||||
|
|||||||
@@ -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 :
|
||||||
|
|||||||
@@ -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"/>
|
||||||
|
|
|
|
||||||
|
|||||||
Reference in New Issue
Block a user