-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
[14.0][MIG] pos_order_mgmt: Migration to 14.0 #994
Conversation
/ocabot migration pos_ordre_mgmt |
/ocabot migration pos_order_mgmt |
/ocabot rebase |
@pedrobaeza The rebase process failed, because command
|
@zamberjo please rebase now that the other PR is merged. |
When the PoS is using fiscal positions it can lead to errors when computing the reprinted ticket value because the tax mapping function computes them from the current order instead of from the one belonging to the line. So we set our loaded order temporarily as the selected one just to bring it back to the current one after it's printed.
Currently translated at 100.0% (20 of 20 strings) Translation: pos-11.0/pos-11.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-11-0/pos-11-0-pos_order_mgmt/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-11.0/pos-11.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-11-0/pos-11-0-pos_order_mgmt/
- Fix search clear button - Refactor load_order and actions This refactors load_data into two functions: load_order_data and load_order_from_data. Also, when executing actions, instead of sending the order as an argument, only the order_data will be sent. The action method is responsible for generating the order data (if that's what it needs) All the refund logic has been extracted from the various methods, and it's now in action_return. Now, returns have a specific 'Refund XXXX' name. - IMP Allow to duplicate done orders from the POS - IMP filter by customer name, too, when searching
[FIX] compatibility with pos_restaurant OCA#339 cortesy @carlosDomatix [FIX] add _compute_refund_order_qty [ADD] pos order view form. Add links to original returned order and refund orders. [IMP] when refunding an order via the 'Refund' button in back office, set the correct returned_order_id. [IMP] Add helper on each button [ADD] python test [REF] JS remove useless code [REF] Python remove useless code [FIX] remove bad oldname [FIX] remove gap in bill display, when it is a refund [FIX] when reprinting a bill, the returned order name is displayed, if any [FIX] JS lint, with OCA eslint file [ADD] french translation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/
…n order, if the user refreshes the browser the order will load again. And this will happen for every previously printed order in the session.
Currently translated at 97.1% (34 of 35 strings) Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/ca/
…nizedisplay of the order summary
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/
… loading the order
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/
Currently translated at 100.0% (35 of 35 strings) Translation: pos-12.0/pos-12.0-pos_order_mgmt Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_order_mgmt/ca/
6612b73
to
ceb03e0
Compare
ceb03e0
to
d31eae0
Compare
Done. I had to set |
OK. I think |
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.
LGTM
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.
Good job! @zamberjo 👍
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 08d8892. Thanks a lot for contributing to OCA. ❤️ |
Note: PR is required to avoid error when testing the return with the "In real time" configuration parameter.