Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Adds options to customize the cell name in the tray location an… #1

Conversation

damendieta
Copy link

Adds the following fields to customize the name of the cell:

  • x_prefix
  • y_prefix
  • xy_padding
  • y_first

The name is computed with a new function get_subloc_name to allow customization.

The posz field is passed to the cells and if changed all cells get updated too.

…d uses posz to mark the corridor in the warehouse.
@guewen
Copy link
Owner

guewen commented Aug 28, 2019

Hi @damendieta,

Thanks!
I like your idea of being able to customize the generated name.
I think we can do something more powerful and with less code by using a single formatted field with replacement strings (so you can use whatever order you want, add custom parts, ...), I pushed a commit to my branch: OCA@62660be

I extracted the part for the z position from your PR (since the rest of the commit is redundant with my commit 62660be) and authored the commit to you (OCA@700469b).

I close the PR as I pushed the changes directly to my branch, thanks again!

@guewen guewen closed this Aug 28, 2019
guewen pushed a commit that referenced this pull request Sep 18, 2019
…onstraint_tags

Fix demo data, wrong model name
guewen pushed a commit that referenced this pull request Jul 17, 2020
…tor_values_hook

stock_packaging_calculator: Add hook on packaging values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants