Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 12.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.17 MB
Module directory on disk
Code analysis 0 migration notes 7 models 9 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 9

XML IDNameModelTypeStatus
product_template_form_view product.template form Inherits product.product_template_form_view
rental_product_search_view product.product search Inherits product.product_search_form_view
res_config_settings_view_form res.config.settings form Inherits base.res_config_settings_view_form
sale_order_type rental_base.sale_order_type sale.order form Inherits sale_order_type.sot_view_order_form
sale_rental rental_base.sale_rental sale.order form Inherits sale_rental.view_order_form
sale_start_end_dates rental_base.sale_start_end_dates sale.order form Inherits sale_start_end_dates.view_order_form
sale_stock rental_base.sale_stock sale.order form Inherits sale_stock.view_order_form_inherit_sale_stock
update_sale_line_date_form update.sale.line.date.form update.sale.line.date form New
view_order_form rental_base.view_order_form sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (0)

No new fields.

Public methods (1)
  • next_by_code(self, sequence_code, sequence_date=None)
    @api.model

New fields (1)
  • rental Boolean
    compute='_compute_rental' inverse='_inverse_rental' store=True args: 'Can be Rent'
Public methods (0)

No public methods.

New fields (1)
  • rental Boolean
    args: 'Can be Rent'
Public methods (0)

No public methods.

New fields (2)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
Public methods (1)
  • unlink(self)

New fields (1)
  • rental_qty_uom Many2one
    related='product_id.rented_product_id.uom_id' string='Product Unit of Measure'
Public methods (2)
  • update_start_end_date(self, date_start, date_end)
  • write(self, values)
    Both fields start_date and end_date were made editable in state draft, sent and sale, in order to allow the creation of new sale order lines with start and end dates. However, it is forbidden to write the dates of already existing sale order lines. To update these existing line, the method 'update_start_end_date' should be called. :param values: dictionary :return: Boolean

New fields (8)
  • all_line Boolean
    help='If set, all order lines of this order are updated with the given dates.' string='All Lines'
  • date_end Date
    required=True
  • date_in_line Boolean
    help='If set, you can set an individual date in every selected position.'
  • date_start Date
    required=True
  • from_line Integer
    help='In order to update one or several order lines, please set a number referring to the first order line that should to be changed.' string='From'
  • line_ids One2many → update.sale.line.date.line
    comodel_name='update.sale.line.date.line' inverse_name='wizard_id' string='Positions'
  • order_id Many2one → sale.order
    comodel_name='sale.order'
  • to_line Integer
    help='In order to update one or several order lines, please set a number referring to the last order line that should to be changed.' string='To'
Public methods (4)
  • action_confirm(self)
  • default_get(self, fields)
    @api.model
  • onchange_date_in_line(self)
    @api.onchange('date_in_line')
  • onchange_line(self)
    @api.onchange('from_line', 'to_line', 'all_line')

New fields (7)
  • change Boolean
  • date_end Date
  • date_start Date
  • order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' required=True
  • product_id Many2one → product.product
    comodel_name='product.product'
  • sequence Integer
  • wizard_id Many2one → update.sale.line.date
    comodel_name='update.sale.line.date' required=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…