Coder Social home page Coder Social logo

oca / pos Goto Github PK

View Code? Open in Web Editor NEW
253.0 89.0 577.0 25.26 MB

License: GNU Affero General Public License v3.0

Python 18.99% HTML 62.43% JavaScript 17.61% CSS 0.66% SCSS 0.31%
odoo odoo-addons free-software postgresql python oca odoo-community-association pos point-of-sale hacktoberfest

pos's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

Point of Sale

Odoo modules for Point of Sale.

Available addons

addon version maintainers summary
pos_access_right 16.0.1.0.1 Point of Sale - Extra Access Right for certain actions
pos_customer_comment 16.0.1.0.2 legalsylvain Display Customer comment in the PoS front office and allow to edit and save it by the cashier
pos_default_partner 16.0.1.0.0 Add a default customer in pos order
pos_discount_all 16.0.1.0.1 legalsylvain Display discount amount on PoS cashier screen and print it on ticketcalculated from the difference between a sale with default pricelist
pos_edit_order_line 16.0.1.0.1 POS Edit Order Line
pos_escpos_status 16.0.1.0.1 Point of sale: fetch status for 'escpos' driver
pos_financial_risk 16.0.1.0.1 geomer198 CetmixGitDrone Point of Sale Fonancial Risk
pos_global_discount_in_line 16.0.1.0.1 Order discount in line instead of discount product
pos_lot_barcode 16.0.1.0.1 Scan barcode to enter lot/serial numbers
pos_lot_selection 16.0.1.0.1 POS Lot Selection
pos_loyalty_redeem_payment 16.0.1.0.2 Use vouchers as payment method in pos orders
pos_margin 16.0.1.0.2 legalsylvain Margin on PoS Order
pos_membership 16.0.1.0.0 legalsylvain Implement features of membership module in the Point of sale UI.
pos_membership_extension 16.0.1.0.0 legalsylvain Prevent to sale product in the point of sale to customer that don't belong to membership categories
pos_minimize_menu 16.0.1.0.0 legalsylvain Reduce size of the main menu of the point of sale.
pos_order_new_line 16.0.1.0.0 legalsylvain Allow cashier to create a new order line, instead of merging the quantity with a previous line
pos_order_remove_line 16.0.1.2.1 robyf70 Add button to remove POS order line.
pos_order_reorder 16.0.0.1.2 Simple Re-order in the Point of Sale
pos_order_to_sale_order 16.0.1.0.7 legalsylvain PoS Order To Sale Order
pos_order_to_sale_order_delivery 16.0.1.0.1 GabbasovDinar CetmixGitDrone Compatibility of pos_order_to_sale_order and delivery modules
pos_order_to_sale_order_report 16.0.1.0.2 Report will be downloaded after the sales order is created.
pos_order_to_sale_order_sale_financial_risk 16.0.1.0.1 geomer198 CetmixGitDrone Sale Financial Risk control for Sales Orders created from POS
pos_partner_birthdate 16.0.1.0.4 ecino Adds the birthdate in the customer screen of POS
pos_partner_firstname 16.0.1.0.3 robyf70 POS Support of partner firstname
pos_partner_location_abstract 16.0.1.0.0 POS Partner Location Abstract
pos_partner_location_google_map 16.0.1.0.0 POS Partner Location Google Map
pos_partner_sale_warning 16.0.1.0.0 Show partner sales warning in POS
pos_payment_change 16.0.1.0.4 legalsylvain Allow cashier to change order payments, as long as the session is not closed.
pos_payment_method_cashdro 16.0.1.0.0 Allows to pay with CashDro Terminals on the Point of Sale
pos_payment_method_image 16.0.1.0.0 legalsylvain Add images on Payment Methods available in the PoS
pos_payment_terminal 16.0.1.0.2 Point of sale: support generic payment terminal
pos_product_display_default_code 16.0.1.0.0 pos: display product default code before product name
pos_product_label 16.0.1.0.0 ivantodorovich Print product labels from the POS
pos_product_multi_barcode 16.0.1.0.1 Make product multi barcodes usable in the point of sale
pos_product_packaging_container_deposit 16.0.1.0.0 Add the container deposit fees in a POS order
pos_product_packaging_multi_barcode 16.0.1.0.0 Make product packaging multi barcodes usable in the point of sale
pos_product_quick_info 16.0.1.0.2 Display product info by one click in Point of Sale
pos_receipt_hide_price 16.0.1.0.0 Add button to remove price from receipt.
pos_reset_search 16.0.1.0.0 fkawala Point of Sale - Clear product search when user clicks on a product.
pos_sale_order_print 16.0.1.0.2 Print multiple sale orders in POS
pos_sale_product_config_no_variant 16.0.1.0.0 ursais Manage Point Of Sale via Configurator of no variant
pos_stock_available_online 16.0.1.0.3 Show the available quantity of products in the Point of Sale
pos_to_weight_by_product_uom 16.0.1.0.0 legalsylvain Make 'To Weight' default value depending on product UoM settings

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

