Skip to content

Commit

Permalink
Merge PR #13 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by mikevhe18
  • Loading branch information
ssi-bot committed Feb 28, 2024
2 parents 6ec16cf + 2cabbdf commit 22adccb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ssi_revenue_recognition/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Contributors
------------

* Andhitia Rama <[email protected]>
* Miftahussalam <[email protected]>


Maintainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ class ServiceContractPerformanceObligation(models.Model):
],
},
)
analytic_partner_id = fields.Many2one(
comodel_name="res.partner",
string="Customer",
related="analytic_account_id.partner_id",
store=True,
)
progress_completion_method = fields.Selection(
string="Progress Completion Method",
selection=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<xpath expr="//field[@name='company_id']" position="after">
<field name="contract_id" />
<field name="partner_id" />
<field name="analytic_partner_id" />
<field name="title" />
<field name="analytic_account_id" optional="hide" />
<field name="currency_id" invisible="1" />
Expand Down Expand Up @@ -55,6 +56,7 @@
<field name="contract_id" domain="[('state','=','draft')]" />
<field name="partner_id" widget="many2one_avatar" />
<field name="analytic_account_id" />
<field name="analytic_partner_id" />
</xpath>
<xpath expr="//group[@name='header_right']" position="inside">
<field name="revenue_recognition_timing" />
Expand Down

0 comments on commit 22adccb

Please sign in to comment.