Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/刀具管理问题优化
This commit is contained in:
@@ -27,6 +27,7 @@ class CustomKanbanController extends KanbanController {
|
||||
args: [[], ['id']],
|
||||
kwargs: {}
|
||||
}).then((records) => {
|
||||
console.log(records)
|
||||
const ids = records.map(record => record.id);
|
||||
const context = {production_line_show: id};
|
||||
this.env.services.rpc('/web/dataset/call_kw', {
|
||||
@@ -36,7 +37,9 @@ class CustomKanbanController extends KanbanController {
|
||||
kwargs: {}
|
||||
}).then((response) => {
|
||||
console.log('response', response);
|
||||
location.reload();
|
||||
setTimeout(function () {
|
||||
location.reload();
|
||||
},2000)
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin-top: 1vw !important;
|
||||
margin-left: 16px !important;
|
||||
}
|
||||
|
||||
|
||||
.choosekanban > button {
|
||||
width: 4vw !important;
|
||||
padding: 0 2vw !important;
|
||||
height: 2vw !important;
|
||||
border: none !important;
|
||||
margin-left: 16px !important;
|
||||
border-right: 1px solid #ccc !important;
|
||||
background-color: #EEEEEE;
|
||||
color: #989799;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.o_content > .d-flex {
|
||||
|
||||
@@ -133,6 +133,8 @@
|
||||
<templates>
|
||||
<t t-name="kanban-box"
|
||||
t-if="record.production_line_id.value == record.production_line_show.raw_value">
|
||||
<!-- <div t-on-click="console.log(record.production_line_id,'11111111111')"></div>-->
|
||||
<!-- <div t-on-click="console.log(record.production_line_show,'22222222222')"></div>-->
|
||||
<div t-attf-class="#{!selection_mode ? kanban_color(record.color.raw_value) : ''}">
|
||||
<div t-attf-class="o_kanban_card_header o_kanban_record_top">
|
||||
<div class="o_kanban_record_headings o_kanban_card_header_title">
|
||||
|
||||
Reference in New Issue
Block a user