From 289e8f373103ceb5f17ee4dda6e7c9f8cbbad2f0 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Wed, 10 Sep 2025 09:47:18 -0400 Subject: [PATCH] [MIG] bemade_hide_decimal_on_unit to 18.0 --- bemade_hide_decimal_on_unit/__init__.py | 5 +++ bemade_hide_decimal_on_unit/__manifest__.py | 17 ++++++++++ .../views/purchase.xml | 31 +++++++++++++++++++ bemade_hide_decimal_on_unit/views/sale.xml | 16 ++++++++++ 4 files changed, 69 insertions(+) create mode 100644 bemade_hide_decimal_on_unit/__init__.py create mode 100644 bemade_hide_decimal_on_unit/__manifest__.py create mode 100644 bemade_hide_decimal_on_unit/views/purchase.xml create mode 100644 bemade_hide_decimal_on_unit/views/sale.xml diff --git a/bemade_hide_decimal_on_unit/__init__.py b/bemade_hide_decimal_on_unit/__init__.py new file mode 100644 index 0000000..b4dcd09 --- /dev/null +++ b/bemade_hide_decimal_on_unit/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# from . import models + + + diff --git a/bemade_hide_decimal_on_unit/__manifest__.py b/bemade_hide_decimal_on_unit/__manifest__.py new file mode 100644 index 0000000..7794293 --- /dev/null +++ b/bemade_hide_decimal_on_unit/__manifest__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +{ + "name": "Hide Decimal on unit", + "version": "18.0.0.1.1", + "category": "Extra Tools", + "summary": "Hide decimal on Qty when there is no decimal", + "description": """ + Hide decimal on Qty when there is no decimal + """, + "author": "Bemade", + "website": "https://www.bemade.org", + "depends": ["sale", "purchase"], + "data": ["views/sale.xml", "views/purchase.xml"], + "auto_install": False, + "installable": True, + "license": "OPL-1", +} diff --git a/bemade_hide_decimal_on_unit/views/purchase.xml b/bemade_hide_decimal_on_unit/views/purchase.xml new file mode 100644 index 0000000..1204a88 --- /dev/null +++ b/bemade_hide_decimal_on_unit/views/purchase.xml @@ -0,0 +1,31 @@ + + + + + + + diff --git a/bemade_hide_decimal_on_unit/views/sale.xml b/bemade_hide_decimal_on_unit/views/sale.xml new file mode 100644 index 0000000..f1fc7d5 --- /dev/null +++ b/bemade_hide_decimal_on_unit/views/sale.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file