OCA / stock-logistics-barcode

https://odoo-community.org/psc-teams/logistics-18
GNU Affero General Public License v3.0
160 stars 330 forks source link

[14.0][REF] sale_input_barcode: refactor and split module #596

Closed aleuffre closed 6 months ago

aleuffre commented 6 months ago

This PR splits sale_input_barcode in two modules:

There's some code refactoring to achieve this.

This PR is a follow-up from #581

To Do (possibly in other PRs):

cc @dessanhemrayev @bealdav

OCA-git-bot commented 6 months ago

Hi @bealdav, some modules you are maintaining are being modified, check this out!

aleuffre commented 6 months ago

add as IMP to sale_input_barcode the functionality of updating the same Sale Order Line if the same barcode is scanned, see https://github.com/OCA/stock-logistics-barcode/pull/581

This functionality is actually quite hard to implement while maintaining the generality required by a mixin, as well as the module split... I need some more time to think about it. But it can be done in a later PR as well.

bealdav commented 6 months ago

Hi I have to dive in your code. In next days I hope. Thanks

francesco-ooops commented 6 months ago

@bealdav sorry to push but we're in a bit of a rush with this one, could you please take a look? Thanks!

aleuffre commented 6 months ago

Thank you for your review @bealdav , I've addressed all your points or commented under the ones where I'm unsure.

francesco-ooops commented 6 months ago

@bealdav shall we go? :)

francesco-ooops commented 6 months ago

@bealdav will you launch merge command?

bealdav commented 6 months ago

/ocabot merge major,

OCA-git-bot commented 6 months ago

Sorry @bealdav you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

bealdav commented 6 months ago

I'm only maintainer on the first module, sorry

francesco-ooops commented 6 months ago

That's right!

@pedrobaeza could you help? Thanks!

bealdav commented 6 months ago

You could set me as maintainers of the second one ?

Thanks

pedrobaeza commented 6 months ago

/ocabot merge major

OCA-git-bot commented 6 months ago

This PR looks fantastic, let's merge it! Prepared branch 14.0-ocabot-merge-pr-596-by-pedrobaeza-bump-major, awaiting test results.

OCA-git-bot commented 6 months ago

Congratulations, your PR was merged at b1c2fbf29cfb56d08ab52a9245046dd18b37a82f. Thanks a lot for contributing to OCA. ❤️