-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add IWO and IWI
- Loading branch information
Showing
7 changed files
with
225 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2022 OpenSynergy Indonesia | ||
Copyright 2022 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record id="interwarehouse_in_action" model="ir.actions.act_window"> | ||
<field name="name">Inter-Warehouse In</field> | ||
<field name="type">ir.actions.act_window</field> | ||
<field name="res_model">stock.picking</field> | ||
<field name="view_mode">tree,form</field> | ||
<field | ||
name="domain" | ||
eval="[('picking_type_category_id','=',ref('ssi_stock.picking_category_iwi'))]" | ||
/> | ||
<field | ||
name="context" | ||
eval="{'default_picking_type_category_id':ref('ssi_stock.picking_category_iwi')}" | ||
/> | ||
</record> | ||
|
||
<menuitem | ||
id="interwarehouse_in_menu" | ||
name="Inter-Warehouse In" | ||
parent="menu_incoming_movement" | ||
groups="interwarehouse_in_viewer_group" | ||
action="interwarehouse_in_action" | ||
sequence="20" | ||
/> | ||
</odoo> |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2022 OpenSynergy Indonesia | ||
Copyright 2022 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record id="interwarehouse_out_action" model="ir.actions.act_window"> | ||
<field name="name">Inter-Warehouse Out</field> | ||
<field name="type">ir.actions.act_window</field> | ||
<field name="res_model">stock.picking</field> | ||
<field name="view_mode">tree,form</field> | ||
<field | ||
name="domain" | ||
eval="[('picking_type_category_id','=',ref('ssi_stock.picking_category_iwo'))]" | ||
/> | ||
<field | ||
name="context" | ||
eval="{'default_picking_type_category_id':ref('ssi_stock.picking_category_iwo')}" | ||
/> | ||
</record> | ||
|
||
<menuitem | ||
id="interwarehouse_out_menu" | ||
name="Inter-Warehouse Out" | ||
parent="menu_outgoing_movement" | ||
groups="interwarehouse_out_viewer_group" | ||
action="interwarehouse_out_action" | ||
sequence="20" | ||
/> | ||
</odoo> |