-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
[15.0][ADD] stock_secondary_unit_weighing: New module #5
[15.0][ADD] stock_secondary_unit_weighing: New module #5
Conversation
5c9796a
to
f31aa71
Compare
f31aa71
to
6b1c376
Compare
6b1c376
to
671a971
Compare
Let's merge this @sergio-teruel @carlosdauden |
Maybe the name could be "stock_weighing_secondary_unit"? |
Well, the formula we're following in the rest of extensions is |
has_recorded_weight = fields.Boolean(help="The weight was set from the wizard") | ||
recorded_weight = fields.Float(digits="Product Unit of Measure") | ||
weighing_user_id = fields.Many2one(comodel_name="res.users") | ||
weighing_date = fields.Datetime() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get how this is tied to the secondary unit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It hasn't. It just slipped into the code and it overwriting the original fields. Thanks for pointing out
671a971
to
fe0bac1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 02bbc14. Thanks a lot for contributing to OCA. ❤️ |
We can go to the weighing operations from an action button in the batch
picking form.
Depends on:
cc @Tecnativa TT47127
Moved from: