-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] peoduct_configurator_mrp: pre-commit
- Loading branch information
Showing
11 changed files
with
69 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,8 +56,10 @@ Authors | |
Contributors | ||
------------ | ||
|
||
- Aion Tech `https://aiontech.company <https://aiontech.company>`__ | ||
- Simone Rubino [email protected] | ||
- ``Aion Tech <https://aiontech.company>``\ \_\_\_\_: | ||
|
||
- Simone Rubino [email protected] | ||
|
||
- Murtaza Mithaiwala [email protected] | ||
|
||
Maintainers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
- Aion Tech <https://aiontech.company> | ||
- Simone Rubino <[email protected]> | ||
- `Aion Tech <https://aiontech.company>`____: | ||
|
||
* Simone Rubino <[email protected]> | ||
|
||
- Murtaza Mithaiwala <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
product_configurator_mrp/static/src/js/kanban_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
/** @odoo-module **/ | ||
/** @odoo-module **/ | ||
|
||
import { _t } from "@web/core/l10n/translation"; | ||
import { registry } from "@web/core/registry"; | ||
import { useService } from "@web/core/utils/hooks"; | ||
import { kanbanView } from "@web/views/kanban/kanban_view"; | ||
import { KanbanController } from "@web/views/kanban/kanban_controller"; | ||
import {_t} from "@web/core/l10n/translation"; | ||
import {registry} from "@web/core/registry"; | ||
import {useService} from "@web/core/utils/hooks"; | ||
import {kanbanView} from "@web/views/kanban/kanban_view"; | ||
import {KanbanController} from "@web/views/kanban/kanban_controller"; | ||
|
||
export class ProductConfiguratorKanbanController extends KanbanController { | ||
setup() { | ||
super.setup(); | ||
this.action = useService("action"); | ||
this.rpc = useService("rpc"); | ||
this.orm = useService("orm"); | ||
|
||
} | ||
|
||
async _onConfigure() { | ||
let action = await this.orm.call("mrp.production", 'action_config_start', []) | ||
this.action.doAction(action) | ||
let action = await this.orm.call("mrp.production", "action_config_start", []); | ||
this.action.doAction(action); | ||
} | ||
} | ||
ProductConfiguratorKanbanController.components = { | ||
...KanbanController.components, | ||
}; | ||
|
||
|
||
export const ProductConfiguratorKanbanView = { | ||
...kanbanView, | ||
Controller: ProductConfiguratorKanbanController, | ||
buttonTemplate: "product_configurator_mrp.KanbanButtons", | ||
}; | ||
registry.category("views").add("product_configurator_mrp_kanban", ProductConfiguratorKanbanView); | ||
registry | ||
.category("views") | ||
.add("product_configurator_mrp_kanban", ProductConfiguratorKanbanView); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 16 additions & 4 deletions
20
product_configurator_mrp/static/src/xml/mrp_production_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters