Skip to content

[18.0][MIG] helpdesk_mgmt_stock: Migration to 18.0#1008

Open
david-banon-tecnativa wants to merge 10 commits into
OCA:18.0from
Tecnativa:18.0-mig-helpdesk_mgmt_stock
Open

[18.0][MIG] helpdesk_mgmt_stock: Migration to 18.0#1008
david-banon-tecnativa wants to merge 10 commits into
OCA:18.0from
Tecnativa:18.0-mig-helpdesk_mgmt_stock

Conversation

@david-banon-tecnativa

Copy link
Copy Markdown
Contributor

A migration from this PR to 18.0, changes:

  • Removed helpdesk_motive dependency
  • Migration to v18.

cc @Tecnativa
ping @rousseldenis

@OCA-git-bot OCA-git-bot added series:18.0 mod:helpdesk_product Module helpdesk_product mod:helpdesk_mgmt_stock Module helpdesk_mgmt_stock labels May 25, 2026
@david-banon-tecnativa david-banon-tecnativa force-pushed the 18.0-mig-helpdesk_mgmt_stock branch from 0671e74 to 0636de5 Compare May 25, 2026 13:52
@OCA-git-bot OCA-git-bot removed the mod:helpdesk_product Module helpdesk_product label May 25, 2026

@ChristianSantamaria ChristianSantamaria left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funcional and code review, LGTM 👍 👍

But i detect a minor changes:

<field name="inherit_id" ref="stock.view_picking_move_tree" />
<field name="arch" type="xml">
<xpath expr="/list/field[@name='product_uom']" position="after">
<field name="helpdesk_ticket_count" invisible="1" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing fields used in expressions (invisible, column_invisible, readonly, required, context, domain) are now added to the views as invisible ones automatically. If you encounter fields in views with invisible="True" or invisible="1", they can probably be removed for cleanliness, as they are auto-added. Reference: odoo/odoo#137031.

Suggested change
<field name="helpdesk_ticket_count" invisible="1" />

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had it on my mind for v19, didn't know it was already implemented in v18, thanks!

Comment on lines +35 to +36
<field name="helpdesk_ticket_count" invisible="1" />
<field name="helpdesk_ticket_allowed" invisible="1" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Suggested change
<field name="helpdesk_ticket_count" invisible="1" />
<field name="helpdesk_ticket_allowed" invisible="1" />

Comment on lines +11 to +12
help="Check this if you want to authorize helpdesk ticket creation"
"for this picking type operations.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change for not collapse words

Suggested change
help="Check this if you want to authorize helpdesk ticket creation"
"for this picking type operations.",
help="Check this if you want to authorize helpdesk ticket creation "
"for this picking type operations.",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

rousseldenis and others added 9 commits May 26, 2026 12:45
Labels went missing in form view due to a new group being created inside an already existing group (odoo only renders the labels for leaf groups).
Add the "action" prefix to the method called by the wizard "Create Ticket" button in order to signify more clearly that this returns an action.
Pass default picking/move id in context of the different tickets views opened in order to allow to pre-populate those fields when the user creates a new ticket from there.
@david-banon-tecnativa david-banon-tecnativa force-pushed the 18.0-mig-helpdesk_mgmt_stock branch from 0636de5 to 3d772c0 Compare May 26, 2026 10:46
@david-banon-tecnativa david-banon-tecnativa force-pushed the 18.0-mig-helpdesk_mgmt_stock branch from 3d772c0 to c72d599 Compare May 26, 2026 11:20

@ChristianSantamaria ChristianSantamaria left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:helpdesk_mgmt_stock Module helpdesk_mgmt_stock series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants