I am using Odoo 15 Community edition.
When I go to Accounting/[Customers|Vendors]/Payments and try to register a new payment, I get this python error:
ValueError: Invalid field 'effective_date' on model 'account.payment'
Only way to get out of that screen is to discard the payment. This only happens there. I create a purchase or sale order and pay it using the Purchase or Sales module all works fine.
I tried to go in to developer mode and search for the account.payment module and indeed it does not have that field.
How can I fix this issue?
Can I add the field in the model?
if yes, which properties will be good?
Related
I received this error after upgrading Prestashop when I try to update the stock in Back Office for specific product.
There is Ajax Request which goes to fail when submit save button.
I found an answer to my question
The problems with updating stock appear on products with no principal category.
Even if you you choose more categories, you need one principal checked.
I am using Shopify Admin REST API for item and inventory sync and I am not sending inventory_quantity field in variants API, but I received following email from Shopify few days ago. I am also sending correct location_id when creating fulfillment and it is created successfully in Shopify.
The location_id field is now required when creating fulfillment and
refund requests.
Inventory_quantity and inventory_quantity_adjustment
can no longer be set on the product variant.
Deprecated in 2019-10 and support will be removed on July 1, 2020
I wanted to know if the email above is a generic email sent by Shopify to all developers? or am I doing something wrong here?
Ignore it if you're sure that you don't use these deprecated attributes anymore. I think they recently introduced this notification system which sends warnings to developers if they detected any deprecated calls in the past. They just alert you, they don't scan your app code so they don't know whether you fixed the issue or not. I was getting similar warnings despite that I was sure that the issue had been fixed earlier.
Anyway, to get peace of mind, go to the Apps area in your Shopify Partners account. The table that lists all your apps has now the API health column showing the status of your apps in terms of deprecated calls. You will see a warning (orange dot) if they detected any deprecated calls in the past 30 days. The warning is provided with some additional information like the last time the issue was detected and the deadline to fix it to, example. You can get more details about the deprecation by clicking on to the warning.
If it's a private app, just check your code again for using the deprecated attributes mentioned in the email.
You will want to check the new Inventory Level and Inventory Item endpoints in the Rest API. With a variant's inventory_item_id and a location ID, you can update inventory.
Clearly you can no longer just set a variant's inventory level. That went the way of the DODO this year.
I want to add some custom logic into odoo 10 e-commerce module. I know I have to create a new addon for that. But I am not getting from where I should start the module development.
As the developer mode not helping me in website module to show elements properties when I hover over it. So I am not getting the model's name, field name.. What are the starting steps towards this development?
I want to change the logic in web when we add product to the cart I want to serve that product on monthly basis so select 2 dates, and then the regular billing for the same.
You should read the source code of the modules related to website_sale, you could find it online at:
https://github.com/odoo/odoo/tree/11.0/addons
I have a prestashop website. I am new to Odoo 9. I dont know how to connect the prestashop with Odoo 9. Can anyone please tell me how to connect it. I need step by step procedure. I am awaiting for the reply.
Thanks
You need a module for that , otherwise you should develop it, the module should include order, customer, products, stock, categories synchronization.
To create it, you should read about prestashop action hooks (when a client pass an order, a client creates an account, ...) you can read this or forum post.
To have synchronization work from odoo to prestashop you should use cron jobs to import data(products, clients, orders, categories) daily
to prestashop.
I am using Odoo 8. In order to use Webkit to custom my invoices, I have to install the "Invoice to Picking Relation" module (technical name: picking_invoice_rel). However, when I try to install this module, I discover that the stock.picking.out and stock.picking.in models are missing.
These models were afforded by the stock module in OpenERP 7.
Could someone tell me what to do?
#Zoumourrouda
Yes you are right new WMS in v8 has removed the stock.picking.out and stock.picking.in object that sad part but good part was those both object were _inherits from stock.picking object so you can create sme report on stock.picking object and you an use picking_type_id.code field to check this is supplier or customer or internal picking and create report label according.
and Moreover you can migrate your stock.picking.out and stock.picking.in data on stock.picking table and you wll still have all data. (NOTE" BECAREFULL WHILE DOING MIGRATION TO MESH UP ;))
Thanks