Advertisement
rht_odoo

[QW][4348234] Sale Price based on cost and margin

Nov 28th, 2024 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. # Task : https://www.odoo.com/odoo/project.task/project.task/4348234
  2. # Need : sales price computed based on the cost and margin
  3. # Pastebin : https://pastebin.com/gQGgZvxM
  4. record['x_studio_margin'] = 1- (record.standard_price /record.x_studio_list_price_excluded)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement