Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 8.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
5 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.35 MB
Module directory on disk
Code analysis 0 migration notes 8 models 13 views 0 HTTP endpoints

Description

This module make possible create invoice based in Stock Pickings.

Dependencies

Code analysis

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

Views touched 13

XML IDNameModelTypeStatus
l10n_br_stock_account_res_company_form l10n_br_stock_account.res.company.form res.company form Inherits l10n_br_fiscal.fiscal_res_company_form
stock_move_fiscal_report_graph stock.move.fiscal.report.graph stock.move graph New
stock_move_fiscal_report_list stock.move.fiscal.report.list stock.move list New
stock_move_fiscal_report_pivot stock.move.fiscal.report.pivot stock.move pivot New
stock_move_fiscal_report_search stock.move.fiscal.report.search stock.move search New
stock_move_form l10n_br_stock_account.move.form stock.move form Inherits stock_picking_invoicing.view_move_picking_form
stock_move_tree l10n_br_stock_account.move.list stock.move list Inherits stock_picking_invoicing.view_move_tree
stock_picking_fiscal_search l10n_br_stock_account.stock.picking.fiscal.search stock.picking search Inherits stock.view_picking_internal_search
stock_picking_form l10n_br_stock_account.picking.form stock.picking form Inherits stock_picking_invoicing.view_picking_form
stock_picking_tree l10n_br_stock_account.picking.list stock.picking list Inherits stock.vpicktree
stock_picking_type_form l10n_br_stock.picking.type.form stock.picking.type form Inherits stock.view_picking_type_form
stock_rule_form l10n_br_stock_account.stock.rule.form stock.rule form Inherits stock.view_stock_rule_form
view_l10n_br_stock_invoice_onshipping L10n_br_Stock Invoice Onshipping stock.invoice.onshipping Inherits stock_picking_invoicing.view_stock_invoice_onshipping

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 8

New fields (3)
  • stock_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain=[('state', '=', 'approved')]
  • stock_in_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain=[('state', '=', 'approved'), ('fiscal_operation_type', '=', 'in')]
  • stock_out_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain=[('state', '=', 'approved'), ('fiscal_operation_type', '=', 'out')]
Public methods (0)

No public methods.

New fields (3)
  • fiscal_operation_journal Boolean
    default=_get_fiscal_operation_journal string='Account Jornal from Fiscal Operation'
  • group Selection
    ondelete={'fiscal_operation': 'set default'} selection_add=[('fiscal_operation', 'Fiscal Operation')]
  • has_fiscal_operation Boolean
Public methods (1)
  • onchange_group(self)
    @api.onchange('group')

New fields (8)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='stock_move_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='stock_move_line_comment_rel' string='Comments'
  • delivery_costs Selection
    related='company_id.delivery_costs'
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr> readonly=True
  • fiscal_price Float
    compute='_compute_fiscal_price'
  • fiscal_tax_ids Many2many → l10n_br_fiscal.tax
    comodel_name='l10n_br_fiscal.tax' precompute=False string='Fiscal Taxes'
  • tax_framework Selection
    related='picking_id.company_id.tax_framework' string='Tax Framework'
  • tax_ids Many2many → account.tax
    check_company=True comodel_name='account.tax' compute='_compute_tax_ids' help='Taxes that apply on the base amount' store=True string='Taxes'
  • uom_id Many2one
    related='product_uom'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (3)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='picking_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' compute='_compute_comment_ids' relation='stock_picking_comment_rel' store=True string='Comments'
  • currency_id Many2one
    default=<expr>
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain=<expr> readonly=True
Public methods (2)
  • button_validate(self)
  • set_to_be_invoiced(self)
    Update invoice_state of current pickings to "2binvoiced". :return: dict

New fields (2)
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain="[('state', '=', 'approved')]" string='Default Fiscal Operation'
  • pre_generate_fiscal_document_number Selection
    default='none' help='Check this box if you want to generate fiscal document for this operation.' selection=[('none', 'None'), ('pack', 'Pack'), ('validate', 'Validate'), ('invoice_wizard', 'Invoice Create Wizard')] string='Pre-generate Fiscal Document Number'
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 (2)
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr> string='Fiscal Operation'
  • invoice_state Selection
    copy=False default='none' help='Invoiced: an invoice already exists\nTo Be Invoiced: need to be invoiced\nNot Applicable: no invoice to create' selection=[('2binvoiced', 'To Be Invoiced'), ('none', 'Not Applicable')] string='Invoice Status'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…