Accept Merge Request #294: (feature/odoo16翻译研究 -> develop)

Merge Request: 新增翻译问题解决

Created By: @马广威
Accepted By: @马广威
URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/294?initial=true
This commit is contained in:
马广威
2023-08-03 11:58:53 +08:00
6 changed files with 1017 additions and 1792 deletions

View File

@@ -18,7 +18,7 @@
<field name="title"/>
<field name="product_ids" widget="many2many_tags"/>
<field name="product_category_ids" widget="many2many_tags"/>
<field name="picking_type_ids" string="Operations" widget="many2many_tags"/>
<field name="picking_type_ids" string="作业类型" widget="many2many_tags"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
<group>
@@ -112,7 +112,7 @@
<field name="title" optional="show"/>
<field name="product_ids" widget="many2many_tags" optional="show"/>
<field name="product_category_ids" widget="many2many_tags" optional="hide"/>
<field name="picking_type_ids" widget="many2many_tags" optional="show" string="Operations"/>
<field name="picking_type_ids" widget="many2many_tags" optional="show" string="作业类型"/>
<field name="test_type_id" optional="show" string="Type"/>
<field name="team_id" optional="show"/>
<field name="user_id" optional="hide" widget='many2one_avatar_user'/>

View File

@@ -22,13 +22,13 @@
sequence="3"
/>
<menuitem
id="menu_sf_machine_tool"
parent="menu_sf_machine_tool_first"
name="机床"
sequence="0"
action="action_sf_machine_tool"
/>
<!-- <menuitem -->
<!-- id="menu_sf_machine_tool" -->
<!-- parent="menu_sf_machine_tool_first" -->
<!-- name="机床" -->
<!-- sequence="0" -->
<!-- action="action_sf_machine_tool" -->
<!-- /> -->
<menuitem
id="menu_sf_machine_tool_category"

View File

@@ -244,7 +244,7 @@
<menuitem
id="menu_equipment_form1"
name="设备"
name="设备清单"
parent="maintenance.menu_m_request"
action="hr_equipment_action1"
groups="maintenance.group_equipment_manager,base.group_user"

View File

@@ -10,6 +10,7 @@
<xpath expr="//field[@name='product_qty']" position="replace"/>
<xpath expr="//field[@name='product_uom_id']" position="replace"/>
<xpath expr="//field[@name='reservation_state']" position="replace"/>
<xpath expr="//field[@name='date_deadline']" position="replace"/>
<xpath expr="//field[@name='name']" position="after">
<field name="product_id" readonly="1" optional="show"/>
</xpath>
@@ -17,7 +18,10 @@
<field name="product_qty" sum="Total Qty" string="数量" readonly="1" optional="show"/>
</xpath>
<xpath expr="//field[@name='product_qty']" position="after">
<field name="product_uom_id" string="UoM" options="{'no_open':True,'no_create':True}" groups="uom.group_uom" optional="show"/>
<field name="product_uom_id" string="计量单位" options="{'no_open':True,'no_create':True}" groups="uom.group_uom" optional="show"/>
</xpath>
<xpath expr="//field[@name='date_planned_start']" position="after">
<field name="date_deadline" widget="remaining_days" attrs="{'invisible': [('state', 'in', ['done', 'cancel'])]}" optional="show"/>
</xpath>
<xpath expr="//field[@name='production_real_duration']" position="after">
<field name="reservation_state" optional="hide" decoration-danger="reservation_state == 'confirmed'" decoration-success="reservation_state == 'assigned'"/>

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,10 @@
<record id="mrp.menu_mrp_manufacturing" model="ir.ui.menu">
<field name="name">Operations1</field>
</record>
<record id="mrp.menu_mrp_routing_action" model="ir.ui.menu">
<field name="name">Process</field>
</record>
<record id="mrp_workorder.mrp_workorder_menu_planning" model="ir.ui.menu">
<field name="name">工单计划</field>