Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

Hi Odoo Community,


I'm new to creating modules and addons for Odoo, and while I’ve followed the official documentation and tutorials for development, I’m now diving into the point_of_sale module. I’m looking to modify payment processing and order saving, but I’m having trouble understanding how the frontend and backend logic work together in POS.


From my exploration of the point_of_sale module, I noticed it has distinct frontend and backend logic, which differs from the estate app you are taught in the tutorial. I understand this is done so the app can operate in the browser and offline. I have a few specific questions:


  1. Are there any resources that explain the architecture of this specific module? 
  2. How does the payment processing flow work in POS, and which modules control this?
  3. Can anyone break down the execution flow of code during the checkout process, particularly when saving orders and processing payments?


Any guidance or pointers would be greatly appreciated as I’m trying to get a better understanding of the POS architecture.

Avatar
Zrušit
Nejlepší odpověď

I wished I have the answers to these question previously which would have saved me hundreds of hours studying Odoo's and OCA's codes especially those related to POS module.

This is the answers from my approach which was the hard way:
Resources: Odoo's code and OCA Point of Sales
Which modules: I guess at least the point_of_sale, pos_sale, post_online_payment
Execution flow: My guess with some common sense is pos to handle the product,quantity,price then pos sales to create the order with lines then pos_online_payment to settle the payment. 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 22
2561
3
říj 21
7201
2
bře 20
7195
2
kvě 18
7218
8
kvě 24
19369