Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
l10n_mx_toponyms
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • l10n_mx
  • l10n_mx_toponyms
  • Merge Requests
  • !22

Open
Opened 1 year ago by Gabriel Solano De Sixto@gabriel.solano
  • Report abuse
Report abuse

feat(migración): se modificaron los archivos xml y .py para migrarlos a la version 15 de odoo

  • Overview 6
  • Commits 3
  • Pipelines 44
  • Changes 29
6 unresolved threads
  • Loading...

Se modificaron los archivos XML y .py para migrarlos a la versión 15 de Odoo

Edited 10 months ago by Noe Fernando Izquierdo Hernandez
Request to merge feat_odoo_15 into master
  • Download as
  • Email patches

  • Plain diff

Pipeline #23553 failed for 282d571b on feat_odoo_15
Approval is optional
The pipeline for this merge request did not complete. Push a new commit to fix the failure, or check the troubleshooting documentation to see other possible actions.

Deletes source branch

You can merge this merge request manually using the

  • Gabriel Solano De Sixto @gabriel.solano added Feature label 1 year ago

    added Feature label

  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an old version of the diff 1 year ago
    Last updated by Gabriel Solano De Sixto 1 year ago
    l10n_mx_toponyms/models/res_partner.py
    144 148
    145 149 return {"domain": domain}
    146 150
    147 151 @api.v7
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner
      Suggested change
      151 @api.v7
      151 def onchange_state(self, state_id):
      152 def merge_map(dict_1, dict_2):
      153 """Function uses to merge dictionaries"""
      154 new_dictionary = {}
      155 dict2_key = set(key for key in dict_2.keys())
      156 dict1_key = set(key for key in dict_1.keys())
      157 keys = dict1_key.union(dict2_key)
      158 for key in keys:
      159 dictionary = {}
      160 if dict_1.get(key):
      161 dictionary.update(dict_1[key])
      162 if dict_2.get(key):
      163 dictionary.update(dict_2[key])
      164 new_dictionary[key] = dictionary
      165 return new_dictionary
      166
      167 res = super(ResPartner, self).onchange_state(state_id)
      168
      169 partner = self.browse(self)
      170 result = partner._onchange_state_id(state_id)
      171 res = merge_map(res, result)
      172 return res
    • Gabriel Solano De Sixto @gabriel.solano changed this line in version 2 of the diff 1 year ago

      changed this line in version 2 of the diff

    • Please register or sign in to reply
  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 9ae48f81 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 2e4b0414 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 6328ff8f - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • d2dc3be2 - feat(migracion):

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an outdated change in commit d2dc3be2 1 year ago
    Last updated by Gabriel Solano De Sixto 1 year ago
    l10n_mx_toponyms/data/res_country.xml
    1 1 <?xml version="1.0" encoding="utf-8"?>
    2 <openerp>
    3 <data noupdate="1">
    2 <odoo>
    3 <data noupdate="1">
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner

      En este caso para odoo 15 en adelante en cualquier xml ya no se una data para establecer un noupdate se coloca desde la etiqueta odoo, de la siguiente manera:

      Suggested change
      3 <data noupdate="1">
      3 <odoo noupdate="1">
    • Gabriel Solano De Sixto @gabriel.solano changed this line in version 6 of the diff 1 year ago

      changed this line in version 6 of the diff

    • Please register or sign in to reply
  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an outdated change in commit d2dc3be2 1 year ago
    Last updated by Gabriel Solano De Sixto 1 year ago
    l10n_mx_toponyms/data/res_country.xml
    1 1 <?xml version="1.0" encoding="utf-8"?>
    2 <openerp>
    3 <data noupdate="1">
    2 <odoo>
    3 <data noupdate="1">
    4 4
    5 <record id="base.mx" model="res.country">
    6 <field name="address_format" eval="'%(street)s\n%(street2)s, %(county_name)s\n%(location_name)s, %(state_code)s, %(zip)s\n%(country_name)s'" />
    7 <field name="street_format">%(street_name)s No.%(street_number)s Int.%(street_number2)s</field>
    8 </record>
    5 <!-- <record id="base.mx" model="res.country">-->
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner

      Si me puedes indicar exactamente cuál es el problema para ir ayudándote, recuerda que es una adaptación, por lo tanto, hay que buscar por qué campos se reemplaza si de verdad ya no existen, etc.

    • Gabriel Solano De Sixto @gabriel.solano changed this line in version 7 of the diff 1 year ago

      changed this line in version 7 of the diff

    • Please register or sign in to reply
  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an outdated change in commit d2dc3be2 1 year ago
    Last updated by Gabriel Solano De Sixto 1 year ago
    l10n_mx_toponyms/examples/l10n_mx_estados.xml
    1 1 <?xml version="1.0" encoding="utf-8"?>
    2 <openerp>
    2 <odoo>
    3 3 <data noupdate="1">
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner

      lo mismo del data

    • Gabriel Solano De Sixto @gabriel.solano changed this line in version 6 of the diff 1 year ago

      changed this line in version 6 of the diff

    • Please register or sign in to reply
  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an outdated change in commit d2dc3be2 1 year ago
    Last updated by Gabriel Solano De Sixto 1 year ago
    l10n_mx_toponyms/examples/l10n_mx_localidad.xml
    1 1 <?xml version="1.0"?>
    2 <openerp>
    2 <odoo>
    3 3 <data noupdate="1">
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner

      igual

    • Gabriel Solano De Sixto @gabriel.solano changed this line in version 6 of the diff 1 year ago

      changed this line in version 6 of the diff

    • Please register or sign in to reply
  • Noe Fernando Izquierdo Hernandez
    Noe Fernando Izquierdo Hernandez @noe.izquierdo started a thread on an outdated change in commit d2dc3be2 1 year ago
    Last updated by Noe Fernando Izquierdo Hernandez 10 months ago
    l10n_mx_toponyms/__openerp__.py → l10n_mx_toponyms/__manifest__.py
    2 2
    3 3 {
    4 4 "name": "Toponyms Mexico",
    5 "version": "1.2.0",
    5 "version": "1.1.2",
    • Noe Fernando Izquierdo Hernandez
      Noe Fernando Izquierdo Hernandez @noe.izquierdo · 1 year ago
      Owner

      Recuerda que la versión no se cambia

    • Noe Fernando Izquierdo Hernandez @noe.izquierdo changed this line in version 14 of the diff 10 months ago

      changed this line in version 14 of the diff

    • Please register or sign in to reply
  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • ae7979cf - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • cb961d36 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 14d38e47 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 46f9e226 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • fdc85fb5 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 6f77b289 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 39f9bb45 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano added 1 commit 1 year ago

    added 1 commit

    • 256fd392 - feat(migracion):

    Compare with previous version

  • Gabriel Solano De Sixto @gabriel.solano mentioned in issue #7 1 year ago

    mentioned in issue #7

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 4 commits 10 months ago

    added 4 commits

    • 256fd392...d2cc4ac9 - 3 commits from branch master
    • a2ff8435 - feat(migracion):

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo changed title from feat(feat(migracion)): se modificaron los archivos xml y .py para migrarlos a la version 15 de odoo to feat(migración): se modificaron los archivos xml y .py para migrarlos a la version 15 de odoo 10 months ago

    changed title from feat(feat(migracion)): se modificaron los archivos xml y .py para migrarlos a la version 15 de odoo to feat(migración): se modificaron los archivos xml y .py para migrarlos a la version 15 de odoo

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo assigned to @jesus.lomas and unassigned @gabriel.solano 10 months ago

    assigned to @jesus.lomas and unassigned @gabriel.solano

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 10 months ago

    added 1 commit

    • f77e2e0e - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 10 months ago

    added 1 commit

    • 158fa247 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 10 months ago

    added 1 commit

    • 63546e42 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 10 months ago

    added 1 commit

    • f43182a8 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 10 months ago

    added 1 commit

    • d95e00d7 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 14475c6a - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • b74865ef - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 7fade3f6 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 58fb5d99 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • b4cfb836 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 0680d6e0 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 3b94a719 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • d5913ffd - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 0895666c - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 2a1736d1 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • bbdd5b28 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • 45dfb805 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • c30bb12e - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 9 months ago

    added 1 commit

    • dbd39d85 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 9 months ago

    added 1 commit

    • e7348db4 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 9 months ago

    added 1 commit

    • a17ed450 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 9 months ago

    added 1 commit

    • a8996858 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 9 months ago

    added 1 commit

    • 8130d1f2 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 8 months ago

    added 1 commit

    • 5af9652f - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 8 months ago

    added 1 commit

    • df7a151a - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 8 months ago

    added 1 commit

    • d3dab5e8 - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 8 months ago

    added 1 commit

    • a15b7a7b - feat(toponyms mexico): migrar a la versión 15 de Odoo

    Compare with previous version

  • Noe Fernando Izquierdo Hernandez @noe.izquierdo added 1 commit 8 months ago

    added 1 commit

    • 7e6ab0c5 - feat(res.partner): se refactorizan funciones en res.partner para que se llenen...

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 8 months ago

    added 1 commit

    • 1350ac38 - feat(res.partner): se refactorizan funciones en res.partner para que se llenen...

    Compare with previous version

  • Jesús Alberto Lomas Simón @jesus.lomas added 1 commit 8 months ago

    added 1 commit

    • 282d571b - feat(res.partner): se refactorizan funciones en res.partner para que se llenen...

    Compare with previous version

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Assignee
Jesús Alberto Lomas Simón's avatar
Jesús Alberto Lomas Simón
@jesus.lomas
Assign to
Reviewer
Noe Fernando Izquierdo Hernandez's avatar
@noe.izquierdo
Request review from
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
1
Labels
Feature
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
3
3 participants
user avatar
user avatar
user avatar
Reference: l10n_mx/l10n_mx_toponyms!22
Source branch: feat_odoo_15

    0 pending comments