This commit is contained in:
ivan deng
2018-04-30 04:37:58 +08:00
parent 1c216f92d5
commit 8e479161b6
5 changed files with 23 additions and 12 deletions

View File

@@ -62,6 +62,7 @@ The user can get the help document just by one click.
'views/ir_model_view.xml',
# data
'data/ir_config_parameter.xml',
'data/res_company_data.xml',
'data/res_groups.xml',
'security/ir.model.access.csv',
],

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<!-- 创建数据库时首个公司信息 -->
<record id="base.main_company" model="res.company">
<field name="website">http://www.sunpop.cn</field>
<field name="logo" type="base64" file="app_odoo_customize/static/src/img/logo_sunpop.png"/>
</record>
</data>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -7,7 +7,7 @@
<field name="arch" type="xml">
<form string="odooApp Customize Settings" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight mb4"/>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
<button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/>
</header>
<separator string="White Label Setting"/>
@@ -96,48 +96,48 @@
<label string="Sales"/>
<div>
<button string="Delete All Sales Order" type="object" name="remove_sales"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="POS"/>
<div>
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="Purchase"/>
<div>
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="MRP"/>
<div>
<button string="Delete All Manufacturing Order" type="object" name="remove_mrp"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All BOM" type="object" name="remove_mrp_bom"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="Inventory"/>
<div>
<button string="Delete All Move/Picking/Package/Lot" type="object" name="remove_inventory"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
<label string="Accounting"/>
<div>
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</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 mb4"/>
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 mb4"/>
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 mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
<button string="Delete All Workflow" type="object" name="remove_workflow"
confirm="Please confirm to delete the select data?" class="oe_highlight mb4"/>
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
</div>
</group>
</form>