update direct print

This commit is contained in:
ivan deng
2023-02-06 10:31:02 +08:00
parent b1ca86c8f6
commit 383adc2816
2 changed files with 10 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
{
'name': "App base chinese中国化基本模块增强",
'version': '13.21.01.02',
'version': '13.23.02.02',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',

View File

@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="sales_team.team_sales_department" model="crm.team">
<field name="name">中国</field>
</record>
<!-- <record id="sales_team.team_sales_department" model="crm.team">-->
<!-- <field name="name">中国</field>-->
<!-- </record>-->
<function model="crm.team" name="write">
<value model="crm.team" eval="obj().env.ref('sales_team.team_sales_department').id"/>
<value eval="{
'name': '中国',
}"/>
</function>
</data>
</odoo>