-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[12.0] contract_operating_unit #263
[12.0] contract_operating_unit #263
Conversation
735609a
to
fab6640
Compare
fab6640
to
cc6f66b
Compare
"author": "ForgeFlow S.L., " "Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/operating-unit", | ||
"category": "Invoicing", | ||
"depends": ["contract", "operating_unit"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should depends on accounting, otherwise, the invoice created will has no OU ?
"depends": ["contract", "operating_unit"], | |
"depends": ["contract", "account_operating_unit"], |
<record id="contract_contract_form_view" model="ir.ui.view"> | ||
<field name="name">contract.contract form view (in contract_payment_mode)</field> | ||
<field name="model">contract.contract</field> | ||
<field name="inherit_id" ref="contract.contract_contract_form_view" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<field name="inherit_id" ref="contract.contract_contract_search_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="after"> | ||
<field name="operating_unit_id" groups="operating_unit.group_multi_operating_unit"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have group by OU also?
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
This introduce operating units in contracts.
In previous versions contracts and analytic accounts were the same model. After v12 contracts were refactored to use a new model. Thus, contracts lost operating unit information. This module gets back the operating units in contracts.
@ForgeFlow