odoo/industry#1916
Created by fw-bot
Blocked
- Merge method
- Review
-
CI
- ci/industry: (runtime 1663s)
- label
- odoo-dev:saas-19.2-19.0-versatile-work-item-pricing-frva-512557-fw
- head
- 5c9cb3a0e30b1eeaffea6ab11728b9375717cf71
| odoo/industry | |
|---|---|
| 19.0 | #1855 |
| saas-19.1 | #1915 |
| saas-19.2 | #1916 missing statuses |
| master |
[IMP] construction_developer: versatile work items pricing
Improves the work item model with the possibility to manage prices manually.
Before this PR, every work item had their cost and price defined as the sum of their components costs and prices.
Now, this works as before but we can check the fixed checkbox next to the margin to enable an alternative behavior:
Input manually a fixed margin or a fixed price. This margin is kept and impacts the price when the cost of components changes.
A second commit in this pr adds some tests for the construction module:
- Test the creation of a work item related to a sale order, see if the product is created behind.
- Test that there is a single work item template at the same time for a product
- Test the cost, price and margin of a work item whenever components changes or work item values are changed directly
Forward-Port-Of: #1855