pos's People

Contributors

alexis-via avatar bearnard21 avatar carlesantoli avatar chienandalu avatar danielduqma avatar danimv5 avatar dsolanki-initos avatar fkawala avatar flnerea avatar francesco-ooops avatar fshah-initos avatar gabbasovdinar avatar geomer198 avatar ivantodorovich avatar ivorra78 avatar ivs-cetmix avatar julenfl avatar lbpatri avatar legalsylvain avatar lestrat21 avatar manuelregidor avatar mymage avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar pedrobaeza avatar sbidoul avatar suker avatar victor-champonnois avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pos's Issues

[10.0]No more foreign keys in all tables when using this repoo

Hi everyone,

This one seems really weird. First I suspected that Odoo CE has removed FK in fresh databases : odoo/odoo#18880.
Yet starting with a fresh install with no specific addons in path make the things going well. Then repo by repo I added the dependencies and try to create new DB.
At last, this repo OCA/pos seeems to cause a creation with no Foreign keys.
I've updated the latest OCA/pos check all the depenecies, requirements etc, try many times to create with or without the dependencies. The result is the same, using OCA/pos cause no FK in the db!
Here are the logs, nothing special for me,any help would be appreciated.
odoo.log.txt

[8.0] pos_product_template

Why are some products are shown on top of their category and why are some products not shown in their category? Any hint to debug this?

Thx in advance!

[10.0]PosBOX Img v16 still not recongnize the BIXOLON

Hi,

I'm trying to work with hw_customer_display and I still have customer_display : connecting message.

I've DL the latest 1.6 image, turned it into writable, installed the oca/pos repo and make ln to the addonb path, checkout the v8 branch.
Everything looks fine, no error is thrown when displaying the logs, but the display is not recognized.

Any help would be appreciated.

regards

[NEW] Payment.term in pos

Hi, Our team is developing a new module module to extend pos adding payment.term

pos_payment_terms

captura de tela de 2016-05-14 08 36 27

Tomorrow we will work on the adaptation of the accounting entries and soon we will do PR.

We appreciate any suggestions.

Thanks in advance

[9.0] BUG pos_customer_required when pos has a restaurant flor

If the configuration is set to order the POS do not start.

Steps to reproduce:

  • Install pos_customer_required.
  • Set require_customer to order.
  • Install pos_restaurant
  • Add a floor and several tables.
  • Start a new session.

The pos will not start as the module conflict.

  • Remove the floor.

The pos will start as usual.

IMPORTANT: Until this gets fixed, use payment instead of order when dealing with restaurant floors.

[V8] Pressing minus button increases POS order sequence

I have tested in several instances of runbot.

  • If the shopping cart is empty and you press minus button,
    antes del error
  • Number of POS order sequence increases (each time you press)
    despues error
  • Also, if you have selected some products and you press minus button, POS asks you about destroying current order.
    If you confirm, it also increases POS order sequence.

Thanks!

why pos_product template module does not function?

