Skip to content

Commit

Permalink
[UPD] ssi_partner_public_offering
Browse files Browse the repository at this point in the history
  • Loading branch information
Miftahussalam committed Jun 11, 2024
1 parent 78b2f78 commit 9271eec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions ssi_partner_public_offering/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Contributors

* Michael Viriyananda <viriyananda.michael@gmail.com>
* Andhitia Rama <andhitia.r@gmail.com>
* Miftahussalam <miftahussalam08@gmail.com>

Maintainer
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
# Copyright 2023 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models
from odoo import models, fields


class CompanyPublicOfferingType(models.Model):
_name = "company_public_offering_type"
_inherit = ["mixin.master_data"]
_description = "Company Public Offering Type"

p2pk_go_public = fields.Boolean(
string="P2PK Go Public",
required=False
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<field name="mode">primary</field>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='code']" position="after">
<field name="p2pk_go_public"/>
</xpath>
</data>
</field>
</record>
Expand All @@ -24,6 +27,9 @@
<field name="mode">primary</field>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='name']" position="after">
<field name="p2pk_go_public"/>
</xpath>
</data>
</field>
</record>
Expand All @@ -36,6 +42,9 @@
<field name="mode">primary</field>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='code']" position="after">
<field name="p2pk_go_public"/>
</xpath>
</data>
</field>
</record>
Expand Down

0 comments on commit 9271eec

Please sign in to comment.