OCA / operating-unit

Manage Operating Units in Odoo
GNU Affero General Public License v3.0
72 stars 238 forks source link

How to get operating_unit_id in move line when importing bank_statement_line with online method like Ponto? #655

Open whulshof opened 6 months ago

whulshof commented 6 months ago

I have merged the PR to get account_operating_unit into my 16.0 server. When I try to import my bank statements, I'm getting the general error message, that all move lines should have an operating_unit_id. How do I get the operating_unit_id in the move lines? Is there a module or a config for it? Or do we just have to create a bank_statement_operating_unit module?

AaronHForgeFlow commented 6 months ago

account_operating_unit is still work in progress but in any case that part is not covered in the module, probably a new module is needed.

whulshof commented 6 months ago

OK, I had a look into 12.0 and 14.0 and I can't find anything looking like it. For 10.0 I made modules for a lot of these edge cases, but it will not be of use here anymore. Nothing planned?

AaronHForgeFlow commented 6 months ago

Nothing planned on my side, but it would be an interesting new feature.

whulshof commented 6 months ago

I also have made a module, that makes it possible to distribute cost/revenue in invoices to several operating_units. That one will have to be refactored because of the removal of the invoice_line object, but further would be very useable. Would that be interesting do you think?

AaronHForgeFlow commented 6 months ago

what is the business scenario for that case?

github-actions[bot] commented 2 weeks ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.