-
-
Notifications
You must be signed in to change notification settings - Fork 336
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] [IMP] sale_input_barcode: scan directly on sale.order #669
base: 14.0
Are you sure you want to change the base?
Conversation
Hi @bealdav, |
a3fc16d
to
02ddda4
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.
Hello, thank you for the PR! Looks good overall, just a couple of minor fixes IMO
sale_input_barcode/readme/USAGE.rst
Outdated
If a product is already inside the sale order lines, | ||
the quantity will be updated. |
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.
chore: Update documentation
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 added the documentation.Let me know if it is clear and understandable.
<xpath expr="//div[@id='no_edit_order']" position="inside"> | ||
<div class="o_setting_left_pane"> | ||
<field name="sale_sol_creation_settings" /> | ||
</div> | ||
<div class="o_setting_right_pane"> | ||
<label for="sale_sol_creation_settings" /> | ||
<div class="text-muted"> | ||
Instead of creating a new sale order line it increases the quantity for each barcode scan | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
</xpath> |
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.
chore: could you fix the formatting here, please?
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 have improved the formatting. Let me know.
|
||
_inherit = "res.config.settings" | ||
|
||
sale_sol_creation_settings = fields.Boolean( |
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.
nitpick(non-blocking): the name of this setting does not clearly reflect what the setting does IMO.
what about something like: sale_barcode_update_existing_line
?
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.
ok, I've changed the name of the variable as you suggested.
1cf4e2b
to
d1bef11
Compare
b416328
to
6a04e00
Compare
6a04e00
to
b546cda
Compare
Superseeds #611