Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2321 Zobrazení

Hi,

how does Odoo generate the recurring costs in cotract's vehicle?

Avatar
Zrušit
Nejlepší odpověď

Hi Isi,

When you create a recurring contract there is a planner in Odoo that automatically generates these costs. An example of a contract:


These costs will be generated by a scheduler named "Fleet: Generate contracts costs based on costs frequency":

Every time this planner goes off it looks at all the contracts for all vehicles. When a contract matches it will look at the costs and the recurrence and will then create a new cost under the "Costs" smart button depending on the configured costs or settings from the contract.

Regards,
Yenthe

Avatar
Zrušit
Autor Nejlepší odpověď

in which module this scheduler can be found?

Avatar
Zrušit

Its already in the fleet module. File - fleet/data/fleet_data.xml