the module pos_product_template in this linck https://github.com/OCA/pos/tree/9.0/pos_product_template isn't working in my server odoo is generate this problem:
D\xe9tails de l'erreur :
L'\xe9l\xe9ment '' ne peut \xeatre localis\xe9 dans la vue parente

Contexte de l'erreur :
Vue product_template index
[view_id: 723, xml_id: product_template.index, model: n/a, parent_id: 633]
None" while parsing None:12, near




i did know why, how resoudre this problems??

[9.0] pos_quick_logout not listed in addons/modules, unable to install

Environment: Windows 2012r2
Odoo Version: 9.0-20161116
Despite being listed in the marketplace, pos_quick_logout cannot be found or installed. It must be installed manually.

Steps to reproduce:

  1. Login to Odoo and open Apps
  2. Clear all search filters and search for pos_quick_logout. Module does not appear so unable to install.

8.0 Inherit of name_get of res.currency breaks pos_payment_terminal

If you inherit the name_get of res.currency, it will break the module pos_payment_terminal (v8.0 branch), because in the JS code of the module, "self.pos.config.currency_id[1]" contains the result of the name_get() of res.currency.

Unfortunately, we don't have access to the "name" field of res.currency via self.pos.currency.name because "name" is not a pre-loaded field of res.currency in the POS ! I made a PR on odoo to fix this: odoo/odoo#7367

When the PR on odoo will be accepted, we will be able to replace "self.pos.config.currency_id[1]" by "self.pos.currency.name" in pos_payment_terminal/static/src/js/pos_payment_terminal.js. I'll take care of that... but for the moment, we need to have the PR on odoo accepted.

[10.0]pos_customer_display blinking all the products

Hi,

I have an instance running in https and a posbox in http. I added options so that the browser accept the connexion even if insecure.
First, the icon posbox frequently disconnect and when it's the case all the products are displayed successively in the display.
Any advice for us on this ?

regards

Migration to version 10.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0

Modules to migrate

pos_payment_terminal on odoo 9.0

Error during installation:
ParseError: "Invalid view definition

Fehlerdetails:
Element '' kann nicht in der \xfcbergeordneten Ansicht lokalisiert werden.

Fehler Kontext:
Ansicht pos_payment_terminal index
[view_id: 849, xml_id: k. A., model: k. A., parent_id: 632]
None" while parsing None:11, near




[RFC] pos_sale: Create sale.orders in POS

This module will add an option into pos.config to create quotes, similar to the invoice option. It will constrain that both it and the invoice option are not selected, because they will not be compatible with each other.

Another option will be added to the pos.config to select the email template that is used for outbound quote emails.

If the quote option is enabled, the "Payment" button will be a "Complete" button instead. Clicking it will create a sale.order in draft status & move the pos.order to a TBD status. There is likely going to be some account balancing that would need to happen in order to make things even, which can probably be inspired by the invoice logic.

In a glue module website_pos_sale, we will also add a field the pos.config allowing for the selection of the website quote template to use for the sale generation.

Logic will then be added into the pos.session that will send the quotes via email to the respective customers, if the mail template is filled in the configuration.

Anyone know of existing modules or strategies we can base on?

Product with leading zero EAN code read as double leading zero

