Skip to content

Commit

Permalink
FIX typo & classification view
Browse files Browse the repository at this point in the history
  • Loading branch information
mourad-ehm committed Sep 18, 2024
1 parent 83aba1b commit 58d2440
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
23 changes: 17 additions & 6 deletions account_ecotax/models/account_ecotax_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,23 @@ class AccountEcotaxClassification(models.Model):
("REM", "Remote vendor"),
],
required=True,
help="MAN ==> Manufacturer: is locally established in the country, and manufactures goods which are subject to ecotaxes\n"
"under their own name and brand, or designs such goods, subcontracts the manufacturing and then sells them under their own name and brand\n"
"RES ==> Reseller, under their own brand: is locally established in the country, and sells under their own name or brand goods subject to ecotax manufactured by others\n"
"INT ==> Introducer: is locally established and sells on the local market goods subject to ecotax coming from other countries of the European Union\n"
"IMP ==> Importer: is established in France, and sells on the local market goods subject to ecotax coming from countries outside the European Union\n"
"REM ==> Remote vendor: is established in another country of the European Union or outside the EU, and remotely sells good subject to ecotaxes to customers in the country",
help="MAN ==> Manufacturer: is locally established in the country, "
"and manufactures goods which are subject to ecotaxes\n"
"under their own name and brand, or designs such goods, "
"subcontracts the manufacturing and then sells them under "
"their own name and brand\n"
"RES ==> Reseller, under their own brand: is locally established "
"in the country, and sells under their own name or brand goods"
" subject to ecotax manufactured by others\n"
"INT ==> Introducer: is locally established and sells on the local "
"market goods subject to ecotax coming from other countries "
"of the European Union\n"
"IMP ==> Importer: is established in France, and sells on the local"
" market goods subject to ecotax coming from countries outside"
"the European Union\n"
"REM ==> Remote vendor: is established in another country of "
"the European Union or outside the EU, and remotely sells good "
"subject to ecotaxes to customers in the country",
)
intrastat_code = fields.Char()
scale_code = fields.Char()
Expand Down
3 changes: 2 additions & 1 deletion account_ecotax/models/ecotax_line_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class EcotaxLineMixin(models.AbstractModel):
)
force_amount_unit = fields.Float(
digits="Ecotax",
help="Force ecotax.\n" "Allow to add a subtitle to the default Ecotax Classification",
help="Force ecotax.\n"
"Allow to add a subtitle to the default Ecotax Classification",
)
amount_total = fields.Float(
digits="Ecotax",
Expand Down
3 changes: 2 additions & 1 deletion account_ecotax/models/ecotax_line_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


class EcotaxLineProduct(models.Model):
"""class for objects which can be used to save mutiple ecotax classifications by product."""
"""class for objects which can be used to save mutiple ecotax classifications
by product."""

_name = "ecotax.line.product"
_description = "Ecotax Line product"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<field name="collector_id" />
<field name="product_status" />
<field name="supplier_status" />
<field name="emebi_code" />
<field name="intrastat_code" />
<field name="scale_code" />
<field name="company_id" groups="base.group_multi_company" />
<field name="active" invisible="1" />
Expand Down

0 comments on commit 58d2440

Please sign in to comment.