diff --git a/addons/l10n_in_gst/views/account_invoice_view.xml b/addons/l10n_in_gst/views/account_invoice_view.xml index ce31a82f..3ef83780 100644 --- a/addons/l10n_in_gst/views/account_invoice_view.xml +++ b/addons/l10n_in_gst/views/account_invoice_view.xml @@ -103,4 +103,14 @@ + + + Nature of Transaction + + + + Nature of Transaction + + + \ No newline at end of file diff --git a/addons/l10n_in_purchase/__init__.py b/addons/l10n_in_purchase/__init__.py index 7eb13095..0d24eb54 100644 --- a/addons/l10n_in_purchase/__init__.py +++ b/addons/l10n_in_purchase/__init__.py @@ -1,2 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details. + +from . import models \ No newline at end of file diff --git a/addons/l10n_in_purchase/models/__init__.py b/addons/l10n_in_purchase/models/__init__.py new file mode 100644 index 00000000..df179ff4 --- /dev/null +++ b/addons/l10n_in_purchase/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details. + +from . import purchase \ No newline at end of file diff --git a/addons/l10n_in_purchase/models/purchase.py b/addons/l10n_in_purchase/models/purchase.py new file mode 100644 index 00000000..3f8d7c23 --- /dev/null +++ b/addons/l10n_in_purchase/models/purchase.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# Part of Flectra. See LICENSE file for full copyright and licensing details. + +from flectra import api, fields, models, _ + + +class PurchaseOrder(models.Model): + _inherit = "purchase.order" + + fiscal_position_id = fields.Many2one('account.fiscal.position', + oldname='fiscal_position', + string='Nature of Transaction') \ No newline at end of file diff --git a/addons/l10n_in_sale/__init__.py b/addons/l10n_in_sale/__init__.py index 7eb13095..0d24eb54 100644 --- a/addons/l10n_in_sale/__init__.py +++ b/addons/l10n_in_sale/__init__.py @@ -1,2 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details. + +from . import models \ No newline at end of file diff --git a/addons/l10n_in_sale/models/__init__.py b/addons/l10n_in_sale/models/__init__.py new file mode 100644 index 00000000..5df6b4ce --- /dev/null +++ b/addons/l10n_in_sale/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details. + +from . import sale \ No newline at end of file diff --git a/addons/l10n_in_sale/models/sale.py b/addons/l10n_in_sale/models/sale.py new file mode 100644 index 00000000..e07a8cca --- /dev/null +++ b/addons/l10n_in_sale/models/sale.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# Part of Flectra. See LICENSE file for full copyright and licensing details. + +from flectra import api, fields, models, _ + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + fiscal_position_id = fields.Many2one('account.fiscal.position', + oldname='fiscal_position', + string='Nature of Transaction') \ No newline at end of file