TIP: You can type at any time to perform a new search.
Taxes included in expense
account_tax_expense_include_unported · OCA/l10n-canada
- Repository
- OCA/l10n-canada · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Account
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://wwww.savoirfairelinux.com
- Last tracking update
- 2026-08-07 07:17:53
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Taxes included in expense ========================= This module adds a checkbox to tax to include tax in expense invoices. It is useful if your taxes are not included in the price, but you want to ease the life of your employees by allowing them to enter their expenses with the taxes included. The tax calculation doesn't work in v7 and v8 for an expense. The expense now create a voucher that only has one tax rate by voucher and we can't safely select one tax rate per expense form. To fix this situation the expense form should suport the taxes like a supplier invoice form and a the end of the workflow produce a voucher and the journal entries like what is done when a supplier invoice is open. Contributors ------------ * Jonatan Cloutier <jonatan.cloutier@savoirfairelinux.com> * Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com> * Sandy Carter <sandy.carter@savoirfairelinux.com>
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form |
res.partner.form.expense_include | res.partner | form | Inherits base.view_partner_form |
view_tax_form |
account.tax.form.expense_include | account.tax | form | Inherits account.view_tax_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
compute_all(self, cr, uid, taxes, price_unit, quantity, product=None, partner=None, force_excluded=False):param force_excluded: boolean used to say that we don't want to consider the value of field price_include of tax. It's used in encoding by line where you don't matter if you encoded a tax with that boolean to True or False RETURN: { 'total': 0.0, # Total without taxes 'total_included: 0.0, # Total with taxes 'taxes': [] # List of taxes, see compute for the format }
Loading…
Loading…