Hello community, I'm new here developing modules for odoo.
I'm creating a module that allows you to classificate purchases by projects (using their analyitic account; they are related).
I want that when u select the project, ALL PURCHASE LINES get their analytic account from the project, but i don't know how to do it.
I leave my code here and if someone helps me I would be eternally grateful!!
from odoo import fields, models, api |