Account Invoice - Supplier Info Update
account_invoice_supplierinfo_update · OCA/account-invoicing
Replaces
account_invoice_supplierinfo_update_discount (18.0) Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_supplier_partner_id'string='Supplier Partner' -
supplierinfo_okBooleancopy=Falsehelp='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'
-
check_supplierinfo(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (5)
-
display_discountBooleancompute='_compute_display_discount' -
invoice_idMany2one → account.movecomodel_name='account.move'ondelete='cascade'readonly=Truerequired=True -
line_idsOne2many → wizard.update.invoice.supplierinfo.linecomodel_name='wizard.update.invoice.supplierinfo.line'inverse_name='wizard_id'string='Lines' -
stateSelectionreadonly=Truerelated='invoice_id.state' -
supplier_partner_idMany2one → res.partnercomodel_name='res.partner'readonly=Truerelated='invoice_id.supplier_partner_id'string='Supplier'
-
set_supplierinfo_ok(self) -
update_supplierinfo(self)
New fields (15)
-
cost_variationFloatcompute='_compute_cost_variation'digits='Discount'string='Cost Variation (%)' -
current_costFloatcompute='_compute_current_cost'digits='Product Price'readonly=Truestring='Cost' -
current_discountFloatdigits='Discount'readonly=True -
current_min_quantityFloatreadonly=Truerelated='supplierinfo_id.min_qty'string='current Min quantity' -
current_priceFloatdigits='Product Price'readonly=Truerelated='supplierinfo_id.price' -
current_uom_idMany2one → uom.uomcomodel_name='uom.uom'readonly=Truerelated='supplierinfo_id.product_uom'string='UoM' -
new_costFloatcompute='_compute_new_cost'digits='Product Price'readonly=True -
new_discountFloatdigits='Discount'required=True -
new_min_quantityFloatrequired=True -
new_priceFloatdigits='Product Price'required=Truestring='New Unit Price' -
new_uom_idMany2one → uom.uomcomodel_name='uom.uom'required=Truestring='New UoM' -
product_idMany2one → product.productstring='Product' args: 'product.product' -
product_uom_idMany2one → uom.uomrelated='product_id.uom_id' args: 'uom.uom' -
supplierinfo_idMany2one → product.supplierinfocomodel_name='product.supplierinfo' -
wizard_idMany2one → wizard.update.invoice.supplierinfocomodel_name='wizard.update.invoice.supplierinfo'ondelete='cascade'required=True
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…