-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
POS to Sale Order: Taxes associated with the Fiscal Position not being applied when creating Sale Order from POS #1291
Comments
Hi. Is your FS available in the PoS ? Because the FS comes from PoS. https://github.com/OCA/pos/blob/17.0/pos_order_to_sale_order/models/sale_order.py#L26 |
@legalsylvain Sorry, it's already edited, I wanted to refer to taxes. |
Same question. taxes comes from PoS Order line : is something wrong in the Pos Order ? |
Hello, Same issue here. @legalsylvain it would be right using Regards. |
Makes sense ! indeed. thanks @danielduqma @Jordi-Buitrago : could you make a PR. ideally on V17 and V16 ? thanks ! |
Hi! In the order_data recived from JS in create_order_from_pos the key 'tax_ids_after_fiscal_position' in the lines doesen't exists. Do you agree to use _recompute_taxes() in the Sale Order after the creation? This works for me in v17. Thanks! |
Hello @navarrorico, As I see, there are two approaches:
As this module is OCA and easy to modify, I would personally prefer the second one, as mapping has been already done and we use taxes shown to customer, but the other option is also valid. Regards. |
Module
pos_order_to_sale_order
Describe the bug
When creating a Sale Order from POS using the pos_order_to_sale_order module, the taxes associated with the Fiscal Position not being applied to the generated Sale Order, even when the contact has the correct Fiscal Position configured in their settings.
To Reproduce
Affected versions: 17.0
Steps to reproduce the behavior:
Configure a contact with Fiscal Position “Recargo de Equivalencia”

Create a POS Order with this contact and convert the POS Order to Sale Order using pos_order_to_sale_order module

Check the generated Sale Order

Expected behavior
The generated Sale Order should apply the correct taxes (including Recargo Equivalencia) as it does when creating orders directly in the Sales module.
The text was updated successfully, but these errors were encountered: