POS Default Customer
This module is allow to set default customer on pos and set customer by default on pos order
App Features
- Set default customer on pos order
- Compatible with community and enterprise
POS Default Customer
You can set default customer on each pos shop.
Default customer is set on creating new order
You can see pos order created with default customer
Also you can change the customer
You can see pos order created for other customer
When you refund any pos order the customer is set as on original pos order
You can see on refund, customer is set as on original pos order.
Refund order is created for the original order with order customer
The default customer is set on new pos order

Contact US
Email : prewayit@gmail.com
Note: We give free support incase any bug or issue in our apps (Except data recovery).
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
Work as espected. Good job
Error if refunding a discount
V17 > Case: if you want to refund an order with a promotion discount, the module causes error
current transaction is aborted, commands ignored until end of transaction block
psycopg2.errors.ForeignKeyViolation: insert or update on table "pos_order_line" violates foreign key constraint "pos_order_line_refunded_orderline_id_fkey"
DETAIL: Key (refunded_orderline_id)=(233) is not present in table "pos_order_line".
KeyError: ('ir.config_parameter', <function IrConfigParameter._get_param at 0x7fc421e64dc0>, 'point_of_sale.capture_unprocessed_order')
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
> If I remove the discount line, refund goes fine
> If I remove the module, refund with promotion goes fine
problem in customer name
After installation, you can make an order normally whenever the order with the default customer or other customer normally. you will print the receipt for the first time correctly no problem.
But if you go to search to find previous orders, you will find all orders with the name of the (default customer), if you re-printed the receipt, the printed paper will include the name of the selected (default customer) not the real customer.
Re: problem in customer name
Hello,
Can you please share video of the issue that you are facing on prewayit@gmail.com
Thanks