34 lines
1.5 KiB
Python
34 lines
1.5 KiB
Python
{
|
|
"name": "POS Ojol Discount Amount",
|
|
"version": "19.0.2.0.0",
|
|
"category": "Point of Sale",
|
|
"summary": "Global Ojol discount line in POS — configurable discount product per POS config",
|
|
"author": "Suherdy Yacob",
|
|
"description": """
|
|
Adds a configurable Ojol discount workflow to the POS App.
|
|
When the Ojol pricelist is active:
|
|
- Products are priced at their full Ojol pricelist price.
|
|
- The cashier presses the "Rp" numpad button to enter a total order discount.
|
|
- A single "Diskon Ojol" negative-price line is added to the order.
|
|
- The Ojol discount product is configurable per POS config in Settings.
|
|
""",
|
|
"depends": ["point_of_sale"],
|
|
"data": [
|
|
"views/pos_config_views.xml",
|
|
],
|
|
"assets": {
|
|
"point_of_sale._assets_pos": [
|
|
"pos_ojol_discount_amount/static/src/overrides/models/product_pricelist.js",
|
|
"pos_ojol_discount_amount/static/src/overrides/models/pos_config.js",
|
|
"pos_ojol_discount_amount/static/src/overrides/models/pos_order.js",
|
|
"pos_ojol_discount_amount/static/src/overrides/models/orderline.js",
|
|
"pos_ojol_discount_amount/static/src/overrides/components/ojol_discount_dialog.xml",
|
|
"pos_ojol_discount_amount/static/src/overrides/components/ojol_discount_dialog.js",
|
|
"pos_ojol_discount_amount/static/src/overrides/screens/product_screen.js",
|
|
]
|
|
},
|
|
"installable": True,
|
|
"auto_install": False,
|
|
"license": "LGPL-3"
|
|
}
|