Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 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
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
1.01 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

Description

This module allows to automatically update all products information in a vendor bill for which the purchase information on the line is different from the vendor information defined in the product form.

It creates a new vendor information line if there isn't any, or it updates the first one in the list.

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_move_form account.move form Inherits account.view_move_form
view_wizard_update_invoice_supplierinfo_form wizard.update.invoice.supplierinfo form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • supplier_partner_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_supplier_partner_id' string='Supplier Partner'
  • supplierinfo_ok Boolean
    copy=False help='Checked if the check of supplierinfo has been done.\n - Uncheck this box, if you want to check again this invoice\n - Check this box, if you want to mark this invoice as checked' string='Supplier Informations Checked'
Public methods (1)
  • check_supplierinfo(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • display_discount Boolean
    compute='_compute_display_discount'
  • invoice_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' readonly=True required=True
  • line_ids One2many → wizard.update.invoice.supplierinfo.line
    comodel_name='wizard.update.invoice.supplierinfo.line' inverse_name='wizard_id' string='Lines'
  • state Selection
    readonly=True related='invoice_id.state'
  • supplier_partner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True related='invoice_id.supplier_partner_id' string='Supplier'
Public methods (2)
  • set_supplierinfo_ok(self)
  • update_supplierinfo(self)

New fields (15)
  • cost_variation Float
    compute='_compute_cost_variation' digits='Discount' string='Cost Variation (%)'
  • current_cost Float
    compute='_compute_current_cost' digits='Product Price' readonly=True string='Cost'
  • current_discount Float
    digits='Discount' readonly=True
  • current_min_quantity Float
    readonly=True related='supplierinfo_id.min_qty' string='current Min quantity'
  • current_price Float
    digits='Product Price' readonly=True related='supplierinfo_id.price'
  • current_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True related='supplierinfo_id.product_uom' string='UoM'
  • new_cost Float
    compute='_compute_new_cost' digits='Product Price' readonly=True
  • new_discount Float
    digits='Discount' required=True
  • new_min_quantity Float
    required=True
  • new_price Float
    digits='Product Price' required=True string='New Unit Price'
  • new_uom_id Many2one → uom.uom
    comodel_name='uom.uom' required=True string='New UoM'
  • product_id Many2one → product.product
    string='Product' args: 'product.product'
  • product_uom_id Many2one → uom.uom
    related='product_id.uom_id' args: 'uom.uom'
  • supplierinfo_id Many2one → product.supplierinfo
    comodel_name='product.supplierinfo'
  • wizard_id Many2one → wizard.update.invoice.supplierinfo
    comodel_name='wizard.update.invoice.supplierinfo' ondelete='cascade' required=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…