Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 37 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 6.1

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

Security findings
Grave / minor (static analysis)
Required by
0
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.72 MB
Module directory on disk
Code analysis 2 migration notes 5 models 6 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
view_delivery_carrier_file_form delivery.carrier.file.form delivery.carrier.file form New
view_delivery_carrier_file_generate delivery.carrier.file.generate.form delivery.carrier.file.generate form New
view_delivery_carrier_file_tree delivery.carrier.file.tree delivery.carrier.file tree New
view_delivery_carrier_form_inherit delivery.carrier.form.file delivery.carrier form Inherits delivery.view_delivery_carrier_form
view_picking_out_form_carrier_file stock.picking.form stock.picking form Inherits stock.view_picking_form
view_picking_out_search_carrier_file stock.picking.search stock.picking search Inherits stock.view_picking_internal_search

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (1)
  • carrier_file_id Many2one → delivery.carrier.file
    args: 'delivery.carrier.file', 'Carrier File'
Public methods (0)

No public methods.

New fields (6)
  • auto_export Boolean
    help='The file will be automatically generated when a delivery order is processed. If activated, each delivery order will be exported in a separate file.'
  • export_path Char
    size=256 args: 'Export Path'
  • group_pickings Boolean
    help='All the pickings will be grouped in the same file. Has no effect when the files are automatically exported at the delivery order process.'
  • name Char
    required=True size=64 args: 'Name'
  • type Selection
    required=True selection='get_type_selection' string='Type'
  • write_mode Selection
    required=True selection='get_write_mode_selection' string='Write on'
Public methods (3)
  • generate_files(self, picking_ids)
    @api.model
    Generate one or more files according to carrier_file configuration for all picking_ids One type of carrier file is generated at a time which can generate one or many files. :param int carrier_file_id: id of the carrier file configuration :param list picking_ids: list of ids of pickings for which we have to generate a file :return: True if successful
  • get_type_selection(self)
    @api.model
    Has to be inherited to add carriers
  • get_write_mode_selection(self)
    @api.model
    Selection can be inherited to add more write modes

New fields (2)
  • pickings Many2many → stock.picking
    default=_get_pickings string='Delivery Orders' args: 'stock.picking'
  • recreate Boolean
    help='If this option is used, new files will be generated for selected picking even if they already had one.\nBy default, delivery orders with existing file will be skipped.' args: 'Recreate files'
Public methods (1)
  • action_generate(self)
    Call the creation of the delivery carrier files

New fields (0)

No new fields.

Public methods (1)
  • write(self, values)

New fields (1)
  • carrier_file_generated Boolean
    copy=False help='The file for the delivery carrier has been generated.' readonly=True args: 'Carrier File Generated'
Public methods (1)
  • generate_carrier_files(self, auto=True, recreate=False)
    Generates all the files for a list of pickings according to their configuration carrier file. Does nothing on pickings without carrier or without carrier file configuration. Generate files only for outgoing pickings. :param list ids: list of ids of pickings for which we need a file :param auto: specify if we call the method from an automatic action (on process on picking as instance) or called manually from the wizard. When auto is True, only the carrier files set as "auto_export" are exported :return: True if successful

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…