Friday, June 14, 2024
1 change · master
New functionality added to Odoo
Romanian companies can now generate the required SAF-T asset XML export from the General Ledger report. The export includes both an asset overview and asset-related transactions, helping businesses meet local ANAF reporting obligations.
Original PR description
Each company in Romania must be able to export 3 different SAF-T documents. One is related to assets and this commit enables them to generate and export the XML file. The export button can be found…
Each company in Romania must be able to export 3 different SAF-T documents. One is related to assets and this commit enables them to generate and export the XML file. The export button can be found in the General Ledger report. Two different sections are therefore implemented in the XML file to be exported. - "Assets" in the "Master Files" represent a general overview of the assets of the company and is quite similar to the depreciation schedule report. - "Asset Transactions" in the "Source Documents" represent each move that are related to assets during the selection period. These can be sales, depreciations, purchases, ... To be able to export the right data, two generic fields are now stored. - asset_move_type: defined on the account_move model, it represents the relation that the move might have towards an asset, e.g. purchase, sale, depreciation, positive/negative revaluation, disposal. - net_gain_on_sale: difference between the book value of an asset and the amount it has been sold. Sources: - ANAF: https://www.anaf.ro/anaf/internet/ANAF/despre_anaf/strategii_anaf/proiecte_digitalizare/saf_t/ - ANAF FAQ: https://www.anaf.ro/anaf/internet/ANAF/despre_anaf/strategii_anaf/proiecte_digitalizare/saf_t/ task-3615633