Skip to content
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

Migration to version 16.0 #849

Open
12 of 30 tasks
sbidoul opened this issue Oct 3, 2022 · 18 comments
Open
12 of 30 tasks

Migration to version 16.0 #849

sbidoul opened this issue Oct 3, 2022 · 18 comments
Labels
help wanted no stale Use this label to prevent the automated stale action from closing this PR/Issue. work in progress
Milestone

Comments

@sbidoul
Copy link
Member

sbidoul commented Oct 3, 2022

Todo

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

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

@sbidoul sbidoul added help wanted no stale Use this label to prevent the automated stale action from closing this PR/Issue. work in progress labels Oct 3, 2022
@sbidoul sbidoul added this to the 16.0 milestone Oct 3, 2022
@danielduqma
Copy link
Contributor

Migration of pos_receipt_hide_price from 14.0 made in #851

@alv97
Copy link
Contributor

alv97 commented Oct 7, 2022

Migration of pos_default_partner from 14.0 made in #853

@alexis-via
Copy link
Contributor

No need to port pos_no_cash_bank_statement from v14 to v16. According to my tests, Odoo v16 generate by default accounting entries no only for cash journals but also for bank journals. It seems Odoo SA changed their mind again... good move this time :)

@legalsylvain
Copy link
Contributor

legalsylvain commented Dec 5, 2022

Hi @alexis-via. Thanks for your remark. One question, the feature is native in which module (account, other ?), and since which release (15 / 16) ?
if the feature is native, I'll do a PR against openupgrade in the apriori file. (merged_modules section).

thanks for your reply.

@nwinkelstraeter
Copy link
Member

Migration of pos_payment_terminal from 14.0 in #908 which is still missing from this list.
pos_escpos_status is also missing, which I would also like to migrate

@alexis-via
Copy link
Contributor

About account move generation on POS v16: I made more tests, and I confirm that bank statement generation works well, but I have another problem: in v14, the boolean field "split_transactions" on pos_payment_method had a string "Split Transactions". In v16, this boolean field still exists, but it's string is "Identify Customer", so, if you enable it, it will not only split transactions but also force you to select a customer.
I will probably develop a module to be able to split transactions without obliging to select a customer ; I need it for payment by check.
FYI, I'll have to develop that before 31/12/2022

@legalsylvain
Copy link
Contributor

In v16, this boolean field still exists, but it's string is "Identify Customer", so, if you enable it, it will not only split transactions but also force you to select a customer.

wow ! definitively, V16 looks not finished ! Please ping me when your module is ready.

And regarding my previous remark. Is pos_no_cash_bank_statement unnecessary in V15 or in V16 ?

thanks.

@ivantodorovich ivantodorovich pinned this issue Dec 19, 2022
@nwinkelstraeter
Copy link
Member

Migration of pos_escpos_status from 14.0 in #910

@alexis-via
Copy link
Contributor

As promised, I worked on having 2 booleans fields on pos.payment.method:

  • keep the native "split_transaction" ONLY to split the transactions
  • add a second boolean "identify_customer" to oblige to select a customer
    As I found it too difficult to develop it via inheritence, I wrote a module "pos_check_deposit" https://github.com/akretion/odoo-usability/tree/16.0/pos_check_deposit that requires to apply a patch on the point_of_sale module of Odoo, that's why I didn't submit this module to OCA. Unfortunately, the patch is bigger than I thought (see file odoo-pos_check_deposit.diff at the root directory of the module) because in the generation of the account.move.line when closing the POS session, when split_transaction is enabled, Odoo always consider that a partner has been selected, so I had to patch 3 methods in pos.session that handle the generation and reconciliation of the account.move.line.

Another idea would be to be able to configure a "default partner" on a pos.payment.method ; when selecting a payment method in the POS frontend, if no customer has been selected yet, Odoo would automatically select this "default partner" as customer. That way, on the "Check" POS payment method, you would set the "default partner" to a generic "POS Check". Advantages:

  • no need to modify the code that generate the account.move.lines.
  • the cashier doesn't spend time creating/selection a partner when a customer pays by check
    I don't plan to write that module myself in the short term, so feel free to do it if you think this idea is good.

@legalsylvain I confirm that pos_no_cash_bank_statement is not needed in v16.

@suker
Copy link
Contributor

suker commented Feb 13, 2023

Migration of pos_order_remove_line from 14.0 made in #925

@flachica
Copy link
Contributor

Migration of pos_edit_order_line from 14.0 #926

@suker
Copy link
Contributor

suker commented Feb 14, 2023

@sbidoul pre-commit needs to be update, pipeline are failing:

repo: https://github.com/PyCQA/isort
   rev: 5.10.1

to

repo: https://github.com/PyCQA/isort
   rev: 5.12.0

@rousseldenis
Copy link
Sponsor Contributor

@sbidoul pre-commit needs to be update, pipeline are failing:

repo: https://github.com/PyCQA/isort
   rev: 5.10.1

to

repo: https://github.com/PyCQA/isort
   rev: 5.12.0

@suker The errors you have there : #925 are real errors. You have to solve them

@suker
Copy link
Contributor

suker commented Feb 14, 2023

Migration of pos_product_display_default_code from 15.0 #927

@julenfl
Copy link
Contributor

julenfl commented Feb 21, 2023

Migration of pos_payment_change from 15.0 #929

@yankinmax
Copy link
Contributor

@sbidoul @ivantodorovich I've opened new migration PRs for pos_lot_barcode and pos_lot_selection to supersede existing ones which needs fixing.
Old ones:

New ones with tests green:

@berteh
Copy link

berteh commented Apr 13, 2023

please kindly add pos_tare to the modules that still need migration to 16.0.

@raulovallet
Copy link

why pos_report_session_summary is not here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted no stale Use this label to prevent the automated stale action from closing this PR/Issue. work in progress
Projects
None yet
Development

No branches or pull requests