-
-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD][8.0] : Dynamic Price for POS #6
Conversation
Hi @ah-taktik. Thanks a lot to propose this module. Current POS is a mess for not managing price list. Best Regards. |
This reverts commit 7040fe9.
### Missing features : | ||
|
||
- As you may know, product template is not fully implemented in the POS, so I decided to drop it from | ||
this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Product template is not managed at all in POS, or there is some pending work I don't know... ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah absolutely. For v8.0 there no solution for this missing feature !
You can check this discussions :
odoo/odoo#3401 (comment)
odoo/odoo#3500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
I'm actually working on that feature.
UPDATE: available here #7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
@@ -0,0 +1,34 @@ | |||
Dynamic Price for Odoo Point of Sale | |||
------------------------------------ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the module should be named better 'pos_pricelist'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah why not :)
At the end of week, I will write some JS tests. |
Hi @ah-taktik,
Except that point and other technical remarks (below) 👍 (Functional Test) Thanks a lot for your contribution ! |
this.pricelist_item_sorted = []; | ||
this.product_catrgory_by_id = {}; | ||
this.product_catrgory_children = {}; | ||
this.product_catrgory_ancestors = {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean product_catEgory_by_id (and _children, ancestors...)
README file is OK for version 8.0, because Odoo allows it and you can see also the parsed description on Github, but you have to rename it as |
/** | ||
* override this method to merge lines | ||
* TODO : find a better way to do it | ||
* @param product |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why you override this function. Can you explain ? the original function merges lines...
@ah-taktik can you send me your email : sylvain.legal @ akretion.com |
@legalsylvain, I sent you a message, check your inbox. |
[CHG] : Rename module to pos_pricelist instead of the old one [FIX] : Fix typo mentioned on this comments : - OCA#6 (comment) - OCA#6 (comment) [IMP] : Recover a missed feature while setting a price for an orderline OCA#6 (comment) [IMP] : Switch to while loop while iterating over an array [REM] : Avoid bad practice on Object Class : OCA#6 (comment)
Hi @ah-taktik, Thanks a lot for the refactoring and the various improves ! |
Hi @legalsylvain, we can share together our knowledge in JS : For JS Test in v8.0 : You can check this links, For V7.0 and V8.0 : this one is usable for the two versions : I will try to implement the second way when I have sometimes. Thanks. |
Merge remote-tracking branch 'origin/8.0' into 8.0-pos_dynamic_price * origin/8.0: Remove second env list Separated Lint tests
hello, @legalsylvain, @pedrobaeza, It's possible to merge this PR ? Thanks |
@ah-taktik please offer some patience, the OCA handles a lot of pull request and the first goal is to keep up quality and avoid fast merges |
@OSguard, Thank you for you feedback. You can take your time. |
It works like a charm, but I see only a minor issue: if you select a customer with another pricelist, price tags in the right part (in the upper right part of each product box) still reflects the initial price. Can this be easily changed? I'm not talking about different prices depending on the quantity, but the base price. Obviously, if you extend also this computation to reflect in that tag all the possible prices (1: x €\n3: y € and so on), it will be marvelous. |
@pedrobaeza, Thank you for you feed back.
|
[IMP] : refresh product UI to reflects while selecting a customer For more details see the first point of this comment : OCA#6 (comment)
Hi Tarik, Thanks a lot for this excellent module. So for me it's a big 👍 For the rest I would prefer to accept this PR, and let other people to upgrade this module depending of them needs, because this module do the work. (and very correctly) |
👍 great feature |
[ADD][8.0] : POS - manage pricelist in Front End POS
OK, I have added in the README the feature not yet implemented as documentation. Thanks for the hard work! |
@legalsylvain, @sebastienbeau, @pedrobaeza, Thanks a lot :) |
8.0 port account analytic required
For more details see README file at :
https://github.com/taktik/pos/blob/8.0-pos_dynamic_price/pos_pricelist/README.rst
Demo of functional Testing : https://www.youtube.com/watch?v=ithM3-TniFE