Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 8 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
1
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.16 MB
Module directory on disk
Code analysis 0 migration notes 2 models 12 views 0 HTTP endpoints

Description

This module adds a stock report according to Romanian requirements.

Dependencies

Code analysis

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

Views touched 12

XML IDNameModelTypeStatus
report_storage_sheet report_storage_sheet ir.ui.view qweb New
report_storage_sheet_all report_storage_sheet_all ir.ui.view qweb New
report_storage_sheet_lines report_storage_sheet_lines ir.ui.view qweb New
report_storage_sheet_lines_header report_storage_sheet_lines_header ir.ui.view qweb New
report_storage_sheet_report_all_base report_storage_sheet_report_all_base ir.ui.view qweb New
report_storage_sheet_report_base report_storage_sheet_report_base ir.ui.view qweb New
report_storage_sheet_report_filters report_storage_sheet_report_filters ir.ui.view qweb New
view_sheet_stock_report_line_form stock.sheet.stock.report.line l10n.ro.stock.storage.sheet.line form New
view_sheet_stock_report_line_pivot stock.sheet.stock.report.line.pivot l10n.ro.stock.storage.sheet.line pivot New
view_sheet_stock_report_line_search stock.sheet.stock.report.line l10n.ro.stock.storage.sheet.line search New
view_sheet_stock_report_line_tree stock.sheet.stock.report.line l10n.ro.stock.storage.sheet.line list New
view_stock_sheet_report_form stock.storage.sheet.form l10n.ro.stock.storage.sheet form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (12)
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • date_from Date
    default=fields.Date.today required=True args: 'Start Date'
  • date_to Date
    default=fields.Date.today required=True args: 'End Date'
  • detailed_locations Boolean
    default=False args: 'Detailed by locations'
  • line_product_ids One2many → l10n.ro.stock.storage.sheet.line
    comodel_name='l10n.ro.stock.storage.sheet.line' inverse_name='report_id'
  • location_id Many2one → stock.location
    domain="[('usage','=','internal')]" args: 'stock.location'
  • location_ids Many2many → stock.location
    compute='_compute_location_ids' string='Only for locations' args: 'stock.location'
  • one_product Boolean
    args: 'One product per page'
  • product_ids Many2many → product.product
    domain=[('is_storable', '=', True)] help='will show report only for this products. If nothing selected will show only products that have moves in period' string='Only for products' args: 'product.product'
  • products_with_move Boolean
    default=False
  • show_locations Boolean
    default=False args: 'Show location'
  • sublocation Boolean
    default=True args: 'Include Sublocations'
Public methods (9)
  • button_show_sheet(self)
  • button_show_sheet_pdf(self)
  • default_get(self, fields_list)
    @api.model
  • do_compute_product(self)
  • get_found_products(self)
  • get_products_with_move(self, product_list=False)
  • get_products_with_move_sql(self, product_list=False)
  • get_report_products(self)
  • print_pdf(self)

New fields (24)
  • account_id Many2one → account.account
    index=True args: 'account.account'
  • amount_final Monetary
    currency_field='currency_id' default=0.0 string='Final Amount'
  • amount_in Monetary
    currency_field='currency_id' default=0.0 string='Input Amount'
  • amount_initial Monetary
    currency_field='currency_id' default=0.0 string='Initial Amount'
  • amount_out Monetary
    currency_field='currency_id' default=0.0 string='Output Amount'
  • categ_id Many2one → product.category
    index=True args: 'product.category'
  • currency_id Many2one → res.currency
    default=<expr> index=True args: 'res.currency'
  • date Date
  • date_time Datetime
    string='Datetime'
  • document Char
  • invoice_id Many2one → account.move
    index=True args: 'account.move'
  • location_id Many2one → stock.location
    index=True args: 'stock.location'
  • partner_id Many2one → res.partner
    index=True args: 'res.partner'
  • product_id Many2one → product.product
    index=True args: 'product.product'
  • quantity_final Float
    default=0.0 digits='Product Unit of Measure' string='Final Quantity'
  • quantity_in Float
    default=0.0 digits='Product Unit of Measure' string='Input Quantity'
  • quantity_initial Float
    default=0.0 digits='Product Unit of Measure' string='Initial Quantity'
  • quantity_out Float
    default=0.0 digits='Product Unit of Measure' string='Output Quantity'
  • reference Char
  • report_id Many2one → l10n.ro.stock.storage.sheet
    index=True ondelete='cascade' args: 'l10n.ro.stock.storage.sheet'
  • serial_number Many2one → stock.lot
    index=True args: 'stock.lot'
  • unit_price_in Monetary
    aggregator='avg' currency_field='currency_id' default=0.0 string='Price Unit In'
  • unit_price_out Monetary
    aggregator='avg' currency_field='currency_id' default=0.0 string='Price Unit Out'
  • valued_type Selection
    args: VALUED_TYPE
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…