新增主生产计划模块

This commit is contained in:
qihao.gong@jikimo.com
2023-08-15 10:36:04 +08:00
parent 4a5fb0c6e4
commit 1533ef7be9
72 changed files with 25769 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/** @odoo-module **/
import { Dropdown } from "@web/core/dropdown/dropdown";
import { DropdownItem } from "@web/core/dropdown/dropdown_item";
const { Component } = owl;
export class GroupMenu extends Component {
get items() {
return this.props.items;
}
_toggle_group(group) {
const value = {};
value[group] = !this.props.items[group];
this.env.model._saveCompanySettings(value);
}
}
GroupMenu.template = "mrp_mps.GroupMenu";
GroupMenu.components = { Dropdown, DropdownItem };