Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 57 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

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.05 MB
Module directory on disk
Code analysis 1 migration note 3 models 2 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 2

XML IDNameModelTypeStatus
view_carrier_form Delivery Carrier: charge policy delivery.carrier form Inherits delivery.view_delivery_carrier_form
view_order_form_inherit Sale Order: other costs sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • charge_policy Selection
    default='sale' help='How shipping costs are added to the sales order: charged in a sales order line, estimated on an other costs line.' required=True string='Charging Policy' args: [('sale', 'As SO Line'), ('other', 'As Other Cost')]
Public methods (0)

No public methods.

New fields (1)
  • other_cost_ids One2many → sale.order.other.cost
    auto_join=True copy=True states={'cancel': [('readonly', True)], 'done': [('readonly', True)]} string='Other Costs' args: 'sale.order.other.cost', 'order_id'
Public methods (1)
  • set_delivery_line(self, carrier, amount)

New fields (7)
  • company_id Many2one
    index=True readonly=True related='order_id.company_id' store=True
  • is_delivery Boolean
    default=False string='Is a Delivery'
  • name Text
    required=True string='Description'
  • order_id Many2one → sale.order
    copy=False index=True ondelete='cascade' required=True string='Sales Order' args: 'sale.order'
  • price_unit Float
    digits='Product Price' args: 'Cost'
  • product_id Many2one → product.product
    change_default=True check_company=True domain="[('type', '!=', 'product'), '|', ('company_id', '=', False), ('company_id', '=', company_id)]" ondelete='restrict' string='Product' args: 'product.product'
  • recompute_delivery_price Boolean
    related='order_id.recompute_delivery_price'
Public methods (1)
  • product_id_change(self)
    @api.onchange('product_id')

Loading…