Following the Bookkeeping Act Request we needed to have the conversion rate at the time of the move (only when having a move with a currency different as the one of the company) on the header of the form view. This pr will add a new compute stored field, that will be displayed on the header of the move only when the current company is Danemark, when the company currency is different as the move currency and if there is at least a line. The information we will display is the currency_rate of the first line since on invoice and bill the currency_rate is the same for all the lines. We also added a related on account_move_line to be able to see the rate on the journal items list view. closes odoo/odoo#141954 Task: 3592881 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
19 lines
402 B
Python
19 lines
402 B
Python
{
|
|
'name': 'Denmark - Bookkeeping Act',
|
|
'version': '1.0',
|
|
'description': """
|
|
This module contains all that is needed for the Bookkeeping Act
|
|
""",
|
|
'summary': "Bookkeeping Act",
|
|
'countries': ['dk'],
|
|
'depends': [
|
|
'l10n_dk',
|
|
],
|
|
'data': [
|
|
'views/account_move_views.xml',
|
|
],
|
|
'installable': True,
|
|
'auto_install': True,
|
|
'license': 'LGPL-3',
|
|
}
|