diff --git a/account_move_fiscal_month/README.rst b/account_move_fiscal_month/README.rst index bace23cb4..b01b78409 100644 --- a/account_move_fiscal_month/README.rst +++ b/account_move_fiscal_month/README.rst @@ -18,7 +18,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/11.0 + :target: https://runbot.odoo-community.org/runbot/92/12.0 Bug Tracker =========== diff --git a/account_move_fiscal_month/__manifest__.py b/account_move_fiscal_month/__manifest__.py index 778c4e639..0ae812777 100644 --- a/account_move_fiscal_month/__manifest__.py +++ b/account_move_fiscal_month/__manifest__.py @@ -3,9 +3,8 @@ { 'name': 'Account Move Fiscal Month', - 'summary': """ - Display the fiscal month on journal entries/item""", - 'version': '11.0.1.0.0', + 'summary': """Display the fiscal month on journal entries/item""", + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/account-financial-tools', diff --git a/account_move_fiscal_month/models/account_move_line.py b/account_move_fiscal_month/models/account_move_line.py index 7f1980a0a..6e398aaba 100644 --- a/account_move_fiscal_month/models/account_move_line.py +++ b/account_move_fiscal_month/models/account_move_line.py @@ -9,5 +9,5 @@ class AccountMoveLine(models.Model): _inherit = 'account.move.line' date_range_fm_id = fields.Many2one( - related='move_id.date_range_fm_id', readonly=True, + related='move_id.date_range_fm_id', store=True, copy=False) diff --git a/account_move_fiscal_month/readme/CONFIGURE.rst b/account_move_fiscal_month/readme/CONFIGURE.rst new file mode 100644 index 000000000..0a25865cb --- /dev/null +++ b/account_move_fiscal_month/readme/CONFIGURE.rst @@ -0,0 +1 @@ +You just need to create date ranges associated to 'Fiscal Month' type. diff --git a/account_move_fiscal_month/readme/CONTRIBUTORS.rst b/account_move_fiscal_month/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..eea6cac08 --- /dev/null +++ b/account_move_fiscal_month/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Benjamin Willig diff --git a/account_move_fiscal_month/readme/DESCRIPTION.rst b/account_move_fiscal_month/readme/DESCRIPTION.rst new file mode 100644 index 000000000..02f2080a4 --- /dev/null +++ b/account_move_fiscal_month/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Display the fiscal month on journal entries/items.