OCA / pos

GNU Affero General Public License v3.0
284 stars 605 forks source link

Migration to version 16.0 #849

Open sbidoul opened 2 years ago

sbidoul commented 2 years ago

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

danielduqma commented 2 years ago

Migration of pos_receipt_hide_price from 14.0 made in #851

alv97 commented 2 years ago

Migration of pos_default_partner from 14.0 made in https://github.com/OCA/pos/pull/853

alexis-via commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.

nwinkelstraeter commented 1 year ago

Migration of pos_escpos_status from 14.0 in #910

alexis-via commented 1 year ago

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

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:

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

suker commented 1 year ago

Migration of pos_order_remove_line from 14.0 made in https://github.com/OCA/pos/pull/925

flachica commented 1 year ago

Migration of pos_edit_order_line from 14.0 #926

suker commented 1 year ago

@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 commented 1 year ago

@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 : https://github.com/OCA/pos/pull/925 are real errors. You have to solve them

suker commented 1 year ago

Migration of pos_product_display_default_code from 15.0 #927

julenfl commented 1 year ago

Migration of pos_payment_change from 15.0 #929

yankinmax commented 1 year ago

@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 commented 1 year ago

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

raulovallet commented 7 months ago

why pos_report_session_summary is not here?

carlos-lopez-tecnativa commented 4 months ago

pos_supplierinfo_search on https://github.com/OCA/pos/pull/1225

hmgsoftware commented 2 months ago

regarding pos_product_template: pls replace #1204 with #1170 which passed all checks

Daniel-Melian commented 2 weeks ago

why pos_user_restriction is not here?

ivantodorovich commented 2 weeks ago

Hello @Daniel-Melian ,

Only modules that were in the 15.0 at the time this issue is created are added automatically. It seems pos_user_restriction was migrated and merged after that, and that's why it isn't here.

More about this: https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list