Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dws
dwsproject
Commits
9e7893ab
Commit
9e7893ab
authored
Jan 08, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 增加工单报工问题
parent
646009c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
sdddl_project/views/iniherit_work_order_view.xml
+2
-1
No files found.
sdddl_project/views/iniherit_work_order_view.xml
View file @
9e7893ab
...
...
@@ -18,11 +18,12 @@
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='routing_line_id']"
position=
"after"
>
<field
name=
"special_process"
invisible=
"1"
/>
<field
name=
"record_ids"
widget=
"many2many_tags"
invisible=
"1"
/>
</xpath>
<xpath
expr=
"//button[@name='multi_create_work_record']"
position=
"after"
>
<button
name=
"action_assign_work_center"
type=
"object"
class=
"oe_highlight oe_read_only"
string=
"指派"
attrs=
"{'invisible': [
('special_process', '!=', '是'
)]}"
/>
attrs=
"{'invisible': [
'|', ('special_process', '!=', '是'), ('record_ids', '!=', []
)]}"
/>
</xpath>
</field>
</record>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment