OCA / operating-unit

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

[12.0] Compatibility with account_payment_order #508

Closed enricostano closed 1 year ago

enricostano commented 1 year ago

Is your feature request related to a problem? From what I understand, right now if you use OUs and account_payment_order you get a validation error while setting the Payment Order to "File uploaded" since the move created doesn't set the OU at account move line level.

The validation error I get is the following:

Error while validating constraint

Configuration error. The operating unit is mandatory for each line as the operating unit has been defined as self-balanced at company level.

Describe the solution you'd like Would be nice to get some advise on how to get the two modules working together. If some coding is needed, we could prepare a PR if there is a proposal on how to solve the issue.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Many thanks!

github-actions[bot] commented 1 year 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.