TIP: You can type at any time to perform a new search.
Pakistan - Point of Sale
l10n_pk_edi_pos · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Accounting/Localizations/Point of Sale
- Folder size
- 0.06 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-09-28 18:31:21
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Khumam Alzagim, Yousef Alnashef (alny)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module brings the technical requirement for the Pakistan regulation. Install this if you are using the Point of Sale app in Pakistan.
Code Analysis
Views touched (9)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
l10n_pk_edi_pos.pos_order_receipt_footer |
l10n_pk_edi_pos.pos_order_receipt_footer | ir.ui.view | qweb | Inherits point_of_sale.pos_order_receipt_footer |
l10n_pk_edi_pos.pos_order_receipt_header |
l10n_pk_edi_pos.pos_order_receipt_header | ir.ui.view | qweb | Inherits point_of_sale.pos_order_receipt_header |
pos_payment_method_view_form |
pos.payment.method.form.inherit.l10n.pk.edi.pos | pos.payment.method | form | Inherits point_of_sale.pos_payment_method_view_form |
product_template_form_view |
product.template.form.inherit.l10n.pk.edi.pos | product.template | form | Inherits point_of_sale.product_template_form_view |
report_invoice_document |
report_invoice_document | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_config_settings_view_form |
res.config.settings.view.form.inherit.l10n.pk.edi.pos | res.config.settings | form | Inherits point_of_sale.res_config_settings_view_form |
view_pos_order_filter |
pos.order.list.select.inherit.l10n.pk.edi.pos | pos.order | list | Inherits point_of_sale.view_pos_order_filter |
view_pos_order_tree |
pos.order.list.inherit.l10n.pk.edi.pos | pos.order | list | Inherits point_of_sale.view_pos_order_tree |
view_pos_pos_form |
pos.order.form.inherit.l10n.pk.edi.pos | pos.order | form | Inherits point_of_sale.view_pos_pos_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (7)
-
l10n_pk_edi_pos_charge_service_feeBooleanhelp='Add the FBR service fee to the customer receipt.'string='Charge Service Fee' -
l10n_pk_edi_pos_enabledBooleanhelp='Submit your orders to the FBR to generate compliant receipts.'string='Pakistan electronic receipts (FBR)' -
l10n_pk_edi_pos_identifierIntegerhelp='Shop ID provided by the FBR when registering your point of sale.'string='Shop ID' -
l10n_pk_edi_pos_sandboxBooleanhelp='Submit orders to the FBR sandbox environment for testing.'string='Use Sandbox Environment' -
l10n_pk_edi_pos_service_fee_product_idMany2one → product.productcomodel_name='product.product'default=<expr>help='Product used to charge the FBR service fee on the receipt.'string='Service Fee Product' -
l10n_pk_edi_pos_test_identifierIntegerhelp='Shop ID provided by the FBR for the sandbox environment.'string='Test Shop ID' -
l10n_pk_edi_pos_tokenCharhelp='Shop Token provided by the FBR when registering your point of sale.'string='Shop Token'
No public methods.
New fields (6)
-
l10n_pk_edi_pos_enabledBooleanrelated='config_id.l10n_pk_edi_pos_enabled' -
l10n_pk_edi_pos_errorTextcopy=Falsehelp='Error returned by the FBR when the order submission failed.'readonly=Truestring='FBR Error' -
l10n_pk_edi_pos_invoice_numberCharcopy=Falsehelp='Invoice number returned by the FBR after submitting this order.'readonly=Truestring='FBR Invoice Number' -
l10n_pk_edi_pos_payloadBinarycompute='_compute_l10n_pk_edi_pos_payload'help='JSON payload submitted to the FBR, downloadable while the submission fails.'string='FBR Payload' -
l10n_pk_edi_pos_qrCharcopy=Falsehelp='QR code content returned by the FBR after submitting this order.'readonly=Truestring='FBR QR' -
l10n_pk_edi_pos_stateSelectioncopy=Falsedefault='to_send'help='State of the order submission to the FBR.'readonly=Trueselection=[('to_send', 'To Send'), ('successful', 'Successful'), ('unsuccessful', 'Unsuccessful'), ('successful_demo', 'Successful (Demo)')]string='FBR State'
-
action_l10n_pk_edi_pos_resend(self) -
action_pos_order_paid(self) -
download_l10n_pk_edi_pos_payload(self)
New fields (0)
No new fields.
Public methods (1)-
order_receipt_generate_data(self, basic_receipt=False)
New fields (2)
-
country_codeChardepends=['company_id.country_id']related='company_id.country_id.code' -
l10n_pk_edi_pos_fbr_payment_codeSelectionhelp='Payment code reported to the FBR for this payment method.'selection=[('1', 'Cash'), ('2', 'Card'), ('6', 'Cheque')]string='FBR Payment Code'
No public methods.
New fields (1)
-
l10n_pk_is_fbr_3rd_scheduleBooleanhelp='Product taxed on its printed MRP under the FBR 3rd Schedule.'string='Is FBR 3rd Schedule Product'
No public methods.
New fields (7)
-
pos_l10n_pk_edi_pos_charge_service_feeBooleanreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_charge_service_fee' -
pos_l10n_pk_edi_pos_enabledBooleanreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_enabled' -
pos_l10n_pk_edi_pos_identifierIntegerreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_identifier' -
pos_l10n_pk_edi_pos_sandboxBooleanreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_sandbox' -
pos_l10n_pk_edi_pos_service_fee_product_idMany2onereadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_service_fee_product_id' -
pos_l10n_pk_edi_pos_test_identifierIntegerreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_test_identifier' -
pos_l10n_pk_edi_pos_tokenCharreadonly=Falserelated='pos_config_id.l10n_pk_edi_pos_token'
No public methods.