Skip to content

Commit

Permalink
[ADD] l10n_uy_demo: data demo para Uruguay y [REF] l10n_uy_edi: renam…
Browse files Browse the repository at this point in the history
…e journal to avoid problem with alias

    X-original-commit: 0a166db
    X-original-commit: 06b25f3

    remove not needed in version 16
    solo temporal para poder disponibilizar
    improve multie jpurnals
  • Loading branch information
zaoral committed Sep 1, 2023
1 parent 361f6d8 commit ec962e8
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
6 changes: 6 additions & 0 deletions l10n_uy_account/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@
],
'demo': [
'demo/res_company_demo.xml',
'demo/account_journal_demo.xml',
'demo/res_currency_rate_demo.xml',
'demo/account_chart_template_demo.xml',
'demo/res_partner_demo.xml',
'demo/account_customer_invoice_demo.xml',
'demo/account_customer_refund_demo.xml',
'demo/account_supplier_invoice_demo.xml',
'demo/account_supplier_refund_demo.xml',
'demo/l10n_uy_adenda_demo.xml',
# restore
'demo/res_users_demo.xml',
Expand Down
29 changes: 29 additions & 0 deletions l10n_uy_account/demo/res_partner_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,33 @@
<field name='name'>2 Consumidor Final Uruguayo</field>
</record>

<record model='res.partner' id='demo_partner_5'>
<field name='name'>5 Empresa Prueba</field>
<field name='l10n_latam_identification_type_id' ref='l10n_uy_account.it_rut'/>
<field name='vat'>219000090011</field>
</record>

<record model='res.partner' id='demo_partner_6'>
<field name='name'>6 Empresa Prueba</field>
<field name='l10n_latam_identification_type_id' ref='l10n_uy_account.it_rut'/>
<field name='vat'>219999820013</field>
</record>

<!-- Foreign Partner -->
<record model="res.partner" id="res_partner_foreign">
<field name="name">Foreign Inc (partner extranjero demo para uruguay)</field>
<field eval="[(6, 0, [ref('base.res_partner_category_14'), ref('base.res_partner_category_12')])]" name="category_id"/>
<field name="is_company">1</field>
<field name="street">7841 Red Road</field>
<field name="city">San Francisco</field>
<field name="state_id" ref='base.state_us_5'/>
<field name="zip">95380</field>
<field name="country_id" ref="base.us"/>
<field name="email">[email protected]</field>
<field name="phone">(123)-456-7890</field>
<field name="website">http://www.foreign-inc.com</field>
<field name='l10n_latam_identification_type_id' ref="l10n_uy_account.it_nie"/>
<field name='vat'>93:402.010-1</field>
</record>

</odoo>
24 changes: 0 additions & 24 deletions l10n_uy_account/migrations/16.0.1.1.0/mig_data.xml

This file was deleted.

11 changes: 0 additions & 11 deletions l10n_uy_account/migrations/16.0.1.1.0/post-migration.py

This file was deleted.

2 changes: 1 addition & 1 deletion l10n_uy_edi/demo/account_journal_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<odoo noupdate="1">

<record id="cfe_journal" model="account.journal">
<field name='name'>Testing CFE UY</field>
<field name='name'>Testing CFE UY (Electronic)</field>
<field name='company_id' ref="l10n_uy_account.company_uy"/>
<field name='type'>sale</field>
<field name='code'>CFE</field>
Expand Down

0 comments on commit ec962e8

Please sign in to comment.