19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:28 +01:00
parent ff721d030e
commit 7721452493
1826 changed files with 124775 additions and 274114 deletions

View file

@ -10,36 +10,15 @@ pip install odoo-bringout-oca-ocb-l10n_be_pos_sale
## Dependencies
This addon depends on:
- pos_sale
- l10n_be
## Manifest Information
- **Name**: l10n_be_pos_sale
- **Version**: 1.0
- **Category**: Hidden
- **License**: LGPL-3
- **Installable**: False
## Source
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_be_pos_sale`.
- Repository: https://github.com/OCA/OCB
- Branch: 19.0
- Path: addons/l10n_be_pos_sale
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md
This package preserves the original LGPL-3 license.

View file

@ -4,18 +4,19 @@
{
'name': 'l10n_be_pos_sale',
'version': '1.0',
'category': 'Hidden',
'category': 'Sales/Point of Sale',
'sequence': 6,
'summary': 'Link module between pos_sale and l10n_be',
'depends': ['pos_sale', 'l10n_be'],
'auto_install': True,
'assets': {
'point_of_sale.assets': [
'point_of_sale._assets_pos': [
'l10n_be_pos_sale/static/src/js/**/*',
],
'web.assets_tests': [
'l10n_be_pos_sale/static/tests/**/*',
],
},
'author': 'Odoo S.A.',
'license': 'LGPL-3',
}

View file

@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_be_pos_sale
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
# "Larissa Manderfeld (lman)" <lman@odoo.com>, 2025, 2026.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:02+0000\n"
"PO-Revision-Date: 2026-01-31 10:07+0000\n"
"Last-Translator: \"Larissa Manderfeld (lman)\" <lman@odoo.com>\n"
"Language-Team: German <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_be_pos_sale/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.14.3\n"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__display_name
msgid "Display Name"
msgstr "Name anzeigen"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__id
msgid "ID"
msgstr "ID"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid ""
"If you do not invoice imported orders containing intra-community taxes you "
"will encounter issues in your accounting. Especially in the EC Sales List "
"report"
msgstr ""
"Wenn Sie importierte Aufträge, die innergemeinschaftliche Steuern enthalten, "
"nicht in Rechnung stellen, kann es zu Problemen in Ihrer Buchhaltung kommen. "
"Dies gilt insbesondere für den Bericht „Zusammenfassende Meldung“."
#. module: l10n_be_pos_sale
#: model:ir.model,name:l10n_be_pos_sale.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Kassensystem-Konfiguration"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid "This order needs to be invoiced"
msgstr "Dieser Auftrag muss in Rechnung gestellt werden"

View file

@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_be_pos_sale
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:02+0000\n"
"PO-Revision-Date: 2025-11-17 03:09+0000\n"
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
"Language-Team: French <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_be_pos_sale/fr/>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.12.2\n"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__id
msgid "ID"
msgstr "ID"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid ""
"If you do not invoice imported orders containing intra-community taxes you "
"will encounter issues in your accounting. Especially in the EC Sales List "
"report"
msgstr ""
#. module: l10n_be_pos_sale
#: model:ir.model,name:l10n_be_pos_sale.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuration du point de vente"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid "This order needs to be invoiced"
msgstr ""

View file

@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Project-Id-Version: Odoo Server 19.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-30 09:20+0000\n"
"PO-Revision-Date: 2023-10-30 09:20+0000\n"
"POT-Creation-Date: 2025-12-30 19:02+0000\n"
"PO-Revision-Date: 2025-12-30 19:02+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -15,19 +15,32 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__display_name
msgid "Display Name"
msgstr ""
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__id
msgid "ID"
msgstr ""
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
#, python-format
msgid ""
"If you do not invoice imported orders containing intra-community taxes you "
"will encounter issues in your accounting. Especially in the EC Sales List "
"report"
msgstr ""
#. module: l10n_be_pos_sale
#: model:ir.model,name:l10n_be_pos_sale.model_pos_config
msgid "Point of Sale Configuration"
msgstr ""
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
#, python-format
msgid "This order needs to be invoiced"
msgstr ""

View file

@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_be_pos_sale
#
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
# Bren Driesen <brdri@odoo.com>, 2026.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-12-30 19:02+0000\n"
"PO-Revision-Date: 2026-02-28 09:33+0000\n"
"Last-Translator: Bren Driesen <brdri@odoo.com>\n"
"Language-Team: Dutch <https://translate.odoo.com/projects/odoo-19-l10n/"
"l10n_be_pos_sale/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.14.3\n"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__display_name
msgid "Display Name"
msgstr "Schermnaam"
#. module: l10n_be_pos_sale
#: model:ir.model.fields,field_description:l10n_be_pos_sale.field_pos_config__id
msgid "ID"
msgstr "ID"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid ""
"If you do not invoice imported orders containing intra-community taxes you "
"will encounter issues in your accounting. Especially in the EC Sales List "
"report"
msgstr ""
"Als je geïmporteerde bestellingen met intracommunautaire belastingen niet "
"factureert, krijg je problemen met je boekhouding. Vooral in het rapport IC-"
"opgave"
#. module: l10n_be_pos_sale
#: model:ir.model,name:l10n_be_pos_sale.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Kassa-instellingen"
#. module: l10n_be_pos_sale
#. odoo-javascript
#: code:addons/l10n_be_pos_sale/static/src/js/PaymentScreen.js:0
msgid "This order needs to be invoiced"
msgstr "Deze bestelling moet gefactureerd worden"

View file

@ -1 +1 @@
from . import pos_session
from . import pos_config

View file

@ -0,0 +1,14 @@
from odoo import models, api
class PosConfig(models.Model):
_inherit = 'pos.config'
@api.model
def _load_pos_data_read(self, records, config):
read_records = super()._load_pos_data_read(records, config)
if read_records and self.env.company.country_code == 'BE':
intracom_fpos = self.env["account.chart.template"].with_company(self.company_id.root_id).sudo().ref("fiscal_position_template_3", False)
if intracom_fpos:
read_records[0]['_intracom_tax_ids'] = intracom_fpos.tax_ids.ids
return read_records

View file

@ -1,13 +0,0 @@
from odoo import models
class PosSession(models.Model):
_inherit = 'pos.session'
def _pos_data_process(self, loaded_data):
res = super()._pos_data_process(loaded_data)
if self.company_id.country_code == 'BE':
intracom_fpos = self.env.ref(f"l10n_be.{self.env.company.id}_fiscal_position_template_3", False)
if intracom_fpos:
loaded_data['intracom_tax_ids'] = intracom_fpos.tax_ids.tax_dest_id.ids
return res

View file

@ -1,31 +1,43 @@
/** @odoo-module **/
import { AlertDialog } from "@web/core/confirmation_dialog/confirmation_dialog";
import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen";
import { patch } from "@web/core/utils/patch";
import { _t } from "@web/core/l10n/translation";
import { onMounted } from "@odoo/owl";
import PaymentScreen from 'point_of_sale.PaymentScreen';
import Registries from 'point_of_sale.Registries';
export const PoSSaleBePaymentScreen = (PaymentScreen) =>
class extends PaymentScreen {
toggleIsToInvoice() {
const orderLines = this.currentOrder.get_orderlines();
const has_origin_order = orderLines.some((line) => line.sale_order_origin_id);
const has_intracom_taxes = orderLines.some((line) =>
line.tax_ids && this.env.pos.intracom_tax_ids && line.tax_ids.some((tax) => this.env.pos.intracom_tax_ids.includes(tax))
);
if (
this.currentOrder.is_to_invoice() &&
this.env.pos.company.country.code === "BE" &&
has_origin_order &&
has_intracom_taxes
) {
this.showPopup('ErrorPopup', {
title: this.env._t('This order needs to be invoiced'),
body: this.env._t('If you do not invoice imported orders containing intra-community taxes you will encounter issues in your accounting. Especially in the EC Sales List report'),
});
}
else{
super.toggleIsToInvoice();
patch(PaymentScreen.prototype, {
setup() {
super.setup(...arguments);
onMounted(() => {
if (this.checkIsToInvoice()) {
this.currentOrder.setToInvoice(true);
}
});
},
async toggleIsToInvoice() {
if (this.checkIsToInvoice()) {
this.dialog.add(AlertDialog, {
title: _t("This order needs to be invoiced"),
body: _t(
"If you do not invoice imported orders containing intra-community taxes you will encounter issues in your accounting. Especially in the EC Sales List report"
),
});
} else {
await super.toggleIsToInvoice(...arguments);
}
};
Registries.Component.extend(PaymentScreen, PoSSaleBePaymentScreen);
},
checkIsToInvoice() {
const orderLines = this.currentOrder.getOrderlines();
const has_origin_order = orderLines.some((line) => line.sale_order_origin_id);
const has_intracom_taxes = orderLines.some((line) =>
line.tax_ids?.some((tax) => this.pos.config._intracom_tax_ids?.includes(tax.id))
);
if (
this.pos.company.country_id &&
this.pos.company.country_id.code === "BE" &&
has_origin_order &&
has_intracom_taxes
) {
return true;
}
},
});

View file

@ -1,29 +0,0 @@
/** @odoo-module **/
import ProductScreen from 'point_of_sale.ProductScreen';
import Registries from 'point_of_sale.Registries';
export const PoSSaleBeProductScreen = (ProductScreen) =>
class extends ProductScreen {
async _onClickPay() {
const orderLines = this.currentOrder.get_orderlines();
const has_origin_order = orderLines.some(line => line.sale_order_origin_id);
const has_intracom_taxes = orderLines.some(
(line) =>
line.tax_ids &&
this.env.pos.intracom_tax_ids &&
line.tax_ids.some((tax) => this.env.pos.intracom_tax_ids.includes(tax))
);
if (
this.env.pos.company.country &&
this.env.pos.company.country.code === "BE" &&
has_origin_order &&
has_intracom_taxes
) {
this.currentOrder.to_invoice = true;
}
return super._onClickPay(...arguments);
}
};
Registries.Component.extend(ProductScreen, PoSSaleBeProductScreen);

View file

@ -1,17 +0,0 @@
odoo.define("l10n_be_pos_sale.models", function (require) {
"use strict";
var { PosGlobalState } = require("point_of_sale.models");
const Registries = require("point_of_sale.Registries");
const PoSSaleBeGlobalState = (PosGlobalState) =>
class PoSSaleBeGlobalState extends PosGlobalState {
async _processData(loadedData) {
await super._processData(...arguments);
if (this.company.country && this.company.country.code == "BE") {
this.intracom_tax_ids = loadedData["intracom_tax_ids"];
}
}
};
Registries.Model.extend(PosGlobalState, PoSSaleBeGlobalState);
});

View file

@ -1,35 +1,60 @@
odoo.define('l10n_be_pos_sale.tour', function (require) {
'use strict';
import * as PaymentScreen from "@point_of_sale/../tests/pos/tours/utils/payment_screen_util";
import * as ProductScreen from "@point_of_sale/../tests/pos/tours/utils/product_screen_util";
import * as Dialog from "@point_of_sale/../tests/generic_helpers/dialog_util";
import * as PosSale from "@pos_sale/../tests/tours/utils/pos_sale_utils";
import * as Chrome from "@point_of_sale/../tests/pos/tours/utils/chrome_util";
import * as Order from "@point_of_sale/../tests/generic_helpers/order_widget_util";
import * as ReceiptScreen from "@point_of_sale/../tests/pos/tours/utils/receipt_screen_util";
import { negateStep } from "@point_of_sale/../tests/generic_helpers/utils";
import { registry } from "@web/core/registry";
const { ErrorPopup } = require('point_of_sale.tour.ErrorPopupTourMethods');
const { PaymentScreen } = require('point_of_sale.tour.PaymentScreenTourMethods');
const { ProductScreen } = require('pos_sale.tour.ProductScreenTourMethods');
const { ReceiptScreen } = require('pos_sale.tour.ReceiptScreenTourMethods');
const { getSteps, startSteps } = require('point_of_sale.tour.utils');
const Tour = require('web_tour.tour');
registry.category("web_tour.tours").add("PosSettleOrderIsInvoice", {
steps: () =>
[
Chrome.startPoS(),
Dialog.confirm("Open Register"),
PosSale.settleNthOrder(2),
Order.hasLine({}),
ProductScreen.clickPayButton(),
PaymentScreen.isInvoiceButtonChecked(),
PaymentScreen.clickInvoiceButton(),
Dialog.is({ title: "This order needs to be invoiced" }),
Dialog.confirm(),
PaymentScreen.isInvoiceButtonChecked(),
PaymentScreen.clickPaymentMethod("Cash"),
PaymentScreen.clickValidate(),
ReceiptScreen.isShown(),
ReceiptScreen.clickNextOrder(),
// signal to start generating steps
// when finished, steps can be taken from getSteps
startSteps();
ProductScreen.do.confirmOpeningPopup();
ProductScreen.do.clickQuotationButton();
ProductScreen.do.selectNthOrder(2);
ProductScreen.do.clickPayButton();
PaymentScreen.check.isInvoiceButtonChecked();
PaymentScreen.do.clickInvoiceButton();
PaymentScreen.check.isInvoiceButtonChecked();
ErrorPopup.do.clickConfirm();
PaymentScreen.do.clickPaymentMethod("Cash");
PaymentScreen.do.clickValidate();
ReceiptScreen.do.clickNextOrder();
ProductScreen.do.clickQuotationButton();
ProductScreen.do.selectFirstOrder();
ProductScreen.do.clickPayButton();
PaymentScreen.check.isInvoiceButtonNotChecked();
PaymentScreen.do.clickInvoiceButton();
PaymentScreen.check.isInvoiceButtonChecked();
Tour.register('PosSettleOrderIsInvoice', { test: true, url: '/pos/ui' }, getSteps());
PosSale.settleNthOrder(1),
ProductScreen.clickPayButton(),
negateStep(...PaymentScreen.isInvoiceButtonChecked()),
PaymentScreen.clickInvoiceButton(),
PaymentScreen.isInvoiceButtonChecked(),
].flat(),
});
registry.category("web_tour.tours").add("PosSettleOrderTryInvoice", {
steps: () =>
[
Chrome.startPoS(),
Dialog.confirm("Open Register"),
PosSale.settleNthOrder(1),
ProductScreen.clickPayButton(),
PaymentScreen.clickInvoiceButton(),
PaymentScreen.isInvoiceButtonChecked(),
].flat(),
});
registry.category("web_tour.tours").add("test_pos_branch_company_access", {
steps: () =>
[
Chrome.startPoS(),
Dialog.confirm("Open Register"),
ProductScreen.clickDisplayedProduct("Product A"),
ProductScreen.clickPayButton(),
PaymentScreen.clickPaymentMethod("Bank"),
PaymentScreen.clickValidate(),
ReceiptScreen.isShown(),
].flat(),
});

View file

@ -3,19 +3,19 @@
import odoo
from odoo.addons.point_of_sale.tests.test_frontend import TestPointOfSaleHttpCommon
from odoo.addons.l10n_be_pos_sale.models.pos_session import PosSession
from odoo import Command
@odoo.tests.tagged('post_install_l10n', 'post_install', '-at_install')
class TestPoSSaleL10NBe(TestPointOfSaleHttpCommon):
@classmethod
def setUpClass(cls, chart_template_ref='l10n_be.l10nbe_chart_template'):
super().setUpClass(chart_template_ref=chart_template_ref)
@TestPointOfSaleHttpCommon.setup_country('be')
def setUpClass(cls):
super().setUpClass()
def test_settle_order_is_invoice(self):
intracom_fpos = self.env.ref(f"l10n_be.{self.env.company.id}_fiscal_position_template_3", False)
intracom_fpos = self.env["account.chart.template"].with_company(self.env.user.company_id).ref("fiscal_position_template_3", False)
intracom_tax = self.env['account.tax'].create({
'name': 'test_intracom_taxes_computation_0_1',
@ -31,44 +31,93 @@ class TestPoSSaleL10NBe(TestPointOfSaleHttpCommon):
(0, 0, {'repartition_type': 'tax', 'factor_percent': 100.0}),
(0, 0, {'repartition_type': 'tax', 'factor_percent': -100.0}),
],
'fiscal_position_ids': intracom_fpos,
})
intracom_fpos.tax_ids.tax_dest_id = intracom_tax
#Change company country to Belgium
self.env.user.company_id.country_id = self.env.ref('base.be')
self.product_a = self.env['product.product'].create({
'name': 'Product A',
'type': 'product',
'type': 'consu',
'is_storable': True,
'list_price': 10,
'taxes_id': False,
'available_in_pos': True,
})
sale_order = self.env['sale.order'].create({
sale_orders = self.env['sale.order'].sudo().create([
{
'partner_id': self.partner_a.id,
'order_line': [Command.create({
'product_id': self.product_a.id,
'product_uom_qty': 10,
'price_unit': 10,
'tax_ids': intracom_tax,
})],
},
{
'partner_id': self.partner_a.id,
'order_line': [Command.create({
'product_id': self.product_a.id,
'product_uom_qty': 20,
'price_unit': 20,
'tax_ids': False,
})],
}
])
sale_orders.action_confirm()
self.main_pos_config.open_ui()
self.start_pos_tour('PosSettleOrderIsInvoice', login="accountman")
def test_pos_branch_company_access(self):
self.product_a = self.env['product.product'].create({
'name': 'Product A',
'type': 'consu',
'available_in_pos': True,
})
branch = self.env['res.company'].create({
'name': 'Branch 1',
'parent_id': self.env.company.id,
})
self.env.cr.precommit.run()
self.pos_user.write({
'company_id': branch.id,
'company_ids': [Command.set([branch.id])],
})
bank_payment_method = self.bank_payment_method.copy()
bank_payment_method.company_id = branch.id
b_pos_config = self.env['pos.config'].with_company(branch).create({
'name': 'Main',
'journal_id': self.company_data['default_journal_sale'].id,
'invoice_journal_id': self.company_data['default_journal_sale'].id,
'payment_method_ids': [(4, bank_payment_method.id)],
})
b_pos_config.open_ui()
self.start_tour("/pos/ui/%d" % b_pos_config.id, 'test_pos_branch_company_access', login="pos_user")
@odoo.tests.tagged('post_install_l10n', 'post_install', '-at_install')
class TestPoSSaleL10NBeNormalCompany(TestPointOfSaleHttpCommon):
def test_settle_order_can_invoice(self):
"""This test makes sure that you can invoice a settled order when l10n_be is installed"""
self.product_a = self.env['product.product'].create({
'name': 'Product A',
'list_price': 10,
'taxes_id': False,
'available_in_pos': True,
})
self.env['sale.order'].sudo().create({
'partner_id': self.partner_a.id,
'order_line': [Command.create({
'product_id': self.product_a.id,
'product_uom_qty': 10,
'product_uom': self.product_a.uom_id.id,
'price_unit': 10,
'tax_id': intracom_tax,
})],
})
sale_order.action_confirm()
sale_order2 = self.env['sale.order'].create({
'partner_id': self.partner_a.id,
'order_line': [Command.create({
'product_id': self.product_a.id,
'product_uom_qty': 20,
'product_uom': self.product_a.uom_id.id,
'price_unit': 20,
'tax_id': False,
})],
})
sale_order2.action_confirm()
self.main_pos_config.open_ui()
self.start_tour("/pos/ui?config_id=%d" % self.main_pos_config.id, 'PosSettleOrderIsInvoice', login="accountman")
self.start_tour("/pos/ui/%d" % self.main_pos_config.id, 'PosSettleOrderTryInvoice', login="accountman")

View file

@ -1,13 +1,15 @@
[project]
name = "odoo-bringout-oca-ocb-l10n_be_pos_sale"
version = "16.0.0"
description = "l10n_be_pos_sale - Link module between pos_sale and l10n_be"
description = "l10n_be_pos_sale -
Link module between pos_sale and l10n_be
"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-pos_sale>=16.0.0",
"odoo-bringout-oca-ocb-l10n_be>=16.0.0",
"odoo-bringout-oca-ocb-pos_sale>=19.0.0",
"odoo-bringout-oca-ocb-l10n_be>=19.0.0",
"requests>=2.25.1"
]
readme = "README.md"
@ -17,7 +19,7 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]