mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: added url_advert field in res_company
This commit is contained in:
@@ -14,6 +14,8 @@ class ResCompany(models.Model):
|
|||||||
inverse_name="company_id",
|
inverse_name="company_id",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
url_advert = fields.Char(string="Url Advert", help="Url to identify the ad")
|
||||||
|
|
||||||
privacy_policy = fields.Text(
|
privacy_policy = fields.Text(
|
||||||
string="Privacy Policy",
|
string="Privacy Policy",
|
||||||
help="Authorization by the user for the" "manage of their personal data",
|
help="Authorization by the user for the" "manage of their personal data",
|
||||||
|
|||||||
@@ -11,6 +11,9 @@
|
|||||||
</group>
|
</group>
|
||||||
</page>
|
</page>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//field[@name='website']" position="after">
|
||||||
|
<field name="url_advert" />
|
||||||
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user