oca / pos Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
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
Please implement option button to change price list in backend.
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!
I installed the POS Pricelist module but when I try to create a session I got the following error message.
Unable to get property 'Product Price' of undefined or null reference
TypeError: Unable to get property 'Product Price' of undefined or null reference at initialize (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:4407:513) at Backbone.Model (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:2530:1283) at child (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:2572:441) at child (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:2572:441) at add_products (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:4396:213) at Anonymous function (http://tomywu.dyndns.info:8069/web/js/web.assets_common/65c3bd9:1085:584) at loaded (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:4162:3447) at Anonymous function (http://tomywu.dyndns.info:8069/web/js/web.assets_backend/7279cdf:4166:1029) at Anonymous function (http://tomywu.dyndns.info:8069/web/js/web.assets_common/65c3bd9:249:672) at fire (http://tomywu.dyndns.info:8069/web/js/web.assets_common/65c3bd9:243:278
Please help.
Teddy
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:
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0
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?
Hi @legalsylvain @gurneyalex ,
Do you know why we cannot rebuild in https://runbot.odoo-community.org/runbot/repo/github-com-oca-pos-184 to test modules? What does it mean "Skipped" state?
Thanks
When I select product variant from the Template in pop-up it is displaying correct variant price but when product variant selected from pop-up in pos orderline it is taking template price bug need to fix.
@StefanRijnhart
@antespi
@pablocm-aserti
@AdilHoumadi
@JavierIniesta
@pablocm-aserti
module: pos_pricelist
version: 8.0
Steps to reproduce
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
module: pos_pricelist
version: 8.0
Steps to reproduce
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 ?
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 :
@alexis-via did you already saw this kind of issue?
Any help would be appreciated.
regards
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.
Steps to reproduce :
Actual Behavior :
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>
We have tried the loading time for point of sale with different amounts of products and these are the results:
Specs of the computer:
Virtual Private Server (provider OVH)
4 vCores
3,1 GHz
8 GB RAM
Results (pos_default_empty_image not installed)
Results (pos_default_empty_image installed)
As you can see, there is no difference.
@legalsylvain, @pedrobaeza, @rafaelbn, here are the tests
Kind regards
Can I create a PR to 9.0 branch with pos_loyalty module from saas-6 branch
https://github.com/odoo/odoo/tree/saas-6/addons/pos_loyalty
as it was moved to enterprise version
?
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
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
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
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
I need to support payment terminals talking ZVT protocol over RS-232; the spec (latest attached below) is downloadable from terminalhersteller.de
I found ecrterm (https://github.com/mathiasfrey/ecrterm), an implementation of ZVT 700 interface (in python, no less) with LGPL licence , so the effort is reduced to porting it so it satifies the Odoo interface.
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??
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.
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.
Cannot create model field from the UI as this results in an error in
pos_remove_pos_category/product.py", line 63, in _auto_end
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
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.
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 :(
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
Is It possible to use a related field for a rule?
I've got an error:
ValueError: Invalid field 'company_id' in leaf "<osv.ExtendedLeaf: ('company_id', '=', False) on account_fiscal_position_tax (ctx: )>"
due to this line:
https://github.com/OCA/pos/blob/8.0/pos_pricelist/security/account_fiscal_position_security.xml#L9
Is it necessary store=True here?:
https://github.com/OCA/pos/blob/8.0/pos_pricelist/models/account_fiscal_position.py#L11
I have tested in several instances of runbot.
Thanks!
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.
Any idea ?
Regards,
Hubert
EDIT :
I tried with last version of pos_pricelist and it's OK. Great
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.
Hi, i find this warning in our system, can you help me?
WARNING openerp.models: product.pricelist.version.read() with unknown field 'items'
Thanks
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
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
I have bought and tried this https://apps.openerp.com/apps/modules/8.0/pos_multi_currency/ it is working fine.
But the issue is when I install the OCA's Product template (https://www.odoo.com/apps/modules/8.0/pos_product_template/) the Numpad is not working for the payment widget, so as the touch screen.
Any idea what could be the conflict? I am new JS and kindly point me the right direction here guys.
when install pos_pricelist not displays product price with extra price in variants
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.
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0
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
If the configuration is set to order the POS do not start.
Steps to reproduce:
The pos will not start as the module conflict.
The pos will start as usual.
IMPORTANT: Until this gets fixed, use payment instead of order when dealing with restaurant floors.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.