Skip to content

20.0 mig sale operating unit - #895

Open
HectorMerazChavez wants to merge 410 commits into
OCA:20.0from
Jarsa-dev:20.0-mig-sale_operating_unit
Open

HectorMerazChavez wants to merge 410 commits into
OCA:20.0from
Jarsa-dev:20.0-mig-sale_operating_unit

Conversation

@HectorMerazChavez

Copy link
Copy Markdown

Migration of sale_operating_unit to 20.0.

Depends on:

AaronHForgeFlow and others added 30 commits November 4, 2026 16:04
* Add management of payments using operating units
* Trial Balance by operating units
* Improve tests
…v10 nomenclature (OCA#55)

* Add support for cash basis. Migrate to v10 nomenclature

* Remove apply_taxes from the create method, as in v10 this parameter is not accepted in the created method
The analytic account to be selected in customer
or supplier invoices must have the operating unit
of the invoice as an allowed operating unit.
To my understanding - the currency lines in liquidity (_get_dst_liquidity_aml_dict_vals) are just wrong and should not be here at all. I understand the need to refactor to get operating unit in, but base Odoo does not have this code about currency.
Now, this fails if the currency and the company currency do not match the journal / target currency.
E.g. A company in Australian Currency transfers 100 Euro from a Euro account to a USD account. When writing to the USD side, self.currency_id will be Euro and self.company_id.currency_id will be AUD, but the transaction will be expecting the USD equivalent.
Base Odoo is currenly handling it all correctly in '_get_shared_move_line_vals', but this code breaks it.
OCA-git-bot and others added 27 commits November 24, 2026 08:31
….line stored, to prevent performance issues with databases with many sale orders
Currently translated at 100.0% (7 of 7 strings)

Translation: operating-unit-17.0/operating-unit-17.0-sale_operating_unit
Translate-URL: https://translation.odoo-community.org/projects/operating-unit-17-0/operating-unit-17-0-sale_operating_unit/it/
@alan196
alan196 force-pushed the 20.0-mig-sale_operating_unit branch from 2a29af6 to ed77444 Compare November 24, 2026 14:45
@OCA-git-bot OCA-git-bot added mod:purchase_operating_unit Module purchase_operating_unit mod:hr_timesheet_operating_unit Module hr_timesheet_operating_unit labels Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_operating_unit Module account_operating_unit mod:analytic_operating_unit Module analytic_operating_unit mod:hr_timesheet_operating_unit Module hr_timesheet_operating_unit mod:operating_unit Module operating_unit mod:purchase_operating_unit Module purchase_operating_unit mod:sale_operating_unit Module sale_operating_unit mod:sales_team_operating_unit Module sales_team_operating_unit series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.