Commit Graph
9 Commits
Author SHA1 Message Date
Cédric Krier 680344c92b Format float and computed Decimal using fixed-point notation
This avoid the usage of scientific notation.
For float we must convert them to Decimal to get a precision large enough to
show all coefficient digits.
For computed Decimal (which are thus not rounded) we must normalized them first
to avoid trailing 0.

Closes #14522
2026-01-20 09:19:12 +01:00
Cédric Krier 595c553a56 Add e-documents as reports on invoices 2025-10-29 15:55:04 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Sergi Almacellas Abellana 4c21901493 Do not fail when accessing sales or purchases attributes for UN/CEFACT Invoice
Closes #12873
2024-01-27 10:21:19 +01:00
Cédric Krier be1aac4fac Support cached_property on object with __slots__
Closes #12894
2024-01-05 01:36:50 +01:00
Cédric Krier 8eea0020b7 Initialize Model attributes of EDocument UN/CEFACT Invoice
The super __init__ method must be called to set some attributes used by Model.

Closes #12895
2024-01-05 01:36:06 +01:00
Cédric Krier 7309e38115 Test also the amount of invoice lines without product to compute the UNCEFACT type
Closes #12426
2023-07-22 16:37:00 +02:00
Cédric Krier e0e6ed690b Prepare migration to monorepo 2022-12-16 18:25:54 +01:00