Romania - DVI
l10n_ro_dvi · OCA/l10n-romania
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 13.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
0.81 MB
Module directory on disk
Code analysis
0 migration notes
7 models
4 views
0 HTTP endpoints
Description
DVI - declaraţie vamala de import
Se face legatura dintre factura de achizitie si DVI (landed cost)
Se genereaza automat un DVI cu doua linii si cu TVA.
Contul 447 trebuie sa fie un cont de reconciliere pentru a se putea inchide prin banca
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_dvi_form |
DVI | l10n.ro.account.dvi | form | New |
view_account_dvi_tree |
l10n.ro.account.dvi.tree | l10n.ro.account.dvi | list | New |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_stock_landed_cost_form |
stock.landed.cost.form | stock.landed.cost | form | Inherits l10n_ro_stock_account_landed_cost.view_stock_landed_cost_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (1)
-
l10n_ro_dvi_idsMany2many → stock.landed.costcompute='_compute_l10n_ro_dvi_ids'help="DVI's linked to this invoice"string="Romania - DVI's" args: 'stock.landed.cost'
-
action_view_dvis(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (22)
-
company_idMany2one → res.companydefault=<expr>readonly=Truerequired=True args: 'res.company' -
currency_idMany2onehelp='Utility field to express amount currency'readonly=Truerelated='company_id.currency_id'store=True -
customs_commission_product_idMany2one → product.producthelp='Product type service with l10n_ro_custom_commission checed (in purchase tab). Journal entry for commission will be with this product'required=True args: 'product.product' -
customs_commission_valueMonetaryhelp='taken from dvi if exists' -
customs_duty_product_idMany2one → product.producthelp='A product type service with l10n_ro_custom_duty checked (purchase tab). Journal entry for duty will be with this product & default vat for custom duty and invoice - to find it in declaration based on tags'required=True args: 'product.product' -
customs_duty_tax_valueMonetarycompute='_compute_total_tax_value'help='readonly computed tax from custom_duty_value'readonly=True -
customs_duty_valueMonetaryhelp='This is a value from received dvi' -
dateDaterequired=True -
invoice_base_valueMonetarycompute='_compute_amount'help='Invoices value without taxes' -
invoice_idsMany2many → account.movedomain=[('move_type', 'in', ['in_invoice', 'in_refund'])]required=Truestring='Invoices' args: 'account.move' -
invoice_tax_valueMonetarycompute='_compute_amount'help='default is computed as tax_id from product; is not recomputed based on selected vat' -
journal_idMany2one → account.journaldomain="[('type', '=', 'general'), ('company_id', '=', company_id)]"required=True args: 'account.journal' -
landed_cost_idsOne2many → stock.landed.costreadonly=True args: 'stock.landed.cost', 'l10n_ro_account_dvi_id' -
line_idsOne2many → l10n.ro.account.dvi.linecopy=Falsestring='DVI Lines' args: 'l10n.ro.account.dvi.line', 'dvi_id' -
nameCharrequired=True -
stateSelectioncopy=Falsedefault='draft'index=Truereadonly=Trueselection=[('draft', 'Draft'), ('posted', 'Posted'), ('reversed', 'Reversed')]string='Status'tracking=True -
tax_idMany2one → account.taxdomain="[('type_tax_use', '=', 'purchase'), ('company_id', '=', company_id)]"help='Is the vat that is paid in custom for products. default is taken from custom duty tax. will put this vat tag in journal entry to find it in reports'required=True args: 'account.tax' -
total_base_tax_valueMonetarycompute='_compute_total_tax_value'help='Is readonly sum of product tax and custom tax.This must be the tax value that you have on dvi'readonly=True -
total_tax_valueMonetarycompute='_compute_total_tax_value'help='Is readonly sum of product tax and custom tax.This must be the tax value that you have on dvi'readonly=True -
vat_price_differenceMonetaryhelp='VAT price difference' -
vat_price_difference_move_idMany2one → account.movehelp='Move for vat price difference'readonly=True args: 'account.move' -
vat_price_difference_product_idMany2one → product.producthelp='Product for vat price difference' args: 'product.product'
-
action_view_landed_costs(self) -
button_post(self) -
button_reverse(self) -
create(self, vals_list)@api.model_create_multi -
create_account_move_dvi(self) -
default_get(self, fields_list)@api.model -
prepare_dvi_landed_cost_lines(self, product, value, accounts_data) -
prepare_dvi_landed_cost_vals(self) -
prepare_dvi_landed_cost_values(self) -
write(self, vals)
New fields (15)
-
base_amountFloatcompute='_compute_base_vat_amount' -
company_idMany2one → res.companyrelated='dvi_id.company_id'store=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencyrelated='dvi_id.currency_id' args: 'res.currency' -
dvi_idMany2one → l10n.ro.account.dviindex=Trueondelete='cascade'required=Truestring='DVI Ref' args: 'l10n.ro.account.dvi' -
invoice_idMany2one → account.movecheck_company=Truecopy=Falseindex=Truereadonly=Truestring='DVI Invoice' args: 'account.move' -
invoice_line_idMany2one → account.move.linecheck_company=Truecopy=Falsereadonly=True args: 'account.move.line' -
line_qtyFloatdefault=1.0digits='Product Unit of Measure'help='The quantity declared in the DVI.'string='DVI Quantity' -
nameTextreadonly=Truerelated='invoice_line_id.name' -
price_subtotalMonetaryreadonly=Truerelated='invoice_line_id.balance' -
price_unitFloatreadonly=Truerelated='invoice_line_id.price_unit' -
product_idMany2onereadonly=Truerelated='invoice_line_id.product_id' -
product_uom_idMany2onereadonly=Truerelated='invoice_line_id.product_uom_id' -
qtyFloatreadonly=Truerelated='invoice_line_id.quantity' -
tax_idMany2one → account.taxrelated='dvi_id.tax_id' args: 'account.tax' -
vat_amountFloatcompute='_compute_base_vat_amount'string='VAT Amount'
No public methods.
New fields (1)
-
l10n_ro_property_vat_price_difference_product_idMany2one → product.productdomain="[('type', '=', 'service')]"help='This product will be used in create an accounting note for the difference between customs duty and bill'string='Romania - Vat Price Difference Product' args: 'product.product'
No public methods.
New fields (6)
-
l10n_ro_account_dvi_idMany2one → l10n.ro.account.dvistring='Romania - DVI' args: 'l10n.ro.account.dvi' -
l10n_ro_base_tax_valueFloatcopy=Falsehelp='Base VAT amount, calculated from invoice base amount, customs and commission.' args: 'Romania - Base VAT amount' -
l10n_ro_cost_typeSelectionondelete={'dvi': 'set default'}selection_add=[('dvi', 'DVI')] -
l10n_ro_dvi_bill_idsMany2many → account.movereadonly=Truerelation='account_move_stock_landed_cost_rel'string='Romania - DVI Invoices' args: 'account.move' -
l10n_ro_tax_idMany2one → account.taxcopy=Falsehelp='VAT tax for products and customs cost'string='Romania - DVI Tax' args: 'account.tax' -
l10n_ro_tax_valueFloatcopy=Falsehelp='VAT amount, calculated from invoice base amount and customs.' args: 'Romania - VAT amount paid at customs'
-
button_validate(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…