Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.18 MB
Module directory on disk
Code analysis 0 migration notes 8 models 1 view 0 HTTP endpoints

Description

This module is a glue module and is auto installed if purchase_sale_inter_company, sale_stock and purchase_stock modules are installed. Full purpose description can be found in purchase_sale_inter_company.

In addition to the features provided by purchase_sale_inter_company, which automatically creates inter-company Sale Orders from Purchase Orders, this module extends the functionality by automatically validating the corresponding inter-company receipts when the Delivery Order is confirmed. During this process, lot/serial numbers and quantities are synchronized to ensure consistency across companies.

The configuration includes an option to specify a default Warehouse that will be automatically assigned to Sale Orders generated from Purchase Orders addressed to this company.

When Company A sends a product tracked by lot or serial number, a new lot/serial number with the same name is created in Company B to match it, if one doesn't already exist.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits purchase_sale_inter_company.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 8

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • block_po_manual_picking_validation Boolean
    string='Block manual validation of picking in the destination company'
  • notify_user_id Many2one → res.users
    args: 'res.users', 'User to Notify'
  • sync_picking Boolean
    help='Sync the receipt from the destination company with the delivery from the source company' string='Sync the receipt with the delivery'
  • sync_picking_failure_action Selection
    default='raise' help='Pick action to perform on sync picking failure' string='On sync picking failure' args: SELECTION_SYNC_FAILURE_ACTIONS
  • warehouse_id Many2one → stock.warehouse
    help='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company' string='Warehouse For Sale Orders' args: 'stock.warehouse'
Public methods (0)

No public methods.

New fields (5)
  • block_po_manual_picking_validation Boolean
    readonly=False related='company_id.block_po_manual_picking_validation'
  • notify_user_id Many2one → res.users
    help='User to notify incase of sync picking failure.' readonly=False related='company_id.notify_user_id' args: 'res.users'
  • sync_picking Boolean
    help='Sync the receipt from the destination company with the delivery from the source company' readonly=False related='company_id.sync_picking' string='Sync the receipt from the destination company with the delivery'
  • sync_picking_failure_action Selection
    readonly=False related='company_id.sync_picking_failure_action'
  • warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' help='Default value to set on Sale Orders that will be created based on Purchase Orders made to this company.' readonly=False related='company_id.warehouse_id' string='Warehouse for Sale Orders'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • intercompany_picking_id Many2one → stock.picking
    comodel_name='stock.picking' copy=False
  • state Selection
    recursive=True
Public methods (1)
  • button_validate(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…