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

[14.0][FIX] stock_picking_invoicing: Inform field invoice_state in Stock Rule #1782

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

mbcosta
Copy link
Contributor

@mbcosta mbcosta commented Aug 23, 2024

Inform field invoice_state in Stock Rule

https://github.com/OCA/OCB/blob/14.0/addons/stock/models/stock_rule.py#L259

    def _get_custom_move_fields(self):
        """ The purpose of this method is to be override in order to easily add
        fields from procurement 'values' argument to move data.
        """
        return []

Review of #1025

Also remove License Header in init file with only imports

cc @rvalyi @renatonlima @kevinkhao

Copy link
Member

@rvalyi rvalyi left a comment

Choose a reason for hiding this comment

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

sorry for the delay. The why can be seen here https://github.com/OCA/account-invoicing/pull/1025/files#r1686701138
BTW this is future proof as _get_custom_move_fields is present even in v18.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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

Successfully merging this pull request may close these issues.

4 participants