@ -1,22 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sadique Kottekkat (<https://www.cybrosys.com>) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# This program is free software: you can modify |
|||
# it under the terms of the GNU Affero General Public License (AGPL) as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
################################################################################ |
|||
from . import models |
|||
|
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 116 KiB |
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 224 KiB |
@ -1,15 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<!--Inherit the menu for pos receipt--> |
|||
<record id="action_pos_receipt" model="ir.actions.act_window"> |
|||
<field name="name">Receipt Designs</field> |
|||
<field name="res_model">pos.receipt</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="target">current</field> |
|||
</record> |
|||
<menuitem |
|||
id="menu_pos_receipt" |
|||
parent="point_of_sale.menu_point_config_product" |
|||
action="action_pos_receipt" |
|||
sequence="50"/> |
|||
</odoo> |
@ -1,29 +0,0 @@ |
|||
<?xml version='1.0' encoding='utf-8'?> |
|||
<odoo> |
|||
<!--Inherit pos.config for giving the fields in configuration for custom |
|||
receipt design--> |
|||
<record id="pos_config_receipt_view" model="ir.ui.view"> |
|||
<field name="name">pos.config.view</field> |
|||
<field name="model">pos.config</field> |
|||
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[@id='order_reference']" position="after"> |
|||
<div class="col-xs-12 col-md-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="is_custom_receipt"/> |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="receipt_design"/> |
|||
<div class="text-muted"> |
|||
Use Custom Receipt Design |
|||
</div> |
|||
<div class="content-group mt16"> |
|||
<field name="receipt_design" |
|||
attrs="{'invisible': [('is_custom_receipt', '=', False)]}"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |