Billing and shipping address from website odoo - odoo

In mitchell admin i have configured 2 billing and 2 shipping address when it comes to sales module i can select the invoice and delivery adddress for the customer, but in website i only can select the shipping address from the multiple list but the billing address is constant and cannot be changed regardless i add invoice address for that same customer mitchell admin how to achieve that in website to select billing address as same as the shipping address.

Related

Please define account for the produce: "Product name" (id:4)

I installed Odoo Community v15.0-20211005 recently and while learning it ,I keep on coming across this error
Please define account for the produce: "Product name" (id:4)
whenever I try to close a session after a sale.
Each product in Odoo linked to Product Category and you need to specify the Income/Expense accounts either in Product category or Product itself.
Go to the Inventory app -> Configuration then product categories and you have to open each category and make sure the Income/Expense accounts is set.
Income Account: This account to be used to validate the invoices of the customer.
Expense Account: This account to be to used when the vendor bill is prepared.
If you want to set Income/Expense accounts for a product to be different from his product category accounts, Open the product and in Accounting tab you can set Income/Expense accounts for the product and these accounts will override the category accounts when sell/purchase this prduct.

How to send mail automatically while creating new vendor bill or customer invoice in odoo

Hello everyone I have a custom accounting module inherits from odoo accounting module. I have created a budget and a budget has someone responsible for, and an analytic account related to this budget. I want to create vendor bills and customer invoices based on an analytic account related to the specific budget and I want to send an email notification message to the person responsible for the budget in his email when I create a new bill or invoice to notify him that with a message ( new bill has been created you need to validate it).
You can use automated actions:
Configure the outgoing email server.
Set the email of the related partner to the user who creates the invoice and the same for the responsible.
Install the base_automation module.
Create an automated action which will trigger the invoice creation:
Go to Technical / Automation / Automated Actions and create new action.
For example:
name: Email responsible
Model: Invoice
Action To Do: Send email
Email Template: Invoicing: Invoice email
Trigger Condition: On Creation
You may duplicate the Invoice email template and change the To (Partners) to the responsible.

Shopify order shipping address id

Is there a way to retrieve the id of the shipping address per order? The shopify api returns the billing and shipping address and the billing address has an id field but the shipping address does not.
I need the shipping address id specifically, not just the address fields.
So I contacted Shopify support and this was their response:
At this time, there's no way to pull a shipping address ID from an order, rather the closest thing to your request would be to go through the Customer resource, retrieve the customer associated to a specific order and then grab that customers address using this endpoint:
GET /admin/customers/#{id}/addresses.json
I hope this helps anyone with the same query.

How does the backend of a e-commerce looks

I would like to know how does e-commerce sites maintain their databases?
Let say they are selling a product name X from a marchant M
Now the merchant increases or decreases the cost of the item. It is manually edited in the e-commerse backend ? Is this part automated?
If there is an id associated with the item, is id given by the merchant or the e-commerce site?
There can be 10 same product items provided by 10 different merchant. Now the specification of the product is same but the amount varies from each merchant. if let say every merchant change the cost of the item and tell us the cost. How can we in automated fashion edit the backend in such a situation
The shop owner with the website is adjusting their prices independently of the wholesaler. This can be done manually in an online product admin interface, or it can be done through some kind of data feed of all products like XML or CVS. The data feed can be coming directly from a retail point of sale system. If the wholesaler raises the prices - the shop owner still has stock on hand of the product they bought at the previous price. When the shop owner takes delivery of the new stock and enters that inventory into the system - at that point they would adjust the prices.
A product has a UPC code (or EAN if in europe) which is universal for that product. For example all products on Amazon have a UPC code which is how they organize different sellers for the same product
VERSUS a SKU or Product ID - which is unique to the shop owner. That is what the shop owner uses to track inventory and prices. The universal UPC plus unique SKU is how amazon determines the product that is sold.
In your last example - you are talking about functioning as a "marketplace" like Amazon.com Amazon lets merchants determine their own prices - but very important to know the price is ranked as price + shipping cost. Because some merchants will lower the product price to try and come out on top but then they inflate the shipping cost to make up for it.

Prestashop shipping error: There are no carriers that deliver to the address you selected

I have installed and added the products to the shop. But for testing when I tried to checkout, it says "There are no carriers that deliver to the address you selected.".
I need
All cash on delivery
Our own shipping
Flat shipping fee say 2USD.
How can I achieve the above requirements?
in Prestashop 1.6.1.4
Go to Shipping --> Carriers
and select "your carrier name" and click to edit it.
In 2nd tab "shipping locations and costs" tab slect your ranges. (Which you select during prestashop installation)
or if you don't know then simply click on "All" ranges.
This message is displayed when there are no carriers assigned to a zone at which your selected country resides. Please note that in PS, you have to select Zones for which the carrier will be available. And you have to make sure that the country for which you provides shipping are in those zones.
Lets say you have two carriers A and B and also consider Pakistan, which is in Asia. Now, if no carrier has Asia zone, then for Pakistan, you will get that message.
Now if you have assigned carrier A to Asia zone , then only A will be displayed to Pakistan.
And if you have assigned carrier A and B both to Asia zone, then for Pakistan, both will be shown.
I hope this will help.
Thank you