-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] l10n_br_account_usability: compute total_faturado
- Loading branch information
1 parent
0edd56f
commit 4007ef8
Showing
4 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2022-Today - Engenere (<https://engenere.one>). | ||
# @author Antônio S. Pereira Neto <[email protected]> | ||
|
||
from odoo import fields, models | ||
from odoo import api, fields, models | ||
|
||
|
||
class AccountMove(models.Model): | ||
|
@@ -16,6 +16,7 @@ class AccountMove(models.Model): | |
store=True, | ||
) | ||
|
||
@api.depends("amount_total", "amount_tax_withholding") | ||
def _compute_total_faturado(self): | ||
for move in self: | ||
# consideramos o tatal faturado o amount_total nativo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Funcionalidade Implementadas: | ||
|
||
Adiciona na visualização em lista das Faturas um campo para exibir o valor total do "Faturamento" que inclui os valores retidos na fonte. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
14.0.0.0.0 (2023-07-25) | ||
14.0.1.0.3 (2023-07-25) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
* [NEW] Primeira versão | ||
* [FIX] Correção do campo "Total Faturado" que não estava sendo calculado na Fatura. | ||
|
||
|
||
14.0.1.0.0 (2023-07-25) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
* [ADD] Primeira versão |