When adding a line in a PO with the SUPERUSER_ID all the record rules didn't apply on him. Then all the supplier taxes set on the product were written in the PO line even if some of its were not in the company of the user. Then with the SUPERUSER_ID, just the company taxes of this user must be applied. Inspired from product_id_change in model 'sale.order.line'. opw:659236master
parent
80b373f1e5
commit
eb993b7f3b
Loading…
Reference in new issue