when I scan barcode of a product with leading zero in POS, POS read the input with double leading zero (unknown barcode). it's not my scanner's fault i think (when i input the barcode on products it's valid). temp fix is adding zero on the barcode's field on product

[8.0] pos_pricelist throws an error with python type tax

Hi,

Point of Sale is throwing an error when it finishes loading the products. It just says "No traceback available" but I've noticed that the error comes when i've got pos_pricelist installed plus a tax configured with Python Code with tax included in the price...

Can someone throw some light? There's no debug possible, no errors, no traceback of the error... The only thing I know is that both things can't work at the same time.

Thanks

POS Pricelist Issue

[8.0] pos_pricelist: multi-company problem

I'm using the module in a multi-company environment and I have found that the JS code loads all account.fiscal.position.tax, independently from the company it belongs to, so when using with a user different from admin, I get an access error.

price are not show with taxes on POS

module: pos_pricelist
version: 8.0

Steps to reproduce

  • no particular step.

Current behavior
prices shown without taxes on POS. Sales taxe are setup on products
No error dialog or line in logging files

Expected behavior
price including tax on POS

Do you have any tips to debug and solve this please ?

pos_remove_pos_category

When installing this module, images of the product categories at the POS buttons are no longer displayed.
i'm going to add a PR.
Image:
With image

None:
no image

Buttons:

img3

img4

Migration to version 9.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0

Modules to migrate

Previous order remains in POS after ticket is printed

module: pos_pricelist
version: 8.0

Steps to reproduce

  1. Make a sale, pay and print ticket
  2. When button "Next Order" becomes available, do not click it
  3. Directly scan (with a barcode reader) a barcode

Current behavior
The POS goes back to sale screen with previous items on it with the new one added

Expected behavior
Without the module activated, the previous items are cleared and only the new one is on the ticket

Error at session load

module: pos_pricelist
version: 8.0 (downloaded from apps.odoo.com)

Steps to reproduce
Open new session

Current behavior
Loading product.product
TypeError: this.compute_all is not a function
at module.Orderline.module.Orderline.extend.get_all_prices (http://testsite.myfqdn.be/web/js/web.assets_backend/de8ad41:4632:239)
at module.PosDB.module.PosDB.extend.add_products (http://testsite.myfqdn.be/web/js/web.assets_backend/de8ad41:4620:345)
at prototype.(anonymous function) as add_products
at Object.module.PosModel.Backbone.Model.extend.models.loaded (http://testsite.myfqdn.be/web/js/web.assets_backend/de8ad41:4388:3668)
at Object. (http://testsite.myfqdn.be/web/js/web.assets_backend/de8ad41:4393:48)
at Object. (http://testsite.myfqdn.be/web/js/web.assets_common/ece4115:249:688)
at fire (http://testsite.myfqdn.be/web/js/web.assets_common/ece4115:243:299)
at Object.self.fireWith as resolveWith
at Object. (http://testsite.myfqdn.be/web/js/web.assets_common/ece4115:249:879)
at fire (http://testsite.myfqdn.be/web/js/web.assets_common/ece4115:243:299)
Ok

Expected behavior
Working POS

Cash control dissapeared in Odoo 9

Odoo 9 has Documentation showing cash control option in point of sale settings. But I can not find cash control option for point of sale settings. I have tried different configurations but no gain so far. I am looking for that Red Rectangle option :(
image
Anybody know how to enable the cash control option for point of sale. Or anybody can confirm if this option is available only for Enterprise version. I am using community version.

http://stackoverflow.com/questions/34719493/how-to-enable-cash-control-option-in-odoo-9

Pos Order Load bug

Hello

I just noticed this why testing pos order load on Odoo version 8. On the Pos Screen, if an order is placed by a customer and saved into the system, the order status remain new in the system making the order to be loaded despite it has been paid and receipt printed.

The behaviour is that if the order is created and saved, on paying for the order a new order record is created again which has status of paid leaving the original order to be new which is disallowing closing and posting of pos session.

Please could somebody provide help.

Thanks.

when deleting an article from the POS, all article qty is reset to zero

scenario:
entering the POS,
adding three articles A, B, and C
all with qty=1
then delete article C by pressing the DELETE key on the POSboard

results:
all articles A, B, and C have qty=0
and the cursor remains on article C

further tests:
press 12 (with the -default- QTY function still in place) will show all three articles A,B and C with a qty of 12, even though the cursor is only on article C.

after de-installing pos_pricelist and pressing F5 in the POS,
everything works fine again.

pos_pricelist & pos_customer_display

Hello,
I installed on odoo 8 both modules pos_pricelist & pos_customer_display and i get this error : Odoo Erreur (côté interface)
Uncaught RangeError: Maximum call stack size exceeded

Each module alone works perfectly but not together.

image

Any idea ?
Regards,
Hubert

EDIT :
I tried with last version of pos_pricelist and it's OK. Great

[8.0] pos_customer_display fail on runbot

To investigate.

ref : https://runbot.odoo-community.org/runbot/build/3143817

CC : @alexis-via


Error details:
Element '<xpath expr="//link[@id='pos-stylesheet']">' cannot be located in parent view

Error context:
View `pos_customer_display index`
[view_id: 684, xml_id: n/a, model: n/a, parent_id: 634]
None" while parsing None:9, near
<data name="pos_customer_display index" inherit_id="point_of_sale.index">
            <xpath expr="//link[@id='pos-stylesheet']" position="after">
                <link rel="stylesheet" href="/pos_customer_display/static/src/css/pos_customer_display.css" id="pos_customer_display-stylesheet"/>
            </xpath>
        </data>

[8.0] If start with using product template in price-list rule it is not working

Hello,
When I am using this module for pricelist it is not working. It is only working with the If we use only products or categories it works perfect , once we use product template in any of the rule all products after that rule( same or higher sequence) will have same price which is completely messing up the pricing .

Module: pos_pricelist

@StefanRijnhart
@antespi
@pablocm-aserti
@AdilHoumadi
@JavierIniesta
@pablocm-aserti

Paging on product.product instead of product.template

If a product has 100 variants it will be the only product on the page. If 2 products add up to 100 variants they will be the only 2 on the page. This wouldn't be that bad if you could get to the second page...but right now I have a category that has 10 products in it each with around 50 variants. I only get to see 2 and cannot page to the rest. So paging needs to also work off product.template in order for this module to be very useful.

Unknow field

Hi, i find this warning in our system, can you help me?

WARNING openerp.models: product.pricelist.version.read() with unknown field 'items'

Thanks

pos_product_template DOM error

The following message appears when loading POS.
"Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('file://') does not match the recipient window's origin ('http://127.0.0.1:8069')"

Possibly due to DOM manipulation as mentioned in the source code (for click_set_attribute_handler() and click_reset_attribute_handler() functions)

POS crashes after sometime due to this bug.

How to edit the ticket for POS and for the POS box

Hi everyone,

I was trying to change the POS ticket reciept. I fond the qweb views that were supposed to print the reciept but nothing seems to work.
Additionnaly, when a POSBOX is connected, where do I have to change the model? In the POSbox, in the Odoo Instance?
Any advice would be appreciated, regards

[10.0]hw_customer_display Conflict with hw_scale

Hi,

I'm using the hw_customer_display with the bixolon recommended in the readme.
I've set it up and the test script is working.

yet I have 2 issues :

  • Using the posBOX hardware status page make the device displaying strange codes indefinitely
  • When using the POS, each time a new message is displayed on the device, the first character of each line is replaced by the letter "P" a few seconds after having displayed the correct values.

@alexis-via did you already saw this kind of issue?

Any help would be appreciated.

regards

[8.0] pos_pricelist: Tax included prices

The pos_pricelist engine does not take into account the included taxes in the same way that the one in sale.order does: In sale/sale.py - product_id_change line 1206:

       price = self.pool.get('product.pricelist').price_get(cr, uid, [pricelist],
                product, qty or 1.0, partner_id, ctx)[pricelist]
        if price is False:
            warn_msg = _("Cannot find a pricelist line matching this product and quantity.\n"
                    "You have to change either the product, the quantity or the pricelist.")

            warning_msgs += _("No valid pricelist line found ! :") + warn_msg +"\n\n"
        else:
            price = self.pool['account.tax']._fix_tax_included_price(cr, uid, price, taxes, result['tax_id'])
            result.update({'price_unit': price})

So a method is called to ALWAYS take into account the included taxes if they are defined in the product. And this matches the impossibility to set a fiscal position that maps an included tax to an excluded one (although it can be easily overpassed by modifying the view).
The pos_pricelist engine does not take this into account and therefore the calculated price is different.

First steps to fix it in #138

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.