[IMP] account_tax_balance: black, isort, prettier

This commit is contained in:
Valentin Vinagre Urteaga
2021-12-10 10:20:50 +01:00
committed by Borruso
parent 2036c141bd
commit ea203ac0f2
4 changed files with 7 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
{
"name": "Tax Balance",
"summary": "Compute tax balances based on date range",
"version": "14.0.1.2.0",
"version": "15.0.1.0.0",
"development_status": "Production/Stable",
"category": "Invoices & Payments",
"website": "https://github.com/OCA/account-financial-reporting",

View File

@@ -14,10 +14,8 @@ class AccountTax(models.Model):
base_balance_regular = fields.Float(
string="Base Balance", compute="_compute_balance"
)
balance_refund = fields.Float(string="Balance Refund", compute="_compute_balance")
base_balance_refund = fields.Float(
string="Base Balance Refund", compute="_compute_balance"
)
balance_refund = fields.Float(compute="_compute_balance")
base_balance_refund = fields.Float(compute="_compute_balance")
has_moves = fields.Boolean(
string="Has balance in period",
compute="_compute_has_moves",

View File

@@ -5,3 +5,6 @@
* ACSONE SA/NV - Stéphane Bidoul
* Andrea Stirpe <a.stirpe@onestein.nl>
* Iván Antón <ozono@ozonomultimedia.com>
* `Sygel <https://www.sygel.es>`__:
* Valentin Vinagre

View File

@@ -8,7 +8,7 @@
<field name="model">account.tax</field>
<field eval="100" name="priority" />
<field name="arch" type="xml">
<tree string="Account Tax" create="false" delete="false">
<tree create="false" delete="false">
<field name="name" />
<field name="description" string="Short Name" />
<field name="balance_regular" sum="Total" />