Skip to content

Commit

Permalink
[MIG] l10n_es_aeat_mod592: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arantxa-s73 committed Nov 26, 2024
1 parent b73a885 commit 6038f93
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_es_aeat_mod592/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "AEAT modelo 592",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Accounting",
"author": "Tecnativa, Binhex System Solutions, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
Expand Down
2 changes: 1 addition & 1 deletion l10n_es_aeat_mod592/models/mod592.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def calculate(self):
else:
manufacturer_lines.append((0, 0, m_vals))
item.manufacturer_line_ids = manufacturer_lines
item.recompute()
item.env.flush_all()
return res

def button_recover(self):
Expand Down
1 change: 1 addition & 0 deletions setup/l10n_es_aeat_mod592/odoo/addons/l10n_es_aeat_mod592
6 changes: 6 additions & 0 deletions setup/l10n_es_aeat_mod592/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 6038f93

Please sign in to comment.