mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
52 lines
2.2 KiB
XML
52 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="stock.removal_fifo" model="product.removal" context="{'lang': 'zh_CN'}">
|
|
<field name="name">先进先出(FIFO)</field>
|
|
</record>
|
|
<record id="stock.removal_lifo" model="product.removal" context="{'lang': 'zh_CN'}">
|
|
<field name="name">后进先出(LIFO)</field>
|
|
</record>
|
|
</data>
|
|
<data noupdate="0">
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_locations', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '物理区位',
|
|
}"/>
|
|
</function>
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_locations_partner', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '往来单位',
|
|
}"/>
|
|
</function>
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_locations_virtual', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '虚拟区位',
|
|
}"/>
|
|
</function>
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_suppliers', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '供应商区位',
|
|
}"/>
|
|
</function>
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_customers', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '客户区位',
|
|
}"/>
|
|
</function>
|
|
<function model="stock.location" name="write" context="{'lang': 'zh_CN'}">
|
|
<value eval="[ref('stock.stock_location_inter_wh', False)]"/>
|
|
<value model="stock.location" eval="{
|
|
'name': '中转区位',
|
|
}"/>
|
|
</function>
|
|
<!-- 几个特殊区位处理-->
|
|
<function model="res.company" name="_adjust_wh_cn_name"/>
|
|
</data>
|
|
</odoo>
|